﻿:root{
  --nav:#061829;--nav2:#0b2a4a;--blue:#075bd8;--green:#16a34a;--red:#df2336;--yellow:#ffd32a;
  --paper:#fff6df;--paper2:#f2dfb5;--line:#e7d5ae;--text:#101828;--muted:#667085;--shadow:0 14px 35px #00000018;
  --album-photo:none;--site-photo:none;--album-photo-opacity:.24;--site-photo-opacity:0;
}
*{box-sizing:border-box} body{margin:0;font-family:Inter,Arial,Helvetica,sans-serif;background:#f3f5f8;color:var(--text);position:relative;background-image:linear-gradient(#f3f5f8d9,#f3f5f8d9),var(--site-photo);background-size:cover;background-position:center;background-attachment:fixed}body::before{content:"";position:fixed;inset:0;background-image:var(--site-photo);background-size:cover;background-position:center;opacity:var(--site-photo-opacity);filter:saturate(1.12) contrast(.98);pointer-events:none;z-index:-1}
.topbar{height:74px;background:linear-gradient(135deg,var(--nav),var(--nav2));color:white;display:flex;align-items:center;gap:18px;padding:10px 22px;position:sticky;top:0;z-index:20;box-shadow:0 8px 25px #0005}
.hub-return{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:9px 12px;border:1px solid #ffffff42;border-radius:13px;background:#ffffff14;color:#fff;text-decoration:none;font-size:14px;font-weight:900;white-space:nowrap;box-shadow:0 6px 16px #0003;transition:transform .2s ease,background .2s ease}.hub-return:hover,.hub-return:focus-visible{background:#ffffff28;transform:translateX(-3px);outline:2px solid #ffd32a;outline-offset:2px}
.logo{display:flex;align-items:center;gap:10px;font-weight:900;min-width:250px}.cup{font-size:38px}.logo .small{font-size:13px}.logo .big{display:block;font-size:28px;color:#ffd32a;line-height:.9}
.nav{display:flex;background:white;color:#111827;border-radius:15px;padding:6px;gap:4px;margin:auto;box-shadow:inset 0 0 0 1px #0001}.nav button{background:transparent;color:#111;border:0;box-shadow:none;border-radius:12px;padding:11px 16px;font-weight:800}.nav button.active{background:#eef3fb}.nav button:focus-visible{outline:3px solid #93c5fd;outline-offset:2px}
button,.filebtn{border:0;border-radius:13px;padding:11px 14px;font-weight:800;cursor:pointer;background:var(--blue);color:white;box-shadow:0 5px 14px #0002}button:hover{filter:brightness(.97);transform:translateY(-1px)}button.green{background:var(--green)}button.red{background:var(--red)}button.yellow{background:#f7c600;color:#3b2a00}button.gray{background:#64748b}input[type=file]{display:none}.apk-btn{display:inline-flex;align-items:center;gap:7px;text-decoration:none;border-radius:13px;padding:11px 14px;font-weight:900;background:linear-gradient(135deg,#16a34a,#075bd8);color:white;box-shadow:0 8px 18px #0003;white-space:nowrap}.apk-btn:hover{filter:brightness(.98);transform:translateY(-1px)}
@media(pointer:coarse){button,.filebtn,.nav button{min-height:48px}.country-item{min-height:68px}.sticker{touch-action:manipulation}.sticker-tools{display:flex}.sticker-tools button{min-height:38px}}
.app{display:grid;grid-template-columns:300px 1fr 330px;gap:18px;padding:18px;max-width:1800px;margin:0 auto}
.sidebar,.rightbar,.main-card{background:#fff;border-radius:20px;box-shadow:var(--shadow);border:1px solid #eef0f4}.sidebar,.rightbar{padding:14px;height:calc(100vh - 108px);position:sticky;top:92px;overflow:auto}
.app.right-collapsed{grid-template-columns:300px 1fr 58px}.rightbar{transition:width .2s,padding .2s,background .2s}.right-toggle{width:100%;min-height:44px;border-radius:12px;background:#0f172a;display:flex;align-items:center;justify-content:center;margin-bottom:12px;padding:0}.app.right-collapsed .rightbar{padding:8px;overflow:hidden;background:#ffffffd8}.app.right-collapsed .right-content{display:none}.app.right-collapsed .right-toggle{height:calc(100vh - 126px);margin:0;writing-mode:vertical-rl;text-orientation:mixed}
.sidebar-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:4px 0 10px}.sidebar-head h3{margin:0}.view-toggle{padding:9px 10px;border-radius:12px;background:#eef3fb;color:#0f172a;box-shadow:none;font-size:13px;white-space:nowrap}
.search{width:100%;padding:13px;border-radius:13px;border:1px solid #d9dee8;font-size:15px;margin-bottom:12px}.country-list{display:flex;flex-direction:column;gap:9px}
.country-item{display:grid;grid-template-columns:58px 1fr;gap:12px;align-items:center;padding:10px;border-radius:14px;cursor:pointer;border:1px solid transparent}.country-item:hover,.country-item.active{background:#eef6df;border-color:#d5e7bd}
.country-list.flags-only{display:grid;grid-template-columns:repeat(auto-fill,minmax(64px,1fr));gap:10px;align-items:start}.country-list.flags-only .country-item{display:flex;min-height:62px;padding:8px;justify-content:center;align-items:center;border-color:#e5e7eb;background:#fff}.country-list.flags-only .country-item.active{background:#eef6df;border-color:#9ccc65;box-shadow:inset 0 0 0 2px #9ccc65}.country-list.flags-only .country-info{display:none}.country-list.flags-only .flagbox{width:58px;height:44px}
.flagbox{height:44px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:18px;background:#f8fafc;box-shadow:inset 0 0 0 1px #ddd;overflow:hidden}.flag-img{display:inline-flex;align-items:center;justify-content:center;overflow:hidden;background:#f8fafc;color:#0f172a;font-weight:900}.flag-img img{width:100%;height:100%;object-fit:cover;display:block}.flag-small{width:58px;height:44px;border-radius:8px}.flag-big{width:90px;height:64px;border-radius:10px;box-shadow:0 8px 18px #0002}.flag-badge{width:74px;height:52px;border-radius:9px;box-shadow:0 7px 14px #0002}.country-item b{font-size:14px}.country-item small{color:#475569}.mini{height:8px;background:#e5e7eb;border-radius:99px;overflow:hidden;margin-top:6px}.mini span{display:block;height:100%;background:#f7c600}
.main-card{padding:18px;background:linear-gradient(180deg,#fff,#fff8ed);min-height:820px}.hero{display:grid;grid-template-columns:1fr 520px;gap:16px;align-items:center;margin-bottom:18px}
.team-title{display:flex;align-items:center;gap:18px}.bigflag{width:90px;height:64px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:#f8fafc;font-size:20px;box-shadow:0 8px 18px #0002;overflow:hidden}.team-title h1{margin:0;font-size:46px;letter-spacing:1px;color:#0a2b4e}.team-title p{margin:6px 0;color:#1f2937}
.summary{display:grid;grid-template-columns:repeat(4,1fr);background:#fff8e8;border:1px solid var(--line);border-radius:16px;overflow:hidden}.sum{padding:16px;text-align:center;border-right:1px solid var(--line)}.sum:last-child{border-right:0}.sum b{font-size:25px;display:block}.have b{color:var(--green)}.miss b{color:var(--red)}.dup b{color:var(--blue)}
.album-wrap{background:linear-gradient(135deg,var(--album-ring1,#ead9b0),var(--album-ring2,#f7e8c3));border:3px solid var(--album-border,#b08b45);border-radius:22px;padding:12px;box-shadow:inset 0 0 0 5px #ffffff55,0 10px 25px #0002;transition:background .25s,border-color .25s}.album-page{min-height:735px;border-radius:18px;background:radial-gradient(circle at 20% 15%,#ffffff8a 0 9%,transparent 10%),radial-gradient(circle at 78% 30%,#ffffff75 0 7%,transparent 8%),linear-gradient(135deg,var(--album-bg1,#f6e7c2),var(--album-bg2,#fff8e8) 48%,var(--album-bg3,#f8edd2));background-size:120px 120px,160px 160px,cover;overflow:hidden;padding:18px;position:relative;transition:background .25s}.album-page::before{content:"";position:absolute;inset:0;background-image:var(--album-photo);background-size:cover;background-position:center;opacity:var(--album-photo-opacity);filter:saturate(1.1) contrast(.98);mix-blend-mode:multiply;pointer-events:none}.album-page::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#ffffff55,#fff7e622);pointer-events:none}.grid{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;max-width:1030px;margin:0 auto;position:relative;z-index:1}
.sticker{height:166px;border-radius:14px;background:#eadfc8;border:2px dashed #d0b98a;position:relative;overflow:hidden;box-shadow:0 5px 12px #0001;cursor:pointer;transition:.15s}.sticker:hover{transform:translateY(-2px)}.sticker.owned{background:white;border:2px solid #fff}.sticker.missing .art{opacity:.20;filter:grayscale(1)}.sticker .num{position:absolute;left:8px;top:6px;font-weight:900;font-size:13px;z-index:2;color:#101828;background:#ffffffdd;border:1px solid #d9dee8;border-radius:6px;padding:2px 5px;letter-spacing:.2px}.qty-badge{position:absolute;right:7px;top:7px;background:#0f6fff;color:white;border-radius:99px;width:28px;height:28px;display:flex;align-items:center;justify-content:center;font-weight:900;z-index:3}
.art{height:128px;display:flex;align-items:end;justify-content:center;background:linear-gradient(135deg,var(--c1),var(--c2));position:relative;overflow:hidden}.art img{width:100%;height:100%;object-fit:contain;background:#fff;display:block}.art svg{width:125px;height:125px;transform:translateY(8px)}.badge-art,.squad-art{font-size:58px;align-items:center}.nameplate{position:absolute;left:9px;right:9px;bottom:8px;background:#0c5bb9;color:white;border-radius:4px;padding:5px;font-size:11px;text-align:center;font-weight:900;text-transform:uppercase;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.missing .nameplate{background:transparent;color:#8d7854;font-size:12px}.role{font-weight:500;color:#76664d;font-size:10px;display:block}.owned .role{color:#eaf2ff}.sticker-tools{position:absolute;inset:auto 6px 36px 6px;display:none;gap:5px;justify-content:center}.sticker:hover .sticker-tools{display:flex}.sticker-tools button{font-size:11px;padding:6px 7px;border-radius:8px;box-shadow:none}
.bottom-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:14px}.action-card{background:#fff;border:1px solid #e7eaf0;border-radius:14px;padding:12px;text-align:center}.action-card button{width:100%;min-height:58px}.action-card b{display:block}
.panel-title{font-size:18px;font-weight:900;margin:4px 0 14px}.dupes-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.dupe{border:1px solid #e5e7eb;border-radius:12px;overflow:hidden;background:#fff;position:relative}.dupe .art{height:126px}.dupe .art svg{width:110px;height:110px}.dupe .nameplate{position:static;border-radius:0;font-size:10px;padding:7px}.stats-card{background:#fff;border:1px solid #e7eaf0;border-radius:16px;padding:14px;margin-top:16px}.row{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #eef0f4;padding:9px 0}.row:last-child{border-bottom:0}.progress{height:10px;background:#e5e7eb;border-radius:99px;overflow:hidden}.progress span{display:block;height:100%;background:#169b3a}
.modal{display:none;position:fixed;inset:0;background:#0008;align-items:center;justify-content:center;z-index:50;padding:16px}.modal.open{display:flex}.sheet{max-width:820px;width:100%;background:white;border-radius:22px;padding:20px;max-height:90vh;overflow:auto}.sheet-head{display:flex;justify-content:space-between;align-items:center}.close{background:#111827;border-radius:50%;width:40px;height:40px;padding:0}.preview-sheet{max-width:min(94vw,1120px);display:grid;grid-template-columns:minmax(290px,520px) 1fr;gap:20px;align-items:center;background:#0b1220;color:white}.preview-frame{background:#111827;border-radius:18px;padding:12px;display:flex;align-items:center;justify-content:center;min-height:min(78vh,760px)}.preview-frame img{max-width:100%;max-height:min(76vh,740px);width:auto;height:auto;object-fit:contain;border-radius:14px;box-shadow:0 18px 45px #0008}.preview-info h2{font-size:42px;line-height:1;margin:8px 0}.preview-info p{color:#dbeafe}.preview-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.toast{display:none;position:fixed;left:50%;bottom:25px;transform:translateX(-50%);background:#111827;color:white;padding:13px 18px;border-radius:14px;z-index:80}textarea{width:100%;min-height:120px;border:1px solid #ddd;border-radius:14px;padding:12px}.pathbox{background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;padding:12px;line-height:1.6}
.preview-sheet{position:relative}.preview-frame{position:relative}.preview-frame.missing img{opacity:.22;filter:grayscale(1)}.preview-frame.owned img{opacity:1;filter:none}.preview-frame .preview-qty{display:none;position:absolute;right:20px;top:20px;background:#0f6fff;color:white;border-radius:999px;min-width:44px;height:44px;padding:0 12px;align-items:center;justify-content:center;font-weight:900;font-size:18px;box-shadow:0 10px 25px #0008;z-index:2}.preview-frame.has-qty .preview-qty{display:flex}.preview-close{position:absolute;right:18px;top:18px;width:58px;height:58px;font-size:30px;background:#111827;border:2px solid #ffffff33;box-shadow:0 10px 24px #0008;z-index:3}.preview-close:hover{background:#1f2937;transform:scale(1.04)}.preview-actions button{min-height:52px;border-radius:14px;padding:0 20px;font-size:15px;display:inline-flex;align-items:center;justify-content:center;gap:8px}.preview-actions .primary-action{min-width:150px}.preview-actions .secondary-action{min-width:150px}.preview-actions .close-action{min-width:120px}
.control-sheet{max-width:min(96vw,1180px)}.control-actions{display:flex;gap:10px;flex-wrap:wrap;margin:10px 0 14px}.control-table-wrap{overflow:auto;border:1px solid #d7dde8;border-radius:12px}.control-table{width:100%;border-collapse:collapse;font-size:12px;background:#fff}.control-table th,.control-table td{border:1px solid #d7dde8;padding:5px;text-align:center;white-space:nowrap}.control-table th{background:#f1f5f9;position:sticky;top:0;z-index:1}.control-table .team-cell{text-align:left;font-weight:800;min-width:180px}.control-table .code-cell{font-weight:900;background:#f8fafc}.control-table .slot-cell{cursor:pointer;min-width:28px;font-weight:800}.control-table .slot-cell.have{background:#22c55e;color:#052e16}.control-table .slot-cell.miss{background:#fee2e2;color:#991b1b}.control-table .slot-cell.dup{box-shadow:inset 0 0 0 2px #2563eb}.control-table .group-cell{font-size:20px;font-weight:900;background:#f8fafc}.control-legend{display:flex;gap:12px;flex-wrap:wrap;color:#334155;font-size:13px;margin:8px 0}.control-legend span{display:inline-flex;align-items:center;gap:5px}.swatch{width:16px;height:16px;border-radius:4px;display:inline-block}.swatch.have{background:#22c55e}.swatch.miss{background:#fee2e2;border:1px solid #fecaca}.swatch.dup{background:#fff;border:2px solid #2563eb}
.control-table .slot-special{min-width:118px;white-space:normal;line-height:1.15}.slot-code{display:block;font-weight:900}.slot-name{display:block;font-size:10px;font-weight:700;margin-top:2px}
.missing-filter{display:none;margin:0 0 12px}.missing-filter.active{display:block}.missing-filter input{width:100%;border:1px solid #d7dde8;border-radius:12px;padding:12px 14px;font-size:15px;font-weight:700}
.missing-control-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px;padding:12px;background:#f8fafc}.missing-card{border:1px solid #d7dde8;border-radius:12px;background:white;overflow:hidden;cursor:pointer;box-shadow:0 8px 18px #0000000f}.missing-card .art{height:150px}.missing-card .art img{opacity:.28;filter:grayscale(1)}.missing-card-info{padding:9px}.missing-card-code{font-weight:900;color:#0f172a}.missing-card-name{font-weight:900;font-size:13px;margin-top:4px}.missing-card-meta{color:#64748b;font-size:12px;margin-top:3px}.missing-empty{padding:28px;text-align:center;font-weight:900;color:#16a34a}
.auth-pill{background:#0f766e;white-space:nowrap}.cloud-card{border:1px solid #d7dde8;border-radius:16px;background:#f8fafc;padding:14px;margin:14px 0}.cloud-status{font-weight:900;color:#0f172a;margin:8px 0}.auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.auth-grid label{font-size:13px;font-weight:900;color:#334155}.auth-grid input{width:100%;margin-top:5px;border:1px solid #d7dde8;border-radius:12px;padding:12px;font-size:15px}.cloud-actions,.trade-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.trade-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:12px}.trade-box{border:1px solid #d7dde8;border-radius:16px;background:#fff;padding:12px;min-height:120px}.trade-box h3{margin:0 0 10px}.trade-user{border-top:1px solid #eef0f4;padding:10px 0}.trade-user:first-of-type{border-top:0}.trade-user b{display:block}.trade-code{display:inline-flex;align-items:center;gap:4px;background:#eef3fb;color:#0f172a;border-radius:999px;padding:5px 8px;margin:5px 5px 0 0;font-weight:900;font-size:12px}.muted{color:#64748b}.sync-dot{display:inline-block;width:10px;height:10px;border-radius:50%;background:#94a3b8;margin-right:6px}.sync-dot.online{background:#22c55e}.sync-dot.offline{background:#f59e0b}.friends-sheet{max-width:min(96vw,1180px)}.friend-add{display:grid;grid-template-columns:1fr auto;gap:10px;margin:10px 0 14px}.friend-add input,.message-form input{border:1px solid #d7dde8;border-radius:12px;padding:12px;font-size:15px}.friends-grid{display:grid;grid-template-columns:340px 1fr;gap:14px}.friend-list,.friend-profile{border:1px solid #d7dde8;border-radius:16px;background:#fff;overflow:hidden}.friend-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px;border-bottom:1px solid #e5e7eb;background:#f8fafc}.friend-tab{border:1px solid #d7dde8;background:#fff;color:#0f172a;border-radius:12px;padding:11px 10px;font-weight:900;box-shadow:none}.friend-tab.active{background:#075bd8;color:#fff;border-color:#075bd8}.friend-badge{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;border-radius:999px;margin-left:6px;background:#e2e8f0;color:#0f172a;font-size:12px}.friend-tab.active .friend-badge{background:#fff;color:#075bd8}.friend-panel{display:none;padding:0 14px 14px}.friend-panel.active{display:block}.request-group{border:1px solid #d7dde8;border-radius:14px;margin-top:12px;overflow:hidden;background:#fff}.request-title{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;background:#f8fafc;font-weight:900}.friend-item{display:grid;grid-template-columns:1fr auto;gap:8px;padding:12px;border-bottom:1px solid #eef0f4;cursor:pointer}.friend-item:last-child{border-bottom:0}.friend-item.active,.friend-item:hover{background:#eef6ff}.friend-name{font-weight:900}.friend-meta{font-size:12px;color:#64748b;margin-top:3px}.online-pill{display:inline-flex;align-items:center;gap:5px;border-radius:999px;padding:4px 8px;font-size:12px;font-weight:900;background:#f1f5f9;color:#475569}.online-pill.on{background:#dcfce7;color:#166534}.friend-profile{padding:14px;min-height:440px}.friend-section{margin-top:14px}.friend-album{border:1px solid #d7dde8;border-radius:16px;background:#fff;overflow:hidden}.friend-album>summary{cursor:pointer;list-style:none;padding:13px 14px;font-weight:900;background:#f8fafc;display:flex;align-items:center;justify-content:space-between}.friend-album>summary::-webkit-details-marker{display:none}.friend-album-total{font-size:13px;color:#64748b}.friend-country{border-top:1px solid #e5e7eb;padding:12px}.friend-country-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.friend-country-title{display:flex;align-items:center;gap:8px;font-weight:900}.friend-country-stats{font-size:12px;color:#64748b;font-weight:900}.friend-sticker-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(76px,1fr));gap:8px}.friend-sticker{position:relative;border:1px solid #d7dde8;border-radius:10px;background:#fff;overflow:hidden;min-height:112px}.friend-sticker.missing{opacity:.48;background:#f1f5f9}.friend-sticker .art{height:82px;border-radius:0;box-shadow:none}.friend-sticker-code{position:absolute;top:4px;left:4px;background:#f8fafc;border:1px solid #cbd5e1;border-radius:7px;padding:2px 5px;font-size:11px;font-weight:900;color:#0f172a}.friend-sticker-qty{position:absolute;top:4px;right:4px;background:#075bd8;color:#fff;border-radius:999px;min-width:22px;height:22px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:900}.friend-sticker-name{padding:4px 5px 6px;font-size:10px;font-weight:900;text-align:center;line-height:1.05;color:#0f172a}.message-list{max-height:220px;overflow:auto;border:1px solid #e5e7eb;border-radius:12px;padding:8px;background:#f8fafc}.message{padding:8px 10px;border-radius:12px;background:#fff;margin:6px 0;max-width:82%;box-shadow:0 4px 10px #0000000d}.message.mine{margin-left:auto;background:#dbeafe}.message small{display:block;color:#64748b;margin-top:3px}.message-form{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:8px}.empty-state{padding:18px;color:#64748b;text-align:center}
.settings-grid{display:grid;grid-template-columns:1fr;gap:12px}.settings-grid label{font-size:13px;font-weight:900;color:#334155}.settings-grid input{width:100%;margin-top:5px;border:1px solid #d7dde8;border-radius:12px;padding:12px;font-size:15px}.avatar-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(88px,1fr));gap:10px;margin-top:10px}.avatar-choice{border:2px solid #d7dde8;background:#fff;border-radius:14px;padding:8px;cursor:pointer;display:flex;align-items:center;justify-content:center}.avatar-choice.active{border-color:#075bd8;background:#eef6ff}.avatar{width:56px;height:56px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(135deg,var(--a1),var(--a2));color:white;font-weight:900;font-size:19px;box-shadow:inset 0 0 0 3px #ffffff66,0 6px 16px #0002;overflow:hidden}.avatar img{width:100%;height:100%;object-fit:cover;display:block}.avatar.small{width:38px;height:38px;font-size:13px}.avatar.top{width:28px;height:28px;font-size:10px;margin-right:6px;vertical-align:middle}.avatar::after{content:attr(data-num)}.avatar.has-img::after{content:""}.friend-item.with-avatar{grid-template-columns:auto 1fr auto}
@media(max-width:1200px){.app{grid-template-columns:260px minmax(0,1fr)}.app.right-collapsed{grid-template-columns:260px minmax(0,1fr)}.rightbar{display:block;grid-column:1/-1;position:relative;top:auto;height:auto;max-height:none}.app.right-collapsed .rightbar{padding:10px;height:auto}.app.right-collapsed .right-toggle{height:48px;margin:0;writing-mode:horizontal-tb;text-orientation:mixed}.hero{grid-template-columns:1fr}.team-title h1{font-size:38px}.grid{gap:10px}.sticker{height:150px}.art{height:114px}.bottom-actions{grid-template-columns:1fr 1fr}.dupes-grid{grid-template-columns:repeat(auto-fill,minmax(132px,1fr))}}
@media(min-width:761px) and (max-width:1100px){
  body{background-color:#eef2f7}.topbar{height:auto;min-height:74px;align-items:flex-start;flex-wrap:wrap;padding:10px 14px}.logo{min-width:220px}.logo .big{font-size:24px}.nav{order:3;width:100%;overflow-x:auto;justify-content:flex-start;scrollbar-width:none}.nav::-webkit-scrollbar{display:none}.nav button{white-space:nowrap;padding:12px 14px}.app,.app.right-collapsed{grid-template-columns:1fr;gap:12px;padding:12px}.sidebar{position:relative;top:auto;height:auto;max-height:none;padding:12px}.country-list{display:grid;grid-template-columns:repeat(3,minmax(210px,1fr));gap:8px;max-height:250px;overflow:auto}.country-list.flags-only{grid-template-columns:repeat(auto-fill,minmax(64px,1fr))}.main-card{min-height:auto;padding:14px}.hero{grid-template-columns:1fr;gap:12px}.team-title h1{font-size:40px}.album-page{min-height:auto;padding:14px}.grid{grid-template-columns:repeat(5,minmax(112px,1fr));gap:10px}.sticker{height:172px}.art{height:132px}.bottom-actions{grid-template-columns:repeat(3,1fr)}.action-card{padding:9px}.control-sheet{max-width:98vw}.preview-sheet{grid-template-columns:minmax(280px,46vw) 1fr}
}
@media(max-width:760px){body{background-attachment:scroll}.topbar{height:auto;flex-wrap:wrap;padding:9px 10px}.hub-return span{display:none}.hub-return{width:44px;padding:8px}.logo{min-width:0}.logo .big{font-size:23px}.cup{font-size:30px}.nav{order:3;overflow:auto;width:100%}.nav button{padding:10px 12px}.app,.app.right-collapsed{grid-template-columns:1fr;padding:8px;gap:10px}.sidebar,.rightbar{position:static;height:auto;max-height:none;border-radius:16px}.sidebar{padding:10px}.rightbar{grid-column:auto;padding:10px}.right-toggle,.app.right-collapsed .right-toggle{height:46px;margin:0 0 10px;writing-mode:horizontal-tb;text-orientation:mixed}.app.right-collapsed .rightbar{padding:8px}.main-card{padding:10px;min-height:auto;border-radius:16px}.hero{gap:10px}.team-title{gap:10px;flex-wrap:wrap}.bigflag{width:68px;height:48px}.team-title h1{font-size:30px}.team-title p{font-size:13px}.summary{grid-template-columns:repeat(2,1fr)}.sum{padding:10px}.sum b{font-size:22px}.album-wrap{padding:8px;border-radius:18px}.album-page{min-height:auto;padding:10px;border-radius:14px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.sticker{height:156px}.art{height:120px}.nameplate{font-size:10px;left:7px;right:7px}.bottom-actions{grid-template-columns:1fr}.dupes-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dupe .art{height:116px}.preview-sheet{grid-template-columns:1fr}.preview-info h2{font-size:30px}.preview-frame{min-height:auto}.auth-grid,.trade-columns,.friends-grid,.settings-grid{grid-template-columns:1fr}.friend-add,.message-form{grid-template-columns:1fr}}
