/* ═════════ Clean pass: plain XenForo-style chrome, fewer glows ═════════ */

/* account menu (nutria / XenForo style) */
.nav-menu { width: 350px; background: #141414; border: 1px solid #2a2a2a; border-radius: 6px; padding: 0; box-shadow: 0 12px 34px rgba(0,0,0,.6); }
.nm-tabs { display: flex; gap: 2px; border-bottom: 1px solid #262626; padding: 0 8px; background: #111; border-radius: 6px 6px 0 0; }
.nm-tabs span, .nm-tabs a { padding: 9px 10px 8px; font-size: 14px; color: #a9a9a9; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.nm-tabs .on { color: #fff; border-bottom-color: #8d8d8d; }
.nm-tabs a:hover { color: #fff; text-decoration: none; }
.nm-head { display: flex; gap: 12px; padding: 12px; background: none; border-bottom: 1px solid #262626; }
.nm-av .avatar { width: 96px; height: 96px; font-size: 44px; border-radius: 4px; }
.nm-info { flex: 1; min-width: 0; }
.nm-name { font-size: 18px; font-weight: 700; color: #fff; }
.nm-name:hover { text-decoration: none; }
.nm-sub { color: #d0d0d0; font-size: 13.5px; margin: 0 0 6px; }
.nm-pairs { display: grid; grid-template-columns: 1fr auto; gap: 0 10px; margin: 0; font-size: 13.5px; line-height: 1.5; }
.nm-pairs dt { color: #9a9a9a; } .nm-pairs dd { margin: 0; text-align: right; color: #ddd; }
.nm-links { display: grid; grid-template-columns: 1fr 1fr; padding: 5px 0; border-bottom: 1px solid #262626; }
.nm-links a, .nm-links button { display: block; width: 100%; padding: 5px 14px; color: #e4e4e4; font-size: 14px; background: none; border: 0; text-align: left; cursor: pointer; border-radius: 0; }
.nm-links a:hover, .nm-links button:hover { background: #1e1e1e; color: #fff; text-decoration: none; }
.nm-links form { margin: 0; }
.nm-status { padding: 10px 12px 12px; }
.nm-status input { width: 100%; font-size: 14px; padding: 7px 10px; background: #1b1b1b; border-color: #2c2c2c; }

/* tone down: flat banners, no neon glows */
.ubanner { border-radius: 2px; font-weight: 600; letter-spacing: 0; }
.ub-admin { background: #8b1e22; } .ub-mod { background: #1f5fcf; } .ub-plus { background: #5b2fb3; } .ub-motm { background: #94690f; }
.avf::after { opacity: .22; }
.avf-gold::after, .avf-void::after { opacity: .18; }
.mh-cover:not(.bn):not(.has-img) { background: #181818; }
.shop-hero { background: var(--surface); }
.sh-kicker { color: var(--muted); }

/* cover images */
.mh-cover.has-img, .sc-cover.has-img { background-size: cover; background-position: center; }
.mh-cover.has-img { height: 200px; }

/* ═════════ cropper ═════════ */
html.no-scroll, html.no-scroll body { overflow: hidden; }
.crop-modal { position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,.75); display: grid; place-items: center; padding: 16px; animation: pop .14s ease-out; }
.crop-box { width: min(640px, 100%); background: #141414; border: 1px solid #2c2c2c; border-radius: 8px; box-shadow: 0 24px 70px rgba(0,0,0,.7); overflow: hidden; }
.crop-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid #262626; font-size: 16px; }
.crop-x { background: none; border: 0; color: #9a9a9a; font-size: 26px; line-height: 1; cursor: pointer; padding: 0 4px; }
.crop-x:hover { color: #fff; }
.crop-wrap { padding: 18px; background: repeating-conic-gradient(#191919 0 25%, #141414 0 50%) 0 0 / 22px 22px; }
.crop-stage { position: relative; width: 100%; margin: 0 auto; overflow: hidden; cursor: grab; touch-action: none; user-select: none; background: #000; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.18); }
.crop-stage[style*="aspect-ratio:1"] { max-width: 380px; }
.crop-stage.is-drag { cursor: grabbing; }
.crop-stage img { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 0 0; will-change: transform; pointer-events: none; }
.crop-grid { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .15s;
  background-image: linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px);
  background-size: 33.333% 33.333%; background-position: -1px -1px; }
.crop-stage:hover .crop-grid, .crop-stage.is-drag .crop-grid { opacity: 1; }
.crop-stage.is-round::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px dashed rgba(255,255,255,.55); pointer-events: none; }
.crop-tools { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-top: 1px solid #262626; }
.crop-tools input[type=range] { flex: 1; padding: 0; background: none; border: 0; box-shadow: none !important; accent-color: var(--accent); height: 18px; }
.crop-z { width: 30px; height: 30px; border-radius: 4px; background: #1f1f1f; border: 1px solid #2c2c2c; color: #ddd; cursor: pointer; font-size: 18px; line-height: 1; }
.crop-z:hover { background: #272727; color: #fff; }
.crop-foot { display: flex; gap: 8px; align-items: center; padding: 12px 16px; border-top: 1px solid #262626; background: #111; }
.crop-hint { margin-right: auto; color: #858585; font-size: 13px; }

/* ═════════ avatar / banner uploader ═════════ */
.up { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; padding: 14px; border: 1px dashed #2c2c2c; border-radius: 6px; margin-bottom: 14px; transition: border-color .12s, background-color .12s; }
.up.is-drag { border-color: var(--accent); background: rgba(59,130,246,.06); }
.up--banner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.up--banner .up-preview, .up--banner .up-side { min-width: 0; }
.up-preview .avatar { box-shadow: 0 0 0 1px #2c2c2c; }
.up-cover { width: 100%; aspect-ratio: 3 / 1; border-radius: 4px; background: #111 center / cover no-repeat; border: 1px solid #2c2c2c; display: grid; place-items: center; color: #777; font-size: 14px; }
.up-side { flex: 1; min-width: 240px; }
.up-side .acc-p { margin: 0 0 10px; }
.up-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }

/* ═════════ member card (hover) ═════════ */
.mc-pop { position: absolute; z-index: 150; width: 450px; max-width: calc(100vw - 20px); animation: pop .13s ease-out; }
.mc { background: #141414; border: 1px solid #2f2f2f; border-radius: 6px; box-shadow: 0 16px 44px rgba(0,0,0,.65); overflow: hidden; }
.mc-top { position: relative; min-height: 150px; }
.mc-cover { position: absolute; inset: 0; background: #1a1a1a center / cover no-repeat; }
.mc-cover.has-img::after, .mc-cover.bn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,12,12,.85) 0%, rgba(12,12,12,.55) 55%, rgba(12,12,12,.2) 100%); }
.mc-head { position: relative; display: flex; gap: 14px; padding: 12px; }
.mc-av .avatar { width: 112px; height: 112px; font-size: 52px; border-radius: 6px; }
.mc-av .avf-post { padding: 3px; }
.mc-info { min-width: 0; flex: 1; text-shadow: 0 1px 2px rgba(0,0,0,.7); }
.mc-name { font-size: 21px; font-weight: 700; display: flex; align-items: center; gap: 8px; line-height: 1.2; }
.mc-name .username { font-weight: 700; }
.mc-title { color: #dcdcdc; font-size: 13.5px; margin: 2px 0 5px; }
.mc-info .ubanners { flex-direction: row; flex-wrap: wrap; margin: 0 0 6px; }
.mc-line { color: #d0d0d0; font-size: 13.5px; }
.mc-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 1px solid #262626; text-align: center; padding: 8px 0; }
.mc-stats dt { font-size: 12.5px; color: #9a9a9a; } .mc-stats dd { margin: 0; font-size: 15px; color: #eee; }
.mc-actions { display: flex; gap: 6px; padding: 8px 10px 10px; border-top: 1px solid #262626; flex-wrap: wrap; }
.mc-actions .btn { background: #1c1c1c; }


/* ═══════════ round avatars everywhere (frames follow) ═══════════ */
.avatar, .avatar.av-node, .avatar.av-post, .avatar.av-l, .avatar.av-xl { border-radius: 50% !important; }
.avf, .avf.avf-node, .avf.avf-l, .avf.avf-post, .avf.avf-xl { border-radius: 50% !important; }

/* ═══════════ editor: no second focus ring on the textarea ═══════════ */
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; }
.editor textarea:focus { background: transparent; }

/* ═══════════ hover quick tools (thread rows, posts) ═══════════ */
.si-status { align-items: center; }
.si-tools { display: inline-flex; gap: 2px; opacity: 0; transform: translateX(6px); transition: opacity .12s, transform .12s; pointer-events: none; }
.si:hover .si-tools, .si-tools:focus-within { opacity: 1; transform: none; pointer-events: auto; }
.si-tools .bm.is-on { opacity: 1; }
.si:not(:hover) .si-tools:has(.bm.is-on) { opacity: 1; transform: none; }
.si:not(:hover) .si-tools:has(.bm.is-on) > :not(.bm) { visibility: hidden; }
@media (hover: none) { .si-tools { opacity: 1; transform: none; pointer-events: auto; } }
.qt { width: 28px; height: 28px; display: inline-grid; place-items: center; padding: 0; border: 1px solid transparent; border-radius: 7px; background: transparent; color: var(--muted); cursor: pointer; transition: background-color .1s, color .1s, border-color .1s; }
.qt .ico { width: 15px; height: 15px; }
.qt:hover { background: rgba(255,255,255,.06); border-color: var(--line-2); color: #fff; }
.qt-danger:hover { color: #ff7676; background: rgba(255,80,80,.1); border-color: rgba(255,80,80,.3); }
.bm.is-on { color: #f5c04a; }
.bm.is-on .ico { fill: currentColor; }
.btn.bm.is-on { border-color: rgba(245,192,74,.45); color: #f5c04a; }
.ma-r { align-items: center; }
.ma-r .qt { width: 24px; height: 24px; }
.ma-r .qt .ico { width: 14px; height: 14px; }
.page-nav .bm, .page-nav form.inline { margin-right: 6px; }
/* post actions fade in on hover (always shown on touch) */
.message .ma-left { opacity: .0; transition: opacity .12s; }
.message:hover .ma-left, .message .ma-left:focus-within { opacity: 1; }
@media (hover: none) { .message .ma-left { opacity: 1; } }
/* profile wall: delete only on hover */
.feed-row .hover-act { opacity: 0; transition: opacity .12s; }
.feed-row:hover .hover-act, .feed-row .hover-act:focus-within { opacity: 1; }
@media (hover: none) { .feed-row .hover-act { opacity: 1; } }
.bm-row { align-items: flex-start; }
.empty > .ico { width: 30px; height: 30px; opacity: .45; margin-bottom: 6px; }
.empty p { margin: 2px 0; }

/* frames hug the avatar: never stretched by a flex/grid parent (was the gold "oval") */
.avf { width: max-content; height: max-content; aspect-ratio: 1; }

/* ═══════════ staff panel ═══════════ */
.adm-tabs { margin-bottom: 14px; }
.adm-search { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; background: var(--surface); border: 1px solid #2a2c31; border-radius: 10px; margin-bottom: 14px; color: var(--muted); }
.adm-search input { flex: 1; border: 0; background: transparent; box-shadow: none !important; padding: 6px 4px; }
.adm-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-bottom: 14px; }
.adm-stat { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--surface); border: 1px solid #2a2c31; border-radius: 10px; color: var(--text); text-decoration: none !important; transition: border-color .12s; }
.adm-stat:hover { border-color: #3a3d44; }
.adm-stat > .ico { width: 22px; height: 22px; color: var(--muted); }
.adm-stat-l { font-size: 12.5px; color: var(--muted); }
.adm-stat-n { font-size: 22px; font-weight: 700; color: #fff; line-height: 1.2; }
.adm-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.adm-col { display: flex; flex-direction: column; gap: 0; }
.adm-row { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--line); }
.block-head + .adm-row, .block > .adm-row:first-child { border-top: 0; }
.adm-row form { margin: 0; }
.adm-row--ban { align-items: flex-start; }
.adm-row--ban .btn { margin-left: 6px; }
.adm-chips { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; }
.adm-chip { padding: 5px 12px; border-radius: 99px; border: 1px solid #2a2c31; background: var(--surface); color: var(--text-2); font-size: 13.5px; text-decoration: none !important; }
.adm-chip.on { background: #fff; color: #0b0c0e; border-color: #fff; }
.adm-table { display: flex; flex-direction: column; }
.adm-tr { display: grid; grid-template-columns: minmax(0, 2.4fr) 90px 100px 80px minmax(0, 1.6fr) 90px; gap: 10px; align-items: center; padding: 9px 14px; border-top: 1px solid var(--line); font-size: 14px; }
.adm-th { border-top: 0; background: var(--head); color: var(--muted); font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.adm-who { display: flex; align-items: center; gap: 10px; min-width: 0; }
.adm-who > span { display: flex; flex-direction: column; min-width: 0; }
.adm-warn-n { color: #ffb020; }
.adm-pill { display: inline-block; padding: 2px 9px; border-radius: 99px; font-size: 12px; font-weight: 650; white-space: nowrap; }
.adm-pill--ok { background: rgba(34,197,94,.12); color: #4ade80; }
.adm-pill--bad { background: rgba(239,68,68,.14); color: #ff8080; }
.adm-pill--warn { background: rgba(255,176,32,.14); color: #ffbf47; }
.adm-head { display: flex; gap: 18px; align-items: center; padding: 18px; margin-bottom: 14px; flex-wrap: wrap; }
.adm-name { font-size: 22px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.adm-facts { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 8px; color: var(--text-2); font-size: 14px; }
.adm-facts b { color: #fff; }
.adm-status { margin-top: 8px; }
.adm-head-act { display: flex; flex-direction: column; gap: 6px; }
.adm-durs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.adm-dur input { position: absolute; opacity: 0; pointer-events: none; }
.adm-dur span { display: inline-block; padding: 6px 12px; border-radius: 8px; border: 1px solid #2c2f35; background: #16171a; font-size: 13.5px; cursor: pointer; }
.adm-dur input:checked + span { background: #fff; color: #0b0c0e; border-color: #fff; font-weight: 600; }
.adm-dur input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.inline-check { display: inline-flex; margin: 0 0 0 8px; }
@media (max-width: 900px) { .adm-cols { grid-template-columns: 1fr; } .adm-tr { grid-template-columns: minmax(0, 1fr) auto; } .adm-tr > span:nth-child(n+2):nth-child(-n+4) { display: none; } .adm-th { display: none; } }

/* ═══════════ inventory: plain rarity text ═══════════ */
.inv-r { text-transform: none; letter-spacing: 0; font-weight: 600; font-size: 12px; }

/* ═══════════ online status: flat dot on the avatar (no glow) ═══════════ */
.online-dot { box-shadow: none; width: 9px; height: 9px; background: #23a55a; }
.st-dot { position: absolute; right: 7%; bottom: 7%; width: 20px; height: 20px; border-radius: 50%; background: #23a55a; border: 4px solid var(--surface); z-index: 3; }
.mc-av { position: relative; display: inline-block; }
.mc-av .st-dot { width: 18px; height: 18px; border-width: 3px; border-color: #161616; right: 4%; bottom: 4%; }
.mc-tag { color: #e4e4e4; font-size: 13.5px; margin: 1px 0 3px; }

/* ═══════════ profile v2 ═══════════ */
.pf { --pa: #3b82f6; background: var(--surface); border: 1px solid #26282d; border-radius: 12px; overflow: hidden; }
.pf-cover { position: relative; height: 210px; background: #16171a center / cover no-repeat; }
.pf-cover:not(.has-img) { height: 130px; background: linear-gradient(180deg, color-mix(in srgb, var(--pa) 22%, #16171a), #16171a); }
.pf-cover-edit { position: absolute; right: 12px; top: 12px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 8px; background: rgba(0,0,0,.6); color: #fff; font-size: 13px; opacity: 0; transition: opacity .12s; text-decoration: none !important; }
.pf-cover-edit .ico { width: 14px; height: 14px; }
.pf:hover .pf-cover-edit { opacity: 1; }
.pf-main { display: flex; gap: 22px; padding: 0 24px 18px; align-items: flex-start; flex-wrap: wrap; }
.pf-av { position: relative; margin-top: -70px; flex: none; }
.pf-av .avatar.av-xl { width: 148px; height: 148px; font-size: 64px; border: 5px solid var(--surface); box-shadow: 0 0 0 2px var(--pa); }
.pf-av .avf-xl .avatar { border-width: 3px; box-shadow: none; }
.pf-av .st-dot { width: 26px; height: 26px; border-width: 5px; right: 6%; bottom: 6%; }
.pf-av-edit { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(0,0,0,.65); color: #fff; opacity: 0; transition: opacity .12s; z-index: 4; }
.pf-av:hover .pf-av-edit { opacity: 1; }
.pf-info { flex: 1; min-width: 240px; padding-top: 14px; }
.pf-name { font-size: 30px; font-weight: 750; line-height: 1.15; letter-spacing: -.01em; margin: 0; }
.pf-name .username { font-weight: 750; }
.pf-tag { margin-top: 4px; font-size: 15.5px; color: #e6e6e8; }
.pf-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.pf-rank { font-size: 13.5px; font-weight: 600; color: var(--pa); }
.pf-meta .ubanners { margin: 0; flex-direction: row; }
.pf-facts { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 10px; color: var(--muted); font-size: 13.5px; }
.pf-facts span { display: inline-flex; align-items: center; gap: 6px; }
.pf-facts .ico { width: 15px; height: 15px; }
.pf-live { width: 8px; height: 8px; border-radius: 50%; background: #23a55a; display: inline-block; }
.pf-links { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.pf-link { width: 34px; height: 34px; display: inline-grid; place-items: center; border-radius: 9px; border: 1px solid #2c2f35; background: #17181c; color: #cfd2d8; cursor: pointer; padding: 0; transition: color .12s, border-color .12s, background-color .12s; }
.pf-link .ico { width: 17px; height: 17px; }
.pf-link:hover { color: #fff; border-color: var(--pa); background: color-mix(in srgb, var(--pa) 14%, #17181c); }
.pf-actions { display: flex; gap: 8px; padding-top: 16px; flex-wrap: wrap; }
.pf-cta { background: var(--pa); border-color: var(--pa); color: #fff; }
.pf-cta:hover { filter: brightness(1.1); color: #fff; }
.pf-stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; border-top: 1px solid #24262b; }
.pf-stat { padding: 13px 24px; border-right: 1px solid #24262b; }
.pf-stat:last-child { border-right: 0; }
.pf-stat dt { font-size: 12.5px; color: var(--muted); }
.pf-stat dd { margin: 2px 0 0; font-size: 20px; font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }
.pf-tabs { display: flex; gap: 4px; padding: 0 16px; border-top: 1px solid #24262b; }
.pf-tabs a { position: relative; padding: 13px 10px; color: var(--text-2); font-weight: 550; font-size: 14.5px; text-decoration: none !important; }
.pf-tabs a:hover { color: #fff; }
.pf-tabs a.on { color: #fff; }
.pf-tabs a.on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--pa); }
.pf-body { margin-top: 14px; }
.pf-body .btn-cta { background: var(--pa, var(--accent)); border-color: var(--pa, var(--accent)); }
/* profile background: fills the page behind everything; panels turn to frosted glass */
.pf-bg { position: fixed; inset: 0; z-index: -1; background: #0b0c0e center / cover no-repeat; }
.pf-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,9,11,.45), rgba(8,9,11,.82) 60%, rgba(8,9,11,.92)); }
body:has(.pf-bg) { background: transparent; }
html:has(.pf-bg) { background: #0b0c0e; }
.pf.pf-glass, .pf-body.pf-glass, body:has(.pf-bg) .col-side .widget { background: rgba(17,18,21,.72); backdrop-filter: blur(16px) saturate(1.1); -webkit-backdrop-filter: blur(16px) saturate(1.1); }
.pf.pf-glass .pf-av .avatar.av-xl { border-color: #121316; }
.pf.pf-glass .st-dot { border-color: #121316; }
@media (max-width: 680px) {
  .pf-cover { height: 140px; } .pf-main { padding: 0 16px 14px; gap: 12px; }
  .pf-av { margin-top: -54px; } .pf-av .avatar.av-xl { width: 104px; height: 104px; font-size: 46px; }
  .pf-info { padding-top: 0; } .pf-name { font-size: 24px; }
  .pf-stats { grid-template-columns: repeat(2, 1fr); } .pf-stat:nth-child(2) { border-right: 0; } .pf-stat:nth-child(-n+2) { border-bottom: 1px solid #24262b; }
}

/* ═══════════ account: profile style tab ═══════════ */
.sw-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.sw { position: relative; cursor: pointer; }
.sw input[type=radio] { position: absolute; opacity: 0; pointer-events: none; }
.sw-dot { display: block; width: 30px; height: 30px; border-radius: 50%; border: 2px solid #0b0c0e; box-shadow: 0 0 0 1px #34373d; transition: box-shadow .1s; }
.sw-none { background: repeating-linear-gradient(45deg, #2a2c31 0 4px, #1a1b1f 4px 8px); }
.sw input:checked + .sw-dot, .sw-custom input[type=radio]:checked ~ input[type=color] { box-shadow: 0 0 0 2px #fff; }
.sw input:focus-visible + .sw-dot { box-shadow: 0 0 0 2px var(--accent); }
.sw-custom input[type=color] { width: 30px; height: 30px; padding: 0; border: 2px solid #0b0c0e; border-radius: 50%; box-shadow: 0 0 0 1px #34373d; background: none; cursor: pointer; overflow: hidden; }
.sw-custom input[type=color]::-webkit-color-swatch-wrapper { padding: 0; }
.sw-custom input[type=color]::-webkit-color-swatch { border: 0; border-radius: 50%; }
.lk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lk { display: flex; align-items: center; background: #1a1a1c; border: 1px solid #2c2c2c; border-radius: var(--r-s); padding-left: 10px; }
.lk:focus-within { border-color: #3d5f99; }
.lk .ico { width: 17px; height: 17px; color: var(--muted); flex: none; }
.lk input { border: 0; background: transparent; box-shadow: none !important; flex: 1; min-width: 0; }
.up-cover--bg { aspect-ratio: 16 / 9; max-width: 480px; }
@media (max-width: 680px) { .lk-grid { grid-template-columns: 1fr; } }

/* ═══════════ solo coinflip ═══════════ */
.flip { padding: 22px 20px 18px; margin-bottom: 14px; }
.flip-stage { display: flex; flex-direction: column; align-items: center; gap: 14px; perspective: 900px; }
.coin { position: relative; width: 132px; height: 132px; transform-style: preserve-3d; transition: transform 1.2s cubic-bezier(.2, .7, .15, 1); }
.coin-face { position: absolute; inset: 0; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  background: #ececec; color: #141414; border: 6px solid #d4d4d4; box-shadow: inset 0 0 0 2px #fafafa, 0 8px 24px rgba(0,0,0,.45); font-weight: 750; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.coin-face .ico { width: 32px; height: 32px; fill: #141414; }
.coin-tails { transform: rotateY(180deg); background: #1b1c1f; color: #f2f2f2; border-color: #33363c; box-shadow: inset 0 0 0 2px #45484f, 0 8px 24px rgba(0,0,0,.45); }
.coin-tails .ico { fill: #f2f2f2; }
.flip-msg { font-size: 15px; color: var(--text-2); min-height: 22px; }
.flip-msg.is-win { color: #4ade80; font-weight: 650; }
.flip-msg.is-lose { color: #ff7a7a; font-weight: 650; }
.flip-ctrl { display: flex; align-items: flex-end; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.flip-wager { display: flex; flex-direction: column; gap: 5px; }
.flip-wager span { font-size: 12px; font-weight: 600; color: var(--muted); }
.flip-wager input { width: 160px; height: 40px; font-size: 16px; font-variant-numeric: tabular-nums; }
.flip-quick { display: flex; gap: 4px; }
.flip-quick button { height: 40px; min-width: 44px; padding: 0 10px; border-radius: 8px; border: 1px solid #2c2f35; background: #17181c; color: #e6e6e6; font: inherit; font-weight: 650; cursor: pointer; }
.flip-quick button:hover { background: #202227; }
.flip-sides { display: flex; gap: 8px; }
.flip-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 20px; border-radius: 999px; border: 1px solid #34373d; background: #17181c; color: #fff; font: inherit; font-weight: 650; cursor: pointer; transition: background-color .12s, color .12s; }
.flip-btn .ico { width: 16px; height: 16px; fill: currentColor; }
.flip-btn:hover { background: #fff; color: #0b0c0e; border-color: #fff; }
.flip.is-busy .flip-btn, .flip.is-busy .flip-quick button { opacity: .5; pointer-events: none; }
.flip-hist { display: flex; justify-content: center; gap: 5px; flex-wrap: wrap; margin-top: 14px; min-height: 24px; }
.flip-chip { width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; font-size: 11px; font-weight: 750; }
.flip-chip.is-win { background: rgba(34,197,94,.16); color: #4ade80; }
.flip-chip.is-lose { background: rgba(239,68,68,.14); color: #ff8080; }
/* coinflip: instant result, no spin */
.coin { transition: none; }
.flip.flash-win .coin-face { animation: flipPop .25s ease-out; }
.flip.flash-lose .coin-face { animation: flipPop .25s ease-out; }
@keyframes flipPop { from { transform-origin: center; scale: .92; } to { scale: 1; } }
/* frames: crisp rings, no blurry glow (halo keeps its orbiting light) */
.avf:not(.avf-halo)::after { display: none; }
.pf-gift { display: flex; gap: 0; }
.pf-gift input { width: 130px; height: 36px; border-radius: 8px 0 0 8px; border-right: 0; font-variant-numeric: tabular-nums; }
.pf-gift .btn { border-radius: 0 8px 8px 0; height: 36px; }

/* ═══════════ glass role badges (icon only) ═══════════ */
.gbadges { display: flex; flex-direction: row; gap: 5px; flex-wrap: wrap; align-items: center; }
.message-user .gbadges { justify-content: center; }
.gbadge { width: 24px; height: 24px; display: inline-grid; place-items: center; border-radius: 7px; color: #f2f2f2;
  background: linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.03)), #0e0f11;
  border: 1px solid rgba(255,255,255,.16); box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 1px 2px rgba(0,0,0,.6);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.gbadge .ico { width: 14px; height: 14px; }
.gb-admin { color: #fff; background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(220,220,224,.85)); border-color: rgba(255,255,255,.9); }
.gb-admin .ico { color: #0b0c0e; }
.pf-meta .gbadge, .mc-info .gbadge { width: 26px; height: 26px; }

/* ═══════════ title effects (text under the username) ═══════════ */
.utitle { display: inline-block; }
.fxt { font-weight: 650; }
.fxt-silver { color: #d9dee5; font-variant: small-caps; letter-spacing: .12em; text-shadow: 0 1px 0 #000; }
.fxt-ice { color: #dff2ff; text-shadow: 0 0 1px #fff, 0 0 4px #6fbfff, 0 0 9px rgba(50,140,255,.45); }
.fxt-ember { color: #ffd2a0; text-shadow: 0 0 1px #ffe6b0, 0 0 4px #ff8a1f, 0 0 9px rgba(255,70,0,.5); }
.fxt-venom { color: #d6ff9e; text-shadow: 0 0 1px #efffc8, 0 0 4px #8fff2a, 0 0 9px rgba(90,255,0,.4); animation: fxFlicker 4s linear infinite; }
.fxt-royal { color: #e6d9ff; text-shadow: 0 0 1px #f1e8ff, 0 0 4px #9a5cff, 0 0 10px rgba(110,40,255,.5); }
.fxt-gold { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 700; color: transparent;
  background: linear-gradient(100deg, #c98a1a 0%, #ffd77a 35%, #fff6d8 50%, #ffd77a 65%, #c98a1a 100%) 0 0 / 250% 100%;
  -webkit-background-clip: text; background-clip: text; animation: fxtSweep 3.2s ease-in-out infinite; filter: drop-shadow(0 0 4px rgba(255,170,40,.35)); }
.fxt-holy { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-weight: 700; color: #fff; text-shadow: 0 0 1px #fff, 0 0 4px #d6ecff, 0 0 10px rgba(140,195,255,.75), 0 0 18px rgba(100,160,255,.3); }
.fxt-blood { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; color: #ff4a58; animation: fxtBeat 1.8s ease-in-out infinite; }
.fxt-snow { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; color: #0c0d10; letter-spacing: .03em; text-shadow: 0 0 1px #fff, 0 0 2px #fff, 0 0 4px rgba(255,255,255,.85), 0 0 9px rgba(220,235,255,.4); }
@keyframes fxtSweep { 0%, 15% { background-position: 100% 0; } 70%, 100% { background-position: 0 0; } }
@keyframes fxtBeat { 0%, 28%, 60%, 100% { text-shadow: 0 0 1px #ffc0c5, 0 0 4px #e0102a, 0 0 9px rgba(200,0,20,.45); } 14%, 42% { text-shadow: 0 0 1px #ffe0e3, 0 0 5px #ff1f3a, 0 0 13px rgba(255,0,30,.75); } }
.pv-title { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.pv-tname { font-size: 19px; font-weight: 700; color: #eee; }
.pv-title .utitle { font-size: 16px; }
.inv-pv .pv-tname { font-size: 13px; } .inv-pv .pv-title .utitle { font-size: 12.5px; }

/* ═══════════ premium customisation ═══════════ */
.prem-head { display: flex; align-items: center; gap: 12px; margin: 22px 0 6px; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(124,58,237,.35); background: rgba(124,58,237,.08); }
.prem-head > .ico { width: 20px; height: 20px; color: #c4b5fd; flex: none; }
.prem-head > div { flex: 1; display: flex; flex-direction: column; }
.prem-head span { color: var(--muted); font-size: 13px; }
.prem-on { color: #4ade80 !important; font-weight: 650; font-size: 13px; }
fieldset.prem { border: 0; margin: 0; padding: 0; min-width: 0; }
fieldset.prem.is-locked { opacity: .45; pointer-events: none; filter: grayscale(.6); }
.prem-lock { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 12px; border: 1px solid rgba(124,58,237,.35); background: rgba(124,58,237,.08); }
.prem-lock > .ico { width: 26px; height: 26px; color: #c4b5fd; flex: none; }
.prem-lock p { color: var(--text-2); margin: 4px 0 12px; }
.font-row { display: flex; gap: 8px; flex-wrap: wrap; }
.font-opt input { position: absolute; opacity: 0; pointer-events: none; }
.font-opt span { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 84px; padding: 10px 6px; border-radius: 10px; border: 1px solid #2c2f35; background: #16171a; font-size: 12.5px; color: var(--text-2); cursor: pointer; }
.font-opt span b { font-size: 22px; color: #fff; line-height: 1.1; }
.font-opt input:checked + span { border-color: #fff; box-shadow: 0 0 0 1px #fff; color: #fff; }
.font-opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.pf-font, .pf-font .pf-name, .pf-font .pf-tag, .pf-font .feed-body, .pf-font .about { font-family: var(--pf-font); }


/* ═══════════ plain badge glyphs (no box) ═══════════ */
.gbadge { width: 17px; height: 17px; display: inline-grid; place-items: center; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; color: #e8e8ea; }
.gbadge svg { width: 100%; height: 100%; display: block; }
.gb-admin { color: #ffffff; background: none; }
.gb-mod { color: #cfd3da; }
.gb-plus { color: #cbb8ff; }
.gb-motm { color: #f3c552; }
.pf-meta .gbadge, .mc-info .gbadge { width: 19px; height: 19px; }
.rx-ico { display: inline-block; vertical-align: -3px; }

/* ═══════════ tagline effects ═══════════ */
.fxl { position: relative; }
.fxl-mist { color: #b9bdc4 !important; font-style: italic; letter-spacing: .01em; }
.fxl-neon { color: #c8fbff !important; text-shadow: 0 0 1px #fff, 0 0 3px #3ff0ff, 0 0 8px rgba(0,220,255,.6), 0 0 16px rgba(0,180,255,.25); animation: fxlBuzz 5s linear infinite; }
.fxl-sunset { color: transparent !important; background: linear-gradient(90deg, #ffb35c, #ff6a8a 50%, #c86bff); -webkit-background-clip: text; background-clip: text; width: fit-content; }
.fxl-typed { font-family: Consolas, 'Courier New', monospace; color: #e9e9ea !important; }
.fxl-typed > span { display: inline-block; overflow: hidden; white-space: nowrap; vertical-align: bottom; max-width: 100%; border-right: 2px solid #e9e9ea;
  animation: fxlType calc(var(--n) * .07s + .2s) steps(var(--n)) 1 both, fxlCaret .8s step-end infinite; }
.fxl-chrome { color: transparent !important; width: fit-content; background: linear-gradient(100deg, #8d939c 0%, #eef1f5 30%, #ffffff 45%, #9aa1ab 60%, #e5e9ee 80%, #8d939c 100%) 0 0 / 250% 100%;
  -webkit-background-clip: text; background-clip: text; animation: fxlSweep 3.6s ease-in-out infinite; font-weight: 650; }
.fxl-spectral { color: #f4f8ff !important; animation: fxlBreathe 3.4s ease-in-out infinite; }
.fxl-rainbow { color: transparent !important; width: fit-content; background: linear-gradient(90deg, #ff6b6b, #ffd36b, #6bffb8, #6bc7ff, #b98bff, #ff6b6b) 0 0 / 300% 100%;
  -webkit-background-clip: text; background-clip: text; animation: fxlFlow 6s linear infinite; font-weight: 650; }
.fxl-ink { font-family: Georgia, 'Times New Roman', serif; font-weight: 700; color: #0c0d10 !important; letter-spacing: .02em; text-shadow: 0 0 1px #fff, 0 0 2px #fff, 0 0 4px rgba(255,255,255,.85), 0 0 9px rgba(220,235,255,.4); }
.fxl-static { color: #eeeeee !important; font-family: Consolas, 'Courier New', monospace; animation: fxlFlick 3s steps(1) infinite; }
.fxl-static::before, .fxl-static::after { content: attr(data-text); position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; }
.fxl-static::before { color: #ff2a6d; animation: fxGlitchA 2.4s steps(1) infinite; clip-path: inset(0 0 55% 0); }
.fxl-static::after { color: #05d9e8; animation: fxGlitchB 2s steps(1) infinite; clip-path: inset(45% 0 0 0); }
@keyframes fxlBuzz { 0%, 100%, 91%, 93%, 96% { opacity: 1; } 92%, 95% { opacity: .55; } }
@keyframes fxlType { from { width: 0; } to { width: calc(var(--n) * 1ch + 2px); } }
@keyframes fxlCaret { 50% { border-color: transparent; } }
@keyframes fxlSweep { 0%, 15% { background-position: 100% 0; } 70%, 100% { background-position: 0 0; } }
@keyframes fxlBreathe { 0%, 100% { filter: blur(0); text-shadow: 0 0 6px rgba(200,220,255,.55); opacity: 1; } 50% { filter: blur(.6px); text-shadow: 0 0 12px rgba(200,220,255,.85); opacity: .8; } }
@keyframes fxlFlow { to { background-position: 300% 0; } }
@keyframes fxlFlick { 0%, 100% { opacity: 1; } 47% { opacity: .7; } 48% { opacity: 1; } 81% { opacity: .5; } 82% { opacity: 1; } }
.pv-tagline { display: flex; flex-direction: column; align-items: center; gap: 5px; max-width: 92%; text-align: center; }
.pv-tl { font-size: 14.5px; color: #e6e6e8; }
.inv-pv .pv-tl { font-size: 12px; }

/* highlighted post (after posting / jumping to it): white outline instead of blue */
.message:target { border-color: rgba(255,255,255,.85); box-shadow: 0 0 0 1px rgba(255,255,255,.85); }
.font-opt { position: relative; }

/* badges: white outline only, no colour */
.gbadge, .gb-admin, .gb-mod, .gb-plus, .gb-motm { color: #ececee; }
.gbadge:hover { color: #fff; }

/* badges: soft glassy white, not solid */
.gbadge, .gb-admin, .gb-mod, .gb-plus, .gb-motm { color: rgba(255,255,255,.58); filter: drop-shadow(0 0 2px rgba(255,255,255,.18)) drop-shadow(0 1px 1px rgba(0,0,0,.6)); transition: color .12s; }
.gbadge:hover { color: rgba(255,255,255,.92); }

/* highlighted post: softer, translucent white outline */
.message:target { border-color: rgba(255,255,255,.28); box-shadow: 0 0 0 1px rgba(255,255,255,.12); }

/* ═══════════ profile background: footer blends in instead of a grey slab ═══════════ */
body:has(.pf-bg) .ftr, body:has(.pf-bg) .ftr-bar { background: transparent; border-color: rgba(255,255,255,.06); }
body:has(.pf-bg) .ftr-bar { background: rgba(12,13,15,.45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

/* ═══════════ in-site confirm / input dialog (replaces browser popups) ═══════════ */
.dlg-modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 16px; background: rgba(0,0,0,0); transition: background-color .14s; }
.dlg-modal.is-in { background: rgba(0,0,0,.55); }
.dlg { width: min(400px, 100%); background: #141518; border: 1px solid rgba(255,255,255,.09); border-radius: 14px; padding: 20px 20px 16px; box-shadow: 0 24px 60px rgba(0,0,0,.6);
  transform: translateY(6px) scale(.98); opacity: 0; transition: transform .14s ease-out, opacity .14s; }
.dlg-modal.is-in .dlg { transform: none; opacity: 1; }
.dlg-title { margin: 0; font-size: 17px; font-weight: 650; color: #fff; }
.dlg-msg { margin: 8px 0 0; color: var(--text-2); font-size: 14.5px; line-height: 1.5; }
.dlg-input { width: 100%; margin-top: 12px; }
.dlg-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; }
.dlg-foot .btn { min-width: 84px; justify-content: center; }
.dlg .btn-cta { background: #fff; border-color: #fff; color: #0b0c0e; }
.dlg .btn-cta:hover { background: #e6e6e6; border-color: #e6e6e6; color: #0b0c0e; }

/* ═══════════ reactions: monochrome outline glyphs ═══════════ */
.rx-ico { color: rgba(255,255,255,.78); }
.rx-menu .rx-ico { color: rgba(255,255,255,.82); }
.rx-menu button:hover .rx-ico { color: #fff; }
.rx-on-like, .rx-on-hq, .rx-on-fire, .rx-on-lol, .rx-on-cope { color: #fff !important; }
.rx-icons > span { background: #1a1b1f; }
.rx-icons .rx-ico { color: rgba(255,255,255,.8); }
.rx-menu button.is-on { box-shadow: 0 0 0 1px rgba(255,255,255,.35); }

/* ═══════════ profile fonts (self-hosted, OFL) ═══════════ */
@font-face { font-family: "Pirata One"; src: url("/static/fonts/pirata.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "UnifrakturMaguntia"; src: url("/static/fonts/unifraktur.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Cinzel"; src: url("/static/fonts/cinzel.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant"; src: url("/static/fonts/cormorant-i.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/static/fonts/instrument-i.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("/static/fonts/space-grotesk.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Syne"; src: url("/static/fonts/syne.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bebas Neue"; src: url("/static/fonts/bebas.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("/static/fonts/jetbrains.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
.pf-font, .pf-font .feed-body, .pf-font .about { font-family: inherit; }
.pf-font .pf-name, .pf-font .pf-name .username, .pf-font .pf-tag, .pf-font .pf-rank, .pf-font .pf-stat dd, .pf-font .pf-tabs a { font-family: var(--pf-font) !important; }
.pf-font .pf-name { letter-spacing: 0; }
.font-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; }
.font-opt span { width: auto; }
.font-opt span b { font-size: 24px; font-weight: 400; }

/* ═══════════ rich BBCode ═══════════ */
.bb-size-1 { font-size: 11px; } .bb-size-2 { font-size: 13px; } .bb-size-3 { font-size: 15px; } .bb-size-4 { font-size: 18px; }
.bb-size-5 { font-size: 22px; line-height: 1.35; } .bb-size-6 { font-size: 28px; line-height: 1.3; } .bb-size-7 { font-size: 36px; line-height: 1.2; }
.bb .bb-align { margin: 2px 0; }
.bb .bb-hr { border: 0; height: 1px; width: 150px; margin: 18px auto; background: rgba(255,255,255,.35); }
.bb ol { margin: 6px 0; padding-left: 26px; }
.bb .bb-align ul, .bb .bb-align ol { display: inline-block; text-align: left; }
/* XenForo-style spoiler: centred button, content box underneath */
.bb .bb-spoiler { margin: 12px 0; border: 0; background: none; border-radius: 0; text-align: center; }
.bb .bb-spoiler > summary { display: inline-flex; align-items: center; gap: 6px; list-style: none; padding: 6px 12px; border: 1px solid #34363c; border-radius: 6px; background: #1c1d21; color: #e6e6e8; font-size: 13.5px; font-weight: 500; cursor: pointer; user-select: none; transition: background-color .12s, border-color .12s; }
.bb .bb-spoiler > summary::-webkit-details-marker { display: none; }
.bb .bb-spoiler > summary:hover { background: #24262b; border-color: #44474e; }
.bb .bb-spoiler[open] > summary { background: #26282d; }
.bb .bb-spoiler-body { margin-top: 8px; padding: 12px 16px; text-align: left; background: rgba(255,255,255,.03); border: 1px solid #2a2c31; border-left: 3px solid #4a4d55; border-radius: 4px; }
.bb .bb-spoiler-body .bb-img { margin: 10px auto; }
.bb .bb-align[style*="center"] .bb-img { margin-left: auto; margin-right: auto; }
/* editor menus */
.eb-menu { position: relative; display: inline-flex; }
.eb-menu .eb { display: inline-flex; align-items: center; gap: 1px; }
.eb .eb-caret { width: 10px; height: 10px; opacity: .6; }
.eb-pop { display: none; position: absolute; top: calc(100% + 6px); left: 0; z-index: 40; min-width: 150px; padding: 6px; background: #17181b; border: 1px solid #2c2f35; border-radius: 10px; box-shadow: 0 14px 34px rgba(0,0,0,.55); flex-direction: column; gap: 2px; }
.eb-menu.is-open .eb-pop { display: flex; }
.eb-pop > button { text-align: left; padding: 6px 10px; border: 0; border-radius: 6px; background: none; color: #e6e6e8; font: inherit; font-size: 14px; cursor: pointer; white-space: nowrap; }
.eb-pop > button:hover { background: rgba(255,255,255,.07); }
.eb-pop--sw { flex-direction: row; flex-wrap: wrap; width: 176px; min-width: 0; }
.eb-pop--sw > .eb-sw { width: 26px; height: 26px; padding: 0; border-radius: 50%; border: 2px solid #17181b; box-shadow: 0 0 0 1px #34373d; }
.eb-pop--sw > .eb-sw:hover { box-shadow: 0 0 0 2px #fff; background-clip: padding-box; }

/* signature images stay compact */
.message-sig .bb-img { max-height: 220px; }

/* profile font: applies to the whole page, logo included (nav, sidebar, buttons, inputs, posts, footer) */
body:has(.pf-font), body:has(.pf-font) *:not(.ico):not(.ico *) { font-family: var(--pf-page-font, inherit) !important; }

/* signature: never crop — the image cap (220px) keeps it compact */
.message-sig { max-height: none; overflow: visible; }
.message-sig .bb-img { max-height: 220px; max-width: 100%; width: auto; height: auto; object-fit: contain; }

/* admin signature effects */
.sig-fx-help { margin-top: 10px; font-size: 13px; color: var(--muted); }
.sig-fx-help code { background: #1a1b1f; padding: 1px 5px; border-radius: 4px; color: #e6e6e8; }
.sig-fx-list { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 7px; }
.sig-fx-chip { padding: 3px 9px; border-radius: 99px; border: 1px solid #2c2f35; background: #16171a; color: #d6d8dc; font: inherit; font-size: 12.5px; cursor: pointer; }
.sig-fx-chip:hover { border-color: #4a4d55; color: #fff; }
.message-sig .fxn, .message-sig .fxl, .message-sig .fxt { vertical-align: baseline; }

/* ═══════════ staff: applications ═══════════ */
.app-card { background: var(--surface); border: 1px solid #26282d; border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.app-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid #222428; }
.app-name { font-size: 16.5px; font-weight: 650; color: #fff; }
.app-meta { font-size: 12.5px; color: var(--muted); margin-top: 1px; }
.app-body { padding: 6px 16px 4px; }
.app-qa { padding: 10px 0; border-bottom: 1px solid #1e2024; }
.app-qa:last-child { border-bottom: 0; }
.app-q { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.app-a { font-size: 14.5px; color: #e9e9ea; line-height: 1.55; white-space: normal; overflow-wrap: anywhere; }
.app-act { display: flex; gap: 10px; align-items: center; padding: 12px 16px; background: rgba(255,255,255,.02); border-top: 1px solid #222428; flex-wrap: wrap; }
.app-act input { flex: 1; min-width: 200px; height: 38px; }
.app-btns { display: flex; gap: 8px; }
.app-btns .btn { height: 38px; padding: 0 16px; }
.app-only { padding: 10px 16px; margin: 0; border-top: 1px solid #222428; }

/* pip next to a text link (e.g. Staff): sits after the label instead of on top of it */
.nav-a:not(.nav-ic) .pip { position: static; margin-left: 2px; transform: none; }

.adm-danger { border-color: rgba(239,68,68,.35); }
.adm-danger .block-head { color: #ff8a8a; }

/* banned names keep their strike-through on hover */
.username.u-banned, .username.u-banned:hover, .username.u-banned:focus { text-decoration: line-through !important; text-decoration-thickness: 1.5px; }

/* profile defaults are sober (black / white). Colour only appears when a premium member picks an accent (inline --pa). */
.pf:not([style*="--pa"]) { --pa: #e4e4e7; }
.pf:not([style*="--pa"]) .pf-av .avatar.av-xl { box-shadow: none; }
.pf:not([style*="--pa"]) .pf-cover:not(.has-img) { background: linear-gradient(180deg, #1b1c20, #131417); }
.pf:not([style*="--pa"]) .pf-cta { background: #fff; border-color: #fff; color: #0b0c0e; }
.pf:not([style*="--pa"]) .pf-cta:hover { background: #e6e6e6; border-color: #e6e6e6; color: #0b0c0e; filter: none; }
.pf:not([style*="--pa"]) .pf-rank { color: var(--text-2); }
.pf:not([style*="--pa"]) .pf-link:hover { border-color: #5a5d64; background: #1d1e22; }
.pf-body:not([style*="--pa"]) .btn-cta { background: #fff; border-color: #fff; color: #0b0c0e; }

/* default letter avatars: neutral, no random colour */
.avatar.av-letter { background: linear-gradient(160deg, #34363c, #1c1d21) !important; color: #e8e8ea !important; }

/* ═══════════ staff dashboard ═══════════ */
.dash-hero { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 20px; margin-bottom: 14px; background: var(--surface); border: 1px solid #26282d; border-radius: 12px; }
.dash-hi { margin: 0; font-size: 22px; font-weight: 700; color: #fff; }
.dash-sub { margin: 3px 0 0; color: var(--text-2); }
.dash-quick { display: flex; gap: 8px; flex-wrap: wrap; }
.dash-quick .btn { display: inline-flex; align-items: center; gap: 7px; }
.dash-quick .btn-cta, .dash-app-act .btn-cta, .dash-form .btn-cta { background: #fff; border-color: #fff; color: #0b0c0e; }
.dash-quick .btn-cta:hover, .dash-app-act .btn-cta:hover, .dash-form .btn-cta:hover { background: #e6e6e6; border-color: #e6e6e6; color: #0b0c0e; }
.dash-count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: #ef4444; color: #fff; font-size: 11.5px; font-weight: 700; }
.dash-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-bottom: 14px; }
.dash-stat { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto auto; column-gap: 10px; padding: 14px; background: var(--surface); border: 1px solid #26282d; border-radius: 12px; color: var(--text); text-decoration: none !important; transition: border-color .12s, background-color .12s; }
.dash-stat:hover, .dash-stat:focus-visible { border-color: #3a3d44; background: #15161a; }
.dash-stat-ic { grid-row: 1 / 4; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: #1b1c20; border: 1px solid #2a2c31; color: #d4d4d8; }
.dash-stat-ic .ico { width: 17px; height: 17px; }
.dash-stat-l { font-size: 12.5px; color: var(--muted); }
.dash-stat-n { font-size: 22px; font-weight: 700; color: #fff; line-height: 1.15; font-variant-numeric: tabular-nums; }
.dash-stat-s { font-size: 12px; color: var(--muted); }
.dash-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.dash-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.dash-card { background: var(--surface); border: 1px solid #26282d; border-radius: 12px; overflow: hidden; }
.dash-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 13px 16px; border-bottom: 1px solid #222428; }
.dash-h h2 { margin: 0; font-size: 15px; font-weight: 650; color: #fff; display: inline-flex; align-items: center; gap: 8px; }
.dash-h h2 .ico { width: 16px; height: 16px; color: var(--muted); }
.dash-link { font-size: 13px; color: var(--text-2); }
.dash-link:hover { color: #fff; }
.dash-sub-h { margin: 0; padding: 10px 16px 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.dash-empty { display: flex; align-items: center; gap: 8px; padding: 18px 16px; color: var(--muted); font-size: 14px; }
.dash-empty .ico { width: 18px; height: 18px; color: #4ade80; }
.dash-more { display: block; padding: 8px 16px 12px; font-size: 13px; color: var(--text-2); }
/* chart */
.chart { display: block; width: 100%; height: auto; padding: 8px 10px 0; }
.ch-bar { fill: #3a3c42; transition: fill .12s; }
.ch-bar:hover, .ch-bar.is-today { fill: #e4e4e7; }
.ch-dot { fill: #fff; }
.ch-lbl { fill: #7d8088; font-size: 10px; text-anchor: middle; font-family: inherit; }
.ch-legend { display: flex; gap: 16px; padding: 4px 16px 12px; font-size: 12px; color: var(--muted); }
.ch-legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg-bar { width: 10px; height: 10px; border-radius: 2px; background: #3a3c42; display: inline-block; }
.lg-dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; display: inline-block; }
/* attention */
.dash-app { display: flex; gap: 12px; align-items: center; padding: 10px 16px; border-top: 1px solid #1e2024; }
.dash-sub-h + .dash-app { border-top: 0; }
.dash-app-why { font-size: 13.5px; color: var(--text-2); margin-top: 2px; overflow-wrap: anywhere; }
.dash-app-act { display: flex; gap: 6px; flex: none; margin: 0; }
.dash-rep { display: flex; gap: 10px; align-items: flex-start; padding: 10px 16px; border-top: 1px solid #1e2024; color: var(--text); text-decoration: none !important; }
.dash-rep:hover { background: rgba(255,255,255,.025); }
.dash-sub-h + .dash-rep { border-top: 0; }
.dash-rep-ic { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 8px; background: rgba(239,68,68,.12); color: #ff8a8a; }
.dash-rep-ic .ico { width: 14px; height: 14px; }
.dash-rep .grow { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
/* lists */
.dash-post, .dash-mem { display: flex; gap: 10px; align-items: center; padding: 9px 16px; border-top: 1px solid #1e2024; color: var(--text); text-decoration: none !important; }
.dash-h + .dash-post, .dash-h + .dash-mem { border-top: 0; }
.dash-post:hover, .dash-mem:hover { background: rgba(255,255,255,.025); }
.dash-post .grow, .dash-mem .grow { display: flex; flex-direction: column; min-width: 0; }
.dash-post-t, .dash-mem-n { font-weight: 600; color: #ececee; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-post .muted { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-mem-n.is-banned { text-decoration: line-through; color: var(--muted); }
.dash-chev { width: 14px; height: 14px; color: var(--muted); transform: rotate(-90deg); }
.dash-online { display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 16px; }
.dash-online a { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 3px; border-radius: 99px; background: #17181c; border: 1px solid #26282d; color: #e6e6e8; font-size: 13px; text-decoration: none !important; }
.dash-online a:hover { border-color: #3a3d44; }
.dash-online .avatar { width: 22px; height: 22px; font-size: 11px; }
.dash-form { padding: 12px 16px 14px; }
.dash-form .field { margin-bottom: 10px; }
/* staff log */
.log-row { display: flex; gap: 10px; align-items: flex-start; padding: 10px 16px; border-top: 1px solid #1e2024; font-size: 13.5px; }
.dash-h + .log-row, .dash-card > .log-row:first-child { border-top: 0; }
.log-ic { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 7px; background: #1b1c20; border: 1px solid #2a2c31; color: #c9cbd1; }
.log-ic .ico { width: 13px; height: 13px; }
.log-detail { color: var(--muted); font-size: 12.5px; margin-top: 2px; overflow-wrap: anywhere; }
.log-time { flex: none; color: var(--muted); font-size: 12px; }
/* sober staff tabs */
.adm-tabs a.on { color: #fff; }
.adm-tabs a.on::after { background: #fff !important; }
@media (max-width: 900px) { .dash-grid { grid-template-columns: 1fr; } .dash-hero { padding: 14px; } }

/* reactions under profile posts / DMs */
.x-rx { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.x-rx .rx-bar.is-empty { display: none; }
.x-rx .rx-main { padding: 3px 8px; font-size: 13px; }
/* conversation list rows with a delete button */
.conv-row { display: flex; align-items: center; gap: 8px; padding-right: 10px; }
.conv-row .conv-link { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; color: inherit; text-decoration: none !important; }
.conv-row .qt { opacity: 0; transition: opacity .12s; }
.conv-row:hover .qt, .conv-row .qt:focus-visible { opacity: 1; }
@media (hover: none) { .conv-row .qt { opacity: 1; } }

/* sticky footer: on short pages the footer sits at the very bottom of the window */
body { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
body > main.p-body { flex: 1 0 auto; width: 100%; box-sizing: border-box; }
body > .ftr { flex: none; }

.px-jfl { background: #8a6d1f; }
.px-review { background: #4a4d55; }

/* ═══════════ index: who's online ═══════════ */
.online-block { margin-top: 18px; background: var(--surface); border: 1px solid #26282d; border-radius: 10px; overflow: hidden; }
.ob-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 11px 16px; background: var(--head); border-bottom: 1px solid #222428; }
.ob-head h2 { margin: 0; font-size: 15px; font-weight: 600; color: #fff; }
.ob-total { font-size: 13px; color: var(--muted); }
.ob-body { display: grid; grid-template-columns: minmax(200px, 260px) minmax(0, 1fr); }
.ob-staff, .ob-members { padding: 12px 16px 14px; }
.ob-staff { border-right: 1px solid #222428; }
.ob-body h3 { margin: 0 0 8px; font-size: 12px; font-weight: 600; color: var(--muted); }
.ob-st { display: flex; align-items: center; gap: 10px; padding: 4px 0; }
.ob-role { font-size: 12px; color: var(--muted); }
.ob-list { font-size: 14px; line-height: 1.8; }
.ob-sep { color: var(--muted); }
.ob-none { color: var(--muted); font-size: 13.5px; }
@media (max-width: 680px) { .ob-body { grid-template-columns: 1fr; } .ob-staff { border-right: 0; border-bottom: 1px solid #222428; } }

/* section icons: bolder strokes */
.node-ico .ico { stroke-width: 2.1; }
.compose-forum .node-ico .ico { stroke-width: 2; }

/* footer = one solid block at the bottom (bar + copyright together), no blurry band over profile backgrounds */
.ftr { margin-top: auto; background: #0f1012; border-top: 1px solid rgba(255,255,255,.06); }
.ftr-bar { background: transparent; border: 0; }
body:has(.pf-bg) .ftr { background: rgba(10,11,13,.92); }
body:has(.pf-bg) .ftr-bar { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.ftr-copy { padding-top: 6px; }

/* admin profile cursor picker */
.cur-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.cur-opt input { position: absolute; opacity: 0; pointer-events: none; }
.cur-opt span { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 84px; padding: 10px 6px; border-radius: 10px; border: 1px solid #2c2f35; background: #16171a; font-size: 12px; color: var(--text-2); cursor: pointer; }
.cur-opt img { width: 32px; height: 32px; image-rendering: pixelated; }
.cur-none { width: 32px; height: 32px; display: grid; place-items: center; font-style: normal; font-size: 13px; color: var(--muted); border: 1px dashed #3a3d44; border-radius: 8px; }
.cur-opt input:checked + span { border-color: #fff; box-shadow: 0 0 0 1px #fff; color: #fff; }
.cur-opt input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.up--cursor { border: 0; padding: 0; margin: 0; display: block; }
.up--cursor .up-btns { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* ═══════════ profile: last seen / current activity next to the name ═══════════ */
.pf-namerow { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.pf-seen { font-size: 13.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.pf-seen a { color: var(--text-2); }
.pf-seen a:hover { color: #fff; }
.seen-dot { width: 7px; height: 7px; border-radius: 50%; background: #23a55a; display: inline-block; flex: none; }
.mc-line .seen-dot { margin-right: 5px; }

/* ═══════════ mobile ═══════════ */
html, body { overflow-x: hidden; }
.nav-burger { display: none; width: 40px; height: 40px; flex: none; border: 0; background: none; padding: 9px; border-radius: 8px; cursor: pointer; flex-direction: column; justify-content: space-between; }
.nav-burger span { display: block; height: 2px; border-radius: 2px; background: #e6e6e8; transition: transform .15s, opacity .15s; }
.nav-burger:hover { background: rgba(255,255,255,.06); }
.navbar.is-open .nav-burger span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.navbar.is-open .nav-burger span:nth-child(2) { opacity: 0; }
.navbar.is-open .nav-burger span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
@media (max-width: 1040px) {
  .navbar { position: relative; overflow: visible !important; flex-wrap: wrap; padding: 4px 6px; }
  .nav-burger { display: flex; }
  .nav-l { display: none; order: 3; width: 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 6px 0 4px; border-top: 1px solid rgba(255,255,255,.06); margin-top: 4px; }
  .navbar.is-open .nav-l { display: flex; }
  .nav-l .nav-a { width: 100%; padding: 11px 12px; border-radius: 8px; }
  .nav-l .nav-a span { display: inline !important; }
  .nav-r { margin-left: auto; gap: 0; }
  .nav-r .nav-a > span:not(.pip) { display: none; }
  .nav-r .nav-reg { padding: 8px 12px; }
  .nav-r .nav-reg, .nav-r .nav-user span { display: inline-flex; }
}
@media (max-width: 680px) {
  .wrap { padding-left: 10px; padding-right: 10px; }
  .p-title h1 { font-size: 22px; }
  .pf-namerow { gap: 4px 10px; }
  .sk-tabs, .tabs { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .sk-grid { grid-template-columns: 1fr; }
  .motm { flex-direction: column; align-items: flex-start; }
  .motm-stats { flex-wrap: wrap; gap: 10px 20px; }
  .rx-pick.is-open .rx-menu { display: flex; right: auto; left: 0; }
  .editor-bar { overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .eb { min-width: 36px; min-height: 36px; }
  .ftr-inner { justify-content: center; text-align: center; }
  .btn { min-height: 38px; }
}
.rx-pick.is-open .rx-menu { display: flex; }

/* mobile menu: quick links to your own profile / account (only inside the burger menu) */
.nav-mob { display: none !important; }
@media (max-width: 1040px) {
  .navbar.is-open .nav-mob { display: flex !important; }
  .navbar.is-open .nav-mob-sep { display: block !important; height: 1px; margin: 4px 0; background: rgba(255,255,255,.08); }
  .nav-mob-me .avatar { width: 22px; height: 22px; }
  .nav-r .nav-user .avatar { display: inline-block !important; width: 26px; height: 26px; }
  .nav-r .nav-user { padding: 6px 8px; }
}

/* ── polls ── */
.poll { padding: 16px 18px; margin-bottom: 14px; }
.poll-q { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 16px; }
.poll-q svg { width: 18px; height: 18px; opacity: .7; }
.poll-opt { display: flex; align-items: center; gap: 10px; padding: 9px 12px; margin-bottom: 6px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.poll-opt:hover { border-color: rgba(255,255,255,.25); }
.poll-foot { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.poll-row { margin-bottom: 10px; }
.poll-row-top { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; margin-bottom: 4px; }
.poll-row-top svg { width: 14px; height: 14px; vertical-align: -2px; }
.poll-bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.07); overflow: hidden; }
.poll-bar i { display: block; height: 100%; background: rgba(255,255,255,.55); border-radius: 3px; }
.poll-row.is-mine .poll-bar i { background: #fff; }
.poll-meta { margin-top: 8px; }
.poll-add { margin: 0 16px 12px; border: 1px dashed var(--line); border-radius: 8px; }
.poll-add summary { cursor: pointer; padding: 10px 12px; display: flex; align-items: center; gap: 8px; color: var(--desc); }
.poll-add summary svg { width: 16px; height: 16px; }
.poll-add-body { display: grid; gap: 8px; padding: 0 12px 12px; }
/* ── blocked members ── */
.blocked-post { margin-bottom: 10px; border: 1px solid var(--line); border-radius: 8px; }
.blocked-post > summary { cursor: pointer; padding: 10px 14px; color: var(--desc); font-size: 13px; display: flex; align-items: center; gap: 8px; }
.blocked-post > summary svg { width: 15px; height: 15px; }
.blocked-post[open] > summary { border-bottom: 1px solid var(--line); }
/* ── @mention autocomplete ── */
.mention-pop { position: absolute; left: 12px; bottom: 34px; z-index: 30; min-width: 200px; padding: 4px; background: #111; border: 1px solid rgba(255,255,255,.12); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.5); }
.mention-item { display: flex; align-items: center; gap: 8px; width: 100%; padding: 6px 8px; border: 0; background: none; color: inherit; font: inherit; text-align: left; border-radius: 6px; cursor: pointer; }
.mention-item.is-on, .mention-item:hover { background: rgba(255,255,255,.08); }
.mention-item img, .mention-ph { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.mention-ph { display: grid; place-items: center; background: #222; font-size: 11px; }

/* ═══ Skixx touches: centred logo + tagline, quieter category bars, monochrome sidebar buttons ═══ */
.hdr .wrap { display: flex; flex-direction: column; }
.hdr .logo { align-self: center; flex-direction: column; align-items: center; padding: 6px 0 22px; }
.logo-main { display: inline-flex; align-items: baseline; }
.logo-tag { margin-top: 8px; font-family: "Figtree", system-ui, sans-serif; font-style: normal; font-weight: 500; font-size: 11.5px; letter-spacing: .32em; text-transform: uppercase; color: #8b8b92; }
.hdr .navbar { width: 100%; }
.cat-head { background: transparent; border: 1px solid rgba(255,255,255,.08); border-left: 3px solid #e8e8ea; border-radius: 6px; }
.cat-head h2 { font-size: 12.5px; text-transform: uppercase; letter-spacing: .14em; }
.node-list .node + .node { border-top: 1px solid rgba(255,255,255,.05); border-radius: 0; }
.w-boxed { padding: 0; }
.w-btn-mono { background: transparent; border: 1px solid rgba(255,255,255,.22); color: #fff !important; text-transform: none; letter-spacing: 0; font-weight: 550; border-radius: 8px; }
.w-btn-mono:hover { background: rgba(255,255,255,.06); filter: none; }
@media (max-width: 680px) { .hdr .logo { padding: 2px 0 14px; } .logo-tag { font-size: 10px; letter-spacing: .26em; } }

/* ═══ games page ("arcade"): open cards, kickers, joined bet controls ═══ */
.arcade .block { background: transparent; border: 1px solid rgba(255,255,255,.09); border-radius: 14px; box-shadow: none; }
.arcade .block-head { display: flex; flex-direction: column; gap: 3px; background: none; border: 0; padding: 18px 20px 2px; font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.arcade .block-head .ico { display: none; }
.arcade .block-body.pad { padding: 8px 20px 18px; }
.ar-kicker { display: block; font-size: 10.5px; font-weight: 650; letter-spacing: .2em; text-transform: uppercase; color: #7d7d85; }
.arcade .games-top { gap: 12px; margin-bottom: 4px; }
.arcade .stat-card { padding: 16px 18px; }
.arcade .stat-card > .ico { width: 24px; height: 24px; opacity: .6; }
.arcade .big-num { font-size: 26px; font-weight: 750; letter-spacing: -.02em; }
.arcade .games-grid { gap: 12px; margin-bottom: 12px; }
/* coinflip: coin on the left, controls on the right */
.arcade .flip { display: grid; grid-template-columns: 200px minmax(0, 1fr); grid-template-areas: "k k" "stage ctrl" "stage hist"; align-items: center; gap: 6px 28px; padding: 20px 24px 22px; }
.arcade .flip > .ar-kicker { grid-area: k; margin-bottom: 6px; }
.arcade .flip-stage { grid-area: stage; }
.arcade .flip-ctrl { grid-area: ctrl; justify-content: flex-start; margin-top: 0; }
.arcade .flip-hist { grid-area: hist; justify-content: flex-start; margin-top: 4px; }
.arcade .flip-msg { text-align: center; font-size: 13.5px; }
.arcade .coin { width: 116px; height: 116px; }
/* bet forms: input and button joined into one control */
.arcade .bet-form { gap: 0; }
.arcade .bet-form label.small { display: inline-flex; align-items: center; gap: 8px; margin-right: 10px; color: var(--muted); }
.arcade .bet-form input, .arcade .bet-form select { height: 40px; border-radius: 8px 0 0 8px; border-right: 0; }
.arcade .bet-form label.small input { border-radius: 8px; border-right: 1px solid var(--line-2, #2c2f35); }
.arcade .bet-form select { border-radius: 0; border-right: 0; }
.arcade .bet-form .btn { height: 40px; border-radius: 0 8px 8px 0; background: #fff; color: #0b0b0c; border-color: #fff; font-weight: 650; }
.arcade .bet-form .btn:hover { background: #e4e4e7; }
.arcade .bet-form label.small + label.small + .btn, .arcade .bet-form label.small + .btn { border-radius: 8px; }
.arcade .bj-actions .btn { border-radius: 999px; }
.arcade .cf-row { border-top-color: rgba(255,255,255,.06); }
@media (max-width: 680px) {
  .arcade .flip { grid-template-columns: 1fr; grid-template-areas: "k" "stage" "ctrl" "hist"; }
  .arcade .flip-ctrl, .arcade .flip-hist { justify-content: center; }
  .arcade .flip > .ar-kicker { text-align: center; }
}
.arcade .block-head { align-items: flex-start; text-align: left; }
.arcade .flip { grid-template-columns: 240px minmax(0, 1fr); grid-template-rows: auto 1fr 1fr; }
.arcade .flip-ctrl { align-self: end; }
.arcade .flip-hist { align-self: start; }
@media (max-width: 680px) { .arcade .flip { grid-template-rows: none; } }

/* ── coin: Skixx monogram coin (reeded rim, serif "s" / "x") ── */
.coin-face { border: 0; background: radial-gradient(circle at 34% 28%, #505156, #1c1d20 72%); color: #f4f4f5; box-shadow: 0 10px 28px rgba(0,0,0,.55); gap: 2px; }
.coin-face::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: repeating-conic-gradient(#c9cacd 0 2deg, #6b6c71 2deg 4deg);
  -webkit-mask: radial-gradient(closest-side, transparent calc(100% - 7px), #000 calc(100% - 6px)); mask: radial-gradient(closest-side, transparent calc(100% - 7px), #000 calc(100% - 6px)); }
.coin-face::after { content: ''; position: absolute; inset: 13px; border-radius: 50%; border: 1px solid rgba(255,255,255,.16); }
.coin-glyph { font-family: "Logo", Georgia, serif; font-style: italic; font-weight: 800; font-size: 66px; line-height: .78; letter-spacing: 0; text-transform: none; margin-top: -6px; }
.coin-face span { position: relative; font-size: 9px; letter-spacing: .32em; opacity: .65; }
.coin-tails { border: 0; background: radial-gradient(circle at 34% 28%, #fbfbfb, #b4b5b9 76%); color: #121214; box-shadow: 0 10px 28px rgba(0,0,0,.55); }
.coin-tails::after { border-color: rgba(0,0,0,.18); }
.cg { font-family: "Logo", Georgia, serif; font-style: italic; font-weight: 800; font-size: 19px; line-height: 1; margin-top: -3px; }

.temp-pw code { display: inline-block; font-size: 22px; letter-spacing: .08em; padding: 10px 16px; border: 1px solid rgba(255,255,255,.18); border-radius: 8px; user-select: all; }
.privacy h3 { margin: 18px 0 6px; font-size: 15px; }

.auth-forgot { text-align: right; margin: -6px 0 14px; font-size: 13px; }
.auth-forgot a { color: var(--muted); }
.auth-forgot a:hover { color: #fff; }

.auth-sep { height: 1px; background: rgba(255,255,255,.08); margin: 16px 0; }
.auth-card form + form { margin-top: 10px; }
