/* Предметы конца девяностых: эмаль, жесть, бумага и потёртый футляр. */
#topbar .resources>.metric-balance{display:flex;align-items:center;min-height:92px;height:100%;padding:10px 11px;cursor:default}
#topbar .metric-balance .metric-readout{min-height:48px}
.modal.object-modal{--object-ink:#424b35;--object-paper:#ddd4b7;--object-header-bg:#2d3932;width:min(100%,700px);max-height:calc(100dvh - 56px);padding:26px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#9d9f734d transparent;box-shadow:inset 0 1px #f3e9c626,0 3px 0 #0c1713,0 25px 70px #000a;color:#c6ceb3}
.object-modal .object-header{position:sticky;z-index:10;top:-26px;display:flex;align-items:center;gap:13px;margin:0 0 22px;padding:0 0 18px;border-bottom:1px solid #a8b48d39;background:var(--object-header-bg)}
.object-header>div{flex:1;min-width:0}.object-kicker{display:block;font:550 10px/1.4 var(--font);letter-spacing:1.8px;color:#9da88b;margin-bottom:5px}
.object-header h2{font:500 33px/1.15 var(--display);letter-spacing:.2px;color:#e2ddbc;margin:0}
.object-header-mark{display:grid;place-items:center;flex:none;width:45px;height:45px;color:#c7bc8a}
.object-header-mark>.ico{width:26px;height:26px;stroke-width:1.5}
.object-close{display:grid;place-items:center;flex:none;width:32px;height:32px;align-self:flex-start;border:1px solid #97a27b66;border-radius:5px;background:#0b180f45;color:#cad0b2;box-shadow:inset 0 1px #e1d2a617}
.object-close>.ico{width:16px;height:16px}.object-close:hover{background:#d8c4841a;color:#ecdeb5;border-color:#c7b477}
.object-modal button:focus-visible,.object-modal [tabindex]:focus-visible{outline:2px solid #c8ad72;outline-offset:3px}
.object-paper{color:var(--object-ink);border:1px solid #d0c4a0;background:repeating-linear-gradient(0deg,#5f593007 0 1px,transparent 1px 4px),radial-gradient(ellipse at 25% 20%,#eae0c4,#d2c6a4);box-shadow:inset 0 0 28px #8c794a19,2px 3px 5px #0003}
.object-paper h3{font:500 29px/1.2 var(--display);margin:18px 0 9px;color:#475137}
.object-paper p{font:400 16px/1.6 var(--font);color:#737157;margin:0 0 17px}
.object-meter{margin-bottom:18px}.object-meter>div:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:9px;font:500 14px/1.3 var(--font);color:#6d7155}
.object-meter strong{font:600 25px/1 var(--display);color:#4e5c35}.object-meter strong>small{font:400 12px/1 var(--font);color:#929071}
.object-meter-track{height:7px;border:1px solid #86916366;padding:1px;background:#b3b08c4a}.object-meter-track>span{display:block;height:100%;background:repeating-linear-gradient(105deg,#637449 0 2px,#839061 2px 3px)}
.object-button,.object-secondary{display:flex;align-items:center;justify-content:center;gap:7px;max-width:100%;min-height:43px;padding:11px 14px;border:1px solid #718255;border-radius:4px;background:linear-gradient(165deg,#748258,#4d633b);color:#ece6c7;font:600 14px/1.3 var(--font);box-shadow:inset 0 1px #e0e3b047,0 2px 2px #12251233;white-space:normal;text-align:center}
.object-button:hover:not(:disabled){background:linear-gradient(165deg,#849163,#61774a);border-color:#89985e}
.object-button:active:not(:disabled),.object-secondary:active{transform:translateY(1px)}
.object-button:disabled{background:#8a8f6d20;border-color:#9a9b7460;box-shadow:none;color:#929171;cursor:default}
.object-secondary{min-height:39px;background:#9cad7810;border-color:#8e9d6b5c;color:#c5c9a5;font-size:13px;box-shadow:inset 0 1px #e6e5b010}
.object-secondary:hover{background:#a6b37e21;border-color:#b1b486;color:#e1ddb3}
.object-unavailable{display:block;font:400 12px/1.5 var(--font);color:#9b785b;margin-top:8px}
.object-offer-gain{display:block;font:600 14px/1.4 var(--font);color:#5e6d3f;margin:14px 0 12px}
.object-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:20px 0 0;padding:16px 0 0;border-top:1px solid #abb98e30;font:400 12px/1.5 var(--font);color:#9eaa8c}
.object-footer>span:last-child{text-align:right}.object-wallet{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font:450 13px/1.4 var(--font)}
.object-wallet>.ico{width:14px;height:14px}.object-wallet>b{font-weight:650;color:#e4d19e;white-space:nowrap}
.object-night{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:13px;align-items:center;padding:17px 0 0;margin-top:22px;border-top:1px solid #a8b48d40}
.object-night>img{width:72px;height:63px;object-fit:cover;border:2px solid #7c87624d;border-radius:3px;filter:sepia(.1)}
.object-night>div>span{display:block;font:500 9px/1.4 var(--font);letter-spacing:1px;color:#8e9c7d;margin-bottom:5px}
.object-night strong{display:block;font:550 14px/1.4 var(--font);color:#d0d2b3}.object-night small{display:block;font:400 12px/1.5 var(--font);color:#9dab8c;margin-top:4px}
/* Эмалированный поднос со стаканом в подстаканнике. */
.modal.object-rest{--object-header-bg:#303e37;border:6px solid #536456;border-radius:29px;padding:25px;background:repeating-linear-gradient(17deg,#d8d9b903 0 1px,transparent 1px 7px),radial-gradient(ellipse at 30% 40%,#405444,#28372f 80%);box-shadow:inset 0 0 0 2px #17281d,inset 0 0 0 4px #8c9b7738,inset 0 0 28px #0a1d1366,0 3px 0 2px #131e18,0 25px 75px #000a}
.object-rest:before,.object-rest:after{content:'';position:absolute;top:42%;width:4px;height:62px;border:1px solid #87916c77;border-radius:2px;background:#12271a80;pointer-events:none}.object-rest:before{left:6px}.object-rest:after{right:6px}
.tea-tray{display:grid;grid-template-columns:.9fr 1fr;align-items:stretch;gap:22px}
.tea-still-life{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;min-width:0;padding:17px 8px;border-radius:45%;background:radial-gradient(ellipse,#1e2922,#1b1c18 75%);box-shadow:inset 0 0 0 3px #17271d,inset 0 0 0 5px #7483612b,0 1px #b9be8a20}
.object-modal .object-tea-art{width:230px;height:230px;max-width:100%;flex:none;filter:drop-shadow(5px 9px 4px #0008);border-radius:28%}
.tea-saucer-note{display:block;margin-top:14px;font:500 8px/1.9 var(--font);letter-spacing:2px;text-align:center;color:#8b987977;transform:rotate(-5deg)}
.tea-receipt{position:relative;padding:23px 22px;transform:rotate(1.2deg);clip-path:polygon(0 0,100% 0,100% 98%,96% 100%,92% 98%,88% 100%,84% 98%,80% 100%,76% 98%,72% 100%,68% 98%,64% 100%,60% 98%,56% 100%,52% 98%,48% 100%,44% 98%,40% 100%,36% 98%,32% 100%,28% 98%,24% 100%,20% 98%,16% 100%,12% 98%,8% 100%,4% 98%,0 100%)}
.tea-receipt h3{font-size:31px}.tea-receipt p{font-size:14px;line-height:1.6}
.tea-cups{display:flex;gap:9px;margin-top:17px}.tea-cups>span{display:flex;align-items:center;gap:7px;padding:6px 10px;border:1px solid #82906a44;color:#717d50;font:600 14px/1 var(--font)}
.tea-cups .ico{width:13px;height:13px;visibility:hidden}.tea-cups>span.used{color:#949378;background:#87916c1a}.tea-cups>span.used .ico{visibility:visible}.tea-cups>span.used b{text-decoration:line-through}
.tea-receipt .object-button{width:100%}.tea-rule{display:block;font:400 11px/1.5 var(--font);color:#8d8769;margin:14px 0 5px}
/* Армейская жестяная аптечка с листком для перевязки. */
.modal.object-medicine{--object-header-bg:#3d4a34;position:relative;padding:31px 25px 23px;border:7px solid #606d48;border-radius:13px;background:repeating-linear-gradient(120deg,#c1c79305 0 1px,transparent 1px 5px),radial-gradient(ellipse at 70% 5%,#586643,#33442f);box-shadow:inset 0 0 0 2px #1d321e,inset 0 0 0 4px #9da87835,inset 0 0 20px #10230e88,0 4px 0 #172b17,0 28px 70px #000a}
.medicine-handle{position:absolute;top:7px;left:calc(50% - 47px);width:94px;height:12px;border:3px solid #1c2c1b;border-bottom-color:#a5ae7e77;border-radius:6px;background:#293b26;box-shadow:inset 0 2px #9eaa6c2b}
.medicine-cross{display:block;width:38px;height:38px;background:#d2d2a9;clip-path:polygon(35% 0,65% 0,65% 35%,100% 35%,100% 65%,65% 65%,65% 100%,35% 100%,35% 65%,0 65%,0 35%,35% 35%);opacity:.8;transform:rotate(-2deg)}
.medicine-case{display:grid;grid-template-columns:.9fr 1fr;gap:24px;align-items:stretch}
.medicine-compartment{position:relative;display:flex;align-items:center;justify-content:center;flex-direction:column;min-width:0;padding:16px 8px 22px;border:2px solid #182b19;border-radius:5px;background:radial-gradient(ellipse,#283021,#1b1c18 85%);box-shadow:inset 3px 4px 9px #0008,0 1px #aab58b30}
.object-modal .object-medkit-art{width:220px;height:220px;max-width:100%;border-radius:6px;filter:drop-shadow(5px 7px 4px #0006)}
.medicine-compartment>span:last-child{font:500 8px/1.4 var(--font);letter-spacing:1.2px;margin-top:18px;color:#87916e}
.medicine-bandage{position:absolute;left:13px;bottom:32px;width:68px;height:30px;border:1px solid #a3a184;border-radius:13px;background:repeating-linear-gradient(80deg,#e2dac1 0 2px,#c4c0a2 2px 3px);box-shadow:2px 3px 4px #0005;transform:rotate(-16deg)}
.medicine-prescription{padding:23px 22px;transform:rotate(-1deg);background:linear-gradient(90deg,transparent 14px,#a46e5344 14px 15px,transparent 15px),repeating-linear-gradient(0deg,#746a4207 0 1px,transparent 1px 4px),#ded8bc}
.prescription-mark{display:block;border-bottom:1px solid #9a9c6c70;padding-bottom:12px;margin-bottom:20px;font:600 9px/1.4 var(--font);letter-spacing:1.1px;color:#8b906c}
.medicine-prescription h3{font-size:29px}.medicine-prescription p{font-size:14px}.medicine-prescription .object-button{width:100%}
.prescription-stamp{display:block;width:max-content;max-width:100%;padding:6px 9px;border:2px solid #8d9a6b66;transform:rotate(-8deg);font:500 18px/1 var(--display);letter-spacing:1px;color:#7b8b58;margin:28px auto 5px}
/* Бумажное меню на потёртом деревянном планшете. */
.modal.object-menu{width:min(100%,670px);padding:30px 19px 20px;border:6px solid #6f6548;border-radius:8px;--object-header-bg:#ded4b7;background:repeating-linear-gradient(95deg,#6d573d 0 2px,#514b36 2px 4px,#5a513a 4px 12px);box-shadow:inset 0 0 0 2px #3a3d2b,inset 0 0 0 3px #c0ad753b,0 4px 0 #303524,0 24px 70px #000a}
.menu-sheet{padding:24px 26px 20px;transform:rotate(-.3deg)}
.menu-sheet .object-header{top:-30px;border-bottom:2px solid #8c936d6b;margin-bottom:10px;padding-bottom:15px}
.menu-sheet .object-header h2,.police-sheet .object-header h2{color:#4a5239}.menu-sheet .object-header-mark{color:#83885d}
.menu-sheet .object-kicker{color:#95906a}.object-paper .object-close{background:#777f5214;border-color:#7c86565c;color:#738055;box-shadow:inset 0 1px #ffefc44d}
.object-paper .object-close:hover{background:#84905b27;border-color:#7c8a52;color:#455334}
.menu-rule{display:flex;justify-content:space-between;gap:10px;margin-bottom:25px;color:#8e8968;font:500 8px/1.5 var(--font);letter-spacing:1px}.menu-rule>b{font-weight:600;white-space:nowrap}
.menu-clip{position:absolute;z-index:11;left:calc(50% - 43px);top:9px;width:86px;height:26px;border:1px solid #59644e;border-radius:5px 5px 3px 3px;background:linear-gradient(#c2c5ae,#718069 35%,#b4b89b 55%,#7a866b 80%,#485640);box-shadow:inset 0 1px #eff1cd77,0 3px 3px #28331d66;transform:rotate(.4deg)}
.menu-clip:after{content:'';position:absolute;left:36px;top:5px;width:12px;height:8px;border:2px solid #64735c;border-radius:5px;box-shadow:0 1px #d0d0ad88}
.object-food-menu{margin-top:4px}.object-dish{display:grid;grid-template-columns:104px minmax(0,1fr);gap:13px 19px;align-items:center;padding:19px 0;border-top:1px dashed #928a6266}
.object-dish-plate{display:grid;place-items:center;width:104px;height:104px;border-radius:50%;border:3px solid #8a8f69;outline:1px solid #999d7759;outline-offset:3px;background:#1b1c18;overflow:hidden;box-shadow:inset 0 0 0 2px #c2c6a455,2px 3px 4px #71664122}
.object-modal .object-dish-plate>.item-art{width:100px;height:100px;flex:none}.object-modal .object-dish-plate>.item-art.supplies-art{width:100px;height:100px}
.object-dish-copy h3{font-size:25px;margin:0 0 8px}.object-dish-copy p{font-size:14px;line-height:1.4;margin:0 0 9px}.object-dish-copy>span{display:block;font:550 13px/1.5 var(--font);color:#72814f}
.object-dish-order{grid-column:2}.object-dish-order .object-button{min-width:175px}.object-dish-order .object-unavailable{max-width:230px}
.object-paper .object-footer{color:#8d8c6b;border-color:#8a8d665c;margin-top:10px}.object-paper .object-wallet b{color:#657444}
.menu-stamp{display:block;width:max-content;max-width:100%;margin:26px auto 7px;padding:7px 10px;border:2px solid #9b785357;transform:rotate(-5deg);font:500 17px/1.2 var(--display);letter-spacing:2px;color:#a18963}
/* Оперативная сводка на милицейском планшете. */
.modal.object-police{position:relative;width:min(100%,690px);--object-header-bg:#d9d2b8;padding:31px 20px 20px;border:6px solid #56543f;border-radius:7px;background:repeating-linear-gradient(93deg,#ffffff03 0 1px,transparent 1px 3px),linear-gradient(110deg,#2d362a,#4c5140 50%,#282f24);box-shadow:inset 0 0 0 2px #9e9a6a44,0 5px 0 #1e2a1f,0 24px 70px #000a}
.police-sheet{padding:25px 26px 19px;transform:rotate(.35deg);background:linear-gradient(90deg,transparent 17px,#a3645233 17px 18px,transparent 18px),repeating-linear-gradient(0deg,#5c5e3806 0 1px,transparent 1px 4px),radial-gradient(ellipse at 20% 20%,#e6dfc6,#d2c8a9)}
.police-sheet .object-header{top:-31px;margin-bottom:10px;border-bottom:1px solid #80845b77}.police-sheet .object-header-mark{width:35px;color:#788160}.police-sheet .object-kicker{color:#8c8b6c}
.police-clip{position:absolute;z-index:11;top:6px;left:calc(50% - 58px);width:116px;height:30px;border:1px solid #59644e;border-radius:7px 7px 3px 3px;background:linear-gradient(90deg,#707d66,#b6bba2 15%,#849179 30%,#b9bda3 70%,#63735e);box-shadow:inset 0 1px #e9ead077,0 4px 3px #26321f77}
.police-clip:before,.police-clip:after{content:'';position:absolute;top:11px;width:5px;height:5px;border:1px solid #4b5c45;border-radius:50%;background:#9fa88b}.police-clip:before{left:9px}.police-clip:after{right:9px}
.police-file-line{display:flex;justify-content:space-between;gap:10px;font:500 9px/1.3 var(--font);letter-spacing:1px;color:#8f8c70;margin-bottom:20px}.police-file-line>b{font-weight:500;letter-spacing:0}
.police-subject{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-bottom:20px;margin-bottom:18px;border-bottom:1px solid #91957142}
.police-subject>div>span{display:block;font:600 9px/1.3 var(--font);letter-spacing:1.6px;color:#92916e;margin-bottom:5px}.police-subject strong{display:block;font:500 26px/1.2 var(--display);color:#505b3d}
.police-stamp{border:2px solid #6e7f5280;padding:7px 9px;font:500 16px/1.1 var(--display);letter-spacing:.8px;color:#74845a;transform:rotate(-7deg);text-align:center}.police-stamp.danger{border-color:#9c6a538c;color:#a06b54}
.object-paper .police-description{font-size:14px;line-height:1.6;margin-bottom:16px}.police-options{display:flex;flex-direction:column;gap:10px}
.police-option{display:flex;align-items:center;gap:12px;min-height:89px;width:100%;padding:14px 13px;border:1px solid #878e6259;border-radius:2px;background:#9ba27410;box-shadow:inset 0 1px #fff0c64d;color:#55603f;text-align:left}
.police-option:hover:not(:disabled){background:#7e8d5720;border-color:#728451ad}.police-option:disabled{opacity:.65;cursor:default}
.police-option-symbol{flex:none;color:#7d895a}.police-option-symbol>.ico{width:24px;height:24px}.police-option>span:nth-child(2){flex:1;min-width:0}
.police-option strong{display:block;font:600 15px/1.35 var(--font);color:#58643f}.police-option small{display:block;font:500 12px/1.5 var(--font);color:#80835e;margin-top:5px}.police-option em{display:block;font:400 11px/1.5 var(--font);color:#93906c;margin-top:3px}.police-option>b{flex:none;font:600 14px/1.4 var(--font);color:#71804a;white-space:nowrap}
.object-paper .police-used{font:600 10px/1.7 var(--font);letter-spacing:.8px;color:#9a795a;margin:14px 0 0}
.police-raid-note{margin-top:19px;padding:13px 15px;border-left:2px solid #a170526b;background:#c5b18518;color:#978162}.police-raid-note>strong{font:600 9px/1.4 var(--font);letter-spacing:1.3px}.police-raid-note>p{font:400 12px/1.7 var(--font);color:#929074;margin:7px 0 0}
/* Лакированный футляр со знаками и бархатными ячейками. */
.modal.object-rankcase{position:relative;width:min(100%,860px);--object-header-bg:#252b24;padding:25px 25px 31px;border:9px solid #494838;border-radius:14px;background:repeating-linear-gradient(100deg,#8d84580c 0 1px,transparent 1px 5px),linear-gradient(110deg,#252c24,#30372b 50%,#1a221d);box-shadow:inset 0 0 0 2px #a49b6638,inset 0 0 0 5px #141e1680,0 4px 0 #171e16,0 28px 75px #000a}
.object-rankcase .object-header{margin:0 0 18px;padding-bottom:17px;border-color:#a89a6240}.object-rankcase .object-header h2{color:#d7c792}
.rank-case-lining{padding:16px;border:2px solid #111e16;border-radius:5px;background:radial-gradient(ellipse at 50% 0,#3a4c33a3,transparent 65%),repeating-linear-gradient(50deg,#84946c04 0 1px,transparent 1px 3px),#1b2b21;box-shadow:inset 0 0 25px #06130aa1,0 1px #b9b78121}
.object-rankcase .rank-profile{margin-top:0;padding:14px 15px;border:1px solid #a7a06a52;border-radius:4px;background:radial-gradient(ellipse at 5% 30%,#a5a36322,transparent 70%),linear-gradient(110deg,#31402b,#263726);box-shadow:inset 0 1px #d9d7a713}
.object-rankcase .rank-next{margin:15px 0 23px}.object-rankcase .rank-shelf-heading{font-size:23px}
.object-rankcase .rank-grid{gap:7px;border:1px solid #101d13;background:#0a180e;box-shadow:0 1px #c5b77c1a;padding:7px}
.object-rankcase .rank-card{border:1px solid #4d62434d;border-radius:1px;padding:28px 7px 12px;background:radial-gradient(ellipse,#48583a40,transparent 75%),#233728;box-shadow:inset 0 2px 7px #04120bc2,0 1px #88966b1a}
.object-rankcase .rank-card.is-current{border-color:#bcaa6c99;background:radial-gradient(ellipse,#a89a4d2e,transparent 75%),#30402a;box-shadow:inset 0 0 0 2px #a7965b14,inset 0 2px 7px #07160980}
.object-rankcase .rank-card.is-locked{background:#1a2c21}.object-rankcase .rank-card>.rank-badge{width:64px;height:70px}
.object-rankcase .rank-card>strong{font-size:13px}.object-rankcase .rank-card>small{font-size:11px}
.object-rankcase .rank-card-state{font-size:8px;right:6px;top:11px}.object-rankcase .rank-tier{font-size:12px;left:8px}
.object-rankcase .rank-modal-footer{margin-top:17px}
.rank-case-hinge{position:absolute;z-index:11;top:-3px;width:48px;height:12px;border:1px solid #646e4d;border-radius:3px;background:repeating-linear-gradient(90deg,#7a825d 0 5px,#b7b083 5px 7px,#5b6b4f 7px 9px);box-shadow:0 2px 2px #0007}.rank-case-hinge.left{left:22%}.rank-case-hinge.right{right:22%}
.rank-case-lock{position:absolute;bottom:4px;left:calc(50% - 22px);width:44px;height:18px;border:1px solid #696d49;border-radius:3px;background:linear-gradient(#b0a977,#78815b 60%,#5c6a4c);box-shadow:inset 0 1px #d3c79977}
.rank-case-lock:after{content:'';position:absolute;left:19px;top:5px;width:4px;height:8px;border-radius:3px;background:#293b29;box-shadow:1px 0 #d1c8944d}
/* Будильник и записка с расчётом ночёвки. */
.modal.object-sleep{--object-header-bg:#303b31;border:5px solid #59644b;border-radius:12px;background:repeating-linear-gradient(90deg,#ffffff03 0 1px,transparent 1px 4px),linear-gradient(110deg,#28392e,#354535)}
.object-clock{position:relative;display:block;width:44px;height:44px;border:4px solid #9c9f77;border-radius:50%;background:radial-gradient(circle,#e0dcc1,#acae86);box-shadow:inset 0 0 0 2px #4c654b,inset 0 0 6px #60734e,1px 3px #132b1c}
.object-clock:after{content:'';position:absolute;left:calc(50% - 2px);top:calc(50% - 2px);width:4px;height:4px;border-radius:50%;background:#576845}.object-clock>i,.object-clock>b{position:absolute;left:50%;bottom:50%;width:2px;height:12px;transform-origin:bottom;background:#5b6b45}.object-clock>i{transform:rotate(0deg)}.object-clock>b{height:10px;transform:rotate(-90deg)}
.sleep-notepad{padding:19px 21px 23px;transform:rotate(-.2deg)}.sleep-notepad-line{display:block;font:600 9px/1.5 var(--font);letter-spacing:1px;color:#96916e;padding-bottom:13px;border-bottom:1px solid #9197785c}
.object-sleep .sleep-plan{margin:17px 0 0;padding:0;border:0;background:none;box-shadow:none}.object-sleep .sleep-home{padding:0 0 17px;border-color:#8e956850}.object-sleep .sleep-home img{border-color:#8b956855}
.object-sleep .sleep-home h3{color:#59683f;font-size:24px;margin:4px 0 0}.object-sleep .sleep-home .eyebrow{color:#8e906a}.object-sleep .sleep-wakeup{color:#91936f;background:#9fa47613;border-color:#91997255}
.object-sleep .sleep-work{background:#919b6512;border-color:#7d8e5f40}.object-sleep .sleep-work div{color:#6e7d50}.object-sleep .sleep-work small{color:#959275}.object-sleep .sleep-work .progress{background:#9b9d7126}
.object-sleep .sleep-effects{border-color:#8e996344}.object-sleep .sleep-effects>div{background:#a9ad7e14;border-color:#90976844}.object-sleep .sleep-effects span{color:#8a8f66}.object-sleep .sleep-effects strong{color:#607344}.object-sleep .sleep-effects strong small{color:#949372}.object-sleep .sleep-effects .ico{color:#7b8a57}
.object-sleep .sleep-breakdown{color:#99916c;border-color:#91977450}.object-sleep .sleep-breakdown b{color:#7a8351}.object-sleep .sleep-warning{background:#b9955b10;border-color:#ad825b50;color:#a27f5a}.object-sleep .sleep-warning .ico{color:#9a784e}
.object-sleep .sleep-food{color:#85915d}.object-sleep .sleep-food.is-low{color:#a17753}.object-sleep .sleep-bottom{border-color:#929a6b50}.object-sleep .sleep-confirm{background:linear-gradient(#7e8a59,#586c3d);color:#eee6c4;border-color:#7d8c58;box-shadow:inset 0 1px #d7d5a363}.object-sleep .sleep-confirm:hover{background:#839263}
.object-sleep .sleep-breakdown .sleep-risk,.object-sleep .sleep-breakdown .sleep-risk b{color:#a17452}.object-sleep .sleep-blocked{background:#b5935b0c;border-color:#aa885a45;color:#8b815b}
.object-sleep .sleep-work>div:first-child>span{color:#68794c}.object-sleep .sleep-work b{color:#61743f}.object-sleep .sleep-work small{color:#7c835b;font-size:12px}.object-sleep .sleep-work .progress>span{background:linear-gradient(90deg,#748052,#9ba271)}
.object-sleep .sleep-effects>div>span{color:#7e885b;font-size:12px}.object-sleep .sleep-effects>div:last-child strong{color:#5c703c}.object-sleep .sleep-wakeup,.object-sleep .sleep-wakeup .ico{color:#7d8658}
.object-sleep .sleep-warning{color:#956c45!important;font-size:12px!important}.object-sleep .sleep-breakdown{font-size:12px;color:#80875a}.object-sleep .sleep-food{font-size:12px;color:#75834f}
@media(max-width:650px){
 .modal.object-modal{max-height:calc(100dvh - 32px);padding:22px 19px}
 .object-modal .object-header{top:-22px;margin-bottom:19px;padding-bottom:15px;gap:10px}
 .object-header h2{font-size:29px}.object-header-mark{width:35px;height:39px}.object-header-mark>.ico{width:23px;height:23px}.object-kicker{font-size:9px;letter-spacing:1.2px}.object-close{width:30px;height:30px}
 .object-footer{gap:12px;flex-wrap:wrap;padding-top:13px}.object-footer>span:last-child{text-align:left;font-size:11px}
 .object-night{grid-template-columns:60px minmax(0,1fr);gap:11px;margin-top:20px}.object-night>img{width:60px;height:59px}.object-night .object-secondary{grid-column:1/-1;width:100%;margin-top:3px}.object-night>div>span{font-size:8px;letter-spacing:.5px}
 .tea-tray,.medicine-case{gap:17px}.object-modal .object-tea-art{width:185px;height:185px}.tea-receipt,.medicine-prescription{padding:20px 17px}.tea-receipt h3{font-size:27px}.tea-cups>span{padding:6px 9px;gap:5px}
 .modal.object-menu{padding:28px 13px 15px}.menu-sheet{padding:22px 21px 17px}.menu-sheet .object-header{top:-28px}.menu-rule{font-size:7px;letter-spacing:.7px}.menu-clip{width:72px;left:calc(50% - 36px);height:23px;top:8px}.menu-clip:after{left:29px}
 .object-dish{grid-template-columns:89px minmax(0,1fr);gap:13px 16px}.object-dish-plate{width:89px;height:89px}.object-modal .object-dish-plate>.item-art,.object-modal .object-dish-plate>.item-art.supplies-art{width:85px;height:85px}.object-dish-copy h3{font-size:23px}
 .modal.object-police{padding:29px 14px 16px}.police-sheet{padding:22px 21px 17px}.police-sheet .object-header{top:-29px}.police-sheet .object-header h2{font-size:29px}.police-sheet .object-header-mark{display:none}
 .police-option{padding:13px 11px;gap:10px}.police-option-symbol>.ico{width:21px;height:21px}.police-option strong{font-size:14px}.police-option small{font-size:11px}.police-option em{font-size:10px}.police-option>b{font-size:13px}
 .police-stamp{font-size:14px;padding:6px}.police-subject strong{font-size:24px}.police-file-line{font-size:8px;letter-spacing:.6px}.police-raid-note{padding:12px 13px}
 .modal.object-rankcase{padding:22px 17px 30px;border-width:7px}.rank-case-lining{padding:11px}.object-rankcase .rank-profile{padding:13px 11px}.object-rankcase .rank-shelf-heading{font-size:22px}.object-rankcase .rank-shelf-heading>span{font-size:10px}.object-rankcase .rank-card-state{font-size:8px}.object-rankcase .rank-grid{padding:5px;gap:5px}
 .sleep-notepad{padding:17px}.object-sleep .sleep-home h3{font-size:23px}
 #topbar .resources>.metric-balance{min-height:80px;padding:7px 9px}
}
@media(max-width:450px){
 .modal.object-modal{padding:22px 16px;border-width:5px}
 .object-header h2{font-size:27px}.object-kicker{font-size:8px;letter-spacing:1px}.object-header-mark{width:29px}.object-header-mark>.ico{width:21px;height:21px}
 .tea-tray{grid-template-columns:1fr;gap:0;position:relative}.tea-still-life{height:160px;z-index:1;align-items:center;justify-content:center;border-radius:44%;padding:8px;margin:0 15px -7px;box-shadow:inset 0 0 0 2px #74836133,0 1px #b9be8a20}.object-modal .object-tea-art{width:155px;height:155px}.tea-saucer-note{display:none}.tea-receipt{padding:25px 20px 24px;transform:rotate(.8deg)}.tea-receipt h3{margin-top:10px}.tea-receipt p{font-size:14px}.tea-cups{margin-top:12px}.tea-rule{font-size:11px}
 .medicine-case{grid-template-columns:1fr;gap:13px}.medicine-compartment{height:155px;padding:7px}.object-modal .object-medkit-art{width:150px;height:150px}.medicine-compartment>span:last-child{position:absolute;right:8px;bottom:10px;font-size:6px;max-width:75px;text-align:right;line-height:1.7;letter-spacing:1px}.medicine-bandage{bottom:14px;left:12px;width:52px;height:22px}.medicine-prescription{padding:20px 22px}.medicine-prescription h3{font-size:27px}.prescription-mark{font-size:8px;margin-bottom:15px}.prescription-stamp{margin-top:23px}
 .modal.object-menu{padding:27px 10px 14px}.menu-sheet{padding:23px 16px 18px}.menu-sheet .object-header{gap:8px}.menu-sheet .object-header-mark{display:none}.menu-rule{font-size:6px;letter-spacing:.7px;gap:5px;margin-bottom:21px}.object-dish{grid-template-columns:76px minmax(0,1fr);gap:14px 12px;padding:18px 0}.object-dish-plate{height:76px;width:76px;outline-offset:2px}.object-modal .object-dish-plate>.item-art,.object-modal .object-dish-plate>.item-art.supplies-art{width:72px;height:72px}.object-dish-copy h3{font-size:23px}.object-dish-copy p{font-size:13px}.object-dish-copy>span{font-size:12px}.object-dish-order{grid-column:1/-1}.object-dish-order .object-button{width:100%;min-width:0}.menu-stamp{font-size:15px;letter-spacing:1.4px;margin-top:22px}
 .modal.object-police{padding:29px 11px 15px}.police-sheet{padding:22px 17px 18px}.police-subject{align-items:flex-start;gap:10px;flex-direction:column;padding-bottom:17px}.police-stamp{align-self:flex-end;margin-top:3px}.police-sheet .object-header h2{font-size:28px}.police-sheet .object-kicker{font-size:7px;letter-spacing:.7px}.police-file-line{font-size:7px;letter-spacing:.6px;margin-bottom:16px}.police-clip{width:92px;left:calc(50% - 46px)}
 .police-option{flex-wrap:wrap;padding:14px 12px;gap:9px}.police-option-symbol{display:none}.police-option>span:nth-child(2){flex-basis:100%}.police-option strong{font-size:15px}.police-option small{font-size:12px}.police-option em{font-size:11px}.police-option>b{font-size:14px}.police-raid-note>p{font-size:12px}.police-sheet .object-footer{font-size:11px}.object-paper .police-used{font-size:9px}
 .modal.object-rankcase{padding:22px 11px 29px;border-width:6px}.rank-case-lining{padding:9px}.object-rankcase .object-header-mark{display:none}.object-rankcase .rank-profile{grid-template-columns:53px minmax(0,1fr);gap:8px;padding:13px 9px}.object-rankcase .rank-profile-badge .rank-badge{width:53px;height:62px}.object-rankcase .rank-profile-copy h3{font-size:24px}.object-rankcase .rank-profile-copy p{font-size:12px}.object-rankcase .rank-profile-copy>.eyebrow{font-size:8px}.object-rankcase .rank-profile-rep>strong{font-size:17px}.object-rankcase .rank-profile-rep>span{font-size:10px}.object-rankcase .rank-next>div:first-child>span{font-size:12px}.object-rankcase .rank-next b{font-size:11px}.object-rankcase .rank-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.object-rankcase .rank-card{padding-inline:5px}.object-rankcase .rank-card-state{font-size:8px}.object-rankcase .rank-shelf-heading{font-size:23px;gap:8px}.object-rankcase .rank-shelf-heading>span{display:none}.object-rankcase .rank-modal-footer>span{font-size:12px}.object-rankcase .rank-card>strong{font-size:13px}.object-rankcase .rank-card>small{font-size:11px}
 .sleep-notepad{padding:16px 13px}.sleep-notepad-line{font-size:8px;letter-spacing:.8px}.object-sleep .sleep-home h3{font-size:22px}.object-sleep .sleep-effects{gap:12px}.object-sleep .sleep-breakdown{gap:9px}
}
@media(max-width:370px){#topbar .resources>.metric-balance{padding-inline:7px}.object-modal .object-header{gap:8px}.object-header h2{font-size:26px}.object-close{width:28px;height:28px}.object-meter strong{font-size:25px}.object-wallet{font-size:12px}.object-night strong{font-size:13px}.object-night small{font-size:11px}.object-night .object-secondary{font-size:13px}.object-paper .object-footer>span:last-child{font-size:10px}.object-rankcase .rank-card-state{font-size:7px}.object-rankcase .rank-case-lining{padding:7px}.menu-sheet .object-header h2{font-size:26px}.police-sheet .object-header h2{font-size:27px}}
.modal.object-modal .object-header{top:0}
.police-subject>div{min-width:0;max-width:100%}.police-subject strong{overflow-wrap:anywhere}
