/* Package styles: inbox. See /mnt/data/personas/carmack/research/audit-2026-09-26/REPORT.md.
   Inbox, Trades (list and builder), Settings and Your Stats share the .inbox-screen frame. */

/* ---------- Frame: back link, neon title, LCD, section labels ---------- */
.notification-page .loyalty-main, .trades-page .loyalty-main, .settings-page .loyalty-main, .stats-page .loyalty-main { background: radial-gradient(120% 28% at 15% 0%, rgba(255,58,84,.13), transparent 70%); }
.inbox-screen { box-sizing: border-box; color: var(--arcade-cream); font-family: 'VT323', monospace; margin: 0 auto; max-width: 26rem; min-width: 0; padding: .6rem .85rem 1.5rem; position: relative; width: 100%; }
.inbox-screen::before { background: repeating-linear-gradient(0deg, rgba(0,0,0,.26) 0 1px, transparent 1px 3px); content: ''; inset: 0; pointer-events: none; position: absolute; z-index: 2; }
.inbox-screen .arcade-back-link { color: var(--arcade-cyan); font-family: 'VT323', monospace; font-size: 1.3rem; margin-left: -.1rem; min-height: 44px; text-shadow: 0 0 6px rgba(83,224,255,.6); }
.inbox-head { align-items: center; display: flex; gap: .6rem; justify-content: space-between; margin: -.1rem 0 .4rem; min-height: 3.6rem; }
.loyalty-main .inbox-head h1.arcade-neon-sign { color: #ffe6e9; font-family: 'Yellowtail', cursive; font-size: clamp(2.6rem, 12vw, 3.2rem); font-weight: 400; letter-spacing: 0; line-height: 1.05; margin: 0; padding: 0 .2rem 0 0; text-transform: none; }
.inbox-lcd { align-items: baseline; background: #060202; border-radius: 6px; box-shadow: inset 0 0 0 1.5px rgba(255,74,58,.55), 0 0 12px rgba(255,74,58,.25); display: flex; flex: none; gap: .5rem; padding: .25rem .7rem; }
.inbox-lcd small { color: #ff8a98; font-family: 'Silkscreen', monospace; font-size: .7rem; letter-spacing: .1em; }
.inbox-lcd b { color: #ff4a3a; font-family: 'VT323', monospace; font-size: 1.9rem; font-weight: 400; line-height: 1; text-shadow: 0 0 8px rgba(255,74,58,.9); }
.inbox-section { margin-top: 1rem; }
.loyalty-main .inbox-label { align-items: baseline; color: var(--arcade-cyan); display: flex; font-family: 'Silkscreen', monospace; font-size: .72rem; font-weight: 400; gap: .5rem; justify-content: space-between; letter-spacing: .18em; line-height: 1.2; margin: 0 0 .5rem; text-align: left; text-shadow: 0 0 6px rgba(83,224,255,.55); text-transform: uppercase; }
.loyalty-main .inbox-label span { color: #3f7d86; font-family: 'VT323', monospace; font-size: 1.05rem; letter-spacing: .02em; text-shadow: none; }
.inbox-none { color: #56708a; font-size: 1.2rem; margin: 0; padding: .2rem 0 .1rem; }
.inbox-empty { color: #56708a; font-size: 1.3rem; line-height: 1.2; padding: 2rem .5rem; text-align: center; }
.inbox-screen a.arcade-pill-primary { color: #fff; }
.inbox-screen a.arcade-pill-secondary { color: var(--arcade-cyan); }
.loyalty-main .inbox-screen button.arcade-pill-primary, .loyalty-main .inbox-screen button.arcade-pill-secondary { border-radius: 999px; cursor: pointer; font-family: 'Silkscreen', monospace; font-size: .8rem; font-weight: 700; letter-spacing: .1em; margin: 0; min-height: 44px; padding: 0 1.1rem; text-transform: uppercase; width: auto; }
.loyalty-main .inbox-screen button.inbox-text-action { background: transparent; border: 0; box-shadow: none; color: #b58a3a; cursor: pointer; font-family: 'VT323', monospace; font-size: 1.15rem; letter-spacing: .04em; margin: 0; min-height: 44px; padding: 0 .2rem 0 0; text-decoration: underline; text-underline-offset: 3px; width: auto; }
.loyalty-main .inbox-screen button.inbox-text-action:hover { color: var(--arcade-amber); }
.loyalty-main .inbox-screen form { display: block; margin: 0; max-width: none; width: auto; }
.loyalty-main .inbox-screen form.settings-form, .loyalty-main .inbox-screen form.trade-builder, .loyalty-main .inbox-screen form.trade-handle { width: 100%; }

/* ---------- Inbox: pinned cards ---------- */
.inbox-card { align-items: center; background: rgba(255,74,94,.04); border: 2px solid var(--arcade-red-bright); box-shadow: 0 0 14px rgba(255,74,94,.4), inset 0 0 12px rgba(255,74,94,.12); display: flex; gap: .7rem; margin-bottom: .7rem; padding: .55rem .6rem; }
.loyalty-main .inbox-card-avatar { align-items: center; background: #192a4a; border-radius: 4px; color: #56708a; display: flex; flex: 0 0 3.6rem; font-size: 2rem; height: 3.6rem; justify-content: center; object-fit: cover; position: relative; width: 3.6rem; z-index: 3; }
.inbox-card-copy { flex: 1; line-height: 1; min-width: 0; }
.inbox-card-copy p { margin: 0; }
.inbox-card-kicker { color: #ff8a98; font-size: 1.4rem; text-shadow: 0 0 8px rgba(255,74,94,.9); text-transform: uppercase; }
.inbox-card-line { color: var(--arcade-cream); font-size: 1.2rem; margin-top: .15rem !important; overflow-wrap: anywhere; text-transform: uppercase; }
.inbox-card-copy form { margin: -.55rem 0 -.7rem; }
.inbox-card > form { flex: none; }
.inbox-card.is-trade .inbox-card-avatar { border: 1.5px solid color-mix(in srgb, var(--rarity-color, #c9e4f2) 55%, #1c2640); }
.inbox-card.is-collect { background: rgba(255,191,63,.04); border-color: var(--arcade-amber); box-shadow: 0 0 14px rgba(255,191,63,.35), inset 0 0 12px rgba(255,191,63,.1); }
.inbox-card.is-collect .inbox-card-kicker { color: #ffcf5a; text-shadow: 0 0 8px rgba(255,191,63,.8); }
.inbox-card-prize { background: radial-gradient(circle, #3a2a08, #120c02); box-shadow: inset 0 0 0 1.5px rgba(255,191,63,.6); color: #ffcf5a; text-shadow: 0 0 10px var(--arcade-amber); }

/* ---------- Inbox: compact feed ---------- */
.inbox-feed { list-style: none; margin: 0; padding: 0; }
.inbox-row { align-items: center; border-bottom: 1px dashed rgba(83,224,255,.12); display: flex; font-size: 1.2rem; gap: .5rem; line-height: 1.05; min-height: 1.75rem; padding: .2rem 0; }
.inbox-row-text { color: #d9cfb2; flex: 1; min-width: 0; overflow-wrap: anywhere; text-transform: uppercase; }
.inbox-row-text b { color: #ffcf5a; font-weight: 400; text-shadow: 0 0 6px rgba(255,191,63,.6); }
.inbox-row-text small { color: #8a7a5a; font-size: 1rem; }
.inbox-row time { color: rgba(255,244,214,.5); flex: none; font-size: 1.1rem; }
.inbox-row.is-new .inbox-row-text { color: var(--arcade-cream); }
.inbox-row.is-new .inbox-row-text::before { background: var(--arcade-amber); border-radius: 50%; box-shadow: 0 0 6px var(--arcade-amber); content: ''; display: inline-block; height: .45rem; margin: 0 .4rem .15rem 0; vertical-align: middle; width: .45rem; }
.loyalty-main .inbox-screen button.inbox-got-it { background: transparent; border: 1.5px solid var(--arcade-cyan); border-radius: 999px; box-shadow: 0 0 6px rgba(83,224,255,.3); color: var(--arcade-cyan); cursor: pointer; flex: none; font-family: 'Silkscreen', monospace; font-size: .75rem; font-weight: 700; margin: 0; min-height: 44px; padding: 0 .7rem; width: auto; }
.inbox-pager { align-items: center; display: grid; grid-template-columns: 1fr auto 1fr; margin-top: 1rem; }
.inbox-pager a { align-items: center; color: var(--arcade-cyan); display: flex; font-size: 1.3rem; min-height: 44px; text-decoration: none; }
.inbox-pager a[rel=next] { justify-content: flex-end; }
.inbox-pager > span { color: #56708a; font-size: 1.15rem; }

/* ---------- Trades: offer cards ---------- */
.trade-card { background: linear-gradient(180deg, #0b1122, #070b16); border: 2px solid var(--arcade-red-bright); box-shadow: 0 0 14px rgba(255,74,94,.4), inset 0 0 12px rgba(255,74,94,.1); margin-bottom: .8rem; padding: .6rem .65rem .65rem; }
.trade-card.is-outgoing { border: 1.5px solid rgba(83,224,255,.7); box-shadow: 0 0 10px rgba(83,224,255,.22), inset 0 0 12px rgba(0,0,0,.4); padding-bottom: .15rem; }
.trade-card-head { align-items: center; display: flex; gap: .55rem; }
.loyalty-main .trade-card-avatar { align-items: center; background: #192a4a; border-radius: 50%; box-shadow: 0 0 0 2px var(--arcade-red-bright), 0 0 10px rgba(255,74,94,.5); color: #56708a; display: flex; flex: 0 0 2.6rem; height: 2.6rem; justify-content: center; object-fit: cover; position: relative; width: 2.6rem; z-index: 3; }
.is-outgoing .trade-card-avatar { box-shadow: 0 0 0 2px var(--arcade-cyan), 0 0 10px rgba(83,224,255,.5); }
.trade-card-who { color: var(--arcade-cream); display: flex; flex-direction: column; font-size: 1.3rem; line-height: 1; min-width: 0; overflow-wrap: anywhere; text-transform: uppercase; }
.trade-card-who b { color: #ff8a98; font-family: 'Silkscreen', monospace; font-size: .7rem; font-weight: 400; letter-spacing: .14em; margin-bottom: .15rem; text-shadow: 0 0 6px rgba(255,74,94,.8); }
.is-outgoing .trade-card-who b { color: var(--arcade-cyan); text-shadow: 0 0 6px rgba(83,224,255,.6); }
.trade-card-when { color: #b58a3a; flex: none; font-size: 1.1rem; margin-left: auto; }
.trade-card-swap { align-items: start; display: grid; gap: .3rem; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); margin: .65rem 0 .7rem; }
.trade-card-arrow { align-self: center; color: var(--arcade-amber); font-size: 1.9rem; margin-top: -1.4rem; text-shadow: 0 0 8px rgba(255,191,63,.8); }
.trade-item { align-items: center; display: flex; flex-direction: column; gap: .3rem; min-width: 0; text-align: center; }
.trade-item-art { align-items: center; aspect-ratio: 1; background: radial-gradient(circle at 50% 35%, #141d33, #070b16 80%); border: 1.5px solid color-mix(in srgb, var(--rarity-color, #c9e4f2) 55%, #1c2640); border-radius: 6px; box-shadow: 0 0 10px var(--rarity-glow, transparent); color: #3a4866; display: flex; font-size: 2rem; justify-content: center; overflow: hidden; position: relative; width: 4.6rem; z-index: 3; }
.trade-item-art img { height: 100%; object-fit: cover; width: 100%; }
.trade-item-copy { color: var(--arcade-cream); display: flex; flex-direction: column; font-size: 1.15rem; line-height: 1; max-width: 100%; overflow-wrap: anywhere; text-transform: uppercase; }
.trade-item-copy small { color: var(--arcade-cyan); font-family: 'Silkscreen', monospace; font-size: .7rem; letter-spacing: .12em; margin-bottom: .2rem; }
.trade-card-actions { display: grid; gap: .55rem; grid-template-columns: 1fr 1fr; }
.loyalty-main .inbox-screen .trade-card-actions button { width: 100%; }
.loyalty-main .inbox-screen form.trade-card-cancel { display: flex; justify-content: center; width: 100%; }
.trades-new { box-sizing: border-box; display: flex; font-size: .9rem; letter-spacing: .14em; margin: 1.2rem 0 .5rem; min-height: 3.1rem; width: 100%; }
.trades-fine { color: #8a6a2a; font-size: 1.05rem; line-height: 1.1; margin: .3rem 0 0; text-align: center; }
.trades-past { border-top: 1px dashed rgba(83,224,255,.25); margin-top: 1.2rem; }
.trades-past summary { align-items: center; color: #56708a; cursor: pointer; display: flex; font-size: 1.2rem; list-style: none; min-height: 44px; }
.trades-past summary::-webkit-details-marker { display: none; }
.trades-past summary::before { content: '▸ '; white-space: pre; }
.trades-past[open] summary::before { content: '▾ '; }
.trades-status { color: #56708a; flex: none; font-family: 'Silkscreen', monospace; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; }
.trades-status.is-accepted { color: #65ff9a; text-shadow: 0 0 6px rgba(101,255,154,.5); }

/* ---------- Trades: builder ---------- */
.trade-players { display: grid; gap: .55rem; grid-template-columns: repeat(4, minmax(0,1fr)); margin-bottom: .6rem; }
.trade-player { align-items: center; color: #d6f7ff; display: flex; flex-direction: column; font-size: 1.05rem; gap: .25rem; min-height: 5rem; min-width: 0; text-decoration: none; }
.loyalty-main .trade-player img, .trade-player-blank { border-radius: 50%; box-shadow: 0 0 0 2px var(--arcade-cyan), 0 0 12px rgba(83,224,255,.55); display: block; height: 3.45rem; object-fit: cover; position: relative; width: 3.45rem; z-index: 3; }
.trade-player-blank { align-items: center; background: #192a4a; color: #56708a; display: flex; font-size: 1.8rem; justify-content: center; }
.trade-player span:last-child { max-width: 100%; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.trade-handle label { color: var(--arcade-cyan); display: block; font-family: 'Silkscreen', monospace; font-size: .72rem; letter-spacing: .16em; margin: .6rem 0 .4rem; }
.trade-handle > div { align-items: center; background: #03050a; border: 1.5px solid rgba(83,224,255,.45); border-radius: 8px; display: flex; gap: .3rem; padding: .25rem .25rem .25rem .7rem; }
.trade-handle > div > span { color: #3f7d86; font-size: 1.5rem; }
.loyalty-main .trade-handle input#trade-with { background: transparent; border: 0; box-shadow: none; color: var(--arcade-cream); flex: 1; font-family: 'VT323', monospace; font-size: 1.5rem; margin: 0; min-height: 44px; min-width: 0; outline: none; padding: 0; }
.trade-handle input::placeholder { color: #2f5a63; }
.trade-handle > div:focus-within { border-color: var(--arcade-cyan); box-shadow: 0 0 10px rgba(83,224,255,.35); }
.trade-partner { align-items: center; display: flex; gap: .65rem; margin: .2rem 0 .8rem; }
.loyalty-main .trade-partner img, .trade-partner .trade-player-blank { border-radius: 50%; box-shadow: 0 0 0 2px var(--arcade-cyan), 0 0 12px rgba(83,224,255,.55); flex: 0 0 3rem; height: 3rem; object-fit: cover; position: relative; width: 3rem; z-index: 3; }
.trade-partner > span { color: var(--arcade-cream); display: flex; flex-direction: column; font-size: 1.45rem; line-height: 1; min-width: 0; overflow-wrap: anywhere; text-transform: uppercase; }
.trade-partner small { color: var(--arcade-cyan); font-family: 'Silkscreen', monospace; font-size: .7rem; letter-spacing: .14em; margin-bottom: .15rem; }
.trade-partner a { align-items: center; color: var(--arcade-cyan); display: flex; flex: none; font-size: 1.2rem; margin-left: auto; min-height: 44px; }
.trade-window { background: linear-gradient(180deg, #0b1122, #070b16); border: 2px solid rgba(83,224,255,.75); border-radius: 12px; box-shadow: 0 0 14px rgba(83,224,255,.25), inset 0 0 24px rgba(0,0,0,.6); margin-bottom: .9rem; overflow: hidden; position: relative; }
.loyalty-main .trade-window-title { align-items: baseline; background: linear-gradient(90deg, rgba(83,224,255,.22), rgba(83,224,255,.04)); border-bottom: 1px solid rgba(83,224,255,.4); color: #b8f3ff; display: flex; font-family: 'Silkscreen', monospace; font-size: .72rem; font-weight: 700; gap: .5rem; justify-content: space-between; letter-spacing: .2em; margin: 0; padding: .45rem .7rem; text-shadow: 0 0 6px var(--arcade-cyan); }
.loyalty-main .trade-window-title span { color: #7fd8ec; font-family: 'VT323', monospace; font-size: 1rem; font-weight: 400; letter-spacing: .02em; text-shadow: none; }
.trade-window-tabs { border-bottom: 1px solid rgba(83,224,255,.3); display: flex; justify-content: space-between; overflow-x: auto; padding: 0 .4rem; }
.trade-window-tabs[hidden] { display: none; }
.loyalty-main .trade-window-tabs button { align-items: baseline; background: none; border: 0; border-bottom: 3px solid transparent; border-radius: 0; box-shadow: none; color: #56708a; cursor: pointer; display: flex; flex: none; font-family: 'VT323', monospace; font-size: 1.15rem; font-weight: 400; gap: .12rem; letter-spacing: 0; margin: 0; min-height: 44px; padding: .5rem .15rem .15rem; text-transform: none; width: auto; }
.loyalty-main .trade-window-tabs button small { font-size: .8rem; }
.loyalty-main .trade-window-tabs button[aria-pressed=true] { border-bottom-color: var(--arcade-amber); color: #fff4d6; text-shadow: 0 0 6px rgba(255,191,63,.8); }
.trade-grid { display: grid; gap: .5rem .45rem; grid-template-columns: repeat(4, minmax(0,1fr)); max-height: 20.5rem; overflow-y: auto; overscroll-behavior: contain; padding: .6rem; }
.trade-window-empty { color: #56708a; font-size: 1.2rem; margin: 0; padding: 1.2rem 1rem; text-align: center; }
.trade-tile { cursor: pointer; display: flex; flex-direction: column; gap: .2rem; min-width: 0; position: relative; }
.trade-tile[hidden] { display: none; }
.trade-tile input { height: 1px; left: 50%; margin: 0; opacity: 0; pointer-events: none; position: absolute; top: 50%; width: 1px; }
.trade-tile-art { align-items: center; aspect-ratio: 1; background: radial-gradient(circle at 50% 35%, #141d33, #070b16 80%); border: 1px solid color-mix(in srgb, var(--rarity-color, #c9e4f2) 40%, #1c2640); border-radius: 6px; box-shadow: inset 2px 2px 0 rgba(0,0,0,.8), inset -2px -2px 0 rgba(80,100,150,.22); color: #3a4866; display: flex; font-size: 1.8rem; justify-content: center; position: relative; transition: transform .08s; z-index: 3; }
.trade-tile-art img { border-radius: 4px; height: 84%; object-fit: cover; width: 84%; }
.trade-tile-art b { bottom: 1px; color: #fff; font-size: 1.25rem; font-weight: 400; line-height: 1; position: absolute; right: 4px; text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; }
.trade-tile-name { -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: #8ea3b8; display: -webkit-box; font-size: .95rem; line-height: .95; overflow: hidden; text-align: center; text-transform: uppercase; }
.trade-tile:active .trade-tile-art { transform: scale(.94); }
.trade-tile:has(input:checked) .trade-tile-art { border-color: var(--arcade-amber); box-shadow: 0 0 0 2px var(--arcade-amber), 0 0 16px rgba(255,191,63,.6); }
.trade-tile:has(input:checked) .trade-tile-art::after { background: var(--arcade-amber); border-radius: 3px; color: #1a1002; content: '✓'; font-size: 1rem; left: 3px; line-height: 1; padding: 0 .2rem; position: absolute; top: 3px; }
.trade-tile:has(input:checked) .trade-tile-name { color: #ffcf5a; }
.trade-tile:has(input:focus-visible) .trade-tile-art { outline: 2px solid var(--arcade-cream); outline-offset: 2px; }
.trade-send { align-items: center; background: rgba(6,9,18,.97); border: 2px solid var(--arcade-amber); border-radius: 12px; bottom: 98px; box-shadow: 0 0 16px rgba(255,191,63,.3), 0 10px 24px rgba(0,0,0,.6); display: flex; gap: .6rem; margin: .2rem 0 .7rem; padding: .45rem .45rem .45rem .8rem; position: sticky; z-index: 20; }
.trade-send p { color: var(--arcade-cream); flex: 1; font-size: 1.15rem; line-height: 1.05; margin: 0; min-width: 0; overflow-wrap: anywhere; text-transform: uppercase; }
.loyalty-main .inbox-screen .trade-send button { flex: none; }

/* ---------- Settings ---------- */
.settings-form { margin-top: .6rem; }
.settings-field label { align-items: baseline; color: var(--arcade-cyan); display: flex; font-family: 'Silkscreen', monospace; font-size: .72rem; gap: .5rem; justify-content: space-between; letter-spacing: .18em; margin: 0 0 .4rem; text-shadow: 0 0 6px rgba(83,224,255,.5); }
.settings-field label span { color: #3f7d86; font-size: .7rem; letter-spacing: .12em; text-shadow: none; }
.loyalty-main .settings-field input#display_name, .loyalty-main .settings-field input#username { background: #03050a; border: 1.5px solid rgba(83,224,255,.45); border-radius: 8px; box-shadow: none; box-sizing: border-box; color: var(--arcade-cream); font-family: 'VT323', monospace; font-size: 1.8rem; height: 3.4rem; margin: 0; padding: 0 .8rem; width: 100%; }
.loyalty-main .settings-field input#display_name:focus, .loyalty-main .settings-field input#username:focus { border-color: var(--arcade-cyan); box-shadow: 0 0 10px rgba(83,224,255,.35); outline: none; }
.settings-identity { display: grid; gap: 0; margin: .9rem 0 .2rem; }
.settings-identity > div { align-items: baseline; border-bottom: 1px dashed rgba(83,224,255,.18); display: flex; gap: .8rem; justify-content: space-between; min-height: 2.3rem; }
.settings-identity dt { color: var(--arcade-cyan); flex: none; font-family: 'Silkscreen', monospace; font-size: .72rem; letter-spacing: .16em; }
.settings-identity dd { color: #d9cfb2; font-size: 1.25rem; margin: 0; min-width: 0; overflow-wrap: anywhere; text-align: right; }
.settings-toggle { align-items: center; border-bottom: 1px dashed rgba(83,224,255,.18); cursor: pointer; display: flex; gap: .9rem; justify-content: space-between; min-height: 3.6rem; padding: .45rem 0; }
.settings-toggle-copy { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.settings-toggle-copy b { color: var(--arcade-cream); font-size: 1.4rem; font-weight: 400; }
.settings-toggle-copy small { color: #8a7a5a; font-size: 1.05rem; }
.loyalty-main .settings-toggle .settings-switch { -webkit-appearance: none; appearance: none; background: #121827; border: 2px solid #3a4866; border-radius: 999px; box-shadow: inset 0 2px 6px rgba(0,0,0,.7); cursor: pointer; flex: none; height: 44px; margin: 0; min-height: 44px; padding: 0; position: relative; transition: background .15s, border-color .15s, box-shadow .15s; width: 76px; }
.loyalty-main .settings-toggle .settings-switch::before { background: #56708a; border-radius: 50%; box-shadow: 0 2px 3px rgba(0,0,0,.6); content: ''; height: 32px; left: 4px; position: absolute; top: 4px; transition: transform .15s, background .15s; width: 32px; }
.loyalty-main .settings-toggle .settings-switch::after { color: #56708a; content: 'OFF'; font-family: 'Silkscreen', monospace; font-size: .7rem; position: absolute; right: 8px; top: 50%; transform: translateY(-50%); }
.loyalty-main .settings-toggle .settings-switch:checked, .loyalty-main .settings-toggle .settings-switch[aria-pressed=true] { background: rgba(83,224,255,.14); border-color: var(--arcade-cyan); box-shadow: 0 0 10px rgba(83,224,255,.45), inset 0 0 8px rgba(83,224,255,.2); }
.loyalty-main .settings-toggle .settings-switch:checked::before, .loyalty-main .settings-toggle .settings-switch[aria-pressed=true]::before { background: #d6f7ff; box-shadow: 0 0 8px var(--arcade-cyan), 0 0 16px rgba(83,224,255,.7); transform: translateX(32px); }
.loyalty-main .settings-toggle .settings-switch:checked::after, .loyalty-main .settings-toggle .settings-switch[aria-pressed=true]::after { color: var(--arcade-cyan); content: 'ON'; left: 10px; right: auto; }
.loyalty-main .settings-toggle .settings-switch:focus-visible { outline: 2px solid var(--arcade-cream); outline-offset: 3px; }
.loyalty-main .inbox-screen button.settings-save { font-size: .9rem; letter-spacing: .16em; margin-top: 1.1rem; min-height: 3.1rem; width: 100%; }
.inbox-screen .settings-signout { box-sizing: border-box; display: flex; font-size: .85rem; letter-spacing: .16em; margin-top: 1.6rem; min-height: 3rem; width: 100%; }
@media (prefers-reduced-motion: reduce) { .loyalty-main .settings-toggle .settings-switch, .loyalty-main .settings-toggle .settings-switch::before, .trade-tile-art { transition: none; } }

/* ---------- Your Stats ---------- */
.stats-table { border-collapse: collapse; margin-top: .9rem; width: 100%; }
.stats-table caption { caption-side: top; }
.stats-table tr { border-bottom: 1px dashed rgba(255,191,63,.18); }
.stats-table th { color: #d9cfb2; font-family: 'VT323', monospace; font-size: 1.35rem; font-weight: 400; letter-spacing: .03em; padding: .35rem 0; text-align: left; }
.stats-table td { padding: .35rem 0; text-align: right; white-space: nowrap; }
.stats-table td strong { color: #ffcf5a; font-size: 1.75rem; font-weight: 400; line-height: 1; text-shadow: 0 0 8px rgba(255,191,63,.55); }
.stats-table td small { color: #8a7a5a; font-size: 1.05rem; margin-left: .45rem; }
.stats-nights { display: grid; gap: .3rem; grid-template-columns: repeat(7, minmax(0,1fr)); list-style: none; margin: 0; padding: 0; }
.stats-night { align-items: center; display: flex; flex-direction: column; gap: .3rem; }
.stats-night i { border: 2px solid rgba(255,191,63,.35); border-radius: 50%; height: 1.2rem; width: 1.2rem; }
.stats-night.is-on i { background: #ffcf5a; border-color: #ffcf5a; box-shadow: 0 0 8px var(--arcade-amber), 0 0 18px rgba(255,191,63,.7); }
.stats-night span { color: #56708a; font-family: 'Silkscreen', monospace; font-size: .7rem; letter-spacing: .06em; }
.stats-night.is-on span { color: var(--arcade-cyan); }
.settings .inbox-section { margin-top: 1.8rem; }
.inbox-card.is-trade { align-items: flex-start; }
.inbox-card-actions { align-items: center; display: flex; justify-content: space-between; margin-top: .45rem; }
.loyalty-main .inbox-card-copy .inbox-card-actions form { margin: 0; }
.settings-handle { border-bottom: 1px dashed rgba(83,224,255,.18); padding-bottom: 1rem; }
