.segments.account-tabs{display:flex;width:100%;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
.segments.account-tabs button{flex:1 0 auto;padding:0 5px;font-size:clamp(12px,3.4vw,14px);white-space:nowrap}
.crown-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(145px,47%),1fr));gap:12px}
.crown-card{position:relative;isolation:isolate;overflow:hidden;border-radius:18px;border:2px solid #eabf67;background:#21172a;aspect-ratio:2/3;box-shadow:0 4px 12px #321f0020;color:white}
.crown-card img,.crown-card:after{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.crown-card:after{content:"";background:linear-gradient(#17112c70,transparent 30%,#170f260d 40%,#130d20eb 76%,#110d1c);box-shadow:inset 0 0 0 2px #fff0c348;z-index:-1;border-radius:16px}
.crown-emblem{display:grid;place-items:center;margin:10px auto;width:42px;height:42px;font-size:25px;background:linear-gradient(#503455,#1d112c);border:1px solid #ffdf85;box-shadow:0 2px 14px #ffbe4770;border-radius:50%}
.crown-card>div{position:absolute;bottom:0;width:100%;text-align:center;padding:8px 6px 13px;box-sizing:border-box}
.crown-card strong{font-size:15px;line-height:1.25;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.crown-card div span,.crown-card time{display:block;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#ffe09a;margin-top:5px}
.crown-card time{color:#f4e9fa;font-size:11px;font-variant-numeric:tabular-nums}
.crown-empty{padding:28px 18px;text-align:center;border-radius:18px;background:var(--soft)}
.crown-empty span{font-size:36px}
.crown-note{position:fixed;z-index:2147483647;top:calc(18px + env(safe-area-inset-top));left:50%;transform:translateX(-50%);width:max-content;max-width:88vw;background:#23172f;border:1px solid #f6cd73;color:#ffe8ad;padding:14px 18px;box-shadow:0 6px 20px #0004;border-radius:18px;pointer-events:none}

.game-card .screenshot{position:relative}
.crown-badge,.crown-count,.crown-plus{color:#ffe499;background:linear-gradient(145deg,#443024,#251a22);border:1px solid #f5ca79;border-radius:99px;box-shadow:0 2px 9px #25110440;font-size:13px;font-weight:700;line-height:1.4}
.crown-badge{position:absolute;top:7px;left:7px;padding:3px 6px;font-size:17px;pointer-events:none;z-index:2}
.crown-count{padding:4px 11px;margin-top:5px;display:block;cursor:pointer}
.crown-stage{padding:0;border:none;margin:0;position:fixed;inset:0;background:#000;width:100%;height:100%;max-width:none;max-height:none;overflow:hidden;color:#ffde91}
.crown-stage[open]{display:grid;place-items:center}
.crown-stage::backdrop{background:transparent}
.crown-stage>*{grid-area:1/1}
.crown-stage .crown-card{width:min(66vw,36dvh,300px);border-width:3px}
.crown-stage strong{font-size:clamp(15px,2.2vh,21px)}
.crown-stage .crown-card>div{padding-bottom:7%}
.crown-stage h2{position:absolute;top:calc(50% + min(49.5vw,27dvh,225px) + 16px);letter-spacing:.12em;font-size:20px;margin:0}
.crown-medal{font-size:112px;filter:drop-shadow(0 0 30px #ffbd39aa);z-index:3}
.crown-aura{width:145vmax;height:145vmax;background:radial-gradient(circle,#ffce69aa,transparent 35%),repeating-conic-gradient(#ffd77733 0deg,transparent 9deg,transparent 17deg);mask-image:radial-gradient(circle,#000,transparent 45%);pointer-events:none}
.crown-stage button{position:absolute;right:16px;top:calc(18px + env(safe-area-inset-top));color:#eee;background:#202020;border:0;border-radius:30px;padding:10px 16px}
.crown-stage [hidden]{display:none}
.crown-plus{visibility:hidden;position:fixed;transform:translate(-50%,-50%);padding:7px 12px;pointer-events:none;z-index:2147483647;white-space:nowrap}
.crown-stage[open]{grid-template:100% / 100%}
.screenshot{position:relative}
.screenshot>.crown-badge{display:grid;place-items:center;color:#ffe499;padding:0;font-size:17px;width:32px;height:32px}
.chat-game-card .crown-badge{display:none}
