/* Round 2 of his notes (03-11): working demo pages (players, account, store, tickets, changelog). Same
   tokens and parts as v2.css; nothing new in type or colour except the platform brand colours. */

.demo-note { margin-top: 40px; color: var(--mute); font-size: 14px; }
.page-h { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; margin-bottom: clamp(28px, 3vw, 44px); }
.page-h .lead { max-width: 34em; color: var(--mute); }
.pill-new { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--zest); color: var(--zest-ink); font-size: 13px; font-weight: 700; }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 999px; background: var(--raise-2); font-size: 13px; font-weight: 700; white-space: nowrap; }
.plan-gold { color: var(--gold-hi); }
.plan-free { color: var(--mute); }
.plan-dev { color: #C0485A; } .plan-beta { color: #3FC7B4; } .plan-priv { color: var(--mute); font-style: italic; }
.sel { min-height: 52px; padding: 0 44px 0 18px; border: 0; border-radius: 999px; background: var(--raise-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%239A9EA6' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 16px center / 18px; color: var(--ink); font: 600 var(--fs-small) var(--text); appearance: none; cursor: pointer; }
.sel:focus { outline: none; box-shadow: 0 0 0 2px var(--zest); }
.controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 24px; }
.controls .field { flex: 1 1 320px; min-height: 52px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tabs button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--raise-2); color: var(--mute); font: 600 var(--fs-small) var(--text); cursor: pointer; }
.tabs button[aria-pressed="true"] { background: var(--ink); color: var(--ground); }
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 28px; }
.pager button { min-width: 44px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px; background: var(--raise); color: var(--ink); font: 600 var(--fs-small) var(--text); cursor: pointer; }
.pager button[aria-current="true"], .pager button[aria-current="page"] { background: var(--zest); color: var(--zest-ink); }
.pager button:disabled { opacity: 0.35; cursor: default; }
.empty { padding: 48px 24px; text-align: center; color: var(--mute); background: var(--raise); border-radius: var(--radius); }

/* ---------- SUPPORT header: title row like every other page, then the search ---------- */
.s-ask2 .field { min-height: 72px; padding: 0 26px; }
.s-ask2 .field input { font-size: var(--fs-lead); }

/* ---------- PLAYERS ---------- */
.pl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.pl-card { display: flex; align-items: center; gap: 16px; padding: 18px; background: var(--raise); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: background-color 0.14s var(--ease); }
.pl-card:hover { background: var(--raise-2); color: var(--ink); }
.pl-card .head { width: 56px; height: 56px; flex: none; }
.pl-card b { display: block; font-size: var(--fs-body); }
.pl-card small { display: block; color: var(--mute); font-size: 14px; margin-top: 2px; }
.lb { width: 100%; border-collapse: separate; border-spacing: 0 8px; }
.lb th { text-align: left; color: var(--mute); font: 600 14px var(--text); padding: 0 20px; }
.lb td { padding: 14px 20px; background: var(--raise); font-variant-numeric: tabular-nums; }
.lb td:first-child { border-radius: 14px 0 0 14px; width: 70px; font: 800 20px var(--display); color: var(--mute); }
.lb td:last-child { border-radius: 0 14px 14px 0; }
.lb tr:nth-child(-n+3) td:first-child { color: var(--zest); }
.lb a { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 700; text-decoration: none; }
.lb a:hover { color: var(--zest); }
.lb .head { width: 36px; height: 36px; border-radius: 8px; }
.lb .num-c { text-align: right; }

/* player profile */
.pr-cos2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 14px; }
.pr-cos-cell { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.pr-cos-name { color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pr-cos-name:hover { color: var(--zest); }
/* a cosmetic as the new store draws it (04-11): the cut-out on a blurred scene, a cloak as its front turned on a dark stage */
.cos-tile { position: relative; display: grid; place-items: center; aspect-ratio: 10 / 13; border-radius: var(--radius-sm); overflow: hidden;
  background-color: var(--raise-2); background-size: cover; background-position: center; transition: transform 0.2s var(--ease); }
a.cos-tile:hover { transform: translateY(-2px); }
.cos-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cos-tile.is-cloak { perspective: 700px; background: radial-gradient(90% 60% at 50% 30%, rgba(230, 230, 232, 0.08), rgba(230, 230, 232, 0) 65%), #111112; }
.cos-tile.is-cloak img { width: auto; height: 72%; max-width: 66%; object-fit: contain; border-radius: 2px; transform: rotateY(-32deg) rotateX(4deg);
  box-shadow: 1px 0 0 #3a3a3e, 2px 0 0 #333337, 3px 0 0 #2c2c30, 4px 0 0 #26262a, 18px 22px 30px -14px rgba(0, 0, 0, 0.9); }
.cos-worn { position: absolute; left: 8px; top: 8px; padding: 4px 9px; border-radius: 999px; background: var(--zest); color: var(--zest-ink); font: 700 12px/1 var(--text); }
.near { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.near li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 14px; border-radius: 12px; background: var(--raise-2); font-size: var(--fs-small); }
.near li.me { box-shadow: inset 0 0 0 2px var(--zest); }
.near img { width: 28px; height: 28px; border-radius: 6px; image-rendering: pixelated; }
.near b { font-variant-numeric: tabular-nums; }

/* ---------- ACCOUNT CENTRE ---------- */
.ac-grid { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: start; }
.ac-nav { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 4px; }
.ac-nav a { padding: 12px 16px; border-radius: 12px; color: var(--mute); text-decoration: none; font-weight: 600; }
.ac-nav a:hover, .ac-nav a.on { background: var(--raise); color: var(--ink); }
.ac-main { display: flex; flex-direction: column; gap: clamp(16px, 1.8vw, 24px); }
.ac-sec { scroll-margin-top: 100px; }
.ac-sec h2 { font-size: var(--fs-h3); margin-bottom: 16px; }
.ac-top { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.ac-top .head { width: 88px; height: 88px; image-rendering: pixelated; border-radius: var(--radius-sm); }
.ac-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.ac-stats div { padding: 18px 20px; border-radius: 14px; background: var(--raise-2); }
.ac-stats dt { color: var(--mute); font-size: 14px; }
.ac-stats dd { margin: 6px 0 0; font: 800 28px/1 var(--display); font-variant-numeric: tabular-nums; }
.bars-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 10px; align-items: end; height: 150px; }
.bars-week div { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; height: 100%; color: var(--mute); font-size: 13px; }
.bars-week i { display: block; width: 100%; border-radius: 8px; background: var(--zest); }
.locker { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.locker figure { margin: 0; position: relative; border-radius: 14px; overflow: hidden; background: var(--raise-2); }
.locker img { display: block; width: 100%; aspect-ratio: 10 / 16; object-fit: cover; }
.locker figcaption { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px 12px; font-size: 13px; font-weight: 600; }
.locker button { min-height: 34px; border: 0; border-radius: 999px; background: var(--raise-3); color: var(--ink); font: 700 13px var(--text); cursor: pointer; }
.locker button[aria-pressed="true"] { background: var(--zest); color: var(--zest-ink); }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatches button { width: 52px; height: 52px; border: 0; border-radius: 14px; background: var(--raise-2); cursor: pointer; display: grid; place-items: center; }
.swatches button[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--zest); }
.swatches img { width: 28px; height: 28px; image-rendering: pixelated; }
.swatches button:disabled { opacity: 0.35; cursor: not-allowed; }
.toggles { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.toggles li { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; box-shadow: inset 0 -1px 0 var(--raise-3); }
.toggles li:last-child { box-shadow: none; }
.toggles b { display: block; }
.toggles small { color: var(--mute); font-size: 14px; }
.sw { flex: none; position: relative; width: 50px; height: 30px; border: 0; border-radius: 999px; background: var(--raise-3); cursor: pointer; transition: background-color 0.15s var(--ease); }
.sw::after { content: ""; position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 999px; background: var(--ink); transition: transform 0.15s var(--ease); }
.sw[aria-checked="true"] { background: var(--zest); }
.sw[aria-checked="true"]::after { transform: translateX(20px); background: var(--zest-ink); }
.tbl { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.tbl th { text-align: left; color: var(--mute); font-weight: 600; padding: 0 12px 10px; }
.tbl td { padding: 14px 12px; box-shadow: inset 0 1px 0 var(--raise-3); font-variant-numeric: tabular-nums; }
.tbl .r { text-align: right; }

/* ---------- TICKETS ---------- */
.tk-list { display: flex; flex-direction: column; gap: 8px; }
.tk { display: grid; grid-template-columns: 90px minmax(0, 1fr) 170px 150px 120px; gap: 20px; align-items: center; padding: 18px 22px; background: var(--raise); border-radius: 16px; color: var(--ink); text-decoration: none; font-size: var(--fs-small); }
.tk:hover { background: var(--raise-2); color: var(--ink); }
.tk b { font-size: var(--fs-body); }
.tk .mute { font-size: 14px; }
.st { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.st::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: currentColor; }
.st-open { color: var(--zest); } .st-wait { color: #F2B84B; } .st-closed { color: var(--mute); }
.thread { display: flex; flex-direction: column; gap: 14px; }
.msg { max-width: 760px; padding: 18px 22px; border-radius: 18px; background: var(--raise); }
.msg.you { align-self: flex-end; background: #12261A; }
.msg header { display: flex; gap: 12px; align-items: baseline; margin-bottom: 8px; font-size: 14px; }
.msg header b { font-size: var(--fs-small); }
.msg p { font-size: var(--fs-small); line-height: 1.6; color: #D4D6DB; }
.form select { min-height: 54px; }

/* ---------- APPEAL drop zone ---------- */
.drop2 { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 130px; padding: 20px; border: 2px dashed var(--raise-3); border-radius: 14px; background: transparent; color: var(--mute); font-size: var(--fs-small); text-align: center; cursor: pointer; transition: border-color 0.15s var(--ease), color 0.15s var(--ease); }
.drop2:hover { border-color: var(--zest); color: var(--ink); }
.drop2 svg { color: var(--zest); }

/* ---------- CHANGELOG ---------- */
.cl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.cl > li { background: var(--raise); border-radius: var(--radius); }
.cl-row { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto auto; gap: clamp(20px, 3vw, 48px); align-items: center; width: 100%; padding: clamp(20px, 2vw, 28px); border: 0; background: none; color: var(--ink); text-align: left; font: inherit; cursor: pointer; }
.cl-row time { color: var(--mute); font-weight: 600; font-size: var(--fs-small); }
.cl-row time b { display: flex; align-items: center; gap: 10px; color: var(--zest); font: 800 22px/1.2 var(--display); margin-bottom: 2px; }
.cl-row p { color: #C9CBD1; font-size: var(--fs-small); line-height: 1.55; }
.cl-row .more { display: inline-block; margin-top: 8px; color: var(--zest); font-weight: 600; font-size: 14px; }
.vers { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.ver-chip { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--raise-2); font-weight: 700; font-size: 14px; white-space: nowrap; }
.ver-chip svg { width: 24px; height: 24px; }
.ver-chip.v189 { color: var(--zest); } .ver-chip.v121 { color: #6E9BFF; } .ver-chip.vl { color: var(--ink); }
.cl-items { list-style: none; margin: 0; padding: 0 clamp(20px, 2vw, 28px) clamp(20px, 2vw, 28px); display: none; flex-direction: column; gap: 8px; }
.cl-items { display: flex; }
.cl-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.38s var(--ease); }
.cl-body > div { overflow: hidden; min-height: 0; }
.cl > li.open .cl-body { grid-template-rows: 1fr; }
.cl-chev { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: var(--raise-2); color: var(--ink); transition: transform 0.38s var(--ease), background 0.2s; }
.cl-row:hover .cl-chev { background: var(--raise-3); }
.cl > li.open .cl-chev { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .cl-body, .cl-chev { transition: none; } }
.cl-items li { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 14px; padding: 12px 16px; background: var(--raise-2); border-radius: 12px; font-size: var(--fs-small); line-height: 1.5; }
.cl-items span { font-weight: 700; font-size: 14px; }
.t-feat { color: var(--zest); } .t-perf { color: #6E9BFF; } .t-fix { color: var(--mute); }
/* the open release, one section per kind of change (his ask 04-11) */
.cl-secs { display: flex; flex-direction: column; gap: 22px; padding: 4px clamp(20px, 2vw, 28px) clamp(20px, 2vw, 28px); }
.cl-secs .cl-items { padding: 0; }
.cl-secs .cl-items li { grid-template-columns: minmax(0, 1fr); }
.cl-sec-h { display: flex; align-items: baseline; gap: 8px; margin: 0 0 10px; font: 700 17px/1.2 var(--display); }
.cl-sec-h em { font: 600 14px/1 var(--text); font-style: normal; color: var(--faint, var(--mute)); }
.cl-copy { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 0; border-radius: 10px;
  background: var(--raise-2); color: var(--ink); font: 600 14px/1 var(--text); cursor: pointer; transition: background-color 0.2s var(--ease), color 0.2s var(--ease); }
.cl-copy:hover { background: var(--raise-3, rgba(255, 255, 255, 0.1)); }
.cl-copy.done { color: var(--zest); }

/* ---------- STORE ---------- */
.st-hero2 { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px clamp(32px, 4vw, 64px); align-items: center; }
.st-hero2 img { display: block; width: 100%; height: auto; }
.shop { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.shop a { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--raise); color: var(--ink); text-decoration: none; transition: transform 0.18s var(--ease), background-color 0.14s var(--ease); }
.shop a:hover { transform: translateY(-3px); background: var(--raise-2); color: var(--ink); }
.shop .thumb { position: relative; aspect-ratio: 10 / 16; background: var(--raise-2); }
.shop .thumb img { width: 100%; height: 100%; object-fit: cover; }
.shop .tagrow { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; }
.shop .tagrow span { padding: 4px 10px; border-radius: 999px; background: rgba(10, 11, 13, 0.85); font-size: 12px; font-weight: 700; }
.shop .info { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
.shop .info b { font-size: var(--fs-small); }
.shop .info small { color: var(--mute); font-size: 13px; }
.shop .info .price { margin-top: 6px; font: 800 18px var(--display); }
.it-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.it-pic { border-radius: var(--radius); overflow: hidden; background: var(--raise); }
.it-pic img { display: block; width: 100%; aspect-ratio: 10 / 16; object-fit: cover; max-height: 760px; }
.it-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; position: sticky; top: 100px; }
.it-copy h1 { font-size: clamp(40px, 4vw, 64px); }
.it-price { font: 800 40px/1 var(--display); }
.it-meta { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; font-size: var(--fs-small); margin: 0; }
.it-meta dt { color: var(--mute); }
.it-meta dd { margin: 0; font-weight: 600; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); padding: 14px 22px; border-radius: 999px; background: var(--ink); color: var(--ground); font-weight: 700; opacity: 0; pointer-events: none; transition: opacity 0.2s var(--ease), transform 0.2s var(--ease); z-index: 80; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- CREATORS: platform table ---------- */
.cr-title { font-size: clamp(48px, 5vw, 84px); max-width: 11em; }
.cr-perks2 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 24px); }
/* each perk: its icon in a tile, the name, a line about it (his ask 04-11); Creator-only ones carry a small tag */
.cr-perks2 > div { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: clamp(24px, 2.6vw, 32px); background: var(--raise); border-radius: var(--radius); }
.cr-perks2 b { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font: 800 24px/1.15 var(--display); letter-spacing: -0.02em; }
.cr-perks2 p { margin: 0; color: var(--mute); font-size: var(--fs-small); line-height: 1.5; }
.cr-pk-ic { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 4px; border-radius: 14px; background: color-mix(in srgb, var(--indigo) 16%, transparent); color: var(--indigo); }
.cr-pk-ic svg { flex: none; }
.cr-pk-tier { padding: 5px 10px; border-radius: 999px; background: var(--indigo); color: #fff; font: 700 12px/1 var(--text); letter-spacing: 0; }

/* Partner, then Creator: one rail down the page, an arrow between the steps */
.cr-path { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.cr-step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: clamp(16px, 2vw, 24px); align-items: start; padding: clamp(22px, 2.4vw, 30px); border-radius: var(--radius); background: var(--raise); }
.cr-step-top { background: color-mix(in srgb, var(--indigo) 12%, var(--raise)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--indigo) 45%, transparent); }
.cr-dot { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; background: color-mix(in srgb, var(--indigo) 16%, transparent); color: var(--indigo); }
.cr-dot img { width: 30px; height: 30px; image-rendering: pixelated; }
.cr-step-top .cr-dot { background: var(--indigo); color: #fff; }
.cr-step-body h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 4px 0 6px; font: 800 clamp(22px, 2vw, 26px)/1.15 var(--display); letter-spacing: -0.02em; }
.cr-step-body p { margin: 0; color: var(--mute); line-height: 1.55; }
.cr-step-perks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; }
.cr-step-perks li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: var(--raise-2); font: 600 var(--fs-small)/1 var(--text); }
.cr-step-perks svg { width: 16px; height: 16px; color: var(--indigo); }
.cr-arrow { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: clamp(16px, 2vw, 24px); align-items: center; padding: 0 clamp(22px, 2.4vw, 30px); min-height: 72px; color: var(--mute); font-size: var(--fs-small); }
.cr-arrow span { position: relative; display: grid; place-items: center; height: 72px; color: var(--indigo); }
.cr-arrow span::before { content: ""; position: absolute; top: 6px; bottom: 26px; left: 50%; width: 2px; margin-left: -1px; border-radius: 2px; background: color-mix(in srgb, var(--indigo) 45%, transparent); }
.cr-arrow span svg { position: relative; margin-top: 34px; }
.req { width: 100%; border-collapse: separate; border-spacing: 10px; margin: -10px; }
.req th { color: var(--mute); font: 600 var(--fs-small) var(--text); padding: 0 8px 4px; text-align: center; }
.req td { padding: 20px; border-radius: 16px; background: var(--raise); text-align: center; font-weight: 600; }
.req td b { font: 800 28px/1 var(--display); display: block; margin-bottom: 4px; }
.req td small { color: var(--mute); font-size: 14px; }
.req td small.req-sub { display: block; margin-top: 6px; color: var(--ink, #fff); opacity: .8; font-weight: 700; }
.req td.pf { width: 26%; }
.req .pf span { display: inline-flex; align-items: center; justify-content: center; gap: 12px; font: 700 22px var(--display); }
.req tr[data-pf="yt"] td:not(.pf) { background: color-mix(in srgb, #FF0033 9%, var(--raise)); }
.req tr[data-pf="tw"] td:not(.pf) { background: color-mix(in srgb, #9146FF 11%, var(--raise)); }
.req tr[data-pf="tt"] td:not(.pf) { background: color-mix(in srgb, #25F4EE 7%, var(--raise)); }

/* platform brand colours (socials + creators) */
.c-discord { color: #7C86FF; } .c-youtube { color: #FF3355; } .c-tiktok { color: #25F4EE; }
.c-instagram { color: #F0569A; } .c-x { color: var(--ink); } .c-twitch { color: #A970FF; } .c-mail { color: var(--zest); }

/* ---------- SOCIALS ---------- */
.so2 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.8vw, 24px); }
.so2 a { display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 2.6vw, 32px); background: var(--raise); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: background-color 0.14s var(--ease); }
.so2 a:hover { background: var(--raise-2); color: var(--ink); }
.so2 .top { display: flex; align-items: center; gap: 14px; }
.so2 .top svg { width: 30px; height: 30px; flex: none; }
.so2 .top b { font: 700 26px/1.1 var(--display); }
.so2 .handle { font: 700 19px var(--text); color: var(--ink); }
.so2 p { color: var(--mute); font-size: var(--fs-small); line-height: 1.5; }
.so2 .big { grid-column: span 2; grid-row: span 2; justify-content: flex-end; min-height: 380px; background: color-mix(in srgb, #5865F2 22%, var(--raise)); }
.so2 .big:hover { background: color-mix(in srgb, #5865F2 30%, var(--raise)); }
.so2 .big .top svg { width: 44px; height: 44px; }
.so2 .big .top b { font-size: var(--fs-h2); letter-spacing: -0.035em; }
.so2 .big .handle { font-size: 22px; }
.so2 .soon { opacity: 0.55; }

@media (max-width: 1100px) {
  .tk { grid-template-columns: 80px minmax(0, 1fr) 140px; }
  .tk > :nth-child(4), .tk > :nth-child(5) { display: none; }
  .cr-perks2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .cr-perks2 { grid-template-columns: minmax(0, 1fr); }
  .cr-step, .cr-arrow { grid-template-columns: 44px minmax(0, 1fr); }
  .cr-dot { width: 44px; height: 44px; border-radius: 13px; }
}
@media (max-width: 900px) {
  .ac-grid, .it-grid, .st-hero2 { grid-template-columns: minmax(0, 1fr); }
  .ac-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .cl-row { grid-template-columns: minmax(0, 1fr); }
  .vers { justify-content: flex-start; }
  .so2 { grid-template-columns: minmax(0, 1fr); }
  .so2 .big { grid-column: auto; grid-row: auto; min-height: 260px; }
  .ac-stats { grid-template-columns: minmax(0, 1fr); }
  .it-copy { position: static; }
}
.req .pf svg { width: 28px; height: 28px; }

/* phones: the leaderboard keeps rank, player and playtime; the requirements table tightens */
@media (max-width: 640px) {
  .lb th:nth-child(3), .lb td:nth-child(3), .lb th:nth-child(4), .lb td:nth-child(4) { display: none; }
  .lb td, .lb th { padding-left: 12px; padding-right: 12px; }
  .lb td:first-child { width: 40px; }
  .req { border-spacing: 6px; margin: -6px; }
  .req td { padding: 14px 6px; }
  .req td b { font-size: 20px; }
  .req .pf span { font-size: 0; gap: 0; }
  .req td small { font-size: 12px; }
}

/* tickets: unread, signed out, the appeal reference */
.tk.unread b { color: var(--ink); }
.tk .dot { display: inline-block; width: 9px; height: 9px; margin-right: 10px; border-radius: 50%; background: var(--zest); vertical-align: 2px; }
.tk.hl { outline: 2px solid var(--zest); outline-offset: -2px; }
.tk-signin { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.tk-signin h2 { font-size: var(--fs-h3); margin-bottom: 6px; }
.kinds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.kinds button, .kinds a { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: var(--raise-2); color: var(--ink);
  font: 600 var(--fs-small)/44px var(--text); cursor: pointer; text-decoration: none; }
.kinds [aria-pressed="true"] { background: var(--zest); color: var(--zest-ink); }
.form .lbl { font-weight: 600; }
.ap-err { color: #FF7A7A; font-weight: 600; margin: 0; }
.ap-sent h2 { font-size: var(--fs-h3); margin-bottom: 6px; }
.ap-ref { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
.ap-ref div { flex: 1 1 200px; padding: 16px 18px; border-radius: 14px; background: var(--raise-2); }
.ap-ref dt { color: var(--mute); font-size: var(--fs-small); }
.ap-ref dd { margin: 4px 0 0; font: 800 26px/1.2 var(--display); letter-spacing: .02em; user-select: all; }

/* round 3: 3D figures, account parts, players podium */
.fig3d { position: relative; width: 150px; height: 200px; flex: none; border-radius: 16px; background: radial-gradient(circle at 50% 35%, var(--raise-3), var(--raise-2)); overflow: hidden; }
.fig3d.tall { width: 100%; height: 340px; }
.fig3d canvas { display: block; width: 100% !important; height: 100% !important; }
.fig3d.flat { display: grid; place-items: center; }
.fig3d.flat .head { width: 96px; height: 96px; border-radius: 12px; }
.uuid { font: 500 13px/1.4 ui-monospace, Consolas, monospace; color: var(--ink); word-break: break-all; }
.link-btn { border: 0; background: none; padding: 0; color: var(--zest); font: 600 var(--fs-small) var(--text); cursor: pointer; }
.ac-note { margin-bottom: 20px; }
.ac-signin h1 { margin-bottom: 8px; }
.ac-steps { margin: 24px 0; padding-left: 22px; display: grid; gap: 14px; font-weight: 600; }
.ac-code { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.ac-code b { font: 800 34px/1 var(--display); letter-spacing: .08em; padding: 14px 20px; border-radius: 14px; background: var(--raise-2); user-select: all; }
.ac-keep { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; font-weight: 600; }
.ac-keep input { width: 18px; height: 18px; accent-color: var(--zest); }
.ac-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 0 0 20px; }
.ac-tiles div { padding: 16px 18px; border-radius: 14px; background: var(--raise-2); }
.ac-tiles dt { color: var(--mute); font-size: var(--fs-small); }
.ac-tiles dd { margin: 6px 0 0; font: 800 24px/1.15 var(--display); }
.ac-tiles small { display: block; margin-top: 4px; font: 500 13px var(--text); color: var(--mute); }
.ac-tiles small.up { color: var(--zest); }
.bills { display: grid; gap: 8px; }
.bill { border-radius: 14px; background: var(--raise-2); }
.bill summary { display: grid; grid-template-columns: 120px minmax(0,1fr) auto; gap: 16px; align-items: center; padding: 14px 18px; cursor: pointer; list-style: none; }
.bill summary::-webkit-details-marker { display: none; }
.bill .amt { font-weight: 700; font-variant-numeric: tabular-nums; }
.bill.refunded .amt { color: var(--mute); }
.bill.gift b::after { content: "Gift"; margin-left: 10px; padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--gold); font-size: 12px; }
.bill-more { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 0 18px 14px; font-size: var(--fs-small); }
.locker figure.worn { outline: 2px solid var(--zest); outline-offset: -2px; }
.locker figure > a { display: block; }
.locker figcaption .eq { color: var(--zest); font-weight: 700; }
.swatches .swatch { display: grid; justify-items: center; gap: 4px; width: 104px; padding: 12px 6px; height: auto; }
.swatches .swatch span { font-size: 13px; font-weight: 600; color: var(--ink); }
.swatches .swatch small { font-size: 12px; color: var(--mute); }
.swatches .swatch { position: relative; }
.sw-tick { position: absolute; left: 8px; top: 8px; width: 20px; height: 20px; border-radius: 999px; background: var(--zest); opacity: 0; transform: scale(0.6); transition: opacity 0.2s, transform 0.2s var(--ease); }
.sw-tick::after { content: ""; position: absolute; inset: 0; background: var(--zest-ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5 10.5 17 18 8' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5 10.5 17 18 8' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.swatches .swatch[aria-pressed="true"] .sw-tick { opacity: 1; transform: none; }
.pr-none { max-width: 680px; display: grid; gap: 14px; justify-items: start; }
.pr-stat dd.hid { color: var(--mute); }
.podium { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: end; margin-bottom: 16px; }
.pod { position: relative; display: grid; justify-items: center; gap: 6px; padding: 22px 12px 18px; border-radius: 18px; background: var(--raise); color: var(--ink); text-decoration: none; }
.pod.p1 { padding-top: 40px; background: color-mix(in srgb, var(--zest) 10%, var(--raise)); }
.pod .head { width: 64px; height: 64px; border-radius: 12px; }
.pod span { color: var(--mute); font-size: var(--fs-small); }
.pod i { position: absolute; top: 12px; left: 16px; font: 800 22px var(--display); font-style: normal; color: var(--zest); }
.pod:hover b { color: var(--zest); }
.yourrank { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; margin-bottom: 8px; padding-top: 16px; padding-bottom: 16px; }
.yourrank b { font: 800 20px var(--display); }
@media (max-width: 640px) { .ac-top { flex-wrap: wrap; } .bill summary { grid-template-columns: 1fr auto; } .bill summary .mute { grid-column: 1 / -1; } }
/* creator application (round 4, his note 04-11): titled groups split by a hairline, one column grid for the
   channel rows with the headings printed once above them, the site's own tick box in indigo */
.cr-form { display: grid; gap: 0; }
.cr-grp { display: grid; gap: 18px; margin: 0; padding: 0 0 28px; border: 0; min-width: 0; }
.cr-grp + .cr-grp, .cr-send { padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.07); }
.cr-grp legend { float: left; width: 100%; padding: 0; margin-bottom: 18px; font: 700 var(--fs-lead)/1.2 var(--display); }
.cr-grp legend small, .cr-lab small { margin-left: 8px; color: var(--mute); font: 500 var(--fs-small) var(--text); }
.cr-grp legend + * { clear: both; }
.cr-cols, [data-page="creators"] .cr-row { display: grid; grid-template-columns: 180px minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.cr-cols span { font-weight: 600; font-size: var(--fs-small); }
.cr-cols { margin-bottom: -8px; }
.cr-pf { display: grid; gap: 12px; }
[data-page="creators"] .cr-row .sel { min-height: 54px; border-radius: 14px; }
.cr-add { display: inline-flex; align-items: center; gap: 8px; justify-self: start; }
.cr-three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.cr-lab { display: block; }
.form input::placeholder, .form textarea::placeholder { color: color-mix(in srgb, var(--mute) 70%, transparent); text-transform: none; }
.form label.cr-tick { display: flex; flex-direction: row; align-items: flex-start; gap: 12px; font-size: var(--fs-body); font-weight: 500; line-height: 1.45; cursor: pointer; }
.form label.cr-tick input {
  flex: none; width: 22px; height: 22px; min-height: 0; margin: 1px 0 0; padding: 0; border-radius: 7px;
  appearance: none; background: var(--raise-3, #2A2E35); cursor: pointer; transition: background-color 0.14s var(--ease);
}
.form label.cr-tick input:checked {
  background: var(--indigo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 16px;
}
.form label.cr-tick input:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--indigo); }
.cr-send { display: grid; gap: 20px; justify-items: start; }
@media (max-width: 760px) {
  .cr-cols { display: none; }
  [data-page="creators"] .cr-row { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px; border-radius: 16px; background: color-mix(in srgb, var(--raise-2) 50%, transparent); }
  [data-page="creators"] .cr-row .sel, [data-page="creators"] .cr-row .fsel, [data-page="creators"] .cr-row input[type="url"] { grid-column: 1 / -1; }
  .cr-three { grid-template-columns: 1fr; }
}

/* legal pages (terms, privacy, ...) inside the v2 shell */
.legal { max-width: 900px; }
.legal .prose h1 { font-size: var(--fs-h2); margin-bottom: 12px; }
.legal .prose h2 { font-size: var(--fs-h3); margin: 44px 0 12px; }
.legal .prose h3 { font-size: 19px; margin: 28px 0 8px; }
.legal .prose p, .legal .prose li { color: color-mix(in srgb, var(--ink) 82%, var(--mute)); line-height: 1.65; }
.legal .prose p { margin: 0 0 14px; }
.legal .prose ul, .legal .prose ol { margin: 0 0 16px; padding-left: 22px; display: grid; gap: 6px; }
.legal .prose a { color: var(--zest); }
.legal .prose table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: var(--fs-small); }
.legal .prose th, .legal .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(255,255,255,.08); vertical-align: top; }
.legal .prose code { font-size: .9em; }
.tm-link { display: contents; color: inherit; text-decoration: none; }
.tm-link:hover b { color: var(--zest); }
.cl-items .cl-link { list-style: none; padding-top: 6px; }
.form label.ac-keep { display: flex; flex-direction: row; align-items: center; gap: 10px; text-align: left; }
.form label.ac-keep input { width: 18px; height: 18px; min-height: 0; flex: none; padding: 0; }

/* players (his notes 03-11 eve): names in the colour of the icon they wear, the card's facts as "Label: value",
   Online in green, a real Back button, arrows on the pager */
.pname { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.pname-mark { width: 18px; height: 18px; image-rendering: pixelated; flex: none; }
.pod .pname { justify-content: center; }
.pr-back { min-height: 44px; padding: 0 20px 0 14px; margin-bottom: 24px; font-size: var(--fs-small); }
.pr-facts { display: flex; flex-direction: column; gap: 8px; margin: 0; font-size: var(--fs-small); }
.pr-facts > div { display: flex; flex-wrap: wrap; gap: 6px; }
.pr-facts dt { color: var(--mute); }
.pr-facts dd { margin: 0; font-weight: 600; }
.pr-online { color: var(--zest); font-weight: 700; }
.pr-online::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 999px; background: var(--zest); vertical-align: 1px; }
.pager .pg-arrow { display: inline-grid; place-items: center; }
.pager .pg-arrow:disabled { opacity: 0.35; cursor: default; }

/* players round 3: a leaderboard row is one click target */
.lb tr.lb-row { cursor: pointer; }
.lb tr.lb-row td { transition: background-color 0.14s var(--ease); }
.lb tr.lb-row:hover td { background: var(--raise-2); }
.lb tr.lb-row:hover a { color: var(--zest); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* account round 3: no title row; Sign out sits at the foot of the section menu */
.ac-out { margin-top: 12px; padding: 12px 16px; border: 0; border-radius: 12px; background: none; color: var(--mute); font: 600 var(--fs-body) var(--text); text-align: left; cursor: pointer; }
.ac-out:hover { background: var(--raise); color: var(--ink); }

/* tickets: search left, status filters right (04-11) */
.tk-controls { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.tk-controls .field { flex: 1 1 auto; min-width: 0; }
.tk-controls .tabs { flex: none; margin-left: auto; }
@media (max-width: 760px) { .tk-controls { flex-direction: column; align-items: stretch; } .tk-controls .tabs { margin-left: 0; overflow-x: auto; } }

/* ONE TICKET (04-11): the live thread's layout in the new look */
.tkv { max-width: 980px; }
.tkv-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin: 20px 0 22px; }
.tkv-head h1 { font-size: clamp(30px, 3vw, 44px); max-width: 24ch; }
.tkv-thread { display: flex; flex-direction: column; gap: 22px; padding: clamp(18px, 2.2vw, 28px); border-radius: var(--radius); background: var(--raise); max-height: 62vh; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--raise-3) transparent; }
.tkv-msg { display: flex; gap: 12px; align-items: flex-start; max-width: 82%; }
.tkv-msg.mine { flex-direction: row-reverse; align-self: flex-end; }
.tkv-av { width: 38px; height: 38px; flex: none; border-radius: 10px; image-rendering: pixelated; background: var(--raise-2); }
.tkv-av.is-team { image-rendering: auto; padding: 6px; }
.tkv-col { min-width: 0; display: flex; flex-direction: column; }
.tkv-msg.mine .tkv-col { align-items: flex-end; }
.tkv-bub { padding: 14px 18px; border-radius: 18px; border-top-left-radius: 6px; background: var(--raise-2); }
.tkv-msg.mine .tkv-bub { border-top-left-radius: 18px; border-top-right-radius: 6px; background: #12261A; }
.tkv-who { display: block; margin-bottom: 6px; font-size: 14px; color: var(--mute); }
.tkv-msg.mine .tkv-who { color: var(--zest); }
.tkv-bub p { margin: 0; font-size: var(--fs-small); line-height: 1.6; color: #D9DBE0; white-space: pre-wrap; }
.tkv-at { margin-top: 6px; font-size: 13px; color: var(--mute); }
.tkv-atts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.tkv-who + .tkv-atts { margin-top: 0; }
.tkv-att-img { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: 12px; overflow: hidden; }
.tkv-att-img img { display: block; max-width: 240px; max-height: 160px; border-radius: 12px; transition: opacity 0.15s; }
.tkv-att-img:hover img { opacity: 0.85; }
.tkv-att-file { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, 0.25); color: var(--mute); }
.tkv-att-file span { display: grid; gap: 2px; min-width: 0; }
.tkv-att-file b { color: var(--ink); font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px; }
.tkv-att-file i { font-style: normal; font-size: 13px; }
/* the reply bar: clip, field, Send in one rounded bar; the file tray floats above it like a dropdown */
.tkv-reply { position: relative; margin-top: 16px; }
.tkv-bar { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: end; gap: 8px; padding: 8px; border-radius: 30px; background: var(--raise); box-shadow: inset 0 0 0 2px transparent; transition: box-shadow 0.15s var(--ease); }
.tkv-bar:focus-within { box-shadow: inset 0 0 0 2px var(--zest); }
.tkv-reply.is-drop .tkv-bar { box-shadow: inset 0 0 0 2px var(--zest); background: #12261A; }
.tkv-clip { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 999px; color: var(--mute); cursor: pointer; transition: background 0.15s, color 0.15s; }
.tkv-clip:hover { background: var(--raise-2); color: var(--zest); }
.tkv-clip input { display: none; }
.tkv-bar textarea { min-height: 46px; max-height: 200px; padding: 12px 4px; border: 0; outline: 0; resize: none; background: none; color: var(--ink); font: 500 var(--fs-small)/1.45 var(--text); }
.tkv-bar textarea::placeholder { color: var(--mute); }
.tkv-send { min-height: 46px; gap: 8px; padding: 0 22px; }
.tkv-limits { margin: 10px 0 0 20px; font-size: 13px; color: var(--mute); }
.tkv-tray { position: absolute; left: 0; right: 0; bottom: calc(100% + 10px); z-index: 5; display: flex; flex-wrap: wrap; gap: 10px; padding: 12px; border-radius: var(--radius-sm); background: var(--raise-2); box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.9); max-height: 200px; overflow-y: auto; }
.tkv-tray[hidden] { display: none; }
.tkv-chip { display: inline-flex; align-items: center; gap: 10px; max-width: 280px; padding: 7px 8px 7px 7px; border-radius: 12px; background: var(--raise-3); }
.tkv-chip.is-bad { box-shadow: inset 0 0 0 2px #E5533C; }
.tkv-thumb { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 8px; overflow: hidden; background: var(--raise); color: var(--mute); }
.tkv-thumb img { width: 100%; height: 100%; object-fit: cover; }
.tkv-meta { min-width: 0; display: grid; gap: 2px; }
.tkv-meta b { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tkv-meta i { font-style: normal; font-size: 12px; color: var(--mute); }
.tkv-chip.is-bad .tkv-meta i { color: #E5533C; }
.tkv-x { width: 26px; height: 26px; flex: none; border: 0; border-radius: 8px; background: none; color: var(--mute); font-size: 20px; line-height: 1; cursor: pointer; }
.tkv-x:hover { color: #E5533C; background: var(--raise); }
.tkv-lb { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; align-content: center; gap: 14px; padding: 56px 24px 24px; background: rgba(6, 6, 7, 0.9); backdrop-filter: blur(6px); }
.tkv-lb[hidden] { display: none; }
.tkv-lb img { max-width: min(1100px, 92vw); max-height: 78vh; border-radius: 12px; }
.tkv-lb-x { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 999px; background: var(--raise-2); color: var(--ink); cursor: pointer; }
@media (max-width: 620px) {
  .tkv-msg { max-width: 100%; }
  .tkv-head { flex-direction: column; }
  .tkv-send { padding: 0 16px; }
  .tkv-att-img img { max-width: 100%; }
}

/* every page and state (localhost only, 04-11) */
.sts-now { display: flex; align-items: center; gap: 16px; margin-bottom: clamp(16px, 1.8vw, 24px); }
.sts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: clamp(16px, 1.8vw, 24px); align-items: start; }
.sts h2 { font-size: var(--fs-h3); margin-bottom: 14px; }
.sts ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.sts li { display: grid; gap: 2px; }
.sts li span { color: var(--mute); font-size: 14px; }

/* about, team by role (round 5, his note 04-11): one panel per role, what the role is on the left, its people right */
.tm-list { display: grid; gap: 14px; }
.tm-panel { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 20px 40px; align-items: center; padding: clamp(22px, 2.4vw, 32px); background: var(--raise); border-radius: var(--radius); }
.tm-about h2 { font-size: var(--fs-h3); margin: 0 0 8px; }
.tm-about p { margin: 0; color: var(--mute); }
.tm-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.tm-people[hidden], .tm-none[hidden] { display: none; }
.tm-card { display: flex; align-items: center; gap: 16px; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--raise-2); color: var(--ink); text-decoration: none; transition: background-color 0.15s var(--ease); }
.tm-card:hover { background: var(--raise-3); color: var(--ink); }
.tm-card .head { width: 56px; height: 56px; border-radius: 10px; image-rendering: pixelated; flex: none; }
.tm-card span { display: grid; gap: 6px; min-width: 0; }
.tm-card b { font-size: var(--fs-body); }
.tm-card small { display: flex; align-items: center; gap: 8px; color: var(--mute); font-size: 14px; }
.tm-card small img { width: 16px; height: 16px; image-rendering: pixelated; }
.tm-none { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--raise-2); }
.tm-none p { margin: 0; color: var(--mute); }
@media (max-width: 760px) { .tm-panel { grid-template-columns: minmax(0, 1fr); } }

/* account locker on the store's pictures (his note 04-11): the tile is .cos-tile; the figure is just the frame */
.locker figure .cos-tile { aspect-ratio: 10 / 13; border-radius: 0; }
.locker figure .cos-tile:hover { transform: none; }

/* account, Creators (his note 04-11): the live member panel's parts in the v2 look, indigo for the creator bits */
#creator { --indigo: #6C63FF; }
.cpm-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.cpm-tier { padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--indigo) 18%, transparent); color: #9B95FF; font: 700 var(--fs-small)/1 var(--text); }
.cpm-code { display: grid; grid-template-columns: auto auto 1fr auto; align-items: center; gap: 14px 18px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--raise-2); margin-bottom: 10px; }
.cpm-code small, .cpm-stat small { display: block; color: var(--mute); font-size: 13px; font-weight: 600; margin-bottom: 4px; }
.cpm-code b { font: 800 28px/1 var(--display); letter-spacing: 0.04em; color: #9B95FF; }
.cpm-link { justify-self: end; text-align: right; }
.cpm-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 16px; }
.cpm-stat { padding: 16px 18px; border-radius: var(--radius-sm); background: var(--raise-2); }
.cpm-stat b { display: block; font: 800 22px/1.2 var(--display); }
.cpm-stat p { margin: 8px 0 0; color: var(--mute); font-size: 14px; line-height: 1.5; }
.cpm-ok { color: var(--zest); }
.cpm-bar { display: block; height: 6px; margin-top: 10px; border-radius: 999px; background: var(--raise-3); overflow: hidden; }
.cpm-bar i { display: block; height: 100%; border-radius: inherit; background: var(--indigo); }
.cpm-h { margin: 28px 0 0; font-size: var(--fs-lead); }
.cpm-pay { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin-top: 12px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--raise-2); }
.cpm-pay p { margin: 0; color: var(--mute); }
.cpm-pay p b { color: var(--ink); }
.cpm-scroll { overflow-x: auto; }
.cpm-table { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 14px; }
.cpm-table th { text-align: left; color: var(--mute); font-weight: 600; padding: 8px 12px; }
.cpm-table td { padding: 11px 12px; border-top: 1px solid rgba(255, 255, 255, 0.06); white-space: nowrap; }
.cpm-table .cpm-num { text-align: right; }
.cpm-hist { max-width: 420px; }
.st-held { color: var(--mute); } .st-payable { color: #9B95FF; } .st-paid { color: var(--zest); } .st-reversed { color: #FF6B6F; }
@media (max-width: 900px) { .cpm-grid { grid-template-columns: minmax(0, 1fr); } .cpm-code { grid-template-columns: 1fr auto; } .cpm-link { justify-self: start; text-align: left; } }
.cpm-table .cpm-num { font: 600 14px/1.3 var(--text); }

/* sign in (his note 04-11): the live card, centred, one Microsoft button */
.ac-out .wrap { max-width: 520px; }
.ac-signin { text-align: center; padding: clamp(32px, 4vw, 48px); }
.ac-signin h1 { font-size: var(--fs-h2); margin: 0 0 10px; }
.ac-signin > p.mute { margin: 0 auto 26px; max-width: 400px; }
.ac-logo { width: 52px; height: 52px; margin: 0 auto 18px; display: block; }
.ac-ms { display: inline-flex; align-items: center; justify-content: center; gap: 12px; width: 100%; max-width: 320px; height: 54px;
  border: 0; border-radius: 999px; background: var(--zest); color: #0B0D10; font: 700 16px/1 var(--text); cursor: pointer;
  transition: transform .15s, filter .15s; }
.ac-ms:hover { filter: brightness(1.06); transform: translateY(-1px); }
.ac-ms:disabled { opacity: .55; cursor: default; transform: none; }
.ac-ms svg { background: #fff; padding: 3px; border-radius: 4px; box-sizing: content-box; }
.ac-keep { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; color: var(--mute); font-size: 14px; cursor: pointer; }
.ac-keep input { width: 16px; height: 16px; accent-color: var(--zest); }
.ac-device { margin-top: 26px; padding: 22px 20px; border-radius: var(--radius-sm); background: var(--raise-2); }
.ac-device-h { margin: 0 0 10px; font-weight: 700; }
.ac-device .ac-code { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 10px; }
.ac-device .ac-code b { font: 800 34px/1 var(--display); letter-spacing: .08em; color: var(--ink); }
.ac-copy { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--raise-3); color: var(--ink); cursor: pointer; }
.ac-copy:hover { color: var(--zest); }
.ac-wait { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 14px 0 0; color: var(--mute); font-size: 14px; }
.ac-wait i { width: 8px; height: 8px; border-radius: 50%; background: var(--zest); animation: acPulse 1.4s ease-in-out infinite; }
@keyframes acPulse { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.ac-legal { margin: 22px 0 0; }
.ac-device .ac-code b { padding: 0; background: none; }
.ac-out .wrap { max-width: 600px; }
.ac-out .ac-signin { width: 100%; box-sizing: border-box; }
.ac-out .ac-signin h1 { font: 800 clamp(28px, 3vw, 36px)/1.15 var(--display); letter-spacing: 0; }
.ac-out .ac-signin > p.mute { max-width: 440px; }

/* staff desks (his note 04-11): the support queue and the creator desk, in the tickets page's parts */
.dk-controls { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 14px; }
.dk-controls .field { flex: 1 1 320px; min-height: 52px; }
.dk-sel { min-height: 52px; padding: 0 40px 0 18px; border: 0; border-radius: 999px; background: var(--raise-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23A6A6AF' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 16px center;
  color: var(--ink); font: 600 var(--fs-small) var(--text); appearance: none; cursor: pointer; }
.dk-list .tk { grid-template-columns: 80px minmax(0, 1fr) 190px 120px 120px 120px; }
.dk-who { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; min-width: 0; }
.dk-who img { width: 28px; height: 28px; border-radius: 6px; image-rendering: pixelated; }
.dk-ctl { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 14px; margin: 0 0 18px; padding: 16px 18px; border-radius: 16px; background: var(--raise); }
.dk-ctl label { display: grid; gap: 6px; color: var(--mute); font-size: 14px; font-weight: 600; }
.dk-ctl .dk-sel { min-height: 44px; min-width: 170px; }
.dk-ctl-act { display: flex; gap: 10px; margin-left: auto; }
.dk-close:hover { color: #FF6B6F; }
.dk-notes { margin-top: 30px; padding: 22px; border-radius: 16px; background: color-mix(in srgb, #F2B84B 7%, var(--raise)); }
.dk-notes h2 { font-size: var(--fs-h3); margin: 0 0 14px; }
.dk-notes h2 small { margin-left: 10px; color: #F2B84B; font: 600 15px var(--text); }
.dk-note { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid rgba(255,255,255,.06); }
.dk-note img { width: 32px; height: 32px; border-radius: 7px; image-rendering: pixelated; }
.dk-note p { margin: 4px 0 0; }
.dk-note-add { display: flex; gap: 10px; align-items: flex-end; margin-top: 12px; }
.dk-note-add textarea { flex: 1; min-height: 52px; padding: 14px 16px; border: 0; border-radius: 14px; background: var(--raise-2); color: var(--ink); font: 400 var(--fs-small)/1.5 var(--text); resize: vertical; }
@media (max-width: 1280px) { .dk-list .tk { grid-template-columns: 70px minmax(0, 1fr) 170px 110px; } .dk-list .tk > :nth-child(5), .dk-list .tk > :nth-child(6) { display: none; } }
@media (max-width: 760px) { .dk-list .tk { grid-template-columns: minmax(0, 1fr) 100px; } .dk-list .tk > :nth-child(1), .dk-list .tk > :nth-child(3) { display: none; } }

.cd2-sub { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.cd2-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mute); display: inline-block; }
.cd2-dot.on { background: var(--zest); }
.cd2 { display: grid; gap: 18px; }
.cd2-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 14px; }
.cd2-head h2 { margin: 0; font-size: var(--fs-h3); }
.cd2-head > .mute { flex: 1 1 300px; font-size: 15px; }
.cd2-app, .cd2-mem { display: grid; gap: 10px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.06); }
.cd2-mem.ended { opacity: .55; }
.cd2-who { display: flex; align-items: center; gap: 12px; }
.cd2-who img { width: 40px; height: 40px; border-radius: 9px; image-rendering: pixelated; }
.cd2-ch { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 15px; }
.cd2-note { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--raise-2); font-size: 15px; }
.cd2-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.cd2-code { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 6px 0 16px; border-radius: 999px; background: var(--raise-2); color: var(--mute); font-weight: 600; font-size: 14px; }
.cd2-code input { width: 150px; height: 36px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--raise-3); color: #9B95FF; font: 800 15px var(--display); letter-spacing: .04em; }
.cd2-pill { display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--raise-3); font-size: 13px; font-weight: 700; color: var(--mute); }
.cd2-pill.gold { background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--gold-hi); }
.cd2-pill.indigo { background: color-mix(in srgb, #6C63FF 20%, transparent); color: #9B95FF; }
.cd2-pill.red { background: color-mix(in srgb, #FF6B6F 18%, transparent); color: #FF8A8D; }
.cd2-tag { padding: 3px 10px; border-radius: 8px; background: var(--raise-3); color: #9B95FF; font: 800 13px var(--display); letter-spacing: .04em; }
.cd2-months { display: flex; flex-wrap: wrap; gap: 10px; }
.cd2-month { display: grid; gap: 4px; padding: 12px 16px; border-radius: 12px; background: var(--raise-2); min-width: 150px; }
.cd2-month b { font: 800 20px var(--display); }
.cd2-month b.hit { color: var(--zest); }
.cd2-month input { accent-color: #6C63FF; vertical-align: -2px; }
.cd2-earn { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font-size: 15px; }
.cd2-danger:hover { color: #FF6B6F; }
.cd2-older summary { cursor: pointer; color: var(--mute); font-weight: 600; padding-top: 12px; }
.cd2-older div { padding: 6px 0; }
.cd2-pay { display: grid; gap: 8px; }
.cd2-dlg { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(0,0,0,.6); }
.cd2-dlg[hidden] { display: none; }
.cd2-dlg-card { width: min(520px, 100%); display: grid; gap: 14px; }
.cd2-dlg-card h3 { margin: 0; }
.cd2-dlg-card p { margin: 0; }
.cd2-dlg-card textarea { min-height: 90px; padding: 14px 16px; border: 0; border-radius: 14px; background: var(--raise-2); color: var(--ink); font: 400 var(--fs-small)/1.5 var(--text); resize: vertical; }
/* [account] */
/* sign in with the launcher's code, under the Microsoft button (04-11) */
.ac-linkcode { margin: 22px auto 0; max-width: 420px; text-align: left; }
.ac-linkcode summary { cursor: pointer; color: var(--mute); font-size: 14px; font-weight: 600; text-align: center; list-style: none; }
.ac-linkcode summary::-webkit-details-marker { display: none; }
.ac-linkcode summary:hover { color: var(--ink); }
.ac-linkcode[open] summary { color: var(--ink); margin-bottom: 12px; }
.ac-linkform { display: flex; gap: 10px; }
.ac-linkform input { flex: 1; min-width: 0; min-height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line, rgba(255, 255, 255, 0.12));
  background: var(--raise-2, rgba(255, 255, 255, 0.05)); color: var(--ink); font: 700 18px/1 var(--text); letter-spacing: 0.08em; }
.ac-linkform input:focus { outline: 2px solid var(--zest); outline-offset: 1px; }
.ac-err { color: #E5484D; margin-top: 10px; }
.ac-signin .ac-ms:disabled { opacity: 0.55; cursor: default; }
.swatch.is-busy, .sw:disabled { opacity: 0.6; }
.cpm-pay .sel { margin: 10px 10px 0 0; }
/* [/account] */
/* [tickets] */
.field-files { display: flex; flex-direction: column; gap: 10px; }
.field-files .lbl small { color: var(--mute); font-weight: 500; }
.drop2.is-drop { border-color: var(--zest); color: var(--ink); background: color-mix(in srgb, var(--zest) 6%, transparent); }
.file-list { display: flex; flex-direction: column; gap: 8px; }
.file-list:empty { display: none; }
.file-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 14px; border-radius: 12px; background: var(--raise-2); font-size: var(--fs-small); }
.file-row b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.file-row.is-bad { box-shadow: inset 0 0 0 1px #E5484D; }
.file-row.is-bad .mute { color: #E5484D; }
.tkv-reply.is-drop { box-shadow: 0 0 0 2px var(--zest); }
[data-closednote] { margin-top: 16px; }
/* [/tickets] */
