/* CoreRP staff panel. Black + wine red, Chakra Petch headings (OFL, bundled). Developed by Roetchi. */
@font-face { font-family: "Chakra Petch"; src: url("fonts/ChakraPetch-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Chakra Petch"; src: url("fonts/ChakraPetch-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }

:root {
  --bg: #0a0809;
  --side: #0f0c0d;
  --card: #151113;
  --card-2: #1c1619;
  --line: #2a2125;
  --line-2: #3a2e33;
  --text: #f3eef0;
  --muted: #9b8d92;
  --wine: #9e1b3c;
  --wine-2: #b8224a;
  --wine-hi: #e0284f;
  --wine-soft: rgba(158, 27, 60, .16);
  --green: #3fae6a;
  --green-soft: rgba(63, 174, 106, .14);
  --amber: #ffae3b;
  --amber-soft: rgba(255, 174, 59, .14);
  --red-soft: rgba(224, 40, 79, .16);
  --radius: 10px;
  --head: "Chakra Petch", "Segoe UI", system-ui, sans-serif;
  --body: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body { background: var(--bg); color: var(--text); font: 14px/1.5 var(--body); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
code { font-family: Consolas, ui-monospace, monospace; background: var(--card-2); border: 1px solid var(--line); border-radius: 5px; padding: 1px 5px; font-size: 12px; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.mono { font-family: Consolas, ui-monospace, monospace; }
.nowrap { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.bad-text { color: var(--wine-hi); font-weight: 600; }

/* ---- layout ---- */
.shell { display: grid; grid-template-columns: 236px 1fr; min-height: 100vh; }
.side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; gap: 22px; padding: 22px 14px 16px;
        background: var(--side); border-right: 1px solid var(--line); }
.main { min-width: 0; padding: 28px clamp(16px, 3vw, 40px) 24px; max-width: 1240px; width: 100%; }
.foot { margin-top: 36px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; text-align: center; letter-spacing: .02em; }

.brand { display: flex; align-items: baseline; gap: 0; padding: 0 10px; font-family: var(--head); font-weight: 700; font-size: 24px;
         letter-spacing: .06em; line-height: 1; flex-wrap: wrap; }
.brand-core { color: var(--text); }
.brand-rp { color: var(--wine-hi); }
.brand small { flex-basis: 100%; margin-top: 6px; font-family: var(--body); font-size: 11px; font-weight: 600; letter-spacing: .18em;
               text-transform: uppercase; color: var(--muted); }
.brand.big { font-size: 40px; justify-content: center; text-align: center; padding: 0; }

.nav { display: flex; flex-direction: column; gap: 2px; }
.nav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; color: var(--muted); font-weight: 600;
         border-left: 3px solid transparent; transition: background .15s, color .15s; }
.nav a:hover { background: var(--card); color: var(--text); }
.nav a.on { background: var(--wine-soft); color: var(--text); border-left-color: var(--wine-hi); }
.nav .ico { width: 18px; text-align: center; color: var(--wine-hi); font-size: 13px; }

.me { margin-top: auto; display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.me-text { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.me-text b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.role { font-size: 11px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.role.admin { color: var(--wine-hi); }
.icon-btn { background: none; border: 1px solid var(--line-2); color: var(--muted); border-radius: 8px; width: 32px; height: 32px; cursor: pointer; font-size: 15px; }
.icon-btn:hover { color: var(--text); border-color: var(--wine); }

/* ---- type ---- */
.h1 { font-family: var(--head); font-weight: 700; font-size: 26px; line-height: 1.2; margin: 0; letter-spacing: .01em; }
.h2 { font-family: var(--head); font-weight: 600; font-size: 16px; margin: 0 0 14px; letter-spacing: .02em; }
.h2 small { font-family: var(--body); font-weight: 400; font-size: 12px; margin-left: 6px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.page-head p { margin: 4px 0 0; }
.back { display: inline-block; color: var(--muted); font-size: 13px; margin-bottom: 10px; }
.back:hover { color: var(--text); }
.num-badge { display: inline-block; font-family: var(--head); font-weight: 700; color: var(--wine-hi); background: var(--wine-soft);
             border: 1px solid rgba(224, 40, 79, .35); border-radius: 7px; padding: 1px 8px; font-size: .8em; vertical-align: middle; }
.link { color: var(--wine-hi); font-weight: 600; font-size: 13px; }
.link:hover { text-decoration: underline; }

/* ---- cards / tiles ---- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; }
.card.narrow { max-width: 560px; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.card-head .h2 { margin: 0; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.grid-2 > .card, .grid-2 .col > .card:last-child { margin-bottom: 0; }
.col { display: flex; flex-direction: column; gap: 16px; }
.col > .card { margin-bottom: 0; }
.grid-2 + .card, .grid-2 { margin-bottom: 16px; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-bottom: 16px; }
.tile { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 14px; background: var(--card);
        border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .15s, transform .15s; }
.tile::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 3px; background: var(--line-2); }
a.tile:hover { border-color: var(--line-2); transform: translateY(-1px); }
.tile.alert::before { background: var(--wine-hi); }
.tile.alert .tile-num { color: var(--wine-hi); }
.tile-label { color: var(--muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.tile-num { font-family: var(--head); font-weight: 700; font-size: 32px; line-height: 1.1; }
.tile-num small { font-size: 15px; color: var(--muted); margin-left: 2px; }
.tile-sub { color: var(--muted); font-size: 12px; }

/* ---- tables ---- */
.table-wrap { overflow-x: auto; margin: 0 -18px; padding: 0 18px; }
.table { width: 100%; border-collapse: collapse; }
.table th { text-align: left; color: var(--muted); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
            padding: 0 10px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 11px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table .num a { font-family: var(--head); font-weight: 700; color: var(--wine-hi); }
.table .subject { max-width: 340px; }
.table .subject a { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.link-row:hover td { background: rgba(255, 255, 255, .02); }
.link-row:hover .subject a { color: #fff; text-decoration: underline; text-decoration-color: var(--wine); }
.empty { color: var(--muted); text-align: center; padding: 22px 0; margin: 0; }

/* ---- chips, people, stars ---- */
.chip { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; padding: 2px 9px; border-radius: 999px;
        background: var(--card-2); border: 1px solid var(--line-2); color: var(--text); white-space: nowrap; margin: 0 4px 4px 0; }
.chip.ok { background: var(--green-soft); border-color: rgba(63, 174, 106, .4); color: #7fdba2; }
.chip.warn { background: var(--amber-soft); border-color: rgba(255, 174, 59, .35); color: var(--amber); }
.chip.dim { color: var(--muted); }
.prio { font-size: 12px; font-weight: 600; white-space: nowrap; }
.prio::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; background: var(--muted); }
.p-low::before { background: #5f8f74; } .p-normal::before { background: #b9adb2; }
.p-high { color: var(--amber); } .p-high::before { background: var(--amber); }
.p-urgent { color: var(--wine-hi); } .p-urgent::before { background: var(--wine-hi); box-shadow: 0 0 0 3px var(--red-soft); }

.person { display: inline-flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; vertical-align: middle; }
.person .pname { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.av { flex: none; width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: var(--wine); color: #fff; display: inline-grid;
      place-items: center; font-weight: 700; font-size: 12px; }
.person.sm .av { width: 22px; height: 22px; font-size: 11px; }
.person.dim { opacity: .55; }
.me .av { width: 34px; height: 34px; }
.people { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.stack { display: inline-flex; }
.stack .av { width: 24px; height: 24px; border: 2px solid var(--card); margin-left: -7px; font-size: 10px; }
.stack .av:first-child { margin-left: 0; }
.stack .more { background: var(--card-2); color: var(--muted); }
.stars { letter-spacing: 1px; white-space: nowrap; }
.stars i { font-style: normal; color: #3a3034; }
.stars i.on { color: var(--amber); }
.rating-big { display: flex; align-items: center; gap: 10px; font-size: 22px; }
.rating-big b { font-family: var(--head); font-size: 20px; }
.quote { margin: 8px 0 0; padding: 8px 12px; border-left: 3px solid var(--wine); background: var(--card-2); border-radius: 0 6px 6px 0; white-space: pre-wrap; }

/* ---- ticket detail ---- */
.qa { padding: 10px 0; border-bottom: 1px solid var(--line); }
.qa:last-child { border-bottom: 0; }
.qa .q { color: var(--muted); font-size: 12px; font-weight: 600; margin-bottom: 3px; }
.qa .a { white-space: pre-wrap; word-break: break-word; }
.facts { display: grid; grid-template-columns: 130px 1fr; gap: 10px 14px; margin: 0; }
.facts dt { color: var(--muted); font-size: 12px; font-weight: 600; padding-top: 4px; }
.facts dd { margin: 0; min-width: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.note { padding: 10px 0; border-bottom: 1px solid var(--line); }
.note .person { margin-right: 8px; }
.note p { margin: 6px 0 0; white-space: pre-wrap; word-break: break-word; }
.note-form { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.note-form .btn { align-self: flex-end; }
.rating-row { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.rating-row:last-child { border-bottom: 0; }
.rating-main { flex: 1; min-width: 0; }

/* ---- forms ---- */
input, select, textarea { font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 10px; min-width: 0; }
textarea { resize: vertical; width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--wine-hi); box-shadow: 0 0 0 3px var(--wine-soft); }
input[type="checkbox"] { accent-color: var(--wine-hi); width: 16px; height: 16px; padding: 0; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field > span:first-child { font-size: 12px; font-weight: 600; color: var(--muted); }
.field.grow { flex: 1; min-width: 180px; }
.check { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; cursor: pointer; white-space: nowrap; }
.suffix { display: flex; align-items: center; gap: 8px; }
.suffix input { width: 120px; }
.suffix em { font-style: normal; color: var(--muted); }
.stack-form { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.inline { display: inline-flex; gap: 6px; }
.row-gap { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: 600 13px var(--body); color: var(--text); cursor: pointer;
       background: var(--card-2); border: 1px solid var(--line-2); border-radius: 8px; padding: 8px 14px; white-space: nowrap; transition: background .15s, border-color .15s; }
.btn:hover { border-color: var(--muted); }
.btn.primary { background: var(--wine); border-color: var(--wine-2); color: #fff; }
.btn.primary:hover { background: var(--wine-2); }
.btn.danger { background: transparent; border-color: rgba(224, 40, 79, .5); color: var(--wine-hi); }
.btn.danger:hover { background: var(--red-soft); }
.btn.sm { padding: 5px 10px; font-size: 12px; }
.btn.wide { width: 100%; padding: 12px; font-size: 15px; }

.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.seg { display: inline-flex; background: var(--bg); border: 1px solid var(--line-2); border-radius: 9px; padding: 3px; }
.seg a { padding: 5px 12px; border-radius: 6px; color: var(--muted); font-weight: 600; font-size: 13px; }
.seg a.on { background: var(--wine); color: #fff; }
.pager { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 16px; }

.flash { padding: 10px 14px; border-radius: 8px; margin-bottom: 16px; font-weight: 600; border: 1px solid; }
.flash.good { background: var(--green-soft); border-color: rgba(63, 174, 106, .4); color: #8fe3b0; }
.flash.bad { background: var(--red-soft); border-color: rgba(224, 40, 79, .45); color: #ff8fa6; }

/* ---- categories editor ---- */
.cat { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; background: var(--card-2); }
.cat > summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 12px 14px; cursor: pointer; }
.cat > summary::-webkit-details-marker { display: none; }
.cat-title { font-weight: 700; flex: 0 1 auto; }
.chev { margin-left: auto; color: var(--muted); transition: transform .15s; }
.cat[open] .chev { transform: rotate(180deg); }
.cat.new { border-style: dashed; background: transparent; }
.cat.new .cat-title { color: var(--wine-hi); }
.cat-form { padding: 4px 14px 14px; display: flex; flex-direction: column; gap: 14px; }
.form-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.field.emoji input { width: 70px; text-align: center; }
.questions { display: flex; flex-direction: column; gap: 8px; }
.q-head { font-size: 12px; font-weight: 600; color: var(--muted); }
.q-row { display: grid; grid-template-columns: 22px minmax(0, 1.3fr) minmax(0, 1fr) 130px auto; gap: 8px; align-items: center; }
.q-num { font-family: var(--head); font-weight: 700; color: var(--wine-hi); text-align: center; }
.form-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.danger-zone { padding: 0 14px 14px; display: flex; justify-content: flex-end; }

/* ---- roles & channels ---- */
.links-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; margin-bottom: 14px; }
.links-grid select { width: 100%; }
.links-grid .stack-form { align-items: stretch; gap: 12px; }
.stack-form.full { align-items: stretch; }
.stack-form.full .btn { align-self: flex-start; }
.picker { border: 1px solid var(--line-2); border-radius: 8px; background: var(--bg); overflow: hidden; }
.picker-search { width: 100%; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; }
.picker-search:focus { box-shadow: none; border-bottom-color: var(--wine-hi); }
.picker-list { max-height: 248px; overflow-y: auto; padding: 4px; }
.pick { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border-radius: 6px; cursor: pointer; color: var(--muted); }
.pick:hover { background: var(--card-2); color: var(--text); }
.pick.on { color: var(--text); background: var(--wine-soft); }
.pick span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick[hidden] { display: none; }
.send-panel { display: flex; gap: 10px; align-items: flex-end; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.send-panel select { width: 100%; }
.page-head .seg a { white-space: nowrap; }

/* ---- whitelist ---- */
.subnav { flex-wrap: wrap; }
.ok-text { color: #7fdba2; font-weight: 700; }
.chip.bad { background: var(--red-soft); border-color: rgba(224, 40, 79, .45); color: #ff8fa6; }
.grade { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.g-correct { background: var(--green-soft); color: #7fdba2; } .g-half { background: var(--amber-soft); color: var(--amber); } .g-wrong { background: var(--red-soft); color: #ff8fa6; }
.q-line { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.q-line .q { color: var(--text); font-size: 14px; font-weight: 600; }
.score { margin-top: 12px; padding: 10px 14px; border-radius: 8px; border: 1px solid var(--line-2); }
.score.pass { background: var(--green-soft); border-color: rgba(63, 174, 106, .4); } .score.fail { background: var(--red-soft); border-color: rgba(224, 40, 79, .4); }
.mini-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.mini-row:last-child { border-bottom: 0; }
.mini-stats { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 12px; color: var(--muted); }
.mini-stats b { font-family: var(--head); font-size: 20px; color: var(--text); margin-right: 4px; }
.warn-card { border-color: rgba(255, 174, 59, .45); background: linear-gradient(0deg, var(--amber-soft), var(--amber-soft)), var(--card); }
.warn-list { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.toggle { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; cursor: pointer; }
.toggle input { width: 20px; height: 20px; }
.sticky-save { position: sticky; bottom: 0; z-index: 3; display: flex; justify-content: flex-end; padding: 12px 0; margin: -4px 0 16px;
               background: linear-gradient(0deg, var(--bg) 60%, transparent); }
details.dimmed > summary .cat-title { color: var(--muted); }
.cat > summary .q-num { width: 22px; }

/* ---- login / message gate ---- */
.gate { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 16px;
        background: radial-gradient(900px 500px at 50% -10%, rgba(158, 27, 60, .25), transparent 70%), var(--bg); }
.gate-card { width: 100%; max-width: 420px; background: var(--card); border: 1px solid var(--line); border-top: 3px solid var(--wine-hi);
             border-radius: 14px; padding: 32px 28px; display: flex; flex-direction: column; gap: 18px; text-align: center; }
.gate-card p { margin: 0; }
.gate-card .row-gap { justify-content: center; }
.gate .foot { border: 0; }

/* ---- responsive ---- */
@media (max-width: 980px) {
  .grid-2 { grid-template-columns: 1fr; }
  .links-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .shell { grid-template-columns: 1fr; }
  .side { position: sticky; top: 0; z-index: 5; height: auto; flex-direction: row; align-items: center; gap: 10px; padding: 10px 12px; border-right: 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
  .brand { font-size: 18px; padding: 0 4px; flex-wrap: nowrap; }
  .brand small { display: none; }
  .nav { flex-direction: row; gap: 2px; }
  .nav a { padding: 7px 9px; border-left: 0; border-bottom: 2px solid transparent; border-radius: 6px; white-space: nowrap; font-size: 13px; }
  .nav a.on { border-bottom-color: var(--wine-hi); }
  .nav .ico { display: none; }
  .me { margin: 0 0 0 auto; padding: 4px; border: 0; background: none; }
  .me-text { display: none; }
  .main { padding: 20px 16px; }
  .h1 { font-size: 22px; }
  .facts { grid-template-columns: 1fr; gap: 4px; }
  .facts dd { margin-bottom: 8px; }
  .q-row { grid-template-columns: 22px 1fr; }
  .q-row > :nth-child(n+3) { grid-column: 2; }
  .filters .field.grow { flex-basis: 100%; }
  .hide-sm { display: none; }
  .side { scrollbar-width: none; }
  .side::-webkit-scrollbar { display: none; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tile { padding: 12px; }
  .tile-num { font-size: 26px; }
  .tile-label { font-size: 11px; }
  .table .subject { max-width: 200px; }
  .table .subject a { white-space: normal; }
}

/* ---- log channels ---- */
.log-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 10px 18px; margin-bottom: 16px; }
.log-row { display: flex; flex-direction: column; gap: 6px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--card-2); }
.log-row select { width: 100%; }

/* ---- on/off switches ---- */
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.switch-row:last-of-type { border-bottom: 0; }
.switch-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; background: var(--bg); border: 1px solid var(--line-2);
          border-radius: 999px; padding: 4px 12px 4px 4px; font: 600 13px var(--body); color: var(--muted); min-width: 104px; }
.switch .knob { width: 24px; height: 24px; border-radius: 50%; background: var(--line-2); transition: background .15s; }
.switch.on { border-color: rgba(63, 174, 106, .5); color: #7fdba2; background: var(--green-soft); flex-direction: row-reverse; padding: 4px 4px 4px 12px; justify-content: space-between; }
.switch.on .knob { background: var(--green); }
.switch:disabled { opacity: .5; cursor: not-allowed; }
.q-search { min-width: 200px; }
.card-head .filters { margin-left: auto; }
input.order { width: 64px; }
.section-head { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 20px; }
.section-desc { margin: 0; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-height: 1.5em; }
.section-head .seg a { white-space: nowrap; }

/* ---- game pages (rdev-admin through the panel link) ---- */
.role-chip { border-color: var(--rc, var(--line-2)); color: var(--rc, var(--text)); background: transparent; }
.rc-founder { --rc: #ff3b4e; } .rc-owner { --rc: #f97316; } .rc-admin { --rc: #e6273c; }
.rc-moderator { --rc: #3b82f6; } .rc-support { --rc: #22c55e; } .rc-trial { --rc: #a855f7; }
.map-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.subject-wrap { max-width: 520px; word-break: break-word; }
.gate-note { display: flex; flex-direction: column; gap: 14px; }
.gate-note p { margin: 0; }
.steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--muted); }
.code-input { letter-spacing: .12em; text-transform: uppercase; max-width: 260px; }
