/* VISUAL 3: actual dimensional artwork and a short, task-based admin flow. */
.ui-sprite{display:block;background-image:url('/assets/ui/ui-sprites-v3.png');background-size:var(--sprite-bg-x) var(--sprite-bg-y);background-position:var(--sprite-x) var(--sprite-y);background-repeat:no-repeat;aspect-ratio:1;flex-shrink:0}
.toy-object.ui-sprite{overflow:hidden;filter:drop-shadow(0 9px 15px #0002)}.telegram-avatar{height:100%;width:100%;border-radius:50%;object-fit:cover;max-width:none}.profile-dot:has(.telegram-avatar){padding:0;overflow:hidden}
.raster-case{position:relative;height:100%;isolation:isolate;display:block}.raster-case .case-render{position:absolute;bottom:13px;left:50%;translate:-50% 0;width:85%;max-width:260px;height:auto;aspect-ratio:var(--sprite-aspect);z-index:2;filter:drop-shadow(0 12px 13px #0006);transition:translate .3s,rotate .3s}.raster-case .case-feature{position:absolute;top:2%;left:50%;height:40%;width:72%;transform:translateX(-50%) rotate(-14deg);z-index:3;filter:drop-shadow(0 7px 9px #0007);opacity:1}.raster-case .case-halo{width:72%;height:73%;left:14%;top:15%;opacity:.21;filter:blur(35px)}.raster-case .case-spark{opacity:.85}.raster-case .case-serial{position:absolute;bottom:2px;width:100%;text-align:center;left:0;z-index:4}.case-card:hover .case-render{translate:-50% -6px;rotate:2deg}.case-art{height:219px;background:radial-gradient(ellipse at 50% 68%,color-mix(in srgb,var(--color) 20%,transparent),transparent 74%)}.case-card{border-radius:29px;background:var(--surface)}.case-info{padding:17px 20px 20px;border-top:1px solid var(--border)}.case-info h3{font-size:18px}.case-big-art .raster-case{height:300px;max-width:400px}.case-big-art .raster-case .case-render{width:87%;max-width:340px;bottom:3px}.case-big-art .case-feature{top:-5%;height:46%;width:85%}.case-big-art .case-serial{bottom:0}.opening-loading .case-visual{height:220px}.battle-builder-art .case-render{width:88%;bottom:9px}.room-art .case-visual{height:85px;min-width:92px}.room-art .raster-case .case-render{width:100%;bottom:0}.room-art .case-feature{height:35%;top:0}.room-art .case-serial,.room-art .case-spark{display:none}
.reference-more .daily-tile{background:radial-gradient(ellipse at 83% 55%,#7fe71b25,transparent 75%),linear-gradient(120deg,#071a17,#081515);border-color:#315140;color:#fff;min-height:178px}.reference-more .daily-tile .toy-object{width:142px;height:142px;transform:rotate(9deg)}.reference-more .daily-tile h3{font-size:28px}.reference-more .tile-upgrade{background:radial-gradient(ellipse at 55% 55%,#3795e822,transparent 75%),linear-gradient(120deg,#0b1724,#0c1420);border-color:#304251;color:#fff}.reference-more .tile-trades{background:radial-gradient(ellipse at 55% 55%,#5eddac20,transparent 75%),linear-gradient(120deg,#0e221e,#101d1b);border-color:#2a443d;color:#fff}.reference-more .tile-collections{background:radial-gradient(ellipse at 55% 55%,#b070d824,transparent 75%),linear-gradient(120deg,#21142e,#191322);border-color:#3c2c45;color:#fff}.reference-more .tile-leaderboard{background:radial-gradient(ellipse at 55% 55%,#e6b33d20,transparent 75%),linear-gradient(120deg,#261d0e,#1c190e);border-color:#463b28;color:#fff}.reference-more .more-tile:not(.daily-tile){height:174px;padding:12px}.reference-more .more-tile:not(.daily-tile) .toy-object{width:115px;height:115px;transform:none;margin:0 auto}.reference-more .more-tile h3{font-size:18px;margin-top:8px}.more-games{display:flex;overflow-x:auto;gap:8px;margin-top:17px;padding-bottom:5px;scrollbar-width:none}.more-games button{display:flex;flex-direction:column;align-items:center;gap:8px;padding:10px 12px;border:1px solid var(--border);background:var(--surface2);border-radius:15px;font-size:9px;white-space:nowrap;flex:0 0 64px;color:var(--muted)}.more-games .icon{width:21px;height:21px}.more-admin-entry,.profile-admin-entry{display:flex;align-items:center;width:100%;border:1px solid #b398fb3d;background:linear-gradient(110deg,#ad85f719,#8874dd08);border-radius:19px;gap:12px;padding:16px 18px;color:var(--accent)}.more-admin-entry{margin-bottom:17px}.more-admin-entry span,.profile-admin-entry span{text-align:left;flex:1}.more-admin-entry b,.profile-admin-entry b{display:block;font-size:15px;font-weight:700}.more-admin-entry small,.profile-admin-entry small{display:block;font-size:10px;margin-top:5px;color:var(--muted)}.more-admin-entry i,.profile-admin-entry i{font-style:normal;font-size:25px}.more-admin-entry .icon,.profile-admin-entry .icon{width:27px;height:27px}.profile-admin-entry{margin:18px 0 8px}.profile-brush{border-radius:34px 50% 42% 23px / 22% 50% 13% 28%;background:linear-gradient(102deg,#0686a36b,#159eb636 55%,transparent 95%);min-height:222px;padding:31px 27px}.profile-brush:before{inset:0;background:repeating-linear-gradient(174deg,transparent 0 9px,#176b8516 10px 12px,transparent 14px);opacity:.7}.profile-brush .profile-dot{width:97px;height:97px;box-shadow:0 0 0 2px #161f29;border:5px solid var(--bg)}.profile-brush h1{font-size:37px}.profile-brush p{font-size:16px}.profile-invite{background:radial-gradient(ellipse at 88% 55%,#a46c2252,transparent 70%),linear-gradient(125deg,#281907,#251319);min-height:191px}.profile-invite .toy-object{width:186px;height:176px;transform:rotate(8deg)}.profile-invite h2{font-size:29px}.profile-numbers b{font-size:38px}.profile-menu>button{padding:27px 4px;font-size:19px}.featured-links button>span{border-radius:24px;background:linear-gradient(150deg,#af78dd20,#af78dd04);border-color:#b986e01c}.featured-links .toy-object{transform:none;width:56px;height:56px}.pack-icon .toy-object{transform:rotate(-8deg)}
.admin-tabs{display:flex;gap:9px;overflow:auto;scrollbar-width:none;padding:0 0 14px;margin-bottom:16px}.admin-tabs>button{display:flex;align-items:center;gap:8px;border:1px solid var(--border);border-radius:17px;padding:13px 17px;background:var(--surface);color:var(--muted);font-size:12px;white-space:nowrap;flex-shrink:0}.admin-tabs>button.active{background:var(--accent2);border-color:var(--accent2);color:#fff;box-shadow:0 5px 20px #9b7bf32a}.admin-tabs>button .icon{height:18px;width:18px}.admin-pane-lead{margin:22px 0 18px}.admin-pane-lead h2{font-size:24px;font-weight:750;letter-spacing:-.8px}.admin-pane-lead p{font-size:12px;line-height:1.7;color:var(--muted);max-width:660px;margin-top:9px}.admin-target{padding:24px;margin-bottom:20px}.admin-target>label{display:block;font-size:14px;font-weight:750;margin-bottom:13px}.admin-target>select{width:100%;font-size:14px;padding:15px}.admin-target>.help{margin-top:12px}.selected-player{margin-top:17px;display:flex;align-items:center;gap:13px;border-top:1px solid var(--border);padding-top:18px}.selected-player>div{flex:1;min-width:0}.selected-player b{font-size:15px}.selected-player small{display:block;color:var(--muted);font-size:10px;margin-top:6px}.selected-player>span:last-child{text-align:right;color:var(--gold);font-size:16px;font-weight:700}.selected-player>span:last-child small{color:var(--accent);font-size:12px}.admin-player-search{display:flex;gap:12px;margin:4px 0 22px}.admin-player-search input{flex:1;min-width:0}.admin-player-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.admin-player-card{padding:24px;min-width:0}.player-card-title{display:flex;align-items:center;gap:12px}.player-card-title>div{flex:1;min-width:0}.player-card-title h3{font-size:20px;letter-spacing:-.5px;overflow-wrap:anywhere}.player-card-title small{font-size:10px;color:var(--muted);margin-top:5px;display:block;line-height:1.6}.player-card-title>.chip{font-size:9px}.player-card-wallet{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:22px 0 19px}.player-card-wallet>span{font-size:10px;color:var(--muted)}.player-card-wallet b{display:block;color:var(--gold);font-size:22px;margin-top:8px;font-weight:750;overflow-wrap:anywhere}.player-card-wallet span:last-child b{color:var(--accent)}.player-quick-actions{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--border);padding-top:17px;gap:8px}.player-quick-actions button{display:flex;gap:8px;align-items:center;justify-content:center;background:var(--surface2);padding:11px 8px;border-radius:13px;color:var(--muted);font-size:11px}.player-quick-actions button:hover{color:var(--accent);background:#9e82e818}.player-quick-actions .icon{width:17px;height:17px}.admin-work-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}.admin-work-grid .form-panel{display:flex;flex-direction:column;gap:16px;padding:26px;min-width:0}.admin-work-grid .form-panel h3{font-size:22px;letter-spacing:-.5px;margin:0 0 6px}.admin-work-grid .form-line{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0}.admin-work-grid .form-panel input:not([type=checkbox]),.admin-work-grid .form-panel select{margin:0;width:100%;font-size:13px;padding:13px;border-radius:13px}.admin-work-grid .eyebrow{color:var(--accent);font-size:8px}.admin-work-grid .admin-field>span{font-size:11px;line-height:1.5}.admin-work-grid .admin-field small{font-size:10px;line-height:1.7}.admin-work-grid .help{font-size:11px}.promo-list-side h3{font-size:19px;margin:0 0 17px}.promo-list-side .admin-promos{grid-template-columns:1fr}.balance-reset-buttons{display:flex;flex-direction:column;gap:9px;margin-top:5px;padding-top:18px;border-top:1px solid var(--border)}.balance-editor{border-color:#a18aef45;background:linear-gradient(145deg,#aa8bfd0b,var(--surface))}.balance-editor .btn.danger{color:#f29aaf;border-color:#c6718a40;background:#b6557012}.balance-editor .admin-field input{font-size:17px!important;font-weight:700}.odds-presets{display:flex;gap:9px;flex-wrap:wrap;margin:0 0 20px}.odds-presets .btn{font-size:12px;border-color:#9b86f342;color:var(--accent);background:#9b86f30b}
@media(max-width:1150px){.case-art{height:192px}.raster-case .case-render{width:89%;bottom:11px}.admin-tabs>button{padding:12px 14px;font-size:11px}.admin-work-grid .form-panel{padding:22px}.admin-work-grid .form-panel h3{font-size:20px}}
@media(max-width:900px){.admin-player-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.case-art{height:208px}.profile-brush h1{font-size:34px}.profile-menu>button{font-size:18px}}
@media(max-width:600px){.case-art{height:159px}.raster-case .case-render{width:96%;max-width:none;bottom:4px}.raster-case .case-feature{height:39%;width:82%;top:-1%}.case-card{border-radius:24px}.case-info{padding:13px 12px 15px}.case-info h3{font-size:14px;min-height:17px}.case-card .case-serial{font-size:6px}.case-big-art .raster-case{height:255px;width:320px;max-width:100%}.case-big-art .raster-case .case-render{width:95%;bottom:2px;max-width:310px}.case-big-art .raster-case .case-feature{top:-2%;width:80%;height:42%}.case-big-art{height:255px}.case-big-art .case-serial{bottom:3px}.raster-case .spark-one{left:10%;top:45%}.raster-case .spark-two{right:10%;top:16%;font-size:21px}.case-info .case-footer b{font-size:15px}.case-info .case-footer span{font-size:8px}.reference-more .daily-tile{min-height:143px;padding:20px;gap:0}.reference-more .daily-tile .toy-object{width:115px;height:115px;transform:rotate(7deg);margin:0}.reference-more .daily-tile h3{font-size:24px}.reference-more .more-tile:not(.daily-tile){height:144px;min-height:144px;padding:7px 9px 12px}.reference-more .more-tile:not(.daily-tile) .toy-object{height:99px;width:99px}.reference-more .more-tile h3{font-size:16px;margin:5px 0 0;line-height:1.1}.more-grid.reference-more{gap:11px}.modal-card:has(.reference-more){padding:20px 17px;margin-bottom:78px;max-height:calc(100dvh - 111px);border-radius:31px;background:#09111b;border-color:#263039}.modal-card:has(.reference-more) .modal-head{margin-bottom:18px}.modal-card:has(.reference-more) .modal-head h2{font-size:27px;color:#f4f5fa}.more-admin-entry{padding:12px 14px;margin-bottom:14px;border-radius:16px}.more-admin-entry b{font-size:13px}.more-admin-entry small{font-size:9px;margin-top:4px}.more-admin-entry .icon{width:22px;height:22px}.more-games{gap:7px;margin-top:13px;padding-bottom:0}.more-games button{font-size:8px;padding:8px 8px;gap:6px;flex-basis:58px;border-radius:13px}.more-games .icon{width:18px;height:18px}.profile-brush{min-height:185px;padding:24px 16px;gap:17px}.profile-brush .profile-dot{width:82px;height:82px;border-width:4px}.profile-brush h1{font-size:29px;line-height:1.1;letter-spacing:-1px}.profile-brush p{font-size:13px;line-height:1.5;overflow-wrap:anywhere}.profile-admin-entry{padding:14px 17px;border-radius:18px;margin:16px 0 3px}.profile-admin-entry b{font-size:14px}.profile-admin-entry small{font-size:9px}.profile-numbers b{font-size:33px}.profile-invite{min-height:162px;padding:23px 20px}.profile-invite .toy-object{width:119px;height:119px;margin-right:-12px;transform:rotate(8deg)}.profile-invite h2{font-size:25px;white-space:normal;line-height:1.15}.profile-invite p{font-size:11px;max-width:210px}.profile-invite span{font-size:10px}.profile-menu>button{padding:24px 2px;font-size:17px}.profile-title h1{font-size:35px}.featured-links .toy-object{width:49px;height:49px}.featured-links button>span{width:61px;height:61px}.featured-links button{flex-basis:61px}.hero-art{opacity:.8}.admin-tabs{gap:8px;margin:0 -16px 16px;padding:0 16px 13px}.admin-tabs>button{border-radius:15px;padding:11px 13px;font-size:11px}.admin-tabs>button .icon{width:17px;height:17px}.admin-player-search{gap:8px;margin:0 0 16px}.admin-player-search input{font-size:11px;padding:12px}.admin-player-search .btn{font-size:10px;padding:10px 12px}.admin-player-cards{grid-template-columns:1fr;gap:13px}.admin-player-card{padding:21px;border-radius:25px}.player-card-title h3{font-size:20px}.player-card-title small{font-size:9px}.player-card-title .profile-dot{height:41px;width:41px}.player-card-wallet{padding:20px 0 18px}.player-card-wallet b{font-size:24px}.player-quick-actions{gap:7px;padding-top:15px}.player-quick-actions button{font-size:11px;padding:12px 6px;gap:7px}.admin-target{padding:21px;border-radius:24px;margin-bottom:20px}.admin-target>label{font-size:14px}.admin-target>select{padding:14px 12px;font-size:12px}.selected-player{gap:11px}.selected-player b{font-size:13px}.selected-player small{font-size:9px;line-height:1.5}.selected-player>span:last-child{font-size:14px}.selected-player>span:last-child small{font-size:11px}.selected-player .profile-dot{height:36px;width:36px;font-size:11px}.admin-pane-lead{margin:22px 0 17px}.admin-pane-lead h2{font-size:23px}.admin-pane-lead p{font-size:11px}.admin-work-grid{grid-template-columns:1fr;gap:14px}.admin-work-grid .form-panel{padding:22px;gap:15px;border-radius:25px}.admin-work-grid .form-panel h3{font-size:22px}.admin-work-grid .form-line{gap:10px}.admin-work-grid .form-panel input:not([type=checkbox]),.admin-work-grid .form-panel select{font-size:12px;padding:12px}.admin-work-grid .admin-field>span{font-size:11px;min-height:30px}.admin-work-grid .admin-field small{font-size:9px}.admin-work-grid .help{font-size:10px}.admin-work-grid .form-panel>.btn{min-height:45px;font-size:12px}.balance-reset-buttons{padding-top:15px;gap:8px}.balance-reset-buttons .btn{min-height:43px;font-size:11px}.odds-presets{gap:8px}.odds-presets .btn{font-size:10px;padding:9px 11px}.promo-list-side h3{font-size:21px;margin:9px 0 17px}.player-quick-actions .icon{height:17px;width:17px}.admin-code-line .btn{font-size:9px;padding:12px 9px}}
@media(max-width:350px){.case-art{height:139px}.case-info h3{font-size:12px}.profile-brush .profile-dot{width:70px;height:70px}.profile-brush h1{font-size:26px}.profile-invite h2{font-size:22px}.profile-invite .toy-object{width:92px;height:108px}.reference-more .daily-tile .toy-object{width:94px;height:105px}.reference-more .daily-tile h3{font-size:21px}.reference-more .more-tile:not(.daily-tile){height:133px;min-height:133px}.reference-more .more-tile:not(.daily-tile) .toy-object{height:88px;width:88px}.reference-more .more-tile h3{font-size:15px}.admin-tabs{margin-left:-12px;margin-right:-12px;padding-left:12px;padding-right:12px}.admin-work-grid .form-panel{padding:19px}.admin-target{padding:18px}.balance-editor .admin-field input{font-size:14px!important}.selected-player>span:last-child{font-size:12px}.player-card-wallet b{font-size:21px}.player-quick-actions button{font-size:10px;gap:5px}}

.admin-tabs{position:sticky;top:82px;z-index:30;background:var(--bg);padding-top:8px;border-bottom:1px solid var(--border)}@media(max-width:900px){.admin-tabs{top:0}}

@media(max-width:600px){.admin-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 18px;padding:0 0 13px}.admin-tabs>button{min-width:0;min-height:57px;flex-direction:column;justify-content:center;gap:5px;font-size:10px;line-height:1.25;white-space:normal;text-align:center;padding:9px 6px}.admin-tabs>button .icon{width:16px;height:16px}.admin-tabs>button:last-child{grid-column:1/-1;flex-direction:row;min-height:37px;padding:8px}}
