/* /coin — Eric's cards, spending and reimbursements, with Covey. Same paper and ink as the brief. */
:root { --green: #2F5D46; --green-w: #E7EFE6; --red: #A8402B; --red-w: #F7E6DF; --gold: #B8862F; --gold-w: #F6EEDC; --navy: #1F3350; }
body.cn { height: auto; min-height: 100%; overflow-x: hidden; }
.cn-wrap { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.cn-top { background: var(--wash); border-bottom: 1px solid var(--edge); position: sticky; top: 0; z-index: 5; }
.cn-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: calc(14px + env(safe-area-inset-top, 0px)); padding-bottom: 12px; }
.cn-back { font-size: 13px; color: var(--soft); text-decoration: none; }
.cn-back:hover { color: var(--ink); }
.cn-asof { font-size: 12px; color: var(--soft); }
.cn-main { padding-top: 26px; padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
.cn-title { font: 600 36px/1.15 var(--serif); color: var(--ink); margin: 0 0 4px; }
.cn-sub { margin: 0 0 24px; }
.cn-sec { border-top: 1px solid var(--hair); padding-top: 22px; margin: 0 0 34px; }
.cn-head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.cn-head h2 { font: 600 20px var(--serif); color: var(--ink); margin: 0; }
.cn-head small { font-size: 12px; color: var(--soft); }
.num { font-variant-numeric: tabular-nums; }

/* Covey */
.covey { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 16px; background: var(--green-w); border-radius: 16px; padding: 18px 20px; margin: 0 0 28px; }
.covey img { width: 76px; height: 76px; border-radius: 50%; }
.covey h3 { margin: 2px 0 2px; font: 600 18px var(--serif); color: var(--green); }
.covey .role { font-size: 12px; color: var(--soft); margin: 0 0 10px; }
.covey ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.covey li { color: var(--ink); font-size: 14.5px; line-height: 1.5; padding-left: 18px; position: relative; }
.covey li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.covey li.warn::before { background: var(--red); }
.covey li.watch::before { background: var(--gold); }
.covey li b { font-weight: 600; }

/* tiles */
.tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 30px; }
.tile { background: var(--wash); border: 1px solid var(--edge); border-radius: 12px; padding: 12px 14px; }
.tile span { display: block; font-size: 12px; color: var(--soft); }
.tile b { display: block; font: 600 22px/1.2 var(--serif); color: var(--ink); margin-top: 2px; }
.tile.bad b { color: var(--red); }
@media (max-width: 640px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* cards */
.card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; padding: 14px 2px; border-bottom: 1px solid var(--hair); }
.card .nm { color: var(--ink); font-weight: 600; }
.card .nm small { font-weight: 400; color: var(--soft); margin-left: 6px; }
.card .bal { text-align: right; font: 600 18px var(--serif); color: var(--ink); }
.card .meta { font-size: 13px; color: var(--soft); }
.card .right { text-align: right; font-size: 13px; color: var(--soft); }
.card .right .login { display: block; margin-top: 2px; color: var(--ink); font-weight: 600; text-decoration: none; white-space: nowrap; }
.card .right .login:hover { text-decoration: underline; }
.card .perks { grid-column: 1 / -1; font-size: 12.5px; color: var(--soft); line-height: 1.45; }
.use { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 12px; padding: 8px 2px; border-bottom: 1px solid var(--hair); font-size: 14px; }
.use .k { color: var(--soft); }
.use .v { color: var(--ink); font-weight: 600; }
@media (max-width: 560px) { .use { grid-template-columns: 1fr; gap: 2px; } }
.chip { display: inline-block; font-size: 11.5px; padding: 2px 8px; border-radius: 99px; margin-left: 6px; background: var(--hair); color: var(--ink); }
.chip.bad { background: var(--red-w); color: var(--red); }
.chip.good { background: var(--green-w); color: var(--green); }
.util { grid-column: 1 / -1; height: 5px; border-radius: 3px; background: var(--hair); overflow: hidden; margin-top: 4px; }
.util i { display: block; height: 100%; background: var(--green); }
.util i.hi { background: var(--red); }
.util i.mid { background: var(--gold); }

/* payments */
.pay { display: grid; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 10px; padding: 8px 2px; border-bottom: 1px solid var(--hair); font-size: 14px; }
.pay .d { color: var(--soft); }
.pay .w { color: var(--ink); }
.pay .w small { display: block; color: var(--soft); font-size: 12px; }
.pay .a { text-align: right; color: var(--ink); }

/* spending */
.cat { display: grid; grid-template-columns: 18px minmax(0, 1fr) 100px 64px; align-items: center; gap: 10px; padding: 10px 2px; border-bottom: 1px solid var(--hair); cursor: pointer; background: none; border-left: 0; border-right: 0; border-top: 0; width: 100%; text-align: left; font: inherit; color: inherit; }
.cat:hover { background: var(--wash); }
.cat .t { color: var(--ink); font-weight: 600; }
.cat .bar { height: 6px; border-radius: 3px; background: var(--navy); margin-top: 5px; opacity: .8; }
.cat .bar.big { background: var(--red); }
.cat .amt { text-align: right; color: var(--ink); }
.cat .pct { text-align: right; font-size: 12.5px; color: var(--soft); }
.cat .chev { color: var(--soft); transition: transform .15s; }
.cat[aria-expanded="true"] .chev { transform: rotate(90deg); }
.merch { padding: 4px 0 10px 30px; }
.merch[hidden] { display: none; }
.merch div { display: grid; grid-template-columns: minmax(0, 1fr) 50px 90px; gap: 8px; font-size: 13.5px; padding: 3px 0; }
.merch div span:first-child { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.merch div span:nth-child(2) { color: var(--soft); text-align: right; }
.merch div span:last-child { text-align: right; }
.tbtn { font: inherit; font-size: 13px; background: none; border: 1px solid var(--edge); border-radius: 8px; padding: 5px 12px; color: var(--ink); cursor: pointer; }
.tbtn:hover { background: var(--wash); }
.buckets { font-size: 12.5px; color: var(--soft); margin: 10px 0 0; }

/* reimbursements */
.rb { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 12px 2px; border-bottom: 1px solid var(--hair); }
.rb .nm { color: var(--ink); font-weight: 600; }
.rb .meta { font-size: 13px; color: var(--soft); }
.rb .st { display: flex; gap: 6px; align-items: center; }
.rb .st button { font: inherit; font-size: 12px; border: 1px solid var(--edge); background: none; border-radius: 99px; padding: 3px 10px; cursor: pointer; color: var(--soft); }
.rb .st button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.rb.done .nm { text-decoration: line-through; color: var(--soft); }
.addr { display: grid; grid-template-columns: minmax(0, 2fr) 110px minmax(0, 1fr) auto; gap: 8px; margin-top: 12px; }
.addr input { font: inherit; font-size: 14px; padding: 7px 10px; border: 1px solid var(--edge); border-radius: 8px; background: #fff; color: var(--ink); min-width: 0; }
.addr button { font: inherit; font-size: 14px; border: 0; border-radius: 8px; padding: 7px 14px; background: var(--green); color: #fff; cursor: pointer; }
@media (max-width: 640px) { .addr { grid-template-columns: 1fr 1fr; } }
.cn-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; font-size: 13px; }
.cn-err { color: var(--red); }
@media (max-width: 640px) {
  .covey { grid-template-columns: 52px minmax(0, 1fr); padding: 14px 16px; gap: 12px; }
  .covey img { width: 52px; height: 52px; }
  .rb { grid-template-columns: 1fr; }
  .card { grid-template-columns: minmax(0, 1fr) auto; }
}

/* section menu */
.cn-tabs { display: flex; gap: 24px; overflow-x: auto; scrollbar-width: none; margin: 0 -24px; padding: 0 24px; position: relative; }
.cn-tabs::-webkit-scrollbar { display: none; }
.cn-tabs a { flex: none; font-size: 14px; color: var(--soft); text-decoration: none; padding: 4px 0 11px; border-bottom: 2px solid transparent; white-space: nowrap; }
.cn-tabs a:hover { color: var(--ink); }
.cn-tabs a[aria-current] { color: var(--ink); font-weight: 600; border-bottom-color: var(--green); }
.cn-tabs a[hidden] { display: none; }
.cn-main section[id], .cn-main .covey { scroll-margin-top: 112px; }
html { scroll-behavior: smooth; }
@media (max-width: 640px) { .cn-tabs { gap: 20px; } }

/* spending flow */
.flow { width: 100%; margin: 4px 0 6px; }
.flow-svg { display: block; overflow: visible; }
.flow-svg .fl { font-size: 12.5px; fill: var(--soft); }
.flow-svg .fl .fb { fill: var(--ink); font-weight: 600; }
.flow-svg .fm { fill: var(--ink); }
.flow-svg .fo { fill: var(--soft); font-style: italic; }
.flow-svg .fnode { cursor: pointer; outline: none; }
.flow-svg .fnode:hover .fl, .flow-svg .fnode:focus-visible .fl { text-decoration: underline; }
.flow-svg .fnode:focus-visible rect { stroke: var(--ink); stroke-width: 1.5; }
.flow-hint { font-size: 12.5px; color: var(--soft); margin: 4px 0 14px; }
.cat.flash { background: var(--gold-w); transition: background .4s; }


/* ================= layout shared by both themes (clean is the default) ================= */
body.cn .card { grid-template-columns: 96px minmax(0, 1fr) auto; gap: 6px 16px; align-items: start; padding: 16px 2px; }
body.cn .card .mid { display: grid; gap: 5px; min-width: 0; }
body.cn .card .side { text-align: right; display: grid; gap: 2px; justify-items: end; }
body.cn .card .chips { display: flex; flex-wrap: wrap; gap: 6px; }
body.cn .card .chips .chip { margin-left: 0; }
body.cn .card .perks { grid-column: auto; }
body.cn .card .util { grid-column: 2 / -1; }
body.cn .card .side .login { display: inline-block; margin-top: 6px; padding: 4px 11px; border: 1px solid var(--edge); border-radius: 99px; font: 600 12px var(--sans); color: var(--ink); text-decoration: none; }
body.cn .card .side .login:hover { background: var(--wash); }
body.cn .chip.apr { background: #EEEAF5; color: #4B3F7A; }
body.cn .chip.apr.hot { background: var(--red-w); color: var(--red); }
body.cn .chip.apr.zero { background: var(--green-w); color: var(--green); }
body.cn .use { grid-template-columns: 40px minmax(0, 190px) minmax(0, 1fr); align-items: center; gap: 12px; padding: 9px 2px; }
body.cn .use .ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--gold-w); }
body.cn .use .k { color: var(--ink); }
body.cn .use .v { display: flex; flex-wrap: wrap; gap: 6px 14px; }
body.cn .use .pick { display: inline-flex; align-items: center; white-space: nowrap; }
body.cn .cn-tabs a.cn-out { color: var(--green); }
body.cn .cn-max { font: 600 12px var(--sans); color: var(--ink); border: 1px solid var(--edge); padding: 5px 12px; border-radius: 99px; text-decoration: none; }
body.cn .cn-max:hover { background: var(--wash); }
.cn-mode { font: 600 12px var(--sans); color: var(--ink); background: none; border: 1px solid var(--edge); border-radius: 99px; padding: 4px 12px; cursor: pointer; }
.cn-mode:hover { background: var(--hair); }
body.cn.vice .cn-mode { color: #170A2B; border: 0; background: linear-gradient(90deg, var(--pink), var(--orange)); color: #fff; }
.cn-bar-r { display: flex; align-items: center; gap: 12px; }
@media (max-width: 640px) {
  body.cn .card { grid-template-columns: 72px minmax(0, 1fr); }
  body.cn .card .side { grid-column: 2; justify-items: start; text-align: left; }
  body.cn .art:not(.sm) { width: 72px; height: 46px; }
  body.cn .art:not(.sm) .cn { display: none; }
  body.cn .art:not(.sm) .chip-ic { top: 16px; }
  body.cn .use { grid-template-columns: 40px minmax(0, 1fr); }
  body.cn .use .v { grid-column: 2; }
}

/* ================= Vice City sunset theme (Coin only) =================
   Neon pink, sunset orange and teal on a night-purple sky, heavy italic headings.
   Re-points the shared tokens so every section above picks it up. Only on when body has .vice (toggle in the header). */
body.cn.vice {
  --bg: #170A2B; --wash: rgba(255,255,255,.045); --ink: #FFF3F8; --soft: #C7B2DC; --hair: rgba(255,255,255,.09); --edge: rgba(255,255,255,.14);
  --green: #19E3C8; --green-w: rgba(25,227,200,.13); --red: #FF4F93; --red-w: rgba(255,79,147,.15); --gold: #FFB547; --gold-w: rgba(255,181,71,.16); --navy: #A78BFA;
  --pink: #FF3D9A; --orange: #FF8A3D; --sun: #FFD166; --teal: #19E3C8;
  --display: "Avenir Next Condensed", "Futura", "Arial Narrow", "Helvetica Neue", var(--sans);
  color: var(--soft); background: #170A2B;
  background-image:
    radial-gradient(120% 60% at 50% -10%, rgba(255,61,154,.35), transparent 60%),
    radial-gradient(80% 50% at 100% 0%, rgba(255,138,61,.22), transparent 60%),
    linear-gradient(180deg, #2A0F45 0%, #170A2B 38%, #120821 100%);
  background-attachment: fixed;
}
body.cn.vice .cn-top {
  background: linear-gradient(90deg, rgba(42,15,69,.92), rgba(23,10,43,.92));
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 0; box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
body.cn.vice .cn-top::after { content: ""; display: block; height: 3px; background: linear-gradient(90deg, var(--pink), var(--orange), var(--sun), var(--teal)); }
body.cn.vice .cn-back { color: var(--soft); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; font-size: 12px; }
body.cn.vice .cn-back:hover { color: var(--sun); }
body.cn.vice .cn-tabs a { color: var(--soft); text-transform: uppercase; letter-spacing: .06em; font-size: 12.5px; font-weight: 600; }
body.cn.vice .cn-tabs a:hover { color: var(--ink); }
body.cn.vice .cn-tabs a[aria-current] { color: var(--ink); border-bottom-color: var(--pink); }

/* hero: big italic sunset title over a palm skyline */
body.cn.vice .cn-title {
  font: italic 900 64px/0.95 var(--display); letter-spacing: -.01em; text-transform: uppercase; margin: 6px 0 6px;
  background: linear-gradient(180deg, var(--sun) 0%, var(--orange) 45%, var(--pink) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 3px 0 rgba(0,0,0,.35)) drop-shadow(0 0 18px rgba(255,61,154,.35));
  padding: 34px 0 0; position: relative;
}
body.cn.vice .cn-sub { color: var(--soft); font-size: 14px; letter-spacing: .02em; padding-bottom: 26px; margin-bottom: 26px; position: relative;
  background: no-repeat right bottom / 300px 90px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 90'%3E%3Cg fill='%23000' fill-opacity='.55'%3E%3Cpath d='M40 90V40c0-8 2-14 3-20h3c-1 6-2 12-2 20v50z'/%3E%3Cpath d='M44 22c-10-6-24-5-32 2 10-2 20-1 30 2-9 1-17 5-22 11 8-5 16-8 24-9-5 4-8 10-9 16 4-6 8-11 12-14 2 5 6 9 11 12-3-6-5-11-6-15 7 1 14 4 20 9-5-7-12-11-19-12 8-3 17-3 25 0-8-5-18-6-27-4 5-5 12-8 20-9-10-2-20 1-27 7z'/%3E%3Cpath d='M250 90V52c0-6 1-11 2-15h3c-1 4-2 9-2 15v38z'/%3E%3Cpath d='M253 38c-8-5-19-4-25 1 8-1 15 0 23 2-7 1-13 4-17 9 6-4 12-6 18-7-4 3-6 8-7 12 3-4 6-8 9-10 2 4 5 7 9 9-2-4-4-8-5-11 6 1 11 3 16 7-4-5-9-8-15-9 7-2 13-2 19 0-6-4-14-5-21-3 4-4 9-6 15-7-8-1-15 1-20 6z'/%3E%3Crect x='90' y='62' width='14' height='28'/%3E%3Crect x='108' y='48' width='18' height='42'/%3E%3Crect x='130' y='56' width='12' height='34'/%3E%3Crect x='146' y='40' width='16' height='50'/%3E%3Crect x='166' y='58' width='14' height='32'/%3E%3Crect x='184' y='50' width='20' height='40'/%3E%3Crect x='208' y='64' width='12' height='26'/%3E%3C/g%3E%3C/svg%3E");
}
body.cn.vice .cn-sub::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--pink), var(--orange), transparent); opacity: .8; }

/* sections become glowing panels */
body.cn.vice .cn-sec { border-top: 0; background: linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025)); border: 1px solid var(--edge); border-radius: 18px; padding: 20px 20px 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
body.cn.vice .cn-head h2 { font: italic 800 26px var(--display); text-transform: uppercase; letter-spacing: .01em; color: var(--ink); }
body.cn.vice .cn-head h2::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; transform: skewX(-14deg); margin-right: 10px; vertical-align: 3px; background: linear-gradient(135deg, var(--pink), var(--orange)); box-shadow: 0 0 12px var(--pink); }

/* Covey and tiles */
body.cn.vice .covey { background: linear-gradient(135deg, rgba(255,61,154,.16), rgba(25,227,200,.10)); border: 1px solid rgba(255,61,154,.35); box-shadow: 0 0 0 1px rgba(255,255,255,.03), 0 12px 34px rgba(255,61,154,.12); }
body.cn.vice .covey img { box-shadow: 0 0 0 3px var(--teal), 0 0 18px rgba(25,227,200,.5); }
body.cn.vice .covey h3 { font: italic 800 22px var(--display); text-transform: uppercase; color: var(--teal); }
body.cn.vice .tile { background: rgba(255,255,255,.05); border: 1px solid var(--edge); border-radius: 14px; position: relative; overflow: hidden; }
body.cn.vice .tile::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--teal), var(--pink)); }
body.cn.vice .tile span { text-transform: uppercase; letter-spacing: .06em; font-size: 11px; }
body.cn.vice .tile b { font: italic 800 28px/1.15 var(--display); color: var(--ink); }
body.cn.vice .tile.bad b { color: var(--pink); text-shadow: 0 0 14px rgba(255,61,154,.45); }

/* card rows with drawn card art */
body.cn.vice .card { grid-template-columns: 96px minmax(0, 1fr) auto; gap: 6px 16px; align-items: start; padding: 16px 4px; }
body.cn.vice .card .mid { display: grid; gap: 5px; min-width: 0; }
body.cn.vice .card .side { text-align: right; display: grid; gap: 2px; justify-items: end; }
body.cn.vice .card .bal { font: italic 800 24px var(--display); color: var(--ink); }
body.cn.vice .card .chips { display: flex; flex-wrap: wrap; gap: 6px; }
body.cn.vice .card .chips .chip { margin-left: 0; }
body.cn.vice .card .nm small { color: var(--soft); }
body.cn.vice .card .perks { grid-column: auto; color: var(--soft); opacity: .9; }
body.cn.vice .card .util { grid-column: 2 / -1; }
body.cn.vice .card .right .login, body.cn.vice .card .side .login { display: inline-block; margin-top: 6px; padding: 5px 12px; border-radius: 99px; font: 700 12px var(--sans); letter-spacing: .04em; text-transform: uppercase; color: #170A2B; background: linear-gradient(90deg, var(--sun), var(--orange)); text-decoration: none; box-shadow: 0 4px 14px rgba(255,138,61,.35); }
body.cn.vice .card .side .login:hover { filter: brightness(1.08); text-decoration: none; }
body.cn.vice .chip { background: rgba(255,255,255,.08); color: var(--ink); font-weight: 600; }
body.cn.vice .chip.bad { background: var(--red-w); color: var(--pink); }
body.cn.vice .chip.good { background: var(--green-w); color: var(--teal); }
body.cn.vice .chip.apr { background: rgba(167,139,250,.18); color: #D9CCFF; }
body.cn.vice .chip.apr.hot { background: var(--red-w); color: var(--pink); }
body.cn.vice .chip.apr.zero { background: var(--green-w); color: var(--teal); }
body.cn.vice .util { background: rgba(255,255,255,.08); }
body.cn.vice .util i { background: linear-gradient(90deg, var(--teal), #6EF3E0); box-shadow: 0 0 10px rgba(25,227,200,.6); }
body.cn.vice .util i.mid { background: linear-gradient(90deg, var(--sun), var(--orange)); box-shadow: 0 0 10px rgba(255,138,61,.6); }
body.cn.vice .util i.hi { background: linear-gradient(90deg, var(--orange), var(--pink)); box-shadow: 0 0 10px rgba(255,61,154,.6); }

.art { position: relative; width: 96px; height: 61px; border-radius: 8px; overflow: hidden; color: rgba(255,255,255,.92); font: 700 8px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 6px 16px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.18); }
.art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255,255,255,.28) 0%, rgba(255,255,255,0) 38%, rgba(255,255,255,0) 70%, rgba(255,255,255,.08) 100%); pointer-events: none; }
.art .chip-ic { position: absolute; left: 10px; top: 21px; width: 15px; height: 11px; border-radius: 2px; background: linear-gradient(135deg, #F7E2A0, #C9A54A); box-shadow: inset 0 0 0 1px rgba(0,0,0,.2); }
.art .iss { position: absolute; right: 8px; bottom: 7px; opacity: .85; font-size: 7px; }
.art .cn { position: absolute; left: 10px; top: 7px; font-size: 9px; letter-spacing: .04em; }
.art .l4 { position: absolute; left: 10px; bottom: 7px; font: 600 9px var(--sans); letter-spacing: .1em; opacity: .9; }
.art.sm { width: 38px; height: 24px; border-radius: 4px; display: inline-block; vertical-align: middle; margin-right: 8px; box-shadow: 0 2px 6px rgba(0,0,0,.4), inset 0 0 0 1px rgba(255,255,255,.2); }
.art.sm .chip-ic { left: 5px; top: 8px; width: 7px; height: 5px; }
.art.sm .iss, .art.sm .l4 { display: none; }
.art-gold { background: linear-gradient(135deg, #F3D9A4 0%, #D9B06A 45%, #B98A3E 100%); color: #3B2A10; }
.art-graphite { background: linear-gradient(135deg, #5B6470 0%, #2E343C 55%, #1C2026 100%); }
.art-delta { background: linear-gradient(135deg, #3FA2F0 0%, #1565C0 60%, #0D3E80 100%); }
.art-sapphire { background: linear-gradient(135deg, #2D4A8A 0%, #172B5C 55%, #0C1A3C 100%); }
.art-prime { background: linear-gradient(135deg, #1F3A5A 0%, #0F1E33 60%, #070F1C 100%); }
.art-freedom { background: linear-gradient(135deg, #4FA3E3 0%, #1E6FBF 55%, #124C8C 100%); }
.art-united { background: linear-gradient(135deg, #2B4C86 0%, #12275A 60%, #0A1838 100%); }
.art-venture { background: linear-gradient(135deg, #5C6B7E 0%, #34414F 55%, #1E2731 100%); }
.art-ink { background: linear-gradient(135deg, #3A3A3A 0%, #1B1B1B 100%); }
.art-chase { background: linear-gradient(135deg, #2C5EA8, #123A75); }
.art-amex { background: linear-gradient(135deg, #3E8ED0, #1A5C99); }
.art-other { background: linear-gradient(135deg, #6B5B95, #3A2E5C); }

/* which card for what */
body.cn.vice .use { grid-template-columns: 40px minmax(0, 190px) minmax(0, 1fr); align-items: center; gap: 12px; padding: 10px 2px; }
body.cn.vice .use .ic { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(255,61,154,.25), rgba(255,138,61,.2)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 0 14px rgba(255,61,154,.2); }
body.cn.vice .use .k { color: var(--ink); font-weight: 600; }
body.cn.vice .use .v { display: flex; flex-wrap: wrap; gap: 6px 14px; font-weight: 600; color: var(--ink); }
body.cn.vice .use .pick { display: inline-flex; align-items: center; white-space: nowrap; }
.ico { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 560px) { body.cn.vice .use { grid-template-columns: 40px minmax(0, 1fr); } body.cn.vice .use .v { grid-column: 2; } }

/* lists, inputs and the rest on the dark sky */
body.cn.vice .cat:hover, body.cn.vice .tbtn:hover { background: rgba(255,255,255,.06); }
body.cn.vice .cat .bar { background: linear-gradient(90deg, var(--navy), var(--teal)); opacity: 1; }
body.cn.vice .cat .bar.big { background: linear-gradient(90deg, var(--orange), var(--pink)); }
body.cn.vice .cat.flash { background: var(--gold-w); }
body.cn.vice .addr input { background: rgba(255,255,255,.06); color: var(--ink); border-color: var(--edge); }
body.cn.vice .addr button { background: linear-gradient(90deg, var(--pink), var(--orange)); color: #fff; font-weight: 700; }
body.cn.vice .rb .st button[aria-pressed="true"] { background: var(--teal); color: #170A2B; border-color: var(--teal); }
body.cn.vice .cn-toast { background: var(--pink); color: #fff; }
body.cn.vice .quiet { color: var(--soft); }
@media (max-width: 640px) {
  body.cn.vice .cn-title { font-size: 48px; }
  body.cn.vice .cn-sub { background-size: 200px 60px; }
  body.cn.vice .card { grid-template-columns: 72px minmax(0, 1fr); }
  body.cn.vice .card .side { grid-column: 2; justify-items: start; text-align: left; }
  body.cn.vice .art:not(.sm) { width: 72px; height: 46px; }
  body.cn.vice .art:not(.sm) .cn { display: none; }
  body.cn.vice .art:not(.sm) .chip-ic { top: 16px; }
  body.cn.vice .cn-sec { padding: 16px 14px 10px; border-radius: 14px; }
}

/* link out to the Benefits Maximizer */
body.cn.vice .cn-tabs a.cn-out { color: var(--sun); }
body.cn.vice .cn-max { font: 700 12px var(--sans); text-transform: uppercase; letter-spacing: .05em; color: #170A2B; background: linear-gradient(90deg, var(--sun), var(--orange)); padding: 6px 12px; border-radius: 99px; text-decoration: none; box-shadow: 0 4px 14px rgba(255,138,61,.35); }
