/* 江湖助手 Auto 網頁內容（設定、今日、更新紀錄、訂閱與付款）：與雲手機 App 設定頁同一套版面與互動；顏色與頂列在 shell.css */
/* 設定頁上方的分頁列與工具（在頂列下面，跟內容欄同寬） */
.subbar { position: sticky; top: calc(var(--top-h) + 1px + env(safe-area-inset-top)); z-index: 9; background: var(--bg); }
.subbar-in { width: min(var(--col), 100%); height: 48px; margin: 0 auto; display: flex; align-items: center; gap: 4px; }
.subbar h2 { flex: 1; min-width: 0; margin: 0 0 0 4px; font-size: 16px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sync { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 12px; color: var(--muted); padding: 2px 8px; border-radius: 999px; background: var(--surface-subtle); white-space: nowrap; }
.sync.saving { color: var(--wait); }
.sync.ok { color: var(--ok); }
.sync.bad { color: var(--bad); }
.subbar input[type=search] { flex: 1; min-width: 0; height: 40px; margin-left: 12px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); outline: none; }
.subbar input[type=search]:focus { border-color: var(--primary); }
.icon { width: 48px; height: 48px; border: 0; background: none; border-radius: 50%; display: grid; place-items: center; color: var(--text); }
.text { min-height: 48px; padding: 0 12px; border: 0; background: none; border-radius: 10px; color: var(--primary); }
.icon:hover, .text:hover, .row.tap:hover, .chip:hover, .subbar .tab:hover { background: var(--ripple); }
.subbar .tabs { flex: 1; min-width: 0; display: flex; height: 48px; overflow-x: auto; scrollbar-width: none; }
.subbar .tabs::-webkit-scrollbar { display: none; }
.subbar .tab { flex: none; position: relative; padding: 0 12px; border: 0; background: none; color: var(--muted); font-weight: 500; white-space: nowrap; }
.subbar .tab.on { color: var(--text); }
.subbar .tab.on::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: 0; height: 3px; border-radius: 2px; background: var(--primary); }
.subbar .tab small { color: var(--primary); font-size: 12px; margin-left: 4px; }
@media (max-width: 759px) { .subbar #tour { display: none; } }
@media (max-width: 420px) { .subbar .tab { padding: 0 8px; } .subbar .tab.on::after { left: 6px; right: 6px; } }

/* 內容 */
.message { min-height: 160px; display: grid; place-items: center; align-content: center; gap: 12px; color: var(--muted); text-align: center; }
.message .btn { visibility: hidden; }
.message.retry .btn { visibility: visible; }
.btn { min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line-strong); background: none; color: var(--primary); }
.btn.primary { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); font-weight: 600; }
.btn:hover { filter: brightness(1.05); background: var(--ripple); }
.btn.primary:hover { background: var(--primary); }

/* 設定清單：分類快捷鍵、分類標題、卡片列 */
.chips { position: sticky; top: calc(var(--top-h) + 49px + env(safe-area-inset-top)); z-index: 5; background: var(--bg); height: 44px; margin: -12px -12px 4px; padding: 4px 10px; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips.off { visibility: hidden; }
.chip { flex: none; height: 36px; padding: 0 12px; border: 0; border-radius: 14px; background: none; color: var(--muted); font-size: 14px; white-space: nowrap; }
.chip.on { background: var(--ripple); color: var(--primary); font-weight: 700; }
.layout { display: block; }
.head { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 6px 4px; scroll-margin-top: calc(var(--top-h) + 93px + env(safe-area-inset-top)); }
.head h2 { margin: 0; font-size: 16px; font-weight: 700; }
.head .count { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.head .all { margin-left: auto; min-height: 40px; }
.group { background: var(--surface); border-radius: 14px; margin-bottom: 10px; overflow: hidden; }
.group.off { opacity: 0.4; pointer-events: none; }
.items { display: grid; }
.row { display: flex; align-items: center; min-height: 52px; position: relative; }
.row + .row::before { content: ''; position: absolute; top: 0; left: 14px; right: 0; height: 1px; background: var(--divider); }
.row .body { flex: 1; display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 6px 4px 6px 14px; border: 0; background: none; text-align: left; min-width: 0; }
.row .body.tap:hover { background: var(--ripple); }
.row .name { overflow: hidden; text-overflow: ellipsis; }
.tag { flex: none; font-size: 11px; color: var(--wait); border: 1px solid var(--wait); border-radius: 6px; padding: 0 5px; line-height: 18px; }
.chev { color: var(--muted); width: 20px; height: 20px; margin-left: auto; }
.split { width: 1px; height: 24px; background: var(--divider); margin: 0 2px; }
.switch { flex: none; width: 76px; min-height: 52px; border: 0; background: none; display: grid; place-items: center; padding: 0; }
.switch:hover { background: var(--ripple); }
.toggle { width: 44px; height: 26px; border-radius: 13px; background: var(--line-strong); position: relative; transition: background 0.18s; }
.toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25); transition: transform 0.18s; }
.toggle.on { background: var(--primary); }
.toggle.on::after { transform: translateX(18px); }
.value { color: var(--primary); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; text-align: right; }
.value.muted { color: var(--muted); }

/* 寬螢幕：快捷鍵改左側直欄，清單一列兩項 */
@media (min-width: 760px) {
  .layout { display: grid; grid-template-columns: 168px 1fr; gap: 16px; align-items: start; }
  .chips { position: sticky; top: calc(var(--top-h) + 61px + env(safe-area-inset-top)); flex-direction: column; height: auto; margin: 0; padding: 0; background: none; overflow: visible; }
  .chip { height: 48px; text-align: left; border-radius: 12px; margin-bottom: 2px; }
  .head { scroll-margin-top: calc(var(--top-h) + 61px + env(safe-area-inset-top)); }
  .layout .group { background: none; overflow: visible; }
  .layout .items { grid-template-columns: 1fr 1fr; gap: 8px; }
  .layout .row { background: var(--surface); border-radius: 14px; }
  .layout .row + .row::before { display: none; }
}

/* 標題列與授權綁定 */
.hello { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; padding: 8px 6px 12px; }
.hello h2 { margin: 0; font-size: 20px; }
.hello p { margin: 0; color: var(--muted); font-size: 13px; }
.state { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); white-space: nowrap; }
.state::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--idle); }
.state.online::before { background: var(--ok); }
.state.running::before { background: var(--wait); }
.empty { padding: 28px 20px; text-align: center; color: var(--muted); background: var(--surface); border-radius: 14px; }
.empty p { margin: 0 0 6px; color: var(--text); font-weight: 600; font-size: 16px; }
.empty .sub { font-size: 13px; color: var(--muted); }
.empty .sub a { color: var(--primary); text-decoration: none; }
.empty .sub a:hover { text-decoration: underline; }
.empty.start ol { display: inline-grid; gap: 8px; margin: 16px 0 0; padding-left: 1.4em; text-align: left; color: var(--text); font-size: 14px; }
.empty.start a { color: var(--primary); }
.unbound-card, .bind-box { margin-top: 12px; background: var(--surface); border-radius: 14px; padding: 16px; display: grid; gap: 10px; }
.unbound-card h3 { margin: 0; font-size: 15px; }
.unbound-card p { margin: 0; font-size: 13px; color: var(--muted); }
.unbound-card a { color: var(--primary); }
.lic-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px; border-radius: 10px; background: var(--bg); }
.lic-row code { font-family: Consolas, 'Courier New', monospace; font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.lic-row .meta { font-size: 12px; color: var(--muted); margin-right: auto; }
.lic-row .btn { min-height: 34px; padding: 0 12px; font-size: 13px; }
.bind-box summary { cursor: pointer; font-weight: 600; color: var(--primary); font-size: 14px; list-style: none; display: flex; align-items: center; justify-content: space-between; min-height: 28px; }
.bind-box summary::-webkit-details-marker { display: none; }
.bind-box summary::after { content: '＋'; font-size: 16px; color: var(--muted); }
.bind-box[open] summary::after { content: '－'; }
.bind-form { display: grid; gap: 10px; margin-top: 10px; }
.bind-modes { display: flex; gap: 8px; }
.bind-modes button { border: 1px solid var(--line); background: var(--bg); border-radius: 8px; padding: 6px 12px; font-size: 13px; color: var(--muted); }
.bind-modes button.on { border-color: var(--primary); color: var(--primary); font-weight: 600; background: var(--ripple); }
.bind-fields { display: grid; gap: 8px; }
.bind-fields input { width: 100%; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); padding: 0 12px; outline: none; }
.bind-fields input:focus { border-color: var(--primary); background: var(--surface); }
.bind-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.bind-foot .err { flex: 1; min-width: 180px; font-size: 13px; color: var(--bad); min-height: 20px; }

/* 登入 */
.login { min-height: calc(100vh - 140px); display: grid; place-items: center; }
.login .card { width: min(440px, 100%); background: var(--surface); border-radius: 16px; padding: 32px 24px; display: grid; gap: 14px; justify-items: center; text-align: center; }
.login img { width: 56px; height: 56px; }
.login h2 { margin: 0; font-size: 20px; }
.login p { margin: 0; color: var(--muted); font-size: 14px; }
.login .hint { font-size: 13px; }
.login .hint a { color: var(--primary); }
.login .social { width: 100%; min-height: 48px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; }
.login .social:hover { background: var(--ripple); }
.login .social img { width: 20px; height: 20px; }
.login .social-slot { width: 100%; height: 48px; }
.discord { width: 100%; min-height: 48px; border-radius: 12px; border: 0; background: #5865f2; color: #fff; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; }
.discord:hover { filter: brightness(1.08); }
.login .error { color: var(--bad); font-size: 13px; min-height: 20px; text-align: center; }
.login-form { width: 100%; display: grid; gap: 10px; }
.login-form input { width: 100%; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); padding: 0 14px; outline: none; }
.login-form input:focus { border-color: var(--primary); background: var(--surface); }
.login-form .btn { width: 100%; min-height: 48px; }
.login-form .btn:disabled { opacity: 0.55; cursor: default; }
.login .captcha:empty { display: none; }
.login .or { width: 100%; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12.5px; }
.login .or::before, .login .or::after { content: ''; flex: 1; height: 1px; background: var(--divider); }

/* 細節頁 */
.columns { display: grid; gap: 0 10px; align-items: start; }
.columns.two { grid-template-columns: 1fr 1fr; }
.column { min-width: 0; }
.section { margin-bottom: 10px; }
.section > h2 { margin: 0; padding: 12px 6px 8px; font-size: 16px; font-weight: 700; }
.card { background: var(--surface); border-radius: 14px; overflow: hidden; }
.card > .divider, .divider { height: 1px; background: var(--divider); }
.field { display: block; }
.field.child { padding-left: 16px; }
.field.off { opacity: 0.4; pointer-events: none; }
.line { display: flex; align-items: center; gap: 0; min-height: 52px; padding: 6px 14px; }
.line.tap { cursor: pointer; }
.line.tap:hover { background: var(--ripple); }
.line .texts { flex: 1; min-width: 0; margin-right: 12px; }
.line .label { display: block; }
.line .hint { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
.line .chev { margin-left: 4px; transition: transform 0.15s; }
.line .chev.open { transform: rotate(90deg); }
.input { height: 40px; width: 88px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); text-align: center; padding: 0 8px; outline: none; }
.input:focus { border-color: var(--primary); background: var(--surface); }
.input.textual { width: 160px; text-align: right; }
.input.small { width: 72px; height: 36px; }
.unit { color: var(--muted); padding-left: 6px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 0; }
.box { padding: 0 14px 12px; }
.box.inset { padding-left: 30px; }
.subtitle { font-weight: 700; padding: 12px 0 4px; }
.note { color: var(--muted); font-size: 12px; padding: 0 14px 8px; }
.pill { min-height: 36px; padding: 0 14px; border-radius: 18px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 14px; }
.pill:hover { background: var(--ripple); }
.pill.on { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
.pill small { font-size: 11px; color: var(--wait); margin-left: 4px; }
.pill.on small { color: var(--primary-ink); }
.pill:disabled { opacity: 0.4; cursor: default; }
.ranked { display: flex; align-items: center; min-height: 48px; cursor: pointer; font-size: 14px; color: var(--muted); }
.ranked:hover { background: var(--ripple); }
.ranked.on { color: var(--text); }
.ranked span { flex: 1; }
.ranked b { width: 28px; text-align: right; color: var(--primary); }
.seq { display: flex; align-items: center; min-height: 48px; padding: 0 6px 0 14px; }
.seq .n { width: 32px; color: var(--muted); font-size: 13px; }
.seq .label { flex: 1; color: var(--muted); }
.seq .label.pinned { color: var(--text); }
.seq .icon { color: var(--muted); }
.seq .icon.gone { visibility: hidden; }
.danger { color: var(--bad); }
.add { display: block; width: 100%; min-height: 48px; border: 0; background: none; color: var(--primary); text-align: left; padding: 0 14px 0 30px; }
.add:hover { background: var(--ripple); }
.check { width: 22px; height: 22px; color: var(--primary); }
.stack { display: grid; }
.stack > * { grid-area: 1 / 1; }
.stack > .gone { visibility: hidden; }
.slots { padding: 6px 10px 12px; }
.slots .count { text-align: right; color: var(--muted); font-size: 12px; padding: 0 6px 2px; }
.slots .count.gone { visibility: hidden; }
.grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(3, 72px); }
.slot { margin: 4px; border-radius: 12px; border: 1px dashed var(--line-strong); background: var(--bg); display: grid; align-content: center; justify-items: center; padding: 4px 6px; min-width: 0; }
.slot.filled { border: 1px solid var(--primary); background: var(--ripple); }
.slot.gone { visibility: hidden; }
.slot.tap { cursor: pointer; }
.slot.tap:hover { filter: brightness(0.97); }
.slot small { font-size: 11px; color: var(--muted); }
.slot span { font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.slot.filled span { font-weight: 700; color: var(--text); }
.slot.stranded span { color: var(--bad); }
@media (max-width: 759px) { .columns.two { grid-template-columns: 1fr; } }

/* 下方清單：手機由下滑出，寬螢幕置中 */
.scrim { position: fixed; inset: 0; z-index: 20; background: rgba(0, 0, 0, 0.35); opacity: 0; transition: opacity 0.18s; }
.scrim.show { opacity: 1; }
.sheet { position: fixed; z-index: 21; left: 50%; bottom: 0; width: min(720px, 100%); max-height: 60vh; transform: translate(-50%, 100%); transition: transform 0.2s ease-out; background: var(--surface); border-radius: 16px 16px 0 0; display: flex; flex-direction: column; padding: 8px 0 calc(16px + env(safe-area-inset-bottom)); }
.sheet.show { transform: translate(-50%, 0); }
.sheet .handle { width: 36px; height: 4px; border-radius: 2px; background: var(--line-strong); margin: 0 auto; flex: none; }
.sheet h3 { margin: 0; padding: 12px 20px 10px; font-size: 16px; border-bottom: 1px solid var(--divider); flex: none; }
.sheet ul { list-style: none; margin: 0; padding: 0; overflow-y: auto; }
.sheet li button { width: 100%; display: flex; align-items: center; min-height: 52px; padding: 0 16px 0 20px; border: 0; background: none; text-align: left; }
.sheet li button:hover:not(:disabled) { background: var(--ripple); }
.sheet li button:disabled { opacity: 0.4; cursor: default; }
.sheet li .label { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet li .trailing { color: var(--muted); font-size: 13px; padding-left: 8px; }
.sheet li .check { margin-left: 8px; visibility: hidden; }
.sheet li .checked .check { visibility: visible; }
@media (min-width: 760px) and (min-height: 600px) {
  .sheet { bottom: auto; top: 50%; width: 440px; max-height: 70vh; border-radius: 16px; transform: translate(-50%, -46%); opacity: 0; transition: transform 0.18s, opacity 0.18s; }
  .sheet.show { transform: translate(-50%, -50%); opacity: 1; }
  .sheet .handle { display: none; }
}

/* 每日進度與玩家總覽 */
.day { border: 1px solid var(--line); border-radius: 16px; padding: 2px 10px 10px; margin-bottom: 12px; }
.day-title { margin: 0; padding: 12px 6px 4px; font-size: 14px; font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }
.day .section:last-child { margin-bottom: 0; }
.summary { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: center; background: var(--surface); border-radius: 14px; padding: 14px 8px 14px 16px; margin-bottom: 10px; }
.summary .who { display: grid; gap: 2px; min-width: 0; }
.summary .who b { font-size: 18px; }
.summary .who span { color: var(--muted); font-size: 13px; min-height: 19px; }
.summary .renew { margin-left: 8px; color: var(--primary); }
.summary .status { grid-column: 1; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; font-size: 14px; }
.state.ok::before { background: var(--ok); }
.state.bad::before { background: var(--bad); }
.state.bad { color: var(--bad); }
.state.idle::before { background: var(--idle); }
.value.ok { color: var(--ok); }
.value.bad { color: var(--bad); }
.line.result { min-height: 48px; }
.line.result .value { max-width: 40%; white-space: normal; text-align: right; }
.section > h2 .count { color: var(--muted); font-size: 13px; font-weight: 400; }
.section > h2 .link { float: right; min-height: 32px; font-size: 14px; font-weight: 400; }
a.text { display: inline-flex; align-items: center; text-decoration: none; }
.players { display: grid; gap: 10px; }
.player { background: var(--surface); border-radius: 14px; overflow: hidden; }
.player-head { display: grid; grid-template-columns: 1fr auto 24px; gap: 4px 12px; align-items: center; padding: 12px 10px 12px 16px; min-height: 64px; cursor: pointer; }
.player-head:hover { background: var(--ripple); }
.player-head .who { display: grid; gap: 2px; min-width: 0; }
.player-head .who b { display: flex; gap: 10px; align-items: center; font-size: 16px; }
.player-head .who > span { color: var(--muted); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-head .status { display: grid; justify-items: end; gap: 2px; font-size: 13px; text-align: right; }
.player-head .chev { transition: transform 0.15s; }
.player-head .chev.open { transform: rotate(90deg); }
.detail { border-top: 1px solid var(--divider); padding: 4px 12px 12px; background: var(--bg); }
.detail .card { background: var(--surface); }
.log { margin: 0; max-height: 360px; overflow: auto; background: var(--surface); border-radius: 12px; padding: 12px; font: 12px/1.55 Consolas, 'Courier New', monospace; color: var(--muted); white-space: pre-wrap; word-break: break-all; }
.shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.shots a { display: grid; gap: 4px; color: var(--muted); font-size: 12px; text-decoration: none; }
.shots img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; background: var(--surface); }
@media (max-width: 759px) {
  .player-head { grid-template-columns: 1fr 20px; }
  .player-head .status { grid-column: 1; grid-row: 2; justify-items: start; text-align: left; display: flex; flex-wrap: wrap; gap: 4px 10px; }
  .player-head .chev { grid-column: 2; grid-row: 1 / span 2; }
}
.bulk { display: flex; gap: 4px; margin: 0 -12px; }

/* 更新紀錄 */
.release { margin-bottom: 10px; }
.release h2 { display: flex; align-items: baseline; gap: 10px; margin: 0; padding: 12px 6px 8px; font-size: 16px; }
.release h2 small { color: var(--muted); font-size: 13px; font-weight: 400; }
.release ul { margin: 0; padding: 12px 16px 12px 34px; background: var(--surface); border-radius: 14px; display: grid; gap: 6px; }
.release li::marker { color: var(--primary); }
.tag.new { color: var(--primary); border-color: var(--primary); }
.tag.upload { color: var(--muted); border-color: var(--muted); }

/* 可收合的段標題：整列可點，箭頭在右 */
.fold { cursor: pointer; border-radius: 10px; min-height: 44px; display: flex; align-items: center; gap: 8px; }
.fold:hover { background: var(--ripple); }
.fold .chev { margin-left: auto; transition: transform 0.15s; }
.fold .chev.open { transform: rotate(90deg); }

/* 到期橫幅：固定在內容最上方 */
.banner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-height: 60px; padding: 8px 8px 8px 16px; margin-bottom: 10px; border-radius: 14px; background: var(--surface); border: 1px solid var(--wait); }
.banner span { flex: 1; font-weight: 600; }
.banner.bad { border-color: var(--bad); }
.banner .btn { min-height: 40px; display: inline-flex; align-items: center; text-decoration: none; }

/* 今日：前幾天一天一列，可展開；錯誤編號點了複製 */
.days .day-row { min-height: 48px; gap: 12px; }
.days .day-row .label { flex: 1; font-variant-numeric: tabular-nums; }
.days .day-row .value { max-width: 60%; }
.days > div + div, .days > div + .line, .days > .line + div, .days > .line + .line { border-top: 1px solid var(--divider); }
.day-body { padding: 0 10px 10px; background: var(--bg); }
.value.idle { color: var(--muted); }
.value.running, .value.wait { color: var(--wait); }
.copy-id { flex: none; min-height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg); color: var(--primary); font: 13px Consolas, 'Courier New', monospace; }
.copy-id:hover { border-color: var(--primary); }

/* 訂閱與付款：每個角色一列，最下方新增角色；訂單紀錄 */
.subs .line, .orders .line { gap: 12px; min-height: 64px; }
.subs .line + .line, .orders .line + .line { border-top: 1px solid var(--divider); }
.subs .texts, .orders .texts { margin-right: 0; }
.subs .hint.wait { color: var(--wait); }
.subs .hint.bad { color: var(--bad); }
.subs .btn { flex: none; min-width: 96px; }
.subs .new-char .plus { width: 8px; text-align: center; color: var(--primary); font-weight: 700; }
.subs code { font-family: Consolas, 'Courier New', monospace; font-size: 14px; overflow-wrap: anywhere; }
.orders .empty { background: none; }
