#user-place{cursor:pointer;-webkit-tap-highlight-color:transparent}
#city-page{top:0;overflow:hidden;padding-top:calc(var(--sat) + var(--head-h) + 15px)}
#city-content .whead,#city-content .city-location{position:relative;z-index:1;pointer-events:none}
.city-location{border-radius:12px;background:#fff;box-shadow:0 2px 8px #43211f24}
.city-location{width:fit-content;max-width:100%;box-sizing:border-box;margin:0 auto;padding:6px 12px;color:var(--head-bar);font:700 12px/1.25 Helvetica,Arial,sans-serif;text-align:center}
.city-location:empty{display:none}
.city-location-unavailable{color:#a61b1b}
.city-map{--city-widget-top:calc(var(--sat) + var(--head-h) + 57px);--city-menu-inset:var(--city-menu-height,calc(90px + var(--sab)));position:absolute;z-index:0;inset:0;overflow:hidden;background:#f1e4d1}
.city-map iframe{position:absolute;top:var(--city-widget-top);left:0;width:100%;height:calc(100% - var(--city-widget-top) - var(--city-menu-inset));border:0}
body:has(#city-page:not([hidden]) .city-map iframe) #main-menu{border-radius:0}
.city-map-interactive{position:absolute;inset:0}
.city-map-zoom{display:grid;gap:6px;transform:translateY(-46px)}
.city-map-zoom button{display:grid;place-items:center;width:38px;height:38px;box-sizing:border-box;padding:0;border:0;border-radius:11px;background:var(--btn);color:#fff;font:700 24px/1 Helvetica,Arial,sans-serif;box-shadow:0 2px 5px #43211f4d;text-shadow:0 1px 1px rgba(0,0,0,.35)}
.city-map-zoom button:active{background:var(--btn-press);transform:scale(.96)}
/* Keep the Yandex attribution above the menu and its raised Home button. */
.city-map-interactive .ymaps3--map-copyrights_bottom,
.city-map-interactive .ymaps3--controls_bottom{bottom:calc(var(--city-menu-inset) + 32px)}
.city-map-avatar{position:relative;display:grid;place-items:center;width:42px;height:42px;box-sizing:border-box;overflow:hidden;border:2px solid var(--coin);border-radius:50%;background:var(--head-bar);color:#fff;font:700 16px Helvetica,Arial,sans-serif;box-shadow:0 2px 6px #0006;transform:translate(-50%,-50%)}
.city-map-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.city-map-place{position:relative;display:block;width:29px;height:45px;margin:0;padding:0;border:0;background:transparent;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transform-origin:50% 100%;filter:drop-shadow(0 1px 2px #2a1210d9);transform:translate(-50%,-100%);transition:transform .18s ease}
.city-map-place img{display:block;width:100%;height:100%;max-width:none;object-fit:contain;transform-origin:50% 100%;animation:city-place-bob 2.8s ease-in-out infinite}
.city-map-place.is-active{transform:translate(-50%,-100%) scale(1.3);filter:drop-shadow(0 2px 3px #2a1210f2)}
@keyframes city-place-bob{0%,100%{transform:scale(1)}50%{transform:scale(1.08)}}
@media (prefers-reduced-motion: reduce){
  .city-map-place img{animation:none}
}
.city-place{position:absolute;z-index:2;left:12px;right:12px;top:calc(var(--city-widget-top) + 10px);max-height:calc(100% - var(--city-widget-top) - var(--city-menu-inset) - 24px);overflow:auto;padding:12px 42px 12px 14px;border-radius:14px;background:#fff;box-shadow:0 4px 16px #43211f3d;color:var(--head-bar);font:14px/1.35 Helvetica,Arial,sans-serif}
.city-place[hidden]{display:none}
.city-place-title{font-weight:700;font-size:16px}
.city-place-address{margin-top:2px;color:#7A5A55;font-size:12.5px}
.city-place-address:empty{display:none}
.city-place-text{margin-top:6px}
.city-place-text:empty{display:none}
.city-place-close{position:absolute;top:8px;right:8px;width:30px;height:30px;padding:0;border:0;border-radius:9px;background:#F1E4D1;color:var(--head-bar);font:700 18px/1 Helvetica,Arial,sans-serif;cursor:pointer}
#account-page{font:14px/1.3 Helvetica,Arial,sans-serif;color:#F2F2F2}
#account-page .aprof{display:flex;flex-direction:column;align-items:center;margin:0 2px 6px;text-align:center}
#account-page .anick{max-width:100%;font-size:19px;color:var(--head-bar);font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#account-page .asub{margin-top:3px;color:#7A5A55;font-size:13.5px}
#account-page .atitle{margin:18px 2px 8px;font-size:16px;font-weight:700;color:var(--head-bar)}
#account-page .arow{padding:10px 0}
#account-page .arow + .arow{border-top:1px solid rgba(255,255,255,.07)}
#account-page .aname{color:#ABAAAA;font-size:13px;margin-bottom:4px}
#account-page .aval{display:flex;align-items:center;gap:8px;min-height:28px}
#account-page .av{flex:1;min-width:0;font-size:15.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#account-page .av.wrap{white-space:normal;word-break:break-all;font-variant-numeric:tabular-nums}
#account-page .abtn{flex:none;width:30px;height:28px;padding:0;border-radius:7px;border:1px solid #314A68;background:#F7D79C;display:flex;align-items:center;justify-content:center;cursor:pointer}
#account-page .abtn svg{width:16px;height:16px;fill:none;stroke:#314A68;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#account-page .abtn.ok{background:#7bd389}
#account-page .alink{color:#F7D79C;font-size:15px;text-decoration:none;word-break:break-all}
#account-page .awal{display:block;margin:18px auto 0;height:38px;padding:0 22px;border-radius:10px;border:1px solid #314A68;background:#F7D79C;color:#314A68;font:16px Helvetica,Arial,sans-serif;cursor:pointer}
#header #coins-place,#header .balance{font-weight:800}
#account-page .abest{grid-column:1/-1;margin-top:8px;text-align:center;color:#ABAAAA;font-size:12.5px}
#account-page .abest b{color:#F2F2F2}
#account-page .alang,#account-page .ain{flex:1;min-width:0;height:34px;padding:0 10px;border-radius:8px;border:1px solid #4a5b6e;background:#2c3a4a;color:#F2F2F2;font:15px Helvetica,Arial,sans-serif;cursor:pointer}
#account-page .aout{display:block;margin:14px auto 0;padding:6px 14px;border:0;background:none;color:var(--head-bar);font:14px Helvetica,Arial,sans-serif;text-decoration:underline;cursor:pointer}
#account-page{color:var(--head-bar)}
#account-page .arow + .arow{border-top-color:rgba(67,33,31,.08)}
#account-page .aname,#account-page .abest{color:#8A6E68}
#account-page .abest b{color:var(--head-bar)}
#account-page .alink{color:var(--teal-soft)}
#account-page .alang,#account-page .ain{background:#fff;color:var(--head-bar);border-color:rgba(67,33,31,.2)}
#friends-page{font-family:Helvetica,Arial,sans-serif;color:var(--head-bar)}
#friends-page .page-block{padding:14px 16px;text-align:center}
#friends-page .page-subtitle{font-size:16px;font-weight:700}
#friends-page .intro img{display:block;width:180px;height:auto;margin:0 auto 8px}
#friends-page .link_preview{margin:6px 0 10px;font-size:14px;color:#6b4e48;word-break:break-all}
#friends-page .line{display:flex;justify-content:center}
#friends-page .line.buttons{flex-wrap:wrap;gap:10px}
#friends-page .button{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:9px 16px;border:0;border-radius:12px;background:var(--btn);color:#fff;font:500 15px Helvetica,Arial,sans-serif;cursor:pointer;-webkit-user-select:none;user-select:none;text-shadow:0 1px 1px rgba(0,0,0,.35)}
#friends-page .button:active{background:var(--btn-press);transform:scale(.96)}
#friends-page .button img,#friends-page .button svg{width:20px;height:20px;flex:none}
#friends-page .button img{filter:brightness(0) invert(1)}
#friends-page .button svg{fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
#friends-page .button.ok{background:#2a9d5c}
#friends-page .qr-code{margin-top:12px}
#friends-page .qr-code img,#friends-page .qr-code canvas{padding:8px;background:#fff;border-radius:6px}
#friends-page .page-hint{display:flex;align-items:center;justify-content:center;gap:6px;margin:8px 0 10px;font-size:15px;color:#6b4e48}
#friends-page .page-hint svg{width:22px;height:22px}
#friends-page .tiles3{display:flex;justify-content:space-around}
#friends-page .tile{display:flex;flex-direction:column;gap:6px}
#friends-page .tile .hint{font-size:13px;color:#6b4e48}
#friends-page .tile .title{font-size:14px;font-weight:700}
#friends-page .tabs_list{display:flex;gap:8px;margin:0 0 12px}
#friends-page .tabs_list .button{flex:1;padding:9px 4px;font-size:13px;opacity:.7}
#friends-page .tabs_list .button.active{opacity:1;box-shadow:0 2px 6px rgba(0,80,100,.35)}
#friends-page .page-tab{display:none}
#friends-page .page-tab.active{display:block}
#friends-page .page-tab .page-block{text-align:left}
#friends-page .page-tab .title{margin-bottom:6px;text-align:center;font-size:16px;font-weight:700}
#friends-page .element{display:flex;align-items:center;gap:8px;padding:8px 0;border-top:1px solid rgba(67,33,31,.08)}
#friends-page .avatar-place{position:relative;width:32px;height:32px;border-radius:50%;overflow:hidden;background:var(--head-bar);color:#fff;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700}
#friends-page .avatar-place img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
#friends-page .main_info{flex:1;min-width:0}
#friends-page .name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}
#friends-page .balance{display:inline-flex;align-items:center;gap:4px;font-size:13px;font-weight:700;font-variant-numeric:tabular-nums}
#friends-page .balance svg{width:16px;height:16px}
#friends-page .empty{padding:10px 0;text-align:center;color:#8A6E68;font-size:14px}
#friends-page .next-page{display:flex;justify-content:center;margin-top:10px}
#friends-page .next-page .button{padding:7px 16px;border:1px solid rgba(67,33,31,.25);border-radius:10px;background:#fff;color:var(--head-bar);font-size:14px}
#friends-page .next-page.loading{opacity:.6;pointer-events:none}
#rating-page{font-family:Helvetica,Arial,sans-serif;color:var(--head-bar)}
#rating-page .rating-list{padding:12px 16px}
#rating-page .rating-subtitle{margin:14px 0 0;text-align:center;font-size:13px;color:#8A6E68}
#rating-page .rating-characters{display:flex;flex-wrap:wrap;gap:1px;margin-top:5px}
#rating-page .rating-characters img{width:22px;height:28px;object-fit:contain;flex:none}
#rating-page .rating-row{display:flex;align-items:center;gap:9px;padding:9px 0;border-top:1px solid rgba(67,33,31,.08)}
#rating-page .rating-row:first-child{border-top:0}
#rating-page .rating-place{flex:none;min-width:20px;text-align:center;font-size:13px;font-weight:800;font-variant-numeric:tabular-nums;color:#8A6E68}
#rating-page .rating-row.me{margin:0 -8px;padding-right:8px;padding-left:8px;border-radius:10px;background:rgba(247,215,156,.28)}
#rating-page .rating-row .avatar-place{position:relative;flex:none;width:36px;height:36px;border-radius:50%;overflow:hidden;background:var(--head-bar);color:#fff;display:flex;align-items:center;justify-content:center;font-size:15px;font-weight:700}
#rating-page .rating-row .avatar-place img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
#rating-page .rating-info{flex:1;min-width:0}
#rating-page .rating-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:700}
#rating-page .rating-score{flex:none;display:flex;align-items:center;justify-content:flex-end;gap:4px;margin-left:auto;font-size:13px;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}
#rating-page .rating-crown{font-size:17px;line-height:1}
#rating-page .empty{padding:14px 0;text-align:center;color:#8A6E68;font-size:14px}
#tasks-page{font-family:Helvetica,Arial,sans-serif;color:var(--head-bar)}
#tasks-page .page-block{padding:14px 18px 8px;margin:0 0 14px}
#tasks-page .title{margin-bottom:4px;text-align:center;font-size:19px;font-weight:700}
#tasks-page .element{display:flex;align-items:center;gap:14px;padding:8px 0;cursor:pointer}
#tasks-page .element:active{opacity:.7}
#tasks-page .icon{flex:none;width:40px;height:40px;display:flex;align-items:center;justify-content:center}
#tasks-page .icon img{width:40px;height:40px}
#tasks-page .icon:has(img[src*="invite_friends_red_"]){width:56px;height:56px}
#tasks-page .icon img[src*="invite_friends_red_"]{width:56px;height:56px}
#tasks-page .main_info{flex:1;min-width:0}
#tasks-page .name{font-size:16px;font-weight:400;line-height:1.25}
#tasks-page .hint{margin-top:3px;font-size:12.5px;font-weight:400}
#tasks-page .buy{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:6px}
#tasks-page .reward,#page-popup .reward{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:700;font-variant-numeric:tabular-nums}
#tasks-page .reward{font-size:16px}
#tasks-page .reward svg{width:20px;height:20px}
.legal-overlay{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(40,20,18,.65);font-family:Helvetica,Arial,sans-serif;color:var(--head-bar)}
.legal-card{position:relative;box-sizing:border-box;width:100%;max-width:420px;max-height:calc(100dvh - 32px);overflow:auto;padding:24px;border-radius:18px;background:#FFF5EB;box-shadow:0 8px 24px rgba(0,0,0,.3)}
.legal-card{font-weight:400}
.legal-card p{margin:8px 0;font-size:15px}
.legal-check{display:flex;align-items:center;gap:12px;margin:6px 0}
.legal-check .legal-link{padding:4px 0;line-height:1.25}
.legal-check input{appearance:none;-webkit-appearance:none;position:relative;box-sizing:border-box;flex-shrink:0;width:22px;height:22px;margin:0;border:1.5px solid #b2798d;border-radius:7px;background:#fffaf5;cursor:pointer}
.legal-check input:checked{border-color:#b2798d;background:#b2798d}
.legal-check input:checked::after{content:"";position:absolute;left:7px;top:3px;width:5px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.legal-check input:focus-visible{outline:2px solid #8c3732;outline-offset:3px}
.legal-check input:disabled{opacity:.5;cursor:default}
.legal-link{display:block;padding:8px 0;border:0;background:transparent;color:inherit;text-align:left;text-decoration:underline;font:inherit;font-size:14px;cursor:pointer}
#account-page .awal + .wcard{margin-top:16px}
#account-page .wcard .legal-link{padding:3px 0;line-height:1.25}
.legal-overlay .legal-play{display:block;width:auto;max-width:100%;margin:16px auto 0;padding:12px 32px;border:0;border-radius:12px;background:#8c3732;color:#fff;font-size:16px;font-weight:400;cursor:pointer}
.legal-play:disabled{opacity:.45;cursor:default}
.legal-error{color:#b52424}
.legal-document{z-index:1001}
.legal-document .legal-card{max-width:680px}
.legal-close{position:absolute;top:10px;right:10px;width:32px;height:32px;border:0;border-radius:50%;background:rgba(67,33,31,.12);color:inherit;font-size:24px;cursor:pointer}
.legal-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.6}
#page-popup{position:fixed;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(40,20,18,.55)}
#page-popup .popup-content{position:relative;width:100%;max-width:360px;padding:22px 18px 18px;border-radius:18px;background:#FFF5EB;color:var(--head-bar);text-align:center;font-family:Helvetica,Arial,sans-serif;box-shadow:0 8px 24px rgba(0,0,0,.3)}
#page-popup .wclose{position:absolute;top:10px;right:10px;width:32px;height:32px;border-radius:50%;border:0;background:rgba(67,33,31,.12);color:var(--head-bar);font-size:22px;line-height:1;cursor:pointer}
.popup-title,#page-popup .title{margin:0 0 12px;padding:0;font-size:19px;font-weight:700;line-height:1.25}
#page-popup .image{margin:14px auto}
#page-popup .image img{width:120px;height:120px}
#page-popup .text{font-size:14.5px;color:#6b4e48}
#page-popup .hint{margin-top:8px;font-size:14px;font-weight:700}
#page-popup .rewards{display:flex;justify-content:center;gap:14px;margin-top:12px}
#page-popup .reward{font-size:18px}
#page-popup .reward svg{width:24px;height:24px}
#page-popup .error{margin-top:10px;color:#D73737;font-size:14px}
#page-popup .buttons{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:16px}
#page-popup .button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:120px;padding:10px 16px;border-radius:12px;background:var(--btn);color:#fff;font:500 15px Helvetica,Arial,sans-serif;cursor:pointer;-webkit-user-select:none;user-select:none;text-shadow:0 1px 1px rgba(0,0,0,.35)}
#page-popup .button:active{background:var(--btn-press);transform:scale(.96)}
#page-popup .city-choice{position:relative;margin-top:18px;text-align:left;font-size:14px;font-weight:400;line-height:1.25}
#page-popup .city-choice summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 10px;border:1px solid #d9c4b8;border-radius:10px;background:#fff;cursor:pointer;list-style:none}
#page-popup .city-choice summary::-webkit-details-marker{display:none}
#page-popup .city-choice summary span{min-width:0;overflow-wrap:anywhere}
#page-popup .city-choice summary svg{width:20px;height:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.8;transition:transform .15s}
#page-popup .city-choice[open] summary svg{transform:rotate(180deg)}
#page-popup .city-choice-options{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:1;max-height:min(220px,34vh);overflow-y:auto;padding:4px;border:1px solid #d9c4b8;border-radius:10px;background:#fff;box-shadow:0 8px 20px rgba(67,33,31,.18)}
#page-popup .city-choice-options button{display:block;width:100%;padding:7px 8px;border:0;border-radius:6px;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;overflow-wrap:anywhere}
#page-popup .city-choice-options button[aria-pressed="true"]{background:#f5e4d5}
#page-popup .city-choice-options button:hover{background:#fff0e2}
#page-popup .city-choice summary:focus-visible,#page-popup .city-choice-options button:focus-visible{outline:2px solid var(--btn);outline-offset:2px}
#page-popup.city-confirm .button:disabled{opacity:.6;pointer-events:none}
#page-popup .button img{width:20px;height:20px;filter:brightness(0) invert(1)}
#page-popup .button.loading{opacity:.6;pointer-events:none}
#page-popup.shop-role .popup-content{padding-top:52px}
#page-popup.shop-role .text,#page-popup.shop-role .button{font-weight:400}
#page-popup.shop-role .button{text-decoration:none}
#page-popup.bottom{align-items:flex-end;padding:0}
#page-popup.bottom .popup-content{max-width:520px;padding:22px 18px calc(18px + var(--sab));border-radius:22px 22px 0 0;animation:popup-sheet .25s ease-out}
#page-popup.bottom .image img{width:160px;height:160px;object-fit:contain}
#page-popup.item .image img{width:100%;height:min(56vh,440px)}
#page-popup.item .image{margin:8px auto 4px}
#page-popup.item .popup-content{max-height:94vh;overflow-y:auto}
#page-popup.bottom .reward{font-size:18px}
#page-popup.bottom .reward svg,#page-popup.bottom .reward img{width:24px;height:24px}
#page-popup.bottom .button{min-width:0;padding:8px 28px}
#page-popup.bottom .rewards{margin-top:4px}
#page-popup .button.disable{opacity:.45;pointer-events:none}
#page-popup.good .popup-content{max-height:92vh;overflow-y:auto}
#page-popup.good .image{margin:14px auto 4px}
#page-popup.good .image img{width:min(68vw,260px);height:auto;aspect-ratio:1/1.41;object-fit:contain;border-radius:8px;box-shadow:0 4px 14px rgba(67,33,31,.15)}
#page-popup.good .text{margin-top:10px;font-size:15px;font-weight:400;line-height:1.4}
#page-popup.good .text p{margin:0 0 6px}
#page-popup.good .text p:last-child{margin-bottom:0}
#page-popup.good .rewards{margin-top:6px}
#page-popup.good .reward{gap:6px;font-size:24px}
#page-popup.good .reward svg,#page-popup.good .reward img{width:32px;height:32px}
#page-popup.good .buttons{margin-top:14px}
#page-popup.good .button{padding:12px 44px;font-size:18px;border-radius:14px}
#page-popup.daily .days{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin:14px 0 4px}
#page-popup.daily .day{display:flex;flex-direction:column;align-items:center;gap:3px;padding:6px 2px;border:1px solid rgba(67,33,31,.15);border-radius:10px;background:#fff}
#page-popup.daily .day svg{width:20px;height:20px}
#page-popup.daily .num{font-size:11px}
#page-popup.daily .count{font-size:12px;font-weight:700;font-variant-numeric:tabular-nums}
#page-popup.daily .day.current{border-color:var(--btn);box-shadow:0 0 0 1px var(--btn)}
#page-popup.daily .day.done{opacity:.45}
#page-popup.daily .note{margin-top:14px;font-size:13px;color:#8A6E68}
#tasks-page .element.getted .buy{opacity:.45}
@keyframes popup-sheet{from{transform:translateY(100%)}to{transform:none}}
@media (prefers-reduced-motion:reduce){#page-popup.bottom .popup-content{animation:none}}
#shop-page,#boutique-page{font-family:Helvetica,Arial,sans-serif;color:var(--head-bar)}
#shop-page .shop-head,#boutique-page .shop-head{padding:10px 12px;margin:0 0 14px;text-align:center}
#shop-page .shop-head .name,#boutique-page .shop-head .name{font-size:18px;font-weight:700}
#shop-page .shop-head .balance,#boutique-page .shop-head .balance{display:inline-flex;align-items:center;gap:6px;margin-top:4px;font-size:15px;font-weight:700;font-variant-numeric:tabular-nums}
#shop-page .shop-head .balance img,#boutique-page .shop-head .balance img{width:22px;height:22px}
#shop-page .tiles,#boutique-page .tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0 0 14px}
#shop-page .tile,#boutique-page .tile{display:flex;flex-direction:column;align-items:center;padding:8px 4px;border-radius:14px;background:rgba(255,251,247,.94);box-shadow:0 2px 8px rgba(67,33,31,.08);text-align:center}
#shop-page .image-place,#boutique-page .image-place{width:100%;height:84px;display:flex;align-items:center;justify-content:center}
#shop-page .image-place img,#boutique-page .image-place img{max-width:100%;max-height:100%;object-fit:contain}
#shop-page .tile .name,#boutique-page .tile .name{margin-top:2px;font-size:12px;line-height:1.2}
#shop-page .prices,#boutique-page .prices{display:flex;flex-wrap:wrap;justify-content:center;gap:2px 8px;margin-top:2px}
#shop-page .reward,#boutique-page .reward{display:inline-flex;align-items:center;gap:3px;font-size:12px;font-weight:700;font-variant-numeric:tabular-nums}
#shop-page .reward svg,#boutique-page .reward svg,#shop-page .reward img,#boutique-page .reward img{width:15px;height:15px}
#shop-page .tile.bought .reward,#boutique-page .tile.bought .reward{color:#8A6E68}
#shop-page .atitle{padding:4px 12px;margin:4px 0 12px;font-size:18px;font-weight:700;text-align:center}
#shop-page .tiles.small{grid-template-columns:repeat(4,1fr);gap:6px}
#shop-page .tiles.small .tile{padding:6px 4px;border-radius:12px}
#shop-page .tiles.small .image-place{height:56px}
#shop-page .tiles:not(.small) .tile{padding:8px 8px 10px}
#shop-page .tiles:not(.small) .image-place{height:auto;aspect-ratio:1/1.41}
#shop-page .tiles:not(.small) .image-place img{width:100%;height:100%;object-fit:contain;border-radius:6px}
#shop-page .tiles:not(.small) .tile .name{margin-top:6px;font-size:13px}
#shop-page .tiles:not(.small) .prices{margin-top:4px}
#shop-page .tiles:not(.small) .tile:not(.bought) .reward{gap:4px;font-size:16px}
#shop-page .tiles:not(.small) .reward svg,#shop-page .tiles:not(.small) .reward img{width:20px;height:20px}
/* Бутик: ряды по очереди выезжают слева и справа */
#boutique-page .shop-head{position:relative;z-index:10;animation:bv-head .38s cubic-bezier(.25,.75,.3,1) both}
#boutique-page .tiles .tile{animation:bv-tile .62s cubic-bezier(.22,.61,.36,1) var(--bv-delay,50ms) both}
@keyframes bv-head{from{opacity:0;transform:translateY(-10px)}}
@keyframes bv-tile{from{opacity:0;transform:translateX(var(--bv-x,-100%)) scale(.97)}55%{opacity:1}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){#boutique-page .shop-head,#boutique-page .tiles .tile{animation:none}}
#page-popup.slots .current .image{margin:12px auto 6px}
#page-popup.slots .current .image img{width:150px;height:150px;object-fit:contain}
#page-popup.slots .current .name{font-size:16px;font-weight:700}
#page-popup.slots .text{margin-top:14px}
#page-popup.slots .items{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;max-height:46vh;overflow:auto;margin-top:16px}
#page-popup.slots .tile{display:flex;flex-direction:column;align-items:center;padding:8px 4px;border-radius:14px;background:#fff;box-shadow:0 2px 8px rgba(67,33,31,.08);cursor:pointer}
#page-popup.slots .tile.loading{opacity:.4;pointer-events:none}
#page-popup.slots .image-place{width:100%;height:72px;display:flex;align-items:center;justify-content:center}
#page-popup.slots .image-place img{max-width:100%;max-height:100%;object-fit:contain}
#page-popup.slots .tile .name{margin-top:4px;font-size:12px;line-height:1.2}
#page-popup.bottom .price-title{margin-top:18px;font-size:15px;font-weight:700;color:#8A6E68}
#wallet-page .wcalc output.wc{min-width:0;padding:0}
#wallet-page .wnote.wsoon{font-size:16px;margin:10px 8px 14px}
