/* Indian Credit Cards Wiki (ICC, /credit-cards/). Loaded only on wiki pages, which skip the site's Tailwind sheet
   (common_head lean_head), so this file carries its own faces and a small reset. Every class is icc- prefixed.
   PointsCasa's landing language (paper, ink, route red, Satoshi Light display, no serif, black pills) in a white theme
   of white and solids, with ICC's own character: the logo's little card, grown into a mascot in ink line art that
   watches you from the hero and peeks up from the footer. Real card images everywhere a card is named. */

@font-face { font-family: Satoshi; font-weight: 300; font-display: swap; src: url("../fonts/satoshi/Satoshi-Light.bfddb179bbd6.woff2") format("woff2"); }
@font-face { font-family: Satoshi; font-weight: 500; font-display: swap; src: url("../fonts/satoshi/Satoshi-Medium.c4d27f2e8060.woff2") format("woff2"); }
@font-face { font-family: Satoshi; font-weight: 700; font-display: swap; src: url("../fonts/satoshi/Satoshi-Bold.db99734987e0.woff2") format("woff2"); }
@font-face { font-family: Gochi; font-weight: 400; font-display: swap; src: url("../fonts/GochiHand-Regular.56e5f624477c.woff2") format("woff2"); }
@font-face { font-family: Bebas; font-weight: 400; font-display: swap; src: url("../fonts/bebas/BebasNeue-Regular.1a662f8f0b09.woff2") format("woff2"); }  /* numerals only */

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body { margin: 0; background: #fff; }

.icc { overflow-x: clip; }  /* a safety net: nothing ever scrolls the page sideways (clip, unlike hidden, keeps the bar sticky) */
.icc {
  --paper: #fff;           /* white and solids: ink, one sunny yellow, the brand red only on the climb's flag */
  --sun: #ffd84d;
  --sun-soft: #fff4c7;
  --sun-deep: #f5b400;     /* the stripes on a spend slider past a higher earn rate */
  --mist: #f5f5f2;
  --card: #fff;
  --ink: #1a1915;
  --muted: #6f6a61;
  --faint: #a8a399;
  --line: #e8e5de;
  --line-soft: #f0ede6;
  --route: #d6341f;
  --route-ink: #b0290f;
  --gold: #c9a96a;
  --vault: #fff;
  --sky: #fff;
  --gold-text: #1a1915;    /* accents are ink weight now, not a colour */
  --dusk: #fff;
  --vault-ink: #1a1915;
  --vault-muted: #5d665f;
  --vault-line: rgba(26, 25, 21, .14);
  --sans: Satoshi, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --label: Satoshi, -apple-system, sans-serif;
  --hand: Gochi, "Comic Sans MS", cursive;
  --figures: Bebas, Satoshi, sans-serif;  /* big data numerals: the founder's Bebas Neue, where condensed digits earn it */
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1180px;
  min-height: 100dvh;
  background: var(--paper);
  color: var(--ink);
  font: 500 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

/* Reset at zero specificity: any component rule below wins */
:where(.icc) *, :where(.icc) *::before, :where(.icc) *::after { box-sizing: border-box; }
:where(.icc) :where(h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote) { margin: 0; }
:where(.icc) :where(h1, h2, h3, h4) { font-size: inherit; font-weight: inherit; }
:where(.icc) :where(ul, ol) { padding: 0; list-style: none; }
:where(.icc) :where(img, svg) { display: block; max-width: 100%; }
:where(.icc) :where(button, input, select) { font: inherit; color: inherit; margin: 0; }
:where(.icc) :where(button) { background: none; border: 0; padding: 0; cursor: pointer; }
:where(.icc) :where(table) { border-collapse: collapse; }
:where(.icc) a { color: inherit; text-decoration: none; }
.icc ::selection { background: #f6d9d1; color: var(--ink); }
/* No focus rings or input glows anywhere (founder). Someone moving with Tab (the inline script sets data-input) gets an
   underline on what has focus instead, so the wiki still works without a mouse */
.icc :focus-visible { outline: none; }
html[data-input="keys"] .icc :focus-visible, html[data-input="keys"] .icc-pill input:focus-visible + span { text-decoration: underline 2px; text-underline-offset: 5px; }
.icc [hidden] { display: none !important; }  /* component display rules must not unhide */
.icc .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.icc-num { font-variant-numeric: tabular-nums; }
.icc-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .icc-wrap { padding: 0 32px; } }

/* Type, as on the landing page */
.icc-display { font: 300 clamp(44px, 7.2vw, 92px)/1.02 var(--sans); letter-spacing: -.035em; text-wrap: balance; }
.icc-display b { font-weight: 500; }  /* emphasis by weight only: no serif anywhere */
.icc-h2 { font: 300 clamp(32px, 4.6vw, 56px)/1.06 var(--sans); letter-spacing: -.03em; text-wrap: balance; }
.icc-h2 em, .icc-block > h2 em { font-style: normal; font-weight: 500; }  /* emphasis by weight, as on the landing page */
.icc-lede { max-width: 54ch; font-weight: 300; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--muted); }
.icc-note { font-size: 13px; line-height: 1.55; color: var(--muted); }
.icc-note a, .icc-link { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.icc-note a:hover, .icc-link:hover { text-decoration-color: currentColor; }
/* Underlined links, card names and "See it" among them, turn into the hero's highlighter on hover; the short ones pop a touch */
.icc-note a, .icc-link, .icc-answer a { padding: 0 .2em; margin: 0 -.2em; border-radius: 5px; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-color 160ms var(--ease), translate 280ms cubic-bezier(.34, 1.56, .64, 1), scale 280ms cubic-bezier(.34, 1.56, .64, 1); }
.icc-link, .icc-answer a { display: inline-block; }
@media (hover: hover) {
  .icc-note a:hover, .icc-link:hover, .icc-answer a:hover { background-color: var(--sun); text-decoration-color: currentColor; }
  .icc-answer-text a:hover { background-color: var(--card); }  /* the answer bubble is the highlighter already */
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .icc-link:hover, .icc-answer a:hover { translate: 0 -2px; scale: 1.06; } }

/* Buttons: PointsCasa's pills */
.icc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px;
  background: var(--ink); color: var(--paper); font: 500 15px var(--sans); white-space: nowrap;
  transition: transform 160ms var(--ease), background-color 160ms ease;
}
.icc-btn:hover { background: #33312b; }
.icc-btn:active { transform: scale(.98); }
.icc-btn svg { width: 15px; height: 15px; }
.icc-btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.icc-btn--ghost:hover { background: rgba(26, 25, 21, .04); }
.icc-btn--light { background: var(--vault-ink); color: var(--vault); }
.icc-btn--quiet-light { background: transparent; color: var(--vault-ink); box-shadow: inset 0 0 0 1px var(--vault-line); }
.icc-btn--quiet-light:hover { background: rgba(26, 25, 21, .05); }

/* Top bar: clear over the vault, paper glass once you scroll past it */
.icc-bar { position: sticky; top: 0; z-index: 40; color: var(--vault-ink); transition: background-color 240ms ease, color 240ms ease, box-shadow 240ms ease; }
.icc-bar.is-solid { background: rgba(252, 251, 249, .8); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(14px) saturate(1.1); }
.icc-bar-inner { display: flex; align-items: center; gap: 8px; height: 64px; }
.icc-nav { display: flex; align-items: center; gap: 2px; margin-left: auto; font-size: 14.5px; }
.icc-nav a, .icc-nav button { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 999px; opacity: .82; }
.icc-nav a:hover, .icc-nav button:hover { opacity: 1; background: rgba(127, 127, 127, .12); }
.icc-nav [aria-current="page"] { opacity: 1; }
.icc-kbd { padding: 1px 6px; border-radius: 6px; box-shadow: inset 0 0 0 1px currentColor; font: 500 11px var(--sans); opacity: .6; }
.icc-bar-cta { flex: none; height: 40px; padding: 0 20px; font-size: 14.5px; }
@media (min-width: 768px) { .icc-bar-cta { margin-left: 6px; } }
/* Phones: a round Ask button, and the landing page's two-line menu button opens the Best cards sheet, which carries the bar's links */
.icc-burger, .icc-bar-ask { display: none; flex: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px; width: 40px; height: 40px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--line); background: color-mix(in srgb, var(--paper) 78%, transparent); color: var(--ink); }
.icc-burger span { width: 16px; height: 1.5px; border-radius: 1px; background: currentColor; transition: translate 240ms var(--ease), rotate 240ms var(--ease); }
.icc:has(.icc-menu:popover-open) .icc-burger span:first-child { translate: 0 3.25px; rotate: 45deg; }
.icc:has(.icc-menu:popover-open) .icc-burger span:last-child { translate: 0 -3.25px; rotate: -45deg; }
@media (max-width: 1023px) { .icc-nav .icc-hide-tab { display: none; } }  /* the calculator moves into the menu's foot line */
@media (max-width: 767px) {
  .icc-nav { display: none; }
  .icc-burger, .icc-bar-ask { display: inline-flex; }
  .icc-bar-cta { margin-left: auto; }
  html:has(.icc-menu:popover-open) { overflow: hidden; }
  .icc-hide-phone { display: none; }
}

/* Best cards: a link to best/ with a caret that opens a white panel hung from the bar: the popular few of each kind, with
   logos for airlines, hotels and banks, the finder tile, and a quiet line to the rest; a full sheet on phones. While it's
   open the bar turns paper, so the two read as one surface. No backdrop: iOS 26 would paint it into its bars */
.icc-menu-head { display: inline-flex; align-items: center; border-radius: 999px; transition: background-color 160ms ease; }
.icc-nav .icc-menu-head > a { padding-right: 4px; }
.icc-nav .icc-menu-head > button { justify-content: center; width: 30px; margin-left: -2px; padding: 0; }
.icc-nav .icc-menu-head > :hover { background: none; }
.icc-menu-head:hover, .icc:has(.icc-menu:popover-open) .icc-menu-head { background: rgba(127, 127, 127, .12); }
.icc-menu-head:hover > *, .icc:has(.icc-menu:popover-open) .icc-menu-head > * { opacity: 1; }
.icc-menu-chev { transition: rotate 240ms var(--ease); }
.icc-menu-close { display: none; }
.icc:has(.icc-menu:popover-open) .icc-bar { background: var(--paper); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.icc:has(.icc-menu:popover-open) .icc-menu-chev { rotate: 180deg; }
.icc-menu { inset: 64px 0 auto; width: auto; height: auto; max-height: calc(100dvh - 64px); margin: 0; padding: 0; overflow: auto; overscroll-behavior: contain; border: 0; background: var(--paper); color: var(--ink); box-shadow: 0 28px 40px -28px rgba(26, 25, 21, .3); }
.icc-menu-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr) 13rem; column-gap: clamp(32px, 4vw, 56px); padding-block: 32px 20px; }
.icc-menu h3 { margin-bottom: 14px; font: 700 11px var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.icc-menu-list { display: grid; gap: 2px; }
.icc-menu-list a { display: flex; align-items: center; gap: 12px; margin: 0 -8px; padding: 6px 8px; border-radius: 10px; font-size: 15px; line-height: 1.3; transition: background-color 160ms var(--ease), box-shadow 160ms ease; }
.icc-menu-list a[aria-current="page"] { background-color: var(--sun-soft); }
@media (hover: hover) { .icc-menu-list a:hover { background-color: var(--sun); } }
.icc-menu-logo { display: grid; place-items: center; flex: none; width: 32px; height: 32px; overflow: hidden; border-radius: 9px; background: var(--mist); }
.icc-menu-logo img { width: 100%; height: 100%; object-fit: contain; }
.is-bank .icc-menu-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }  /* the banks: a 3 by 2 grid of logo tiles */
.is-bank .icc-menu-list a { flex-direction: column; gap: 7px; margin: 0; padding: 12px 6px 10px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; text-align: center; }
.is-bank .icc-menu-logo { width: 36px; height: 36px; background: none; }
.icc-menu-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 14px; font-weight: 700; }
.icc-menu-more svg { transition: translate 240ms var(--ease); }
@media (hover: hover) { .icc-menu-more:hover svg { translate: 3px 0; } }
.icc-menu-tile { position: relative; display: grid; align-content: start; gap: 8px; padding: 20px 20px 96px; border-radius: 20px; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.icc-menu-tile b { font: 500 19px/1.15 var(--sans); letter-spacing: -.02em; }
.icc-menu-tile span { font-size: 13.5px; line-height: 1.5; color: rgba(255, 255, 255, .72); }
.icc-menu-go { position: absolute; left: 20px; bottom: 20px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .45); transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease, translate 320ms var(--ease); }
.icc-menu-tile .icc-menu-face { position: absolute; right: -16px; bottom: -36px; z-index: -1; width: 128px; rotate: -8deg; transition: translate 420ms var(--ease); }
.icc-menu-face .icc-mascot { width: 100%; }
@media (hover: hover) {
  .icc-menu-tile:hover .icc-menu-go { background: var(--sun); color: var(--ink); box-shadow: none; translate: 4px 0; }
  .icc-menu-tile:hover .icc-menu-face { translate: 0 -10px; }
}
.icc-menu-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line-soft); font-size: 14px; color: var(--muted); }
.icc-menu-foot a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1023px) {  /* tablets: the three groups in a row, the tile across them below */
  .icc-menu-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px; }
  .icc-menu-tile { grid-column: 1 / -1; padding: 20px 170px 64px 20px; }
}
.icc-menu-main { display: none; }
@media (max-width: 767px) {  /* phones: the whole screen under the bar, the bar's links first, wants and programmes as chips, banks still a grid */
  .icc-menu { bottom: 0; max-height: none; }
  .icc-menu-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-block: 8px 32px; }
  .icc-menu-main { display: grid; }
  .icc-menu-main a { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; border-bottom: 1px solid var(--line);
    font: 300 clamp(26px, 8vw, 34px)/1 var(--sans); letter-spacing: -.03em; }
  .icc-menu-main a::after { content: ""; width: 9px; height: 9px; margin-right: 4px; border: solid currentColor; border-width: 1.5px 1.5px 0 0; rotate: 45deg; opacity: .35; }
  .icc-menu-main a[aria-current="page"] { font-weight: 500; }
  .icc-menu-col:not(.is-bank) .icc-menu-list { display: flex; flex-wrap: wrap; gap: 8px; }
  .icc-menu-col:not(.is-bank) .icc-menu-list a { gap: 8px; min-height: 40px; margin: 0; padding: 0 14px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; }
  .icc-menu-col:not(.is-bank) .icc-menu-list a:has(.icc-menu-logo) { padding-left: 6px; }
  .icc-menu-col:not(.is-bank) .icc-menu-logo { width: 28px; height: 28px; border-radius: 50%; }
  .icc-menu-list a[aria-current="page"] { background: var(--ink); color: #fff; box-shadow: none; }
  .icc-menu-more { margin-top: 12px; }
  .icc-menu-tile { padding: 20px 140px 64px 20px; }
  .icc-menu-foot { margin-top: 0; }
  .icc:has(.icc-menu:popover-open) .icc-menu-chev { display: none; }
  .icc:has(.icc-menu:popover-open) .icc-menu-close { display: block; }
}

/* The logo: the ICC wallet card, "pointscasa" in the landing page's hand, then a quiet "Cards". On a visit's first page the
   card hops and "Cards" slides out from behind the name (html.icc-seen, set in the head, skips it after that) */
.icc-logo { display: inline-flex; align-items: center; gap: .2em; font: 400 22px/1 var(--hand); letter-spacing: -.01em; white-space: nowrap; }
@media (min-width: 768px) { .icc-logo { font-size: 25px; } }
.icc-logo .icc-mark { width: 1.5em; height: auto; margin-right: .1em; }
.icc-logo:hover .icc-mark-card { animation: icc-hop 600ms var(--ease); }
.icc-logo-tag { margin-left: .4em; padding: 3px 0 3px 10px; border-left: 1px solid var(--line); font: 500 15px/1 var(--sans); letter-spacing: -.01em; color: var(--muted); }
@media (max-width: 419px) {  /* a phone's bar: the logo, "Cards", the pill, Ask and the menu button, each a size down so all five fit */
  .icc-bar-inner { gap: 4px; }
  .icc-bar .icc-logo { font-size: 20px; }
  .icc-bar .icc-logo-tag { margin-left: .3em; padding-left: 7px; font-size: 13px; }
  .icc-bar-cta { height: 36px; padding: 0 12px; font-size: 13.5px; }
  .icc-burger, .icc-bar-ask { width: 34px; height: 34px; }
}
@media (max-width: 389px) { .icc-bar .icc-logo-tag { display: none; } }  /* phones narrower than an iPhone keep the logo, the pill and the buttons */
@media (prefers-reduced-motion: no-preference) {
  html:not(.icc-seen) .icc-bar .icc-logo-tag { animation: icc-tag-out 820ms var(--ease) 480ms backwards; }
  html:not(.icc-seen) .icc-bar .icc-mark-card { animation: icc-hop 600ms var(--ease) 260ms backwards, icc-wiggle 2.4s ease-in-out 860ms infinite; }
}
@keyframes icc-tag-out { from { clip-path: inset(0 100% 0 0); translate: -16px 0; opacity: 0; } 35% { opacity: 1; } to { clip-path: inset(0 0 0 0); } }
/* The ICC mark: a little card that wiggles and blinks now and then (the logo and the Top 3 pill) */
.icc-mark { width: 34px; height: 26px; overflow: visible; }
.icc-mark-card { transform-origin: 17px 14px; animation: icc-wiggle 2.4s ease-in-out infinite; }
.icc-mark-eyes { transform-origin: 17px 13px; transform-box: view-box; animation: icc-blink 4.8s infinite; }
@keyframes icc-wiggle { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(4deg); } }
@keyframes icc-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
@keyframes icc-hop { 0% { transform: rotate(-6deg) translateY(0); } 40% { transform: rotate(8deg) translateY(-4px); } 100% { transform: rotate(-6deg) translateY(0); } }

/* The vault: each page's hero, on white */
.icc-vault { position: relative; isolation: isolate; margin-top: -64px; padding-top: 64px; color: var(--vault-ink); background: var(--sky); }
.icc-vault .icc-lede { color: var(--vault-muted); }
.icc-vault:not(.icc-vault--home) { padding-bottom: 56px; border-bottom: 1px solid var(--line); }
.icc ::selection { background: var(--sun); color: var(--ink); }

/* Home: what the wiki is, and the ICC card itself, grown up and watching you */
.icc-hero { display: grid; gap: 32px; align-items: center; padding-block: 48px 72px; }
@media (min-width: 900px) { .icc-hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; padding-block: 88px 112px; } }
.icc-hero-copy { display: grid; gap: 24px; justify-items: start; }
.icc-hero .icc-display { font-size: clamp(42px, 5.6vw, 76px); line-height: 1.04; }
.icc-display mark { padding: 0 .1em; border-radius: .14em; background: linear-gradient(var(--sun), var(--sun)) 0 0 / 100% 100% no-repeat; color: inherit; font-weight: 500; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.icc-hero-sub { max-width: 46ch; font: 300 clamp(17px, 1.5vw, 20px)/1.55 var(--sans); color: var(--muted); }
.icc-hero-mascot { display: grid; justify-items: center; }
.icc-hero-mascot .icc-mascot-stage { width: min(380px, 70vw); }
/* The hand of cards: the best three (yours, once you pick), standing out of the ICC wallet. They come out on arrival,
   slip back in and come out again when your income changes (index.js), and fan wider on hover */
.icc-mascot-stage { position: relative; display: grid; container-type: inline-size; }
.icc-mascot-stage > .icc-mascot { position: relative; z-index: 1; width: 100%; }
.icc-deck { position: absolute; inset: 0; pointer-events: none; }
.icc-deck-card { position: absolute; left: 50%; top: 46%; translate: -50% -50%; transform: translate(var(--x), var(--y)) rotate(var(--r)); transition: transform 450ms var(--ease); filter: drop-shadow(0 12px 14px rgba(26, 25, 21, .16)); }
.icc-deck-card:nth-child(1) { --x: 0cqw; --y: -34cqw; --r: -3deg; z-index: 1; }  /* the top pick stands tallest, in the middle */
.icc-deck-card:nth-child(2) { --x: -30cqw; --y: -20cqw; --r: -17deg; }  /* wide enough to show past a flat top pick */
.icc-deck-card:nth-child(3) { --x: 30cqw; --y: -19cqw; --r: 16deg; }
.icc-hero-mascot:hover .icc-deck-card:nth-child(1) { --y: -40cqw; }
.icc-hero-mascot:hover .icc-deck-card:nth-child(2) { --x: -36cqw; --r: -24deg; }
.icc-hero-mascot:hover .icc-deck-card:nth-child(3) { --x: 36cqw; --r: 23deg; }
.icc-deck .icc-art { width: auto; height: 32cqw; max-width: none; aspect-ratio: 85.6 / 54; border-radius: 2.4cqw; box-shadow: none; outline: none; }
.icc-deck .icc-art--photo, .icc-deck .icc-art.icc-art--photo.is-portrait { aspect-ratio: auto; object-fit: fill; }
.icc-deck-card:nth-child(1) .icc-art { height: 38cqw; }  /* the top pick is the biggest card in the hand */
.icc-deck img.icc-art { container-type: normal; }  /* size containment would zero an image's width when it is sized from its height */
.icc-bubble { position: relative; z-index: 2; justify-self: end; margin-right: 8%; margin-bottom: clamp(54px, 18vw, 84px); padding: 10px 16px; border-radius: 18px; background: var(--sun); font: 500 15px/1.3 var(--sans); }
.icc-bubble::after { content: ""; position: absolute; left: 30px; bottom: -9px; border: 10px solid transparent; border-top-color: var(--sun); border-bottom: 0; }  /* the tail, toward the card */

/* The mascot: the logo's card with a face. Still at rest; it blinks, its eyes follow the pointer, and it hops when clicked */
.icc-mascot { display: block; height: auto; overflow: visible; }
.icc-mascot-ground { fill: rgba(26, 25, 21, .07); }
.icc-mascot-card { transform-box: fill-box; transform-origin: 50% 100%; rotate: -4deg; }
.icc-mascot-eyes { transform-box: fill-box; transform-origin: center; animation: icc-blink 5.2s infinite; }
[data-mascot] { cursor: pointer; -webkit-tap-highlight-color: transparent; }
[data-mascot].is-hop .icc-mascot-card { animation: icc-mascot-hop 650ms var(--ease); }
@media (prefers-reduced-motion: no-preference) {
  .icc-vault--home .icc-mascot-card { animation: icc-mascot-in 900ms var(--ease) both; }  /* it springs up opaque, so the hand of cards stays hidden behind it until the deal */
  .icc-vault--home [data-mascot].is-hop .icc-mascot-card { animation: icc-mascot-hop 650ms var(--ease); }
}
@media (prefers-reduced-motion: reduce) { .icc-mascot-eyes { animation: none; } }

/* Arrivals, once per page and then still. Home: the line rises, the highlighter sweeps "real flights", the card pops up and speaks */
@media (prefers-reduced-motion: no-preference) {
  .icc-vault--home .icc-hero-copy > *, .icc-card-hero-copy > * { animation: icc-up 800ms var(--ease) both; }
  :is(.icc-vault--home .icc-hero-copy, .icc-card-hero-copy) > :nth-child(2) { animation-delay: 90ms; }
  :is(.icc-vault--home .icc-hero-copy, .icc-card-hero-copy) > :nth-child(3) { animation-delay: 180ms; }
  :is(.icc-vault--home .icc-hero-copy, .icc-card-hero-copy) > :nth-child(n+4) { animation-delay: 260ms; }
  .icc-vault--home .icc-display mark { animation: icc-highlight 650ms cubic-bezier(.65, 0, .35, 1) 420ms both; }
  .icc-vault--home .icc-bubble { transform-origin: 20% 100%; animation: icc-pop 600ms var(--ease) 1300ms both; }
  .icc-vault--home .icc-deck-card { animation: icc-deal 900ms cubic-bezier(.34, 1.45, .64, 1) 650ms backwards; }  /* dealt from behind the mascot */
  .icc-vault--home .icc-deck-card:nth-child(1) { animation-delay: 800ms; }
  .icc-deck-card.is-redealt { animation: icc-deal 760ms cubic-bezier(.34, 1.45, .64, 1) backwards; }  /* a new income: out again */
  .icc-deck-card.is-redealt:nth-child(1) { animation-delay: 120ms; }
  .icc-card-hero .icc-hero-stage { animation: icc-card-arrive 900ms var(--ease) both; }
  .icc-vs-side.is-left { animation: icc-from-left 800ms var(--ease) both; }
  .icc-vs-side.is-mid { animation: icc-from-below 800ms var(--ease) 80ms both; }
  .icc-vs-side.is-right { animation: icc-from-right 800ms var(--ease) both; }
  .icc-vs-side:not(.is-left, .icc-vs-add)::before { animation: icc-vs 750ms cubic-bezier(.34, 1.56, .64, 1) 620ms both; }
  .icc-rise.is-in .icc-win { animation: icc-highlight 600ms cubic-bezier(.65, 0, .35, 1) calc(var(--i, 0) * 70ms + 300ms) both; }  /* winners get the hero's highlighter */
}
@keyframes icc-up { from { opacity: 0; translate: 0 22px; } }
@keyframes icc-deal { from { transform: translate(0, 8cqw) rotate(0deg); } }  /* from tucked inside the wallet, behind its face */
@keyframes icc-highlight { from { background-size: 0% 100%; } }
@keyframes icc-card-arrive { from { opacity: 0; translate: 28px 12px; rotate: 4deg; } }
@keyframes icc-from-left { from { translate: -56px 0; rotate: -4deg; } }  /* move only: the cards are the page's LCP, so they paint at once */
@keyframes icc-from-right { from { translate: 56px 0; rotate: 4deg; } }
@keyframes icc-from-below { from { translate: 0 44px; } }
@keyframes icc-pop { from { opacity: 0; scale: .7; } 60% { opacity: 1; scale: 1.06; } to { opacity: 1; scale: 1; } }
@keyframes icc-vs { from { opacity: 0; scale: .3; rotate: -25deg; } 60% { opacity: 1; scale: 1.18; rotate: 10deg; } 80% { rotate: -6deg; } to { opacity: 1; scale: 1; rotate: 0deg; } }

/* Lower down, items rise into place as they first scroll into view, a beat apart. The script adds .icc-rise, so the page
   is complete without it and with reduced motion. data-rise="pop" pops instead (the income pills) */
.icc-rise:not(.is-in) { opacity: 0; }
.icc-rise.is-in { animation: icc-rise 700ms var(--ease) calc(var(--i, 0) * 70ms) backwards; }  /* ends on the item's own opacity: dimmed rows stay dimmed */
[data-rise="pop"] > .icc-rise.is-in { animation-name: icc-pop; }
.icc-foot-peek > .icc-rise.is-in { animation: icc-peek-up 900ms cubic-bezier(.34, 1.56, .64, 1) backwards; }
@keyframes icc-peek-up { from { translate: 0 80%; } }
@keyframes icc-rise { from { opacity: 0; translate: 0 18px; } }
@keyframes icc-mascot-in { 0% { translate: 0 40px; rotate: 8deg; scale: .9; } 60% { translate: 0 -8px; rotate: -7deg; scale: 1.02; } }
@keyframes icc-mascot-hop { 35% { translate: 0 -26px; rotate: 6deg; } 70% { translate: 0 0; rotate: -7deg; } }

/* The hero's three, once it scrolls away: the ICC wallet in the corner holding them, one tap to compare them (index.js) */
.icc-float { position: fixed; z-index: 30; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); display: flex; align-items: center; gap: 12px; padding: 10px 20px 10px 12px; border-radius: 999px; background: var(--paper); color: var(--ink); box-shadow: 0 0 0 1.5px var(--ink), 0 16px 32px -14px rgba(26, 25, 21, .45); font: 500 15px/1 var(--sans); text-decoration: none; visibility: hidden; opacity: 0; translate: 0 24px; transition: opacity 200ms ease, translate 360ms var(--ease), visibility 0s 360ms, background-color 160ms ease; }
.icc-float.is-on { visibility: visible; opacity: 1; translate: 0 0; transition: opacity 200ms ease, translate 360ms var(--ease), visibility 0s, background-color 160ms ease; }
.icc-float:hover { background: var(--sun); }
.icc-float-wallet { position: relative; width: 46px; height: 35px; }
.icc-float-wallet .icc-mark { position: absolute; inset: auto 0 0; z-index: 1; width: 100%; height: auto; }
.icc-float .icc-mark-card { animation: none; }
.icc-float:hover .icc-mark-card { animation: icc-hop 600ms var(--ease); }
.icc-float-hand { position: absolute; left: 50%; bottom: 18px; }
.icc-float-card { position: absolute; left: 0; bottom: 0; translate: -50% 0; transform: translate(var(--x), var(--y)) rotate(var(--r)); transform-origin: 50% 100%; transition: transform 300ms var(--ease); }
.icc-float-card:nth-child(1) { --x: 0px; --y: -11px; --r: -2deg; z-index: 1; }
.icc-float-card:nth-child(2) { --x: -13px; --y: -6px; --r: -17deg; }
.icc-float-card:nth-child(3) { --x: 13px; --y: -6px; --r: 16deg; }
.icc-float:hover .icc-float-card:nth-child(1) { --y: -15px; }
.icc-float:hover .icc-float-card:nth-child(2) { --x: -17px; --r: -24deg; }
.icc-float:hover .icc-float-card:nth-child(3) { --x: 17px; --r: 23deg; }
.icc-float-card .icc-art { display: block; width: auto; height: 22px; max-width: none; aspect-ratio: 85.6 / 54; border-radius: 3px; box-shadow: 0 2px 5px rgba(26, 25, 21, .28); outline: none; }
.icc-float-card img.icc-art { container-type: normal; }  /* only an image: a card drawn in CSS sizes its text off itself, and without it the text grows to the window */
.icc-float-card .icc-art--photo, .icc-float-card .icc-art.icc-art--photo.is-portrait { aspect-ratio: auto; object-fit: fill; }
@media (prefers-reduced-motion: no-preference) {
  .icc-float.is-on .icc-float-card { animation: icc-float-deal 640ms cubic-bezier(.34, 1.45, .64, 1) 180ms backwards; }  /* out of the wallet as it arrives */
  .icc-float.is-on .icc-float-card:nth-child(1) { animation-delay: 280ms; }
}
@media (prefers-reduced-motion: reduce) { .icc-float { translate: none; } }
@keyframes icc-float-deal { from { transform: translate(0, 14px) rotate(0deg); } }

/* What do you earn? Pills, not a dropdown: one tap re-ranks the list below (and submits the form without JS) */
.icc-earn { border-top: 1px solid var(--line); }
.icc-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-block: 32px 12px; }
.icc-pills fieldset { display: flex; flex-wrap: wrap; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.icc-pills .icc-work { padding-right: 16px; border-right: 1.5px solid var(--line); }  /* salaried or business, then the income */
@media (max-width: 640px) { .icc-pills .icc-work { flex-basis: 100%; padding-right: 0; border-right: 0; } }
.icc-pill { position: relative; }
.icc-pills { position: relative; }
/* The glide (index.js): a black capsule slides over the pills, the group's words in white on top, seen only through its shape;
   the real pills stay unlit till it lands */
.icc-pill-ghost { position: absolute; z-index: 1; border-radius: 999px; background: var(--ink); pointer-events: none; }
.icc-pills-lit { position: absolute; z-index: 2; margin: 0; pointer-events: none; }
.icc-pills-lit .icc-pill span { background: transparent; color: #fff; box-shadow: none; transition: none; }
.icc-pills fieldset.is-gliding .icc-pill span { background: transparent; color: var(--ink); transition: none; }
.icc-pill input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.icc-pill span { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--ink); font: 500 17px var(--sans); cursor: pointer; transition: background-color 160ms ease, color 160ms ease, transform 160ms var(--ease); }
.icc-pill span:hover { background: var(--sun); }
.icc-pill input:checked + span { background: var(--ink); color: #fff; transition: transform 160ms var(--ease); }  /* a pick lands at once; only leaving fades */
.icc-pill:active span { transform: scale(.97); }
/* Past its place, the choice floats under the bar while the ranking and tier list are on screen (index.js), since both follow it */
.icc-pills-dock { display: flow-root; }
.icc-pills.is-floating { position: fixed; z-index: 35; left: 0; right: 0; flex-wrap: nowrap; justify-content: center; gap: 10px; margin: 0; padding: 10px max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px)); overflow-x: auto; scrollbar-width: none; background: rgba(252, 251, 249, .88); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: blur(14px) saturate(1.1); backdrop-filter: blur(14px) saturate(1.1); }
.icc-pills.is-floating fieldset { display: flex; flex: none; flex-wrap: nowrap; gap: 8px; width: auto; }
.icc-pills.is-floating .icc-work { flex-basis: auto; padding-right: 10px; border-right: 1.5px solid var(--line); }
.icc-pills.is-floating .icc-pill span { min-height: 36px; padding: 0 14px; font-size: 14px; }
@media (max-width: 760px) {  /* one row that scrolls sideways, fading out where it runs on */
  .icc-pills.is-floating { justify-content: flex-start; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 36px), transparent); }
  .icc-pills.is-floating .icc-pill span { padding: 0 12px; font-size: 13.5px; }
}
@media (prefers-reduced-motion: no-preference) { .icc-pills.is-floating { animation: icc-dock 260ms var(--ease); } }
@keyframes icc-dock { from { opacity: 0; translate: 0 -12px; } }
/* The mascot gives the answer: it names the top card for your income, and hops when it changes */
.icc-answer { display: flex; align-items: center; gap: 14px; margin: 6px 0 22px; }
.icc-answer-face { flex: none; width: 64px; height: 46px; overflow: hidden; }
.icc-answer-face .icc-mascot { width: 64px; }
.icc-answer-text { position: relative; min-width: 0; padding: 12px 18px; border-radius: 18px; background: var(--sun); font: 500 clamp(16px, 1.6vw, 19px)/1.35 var(--sans); }
.icc-answer-text::before { content: ""; position: absolute; left: -9px; top: 50%; translate: 0 -50%; border: 9px solid transparent; border-right-color: var(--sun); border-left: 0; }
.icc-answer-text a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
@media (max-width: 520px) { .icc-pills fieldset { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; } .icc-pill { display: grid; } .icc-pill span { padding: 0 8px; } }

/* Card art without an image: the flat card. One solid colour per card, a hairline edge, clean type, one low shadow */
.icc-art {
  --c: #2a2d2b; --w: 360px; --edge: rgba(255, 255, 255, .1);
  position: relative; width: var(--w); max-width: 100%; aspect-ratio: 85.6 / 54; border-radius: calc(var(--w) * .05);
  background: var(--c); color: rgba(255, 255, 255, .92); text-align: left; container-type: inline-size;
  box-shadow: inset 0 0 0 1px var(--edge), 0 16px 30px -22px rgba(16, 35, 29, .55);
}
.icc-art[data-ink="dark"] { --edge: rgba(26, 25, 21, .1); color: rgba(26, 25, 21, .86); }
.icc-art-bank { position: absolute; left: 7%; top: 11%; font: 700 4.6cqw/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.icc-art-chip { position: absolute; left: 7%; top: 40%; width: 12cqw; height: 9cqw; border-radius: 1.8cqw; background: currentColor; opacity: .16; }  /* a flat tone, not a 3D chip */
.icc-art-name { position: absolute; left: 7%; right: 34%; bottom: 10%; font: 500 4.8cqw/1.15 var(--sans); letter-spacing: -.005em; }
.icc-art-net { position: absolute; right: 7%; bottom: 10%; font: 700 4.4cqw/1 var(--sans); letter-spacing: .02em; }  /* full strength: it has to read on pale cards */
.icc-art--hero { --w: min(440px, 84vw); }
.icc-art--sm { --w: 92px; box-shadow: inset 0 0 0 1px var(--edge); }  /* fallback thumbnails: no shadow; bank and name stay readable at row size */
.icc-art--sm > :not(.icc-art-bank, .icc-art-name) { display: none; }
.icc-art--sm .icc-art-bank { left: 8%; top: 10%; font-size: 9cqw; letter-spacing: .06em; }
.icc-art--sm .icc-art-name { left: 8%; right: 8%; bottom: 9%; display: -webkit-box; overflow: hidden; font-size: 11.5cqw; line-height: 1.1; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
/* A gentle pointer tilt for hero-size cards: daisyUI 5.5's hover-3d (MIT, (c) Pouya Saadeghi), ported without its glare,
   at 6deg not 10, with one soft shadow that leans the other way. Pointer screens without reduced motion only. */
.icc-tilt { display: inline-grid; }
.icc-tilt > i { display: none; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .icc-tilt { --transform: 0, 0; --shadow: 0rem .5rem; --ease: linear(0, .931 13.8%, 1.196 21.4%, 1.343 29.8%, 1.378 36%, 1.365 43.2%, 1.059 78%, 1);
    perspective: 75rem; filter: drop-shadow(var(--shadow) 1.1rem rgba(16, 35, 29, .2)); transition: filter .4s ease-out; }
  .icc-tilt > :first-child { grid-area: 1 / 1 / 4 / 4; box-shadow: none; filter: none; transform: rotate3d(var(--transform), 0, 6deg); transition: transform var(--ease) .5s; }
  .icc-tilt > i { display: block; isolation: isolate; z-index: 1; scale: 1.2; }
  .icc-tilt:hover { --ease: linear(0, .708 15.2%, .927 23.6%, 1.067 33%, 1.12 41%, 1.13 50.2%, 1.019 83.2%, 1); }
  .icc-tilt > :nth-child(2) { grid-area: 1 / 1 / 2 / 2; } .icc-tilt > :nth-child(3) { grid-area: 1 / 2 / 2 / 3; } .icc-tilt > :nth-child(4) { grid-area: 1 / 3 / 2 / 4; }
  .icc-tilt > :nth-child(5) { grid-area: 2 / 1 / 3 / 2; } .icc-tilt > :nth-child(6) { grid-area: 2 / 3 / 3 / 4; }
  .icc-tilt > :nth-child(7) { grid-area: 3 / 1 / 4 / 2; } .icc-tilt > :nth-child(8) { grid-area: 3 / 2 / 4 / 3; } .icc-tilt > :nth-child(9) { grid-area: 3 / 3 / 4 / 4; }
  .icc-tilt:has(> :nth-child(2):hover) { --transform: -1, 1; --shadow: .5rem 1rem; }
  .icc-tilt:has(> :nth-child(3):hover) { --transform: -1, 0; --shadow: 0rem 1rem; }
  .icc-tilt:has(> :nth-child(4):hover) { --transform: -1, -1; --shadow: -.5rem 1rem; }
  .icc-tilt:has(> :nth-child(5):hover) { --transform: 0, 1; --shadow: .5rem .5rem; }
  .icc-tilt:has(> :nth-child(6):hover) { --transform: 0, -1; --shadow: -.5rem .5rem; }
  .icc-tilt:has(> :nth-child(7):hover) { --transform: 1, 1; --shadow: .5rem 0rem; }
  .icc-tilt:has(> :nth-child(8):hover) { --transform: 1, 0; --shadow: 0rem 0rem; }
  .icc-tilt:has(> :nth-child(9):hover) { --transform: 1, -1; --shadow: -.5rem 0rem; }
}
/* Official artwork: the bank's own card face as it is, sized like the flat card. No sheen or 3D on top; one low shadow on the big one */
.icc-art--photo { display: block; height: auto; background: none; border-radius: calc(var(--w) * .037); }
/* Upright cards sit in the same card-shaped box as every other, art centred, so rows, lists and camps all line up.
   Their corners are cut into the image, so the box itself draws no edge or box shadow; the hero's shadow follows the art. */
.icc-art.icc-art--photo.is-portrait { aspect-ratio: 85.6 / 54; object-fit: contain; border-radius: 0; outline: none; box-shadow: none; }
.icc-art--hero.is-portrait { filter: drop-shadow(0 14px 16px rgba(16, 35, 29, .22)); }
.icc-art--photo.icc-art--sm { box-shadow: none; outline: 1px solid rgba(26, 25, 21, .08); outline-offset: -1px; }

/* Paper sections, the landing page's rhythm */
.icc-section { padding: 88px 0; }
@media (min-width: 768px) { .icc-section { padding: 128px 0; } }
.icc-section + .icc-section { border-top: 1px solid var(--line-soft); }
.icc-section-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: 44px; }

/* The shortlist */
.icc-shortlist { position: relative; display: grid; border-top: 1px solid var(--line); }  /* relative: rows that leave fade out in place (index.js) */
.icc-row { position: relative; display: grid; grid-template-columns: 28px 84px minmax(0, 1fr); gap: 8px 16px; align-items: center; padding: 22px 4px; border-bottom: 1px solid var(--line); transition: opacity 300ms ease; }
@media (min-width: 900px) { .icc-row { grid-template-columns: 56px 120px minmax(0, 1fr) 190px; gap: 28px; padding: 26px 8px; } }
.icc-row .icc-art--sm { --w: 84px; }
@media (min-width: 900px) { .icc-row .icc-art--sm { --w: 120px; } }
.icc-rank { font: 400 34px/1 var(--figures); color: #8f897e; }
@media (min-width: 900px) { .icc-rank { font-size: 52px; } }
.icc-row-name { font: 500 19px/1.3 var(--sans); letter-spacing: -.01em; }
.icc-row-name a::after { content: ""; position: absolute; inset: 0; }  /* the whole row opens the card */
.icc-row-why { margin-top: 4px; color: var(--muted); font-weight: 300; line-height: 1.5; }
.icc-row-pays { grid-column: 2 / -1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
@media (min-width: 900px) { .icc-row-pays { grid-column: auto; display: grid; gap: 2px; justify-items: end; text-align: right; } }
.icc-row-pays b { font: 400 30px/1 var(--figures); letter-spacing: .01em; }
.icc-row-pays .icc-stars { font-size: 13px; }
.icc-row-pays b.is-quiet { font: 500 14px var(--sans); color: var(--muted); }
.icc-row-pays span { font-size: 12.5px; color: var(--muted); }
.icc-row-pays small { flex-basis: 100%; margin-top: 2px; font-size: 12.5px; color: var(--muted); }  /* the score leads; what the points bought is the footnote */
.icc-row:hover { background: linear-gradient(90deg, transparent, rgba(26, 25, 21, .025) 20%, rgba(26, 25, 21, .025) 80%, transparent); }
.icc-row.is-out { opacity: .42; }
.icc-row.is-out:hover { opacity: .8; }
.icc-aim { display: inline-flex; align-items: center; height: 22px; margin-left: 8px; padding: 0 9px; border-radius: 999px; background: var(--line-soft); color: var(--muted); font: 700 10.5px var(--label); letter-spacing: .08em; text-transform: uppercase; vertical-align: 3px; }
.icc-shortlist-foot { margin-top: 28px; }
.icc-shortlist { margin-top: 32px; }

/* Hacks on home: a white band crossed by dotted flight paths, and a departures board in white mode: a slate board, white
   split-flap tiles with ink letters that flip each hack into place (index.html's script). Below 1000px a row is its logo,
   its label as words and its gain on tiles: twenty tiles would be too small to read on a phone. */
.icc-hackband { position: relative; isolation: isolate; overflow: clip; border-top: 1px solid var(--line); background: var(--paper); }
.icc-hackband-routes { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; color: rgba(26, 25, 21, .18); pointer-events: none; }
.icc-hackband-plane { fill: rgba(26, 25, 21, .6); }
.icc-flapboard { --board: #d9dfe6; --slate-ink: #4b5664; --slate-line: rgba(40, 52, 66, .12); --tile: 17px; margin-block: 36px 26px; padding: clamp(16px, 2.4vw, 28px);
  border-radius: 22px; color: var(--ink); box-shadow: 0 1px 0 rgba(40, 52, 66, .1), 0 30px 50px -34px rgba(40, 52, 66, .55);
  background: radial-gradient(circle at 13px 13px, #b3bcc7 2.5px, transparent 3.5px), radial-gradient(circle at calc(100% - 13px) 13px, #b3bcc7 2.5px, transparent 3.5px),
    radial-gradient(circle at 13px calc(100% - 13px), #b3bcc7 2.5px, transparent 3.5px), radial-gradient(circle at calc(100% - 13px) calc(100% - 13px), #b3bcc7 2.5px, transparent 3.5px), var(--board); }  /* four screws */
.icc-flapboard-top { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 0 6px 14px; border-bottom: 1px solid var(--slate-line);
  font: 400 clamp(22px, 2.4vw, 30px)/1 var(--figures); letter-spacing: .06em; }
.icc-flapboard-top b { font-weight: 400; }
.icc-flapboard-top span { color: var(--slate-ink); }
.icc-flapboard-top time { color: var(--ink); }
.icc-flapboard-cols { display: none; }
.icc-flaprows { display: grid; }
.icc-flaprows li + li { border-top: 1px solid var(--slate-line); }
.icc-flaprow { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; grid-template-areas: "logo name status" "logo gain status"; align-items: center; gap: 7px 14px;
  padding: 13px 6px; border-radius: 12px; transition: background-color 200ms ease; }
@media (hover: hover) { .icc-flaprow:hover { background: rgba(255, 255, 255, .45); } }
.icc-flaprow-logo { grid-area: logo; display: grid; place-items: center; width: 36px; height: 36px; }
.icc-flaprow-logo img:not(.icc-art) { box-sizing: border-box; width: 100%; height: 100%; padding: 4px; border-radius: 50%; object-fit: contain; background: #fff; box-shadow: 0 1px 2px rgba(40, 52, 66, .18); }
.icc-flaprow-logo .icc-art { --w: 38px; rotate: -8deg; box-shadow: 0 6px 12px -6px rgba(40, 52, 66, .6); }
.icc-flaprow-name { grid-area: name; font: 700 12.5px/1.25 var(--label); letter-spacing: .1em; text-transform: uppercase; }
.icc-flaps { grid-area: label; display: none; gap: 2px; }
.icc-flaps.is-gain { grid-area: gain; display: flex; }
.icc-flaps > span { position: relative; display: grid; place-items: center; flex: none; width: var(--tile); height: calc(var(--tile) * 1.4); border-radius: 3px;
  background: linear-gradient(#fff 50%, #f5f7f9 50%); font: 400 calc(var(--tile) * .98)/1 var(--figures); box-shadow: 0 1px 1.5px rgba(40, 52, 66, .22);
  contain: size layout style; }  /* a flipping letter lays out only its own tile, not the page (no paint containment: it would clip the shadow) */
.icc-flaps > span::after { content: ""; position: absolute; inset: 50% 0 auto; height: 1px; background: rgba(40, 52, 66, .16); }  /* the split between the two flaps */
.icc-flaps > span[data-flap=" "] { opacity: .4; box-shadow: none; }  /* empty tiles sit back, so the words read as words */
.icc-flaps.is-gain > span:not([data-flap=" "]) { background: linear-gradient(var(--sun) 50%, #f7cf3f 50%); }  /* the gain is the board's one colour */
/* Works with: the cards a hack runs on (three, then how many more), so you can spot yours; an arrow steps out on hover */
.icc-flaprow-with { grid-area: status; display: inline-flex; align-items: center; justify-self: end; gap: 10px; color: var(--slate-ink); }
.icc-flaprow-with small, .icc-flaprow-with em { font: 700 11px/1 var(--label); font-style: normal; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.icc-flaprow-with em { padding: 5px 8px; border-radius: 999px; background: rgba(255, 255, 255, .6); color: var(--ink); }
.icc-flaprow-cards { display: inline-flex; padding-left: 14px; }
.icc-flaprow-cards .icc-art { --w: 46px; margin-left: -14px; box-shadow: 0 0 0 2px var(--board), 0 4px 8px -4px rgba(40, 52, 66, .5); transition: translate 260ms var(--ease); }
.icc-flaprow-cards .icc-art.is-portrait { --w: 26px; }
.icc-flaprow-go { flex: none; color: var(--ink); opacity: .35; transition: translate 260ms var(--ease), opacity 200ms ease; }
@media (hover: hover) {
  .icc-flaprow:hover .icc-flaprow-go { opacity: 1; translate: 4px 0; }
  .icc-flaprow:hover .icc-flaprow-cards .icc-art:nth-child(2) { translate: 4px 0; }
  .icc-flaprow:hover .icc-flaprow-cards .icc-art:nth-child(3) { translate: 8px 0; }  /* the hand fans out a touch */
}
@media (max-width: 559px) { .icc-flaprow-cards, .icc-flaprow-with small, .icc-flaprow-with em { display: none; } }  /* phones: the hack, its gain and the arrow */
@media (min-width: 1000px) {
  .icc-flapboard { --tile: min(25px, calc((min(100vw, 1180px) - 300px) / 31)); }
  .icc-flapboard-cols { display: grid; grid-template-columns: 40px calc(20 * var(--tile) + 38px) calc(9 * var(--tile) + 16px) 1fr; gap: 18px; padding: 14px 6px 4px;
    font: 700 10px/1 var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--slate-ink); }
  .icc-flapboard-cols span:last-child { text-align: right; }
  .icc-flaprow { grid-template-columns: 40px auto auto minmax(0, 1fr); grid-template-areas: "logo label gain status"; gap: 18px; padding: 12px 6px; }
  .icc-flaprow-logo { width: 40px; height: 40px; }
  .icc-flaps { display: flex; }
  .icc-flaprow-name { display: none; }
}
.icc-hackband-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.icc-hackband-note { font: 400 20px/1.2 var(--hand); rotate: -3deg; color: var(--muted); }
.icc-hackband-note::before { content: "\2190"; content: "\2190" / ""; margin-right: .3em; }
.icc-hack-figure { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; font: 300 17px/1.3 var(--sans); }
.icc-hack-figure .icc-num { padding: 0 .06em; font: 400 clamp(84px, 10vw, 136px)/.9 var(--figures); letter-spacing: .01em;
  background: linear-gradient(var(--sun), var(--sun)) 0 78% / 100% 34% no-repeat; }

/* A transfer route: the card, the door, the goal, each leg's ratio over its arrow, and the direct way crossed out above */
.icc-route { --art: clamp(76px, 9vw, 112px); --logo: clamp(46px, 5.4vw, 66px); position: relative; display: flex; align-items: center; }
.icc-route.has-skip { padding-top: 52px; }
.icc-route-stop { display: grid; flex: none; place-items: center; }
.icc-route-stop .icc-art { --w: var(--art); rotate: -6deg; box-shadow: inset 0 0 0 1px var(--edge), 0 14px 24px -16px rgba(16, 35, 29, .55); }
.icc-route-logo { box-sizing: border-box; width: var(--logo); height: auto; aspect-ratio: 1; padding: 7px; border-radius: 50%; object-fit: contain; background: var(--card);
  box-shadow: 0 0 0 1px var(--line), 0 8px 18px -10px rgba(26, 25, 21, .45); }
.icc-route-leg { position: relative; flex: 1; min-width: 40px; height: 2px; margin-inline: 10px 12px; background: var(--ink); }
.icc-route-leg::after { content: ""; position: absolute; right: -1px; top: 50%; width: 9px; height: 9px; border: solid var(--ink); border-width: 2px 2px 0 0; translate: 0 -50%; rotate: 45deg; }
.icc-route-leg b { position: absolute; left: 50%; bottom: 7px; translate: -50% 0; font: 400 28px/1 var(--figures); letter-spacing: .02em; white-space: nowrap; }
.icc-route-skip { position: absolute; top: 18px; left: calc(var(--art) / 2); right: calc(var(--logo) / 2); height: 30px; border: 2px dashed var(--faint); border-bottom: 0; border-radius: 22px 22px 0 0; }
.icc-route-skip s { position: absolute; left: 50%; top: -16px; translate: -50% 0; padding: 0 10px; background: var(--paper); color: var(--muted); font: 400 22px/1.2 var(--hand);
  white-space: nowrap; text-decoration-thickness: 2px; text-decoration-color: var(--ink); }
@media (prefers-reduced-motion: no-preference) {  /* the one moment: as a hack scrolls in, its route draws itself, leg by leg */
  .icc-rise.is-in .icc-route-leg { animation: icc-draw 650ms var(--ease) 350ms both; }
  .icc-rise.is-in .icc-route-leg ~ .icc-route-leg { animation-delay: 800ms; }
  .icc-rise.is-in .icc-route-skip { animation: icc-fade 500ms ease 1250ms both; }
  .icc-rise.is-in .icc-hack-figure .icc-num { animation: icc-underline 700ms cubic-bezier(.65, 0, .35, 1) 500ms both; }
}
@keyframes icc-draw { from { clip-path: inset(-44px 100% -12px -12px); } to { clip-path: inset(-44px -14px -12px -12px); } }
@keyframes icc-fade { from { opacity: 0; } }
@keyframes icc-underline { from { background-size: 0% 34%; } }
.icc-about-stats { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: 14px; color: var(--muted); }
.icc-about-stats b { margin-right: 6px; font: 400 26px/1 var(--figures); color: var(--ink); }
.icc-qa { display: grid; gap: 22px; }
.icc-qa dt { font-weight: 500; }
.icc-qa dd { margin: 6px 0 0; color: var(--muted); line-height: 1.55; }

.icc-chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); background: var(--card); font-size: 13px; color: var(--ink); }
a.icc-chip:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.icc-chip small { margin-left: 8px; font: 500 11px var(--mono); color: var(--muted); }
.icc-chip.is-on { background: var(--ink); color: #fff; box-shadow: none; }
.icc-chip.is-on small { color: rgba(255, 255, 255, .7); }
.icc-chip img { width: 18px; height: 18px; margin: 0 7px 0 -5px; border-radius: 5px; object-fit: contain; }
.icc-banks { display: flex; flex-wrap: wrap; gap: 8px; }
.icc-select { height: 38px; padding: 0 34px 0 14px; border: 0; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='%236f6a61' stroke-width='1.5'%3E%3Cpath d='m1 1 4 4 4-4'/%3E%3C/svg%3E") no-repeat right 14px center; font-size: 14px; -webkit-appearance: none; appearance: none; cursor: pointer; }
.icc-table-wrap { position: relative; max-width: 100%; overflow-x: auto; border-radius: 22px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.icc-table { width: 100%; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.icc-table th, .icc-table td { padding: 14px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--line-soft); }
.icc-table thead th { border-top: 0; font: 700 11px var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.icc-table tbody th { font-weight: 500; }
.icc-table tbody tr:hover { background: #fbfaf7; }
.icc-table a:hover { color: var(--route-ink); }
.icc-table .icc-r { text-align: right; white-space: nowrap; }
.icc-table .icc-sub { display: block; font-weight: 300; font-size: 13px; color: var(--muted); }

/* The tier list: an ink-ruled board, S to D in tier-maker colours, rows of mist so dark metal cards still read. Rows slide
   in one after another and their cards drop into place; cards out of reach at your income fade */
[data-tier="S"] { --tier: #ff7f7f; }
[data-tier="A"] { --tier: #ffbf7f; }
[data-tier="B"] { --tier: #ffdf7f; }
[data-tier="C"] { --tier: #ffff7f; }
[data-tier="D"] { --tier: #bfff7f; }
.icc-board { display: grid; gap: 3px; padding: 3px; border-radius: 24px; background: var(--ink); }
.icc-tier { display: grid; grid-template-columns: 64px minmax(0, 1fr); min-height: 112px; background: var(--mist); }
.icc-tier:first-child, .icc-tier:first-child .icc-tier-letter { border-top-left-radius: 21px; }  /* rounded by hand, not clipped: hover cards must spill out */
.icc-tier:first-child { border-top-right-radius: 21px; }
.icc-tier:last-child, .icc-tier:last-child .icc-tier-letter { border-bottom-left-radius: 21px; }
.icc-tier:last-child { border-bottom-right-radius: 21px; }
.icc-tier-letter { display: grid; place-content: center; justify-items: center; gap: 4px; padding: 8px 4px; background: var(--tier); color: var(--ink); text-align: center; }
.icc-tier-letter b { font: 400 46px/1 var(--figures); }
.icc-tier-letter span { font: 700 10px/1.2 var(--label); letter-spacing: .02em; }
.icc-tier-cards { position: relative; display: flex; flex-wrap: wrap; align-content: center; gap: 14px 10px; padding: 14px 12px; }  /* relative: as .icc-shortlist */
.icc-tier-card { position: relative; width: 72px; }
.icc-tier-card a { display: grid; grid-template-rows: 61px auto; gap: 7px; font: 500 11.5px/1.25 var(--sans); text-align: center; transition: translate 200ms var(--ease); }
.icc-tier-card .icc-art { align-self: end; justify-self: center; }  /* the art slot is as tall as an upright card, so upright and flat cards weigh the same */
.icc-tier-card .icc-art.icc-art--photo.is-portrait { width: auto; height: 100%; aspect-ratio: auto; container-type: normal; }  /* size containment would zero a width taken from the height */
.icc-tier-card a span { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.icc-tier-card a:hover { translate: 0 -4px; }
.icc-tier-card .icc-art--sm { --w: 72px; }
.icc-tier-card > a { transition: opacity 300ms ease, translate 200ms var(--ease); }
.icc-tier-card.is-out > a { opacity: .4; }  /* the card fades, its hover card doesn't */
.icc-tier-card.is-out:hover > a { opacity: .85; }
.icc-tier-card.is-paused > a { opacity: .45; filter: grayscale(1); }  /* paused (Amex): findable by score, never mistaken for open */
.icc-tier-card.is-paused:hover > a { opacity: .85; }
.icc-paused { font: 600 9.5px/1 var(--label); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.icc-tip-paused { font-size: 12px; line-height: 1.4; color: var(--muted); }
/* Hover cards (static/js/icc.js places them): above their anchor, or below where the bar leaves no room, nudged by --tip-dx
   to stay on screen. Hidden until open, so a closed one never widens the page */
[data-tip-host] { position: relative; }
[data-tip] { position: absolute; z-index: 6; left: 50%; bottom: calc(100% + 10px); display: none; translate: calc(-50% + var(--tip-dx, 0px)) 0; transform-origin: 50% 100%; pointer-events: none; }
[data-place="below"] > [data-tip] { top: calc(100% + 10px); bottom: auto; transform-origin: 50% 0; }
.is-tip { z-index: 6; }
.is-tip > [data-tip] { display: grid; }
@media (hover: hover) { html:not(.js) [data-tip-host]:hover > [data-tip] { display: grid; } }  /* no script: hover still shows it, unplaced */
@media (prefers-reduced-motion: no-preference) {
  [data-tip] { transition: opacity 160ms ease, scale 260ms var(--ease); }
  @starting-style { .is-tip > [data-tip] { opacity: 0; scale: .94; } }
}
/* A tier card's numbers: hover it, or press and hold on a phone (a tap opens the card page) */
.icc-tier-card { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; }  /* the press opens the numbers, not the link menu */
.icc-tier-tip { gap: 2px; width: 264px; max-width: calc(100vw - 24px); padding: 14px 16px; border-radius: 16px; background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 18px 40px -18px rgba(26, 25, 21, .35); text-align: left; }
.icc-tier-tip b { font: 500 15px/1.3 var(--sans); }
.icc-tip-score { display: flex; align-items: center; gap: 10px; margin: 4px 0 6px; }
.icc-tip-score em { font: 400 34px/1 var(--figures); font-style: normal; letter-spacing: .01em; }
.icc-tip-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.icc-tip-row small { font-size: 12.5px; color: var(--muted); }
.icc-tip-why { margin-top: 8px; font-size: 13px; line-height: 1.45; }
.icc-tier-empty { align-self: center; font-size: 13px; color: var(--faint); }
@media (min-width: 760px) {
  .icc-tier { grid-template-columns: 104px minmax(0, 1fr); min-height: 150px; }
  .icc-tier-letter b { font-size: 64px; }
  .icc-tier-letter span { font-size: 11px; }
  .icc-tier-cards { gap: 18px 16px; padding: 20px 22px; }
  .icc-tier-card { width: 108px; }
  .icc-tier-card .icc-art--sm { --w: 108px; }
  .icc-tier-card a { grid-template-rows: 92px auto; font-size: 12.5px; }
}
.icc-tier-foot { margin-top: 18px; }
@media (prefers-reduced-motion: no-preference) {  /* rows stay put (the board never shows a gap); their colour sweeps in, the letter pops, the cards drop */
  .icc-tier.icc-rise { opacity: 1; animation: none; }
  .icc-tier.icc-rise:not(.is-in) .icc-tier-letter { clip-path: inset(0 100% 0 0); }
  .icc-tier.icc-rise:not(.is-in) :is(.icc-tier-letter b, .icc-tier-card) { opacity: 0; }
  .icc-tier.icc-rise.is-in .icc-tier-letter { animation: icc-sweep 500ms var(--ease) calc(var(--i, 0) * 120ms) backwards; }
  .icc-tier.icc-rise.is-in .icc-tier-letter b { animation: icc-pop 550ms var(--ease) calc(var(--i, 0) * 120ms + 180ms) backwards; }
  .icc-tier.icc-rise.is-in .icc-tier-card { animation: icc-drop 700ms cubic-bezier(.34, 1.56, .64, 1) calc(var(--i, 0) * 120ms + var(--j, 0) * 60ms + 300ms) backwards; }
}
@keyframes icc-sweep { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes icc-drop { from { opacity: 0; translate: 0 -36px; rotate: -8deg; scale: .6; } }
/* Card, bank, compare and best pages: a shorter vault, then paper */
.icc-crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 24px; font-size: 14px; color: var(--vault-muted); }
.icc-crumbs a:hover { color: var(--vault-ink); }
.icc-crumbs [aria-current] { color: var(--vault-ink); }
.icc-card-hero { display: grid; gap: 40px; align-items: center; padding: 28px 0 64px; }
@media (min-width: 960px) { .icc-card-hero { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 64px; padding: 40px 0 88px; } }
.icc-card-hero-copy { display: grid; gap: 22px; justify-items: start; }
.icc-card-hero h1 { font: 300 clamp(40px, 5.6vw, 72px)/1.04 var(--sans); letter-spacing: -.035em; text-wrap: balance; }
.icc-card-why { max-width: 38ch; font: 300 clamp(20px, 2.2vw, 25px)/1.4 var(--sans); color: var(--vault-muted); }
.icc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.icc-btn.is-off { opacity: .4; cursor: not-allowed; }  /* Apply stays in place on a card nobody can apply for, with why under it */
.icc-apply-note { margin-top: 10px; font-size: 13px; line-height: 1.45; color: var(--muted); }
.icc-provenance { max-width: 60ch; font-size: 13px; line-height: 1.55; color: var(--vault-muted); }
.icc-provenance a { color: var(--vault-ink); text-decoration: underline; text-decoration-color: var(--vault-line); text-underline-offset: 3px; }
.icc-closed-note { padding: 8px 14px; border-radius: 999px; background: #fbe9e5; color: var(--route-ink); font-size: 14px; }
.icc-page-head { display: grid; gap: 18px; padding: 28px 0 72px; max-width: 820px; }
@media (max-width: 720px) { .icc-page-head { padding-bottom: 24px; } }  /* phones: the hero's own bottom padding is gap enough */
.icc-page-head h1 { font: 300 clamp(40px, 5.6vw, 72px)/1.04 var(--sans); letter-spacing: -.035em; text-wrap: balance; }
.icc-page-head h1 em { font-style: normal; font-weight: 500; color: var(--gold-text); }
.icc-bank-mark { width: 56px; height: 56px; border-radius: 14px; object-fit: contain; background: #fff; box-shadow: 0 0 0 1px var(--line); }  /* the bank's logo over its page's title */
@media (max-width: 640px) { .icc-bank-mark { width: 48px; height: 48px; border-radius: 12px; } }

.icc-doc { display: grid; gap: 72px; padding-block: 72px 128px; }
/* Card pages: the depth folds away; open what you need */
.icc-mores { display: grid; border-bottom: 1px solid var(--line); }
.icc-more { border-top: 1px solid var(--line); }
.icc details::details-content { min-width: 0; }  /* a grid item in .icc-block: unshrunk, a wide table pushes the fold past a phone's edge */
.icc-more > summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; cursor: pointer; list-style: none; }
.icc-more > summary::-webkit-details-marker { display: none; }
.icc-more > summary::after { content: "+"; font: 300 30px/1 var(--sans); color: var(--muted); transition: transform 200ms var(--ease); }
.icc-more[open] > summary::after { transform: rotate(45deg); }
.icc-more > summary h2 { font: 300 clamp(24px, 2.6vw, 32px)/1.1 var(--sans); letter-spacing: -.02em; }
.icc-more[open] { padding-bottom: 32px; }
/* Stars: five, filled to the score (--v is the share filled). Ink on a hairline grey; they fill in as they rise */
.icc-stars { position: relative; display: inline-block; flex: none; width: 5.4em; height: 1em; font-size: 16px; vertical-align: -2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 108 20' fill='%23e8e5de'%3E%3Cpath transform='translate(0 0)' d='M10 1.6l2.5 5.2 5.7.8-4.1 4 1 5.6L10 14.5l-5.1 2.7 1-5.6-4.1-4 5.7-.8z'/%3E%3Cpath transform='translate(22 0)' d='M10 1.6l2.5 5.2 5.7.8-4.1 4 1 5.6L10 14.5l-5.1 2.7 1-5.6-4.1-4 5.7-.8z'/%3E%3Cpath transform='translate(44 0)' d='M10 1.6l2.5 5.2 5.7.8-4.1 4 1 5.6L10 14.5l-5.1 2.7 1-5.6-4.1-4 5.7-.8z'/%3E%3Cpath transform='translate(66 0)' d='M10 1.6l2.5 5.2 5.7.8-4.1 4 1 5.6L10 14.5l-5.1 2.7 1-5.6-4.1-4 5.7-.8z'/%3E%3Cpath transform='translate(88 0)' d='M10 1.6l2.5 5.2 5.7.8-4.1 4 1 5.6L10 14.5l-5.1 2.7 1-5.6-4.1-4 5.7-.8z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.icc-stars::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v, 0%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 108 20' fill='%231a1915'%3E%3Cpath transform='translate(0 0)' d='M10 1.6l2.5 5.2 5.7.8-4.1 4 1 5.6L10 14.5l-5.1 2.7 1-5.6-4.1-4 5.7-.8z'/%3E%3Cpath transform='translate(22 0)' d='M10 1.6l2.5 5.2 5.7.8-4.1 4 1 5.6L10 14.5l-5.1 2.7 1-5.6-4.1-4 5.7-.8z'/%3E%3Cpath transform='translate(44 0)' d='M10 1.6l2.5 5.2 5.7.8-4.1 4 1 5.6L10 14.5l-5.1 2.7 1-5.6-4.1-4 5.7-.8z'/%3E%3Cpath transform='translate(66 0)' d='M10 1.6l2.5 5.2 5.7.8-4.1 4 1 5.6L10 14.5l-5.1 2.7 1-5.6-4.1-4 5.7-.8z'/%3E%3Cpath transform='translate(88 0)' d='M10 1.6l2.5 5.2 5.7.8-4.1 4 1 5.6L10 14.5l-5.1 2.7 1-5.6-4.1-4 5.7-.8z'/%3E%3C/svg%3E") 0 0 / 5.4em 1em no-repeat; }
.icc-stars.is-sm { font-size: 11px; }
@media (prefers-reduced-motion: no-preference) {
  .icc-rise.is-in .icc-stars::after { animation: icc-fill 900ms cubic-bezier(.65, 0, .35, 1) calc(var(--i, 0) * 70ms + 250ms) backwards; }
  .icc-rise.is-in [data-tip] .icc-stars::after { animation-duration: 450ms; animation-delay: 60ms; }  /* a hover card fills at once, every time it opens */
}
@keyframes icc-fill { from { width: 0; } }
/* The card's score: the number out of 5 and its stars, then five metrics, each with its stars and the fact behind them */
.icc-score { display: grid; gap: 28px 56px; padding: 28px 24px; border-radius: 24px; box-shadow: 0 0 0 1px var(--line); }
@media (min-width: 860px) { .icc-score { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: center; padding: 40px 44px; } }
.icc-score-head { display: grid; gap: 10px; align-content: start; justify-items: start; }
.icc-score-big { display: flex; align-items: baseline; gap: 8px; }
.icc-score-big b { font: 400 clamp(84px, 9vw, 120px)/.85 var(--figures); letter-spacing: .01em; }
.icc-score-big span { font: 400 30px/1 var(--figures); color: var(--faint); }
.icc-score-big.is-none { font: 300 26px/1.2 var(--sans); }
.icc-score-head .icc-stars { font-size: 24px; }
.icc-score-title { font: 500 15px/1.4 var(--sans); }
.icc-score-who { font-size: 13.5px; color: var(--muted); }
.icc-score-rows { display: grid; gap: 16px; }
.icc-score-rows li { display: grid; grid-template-columns: 92px auto minmax(0, 1fr); align-items: center; gap: 4px 16px; }
@media (max-width: 559px) { .icc-score-rows li { grid-template-columns: 88px auto; } .icc-score-why { grid-column: 1 / -1; } }
.icc-score-label { font-weight: 500; }
.icc-score-why { font-size: 14px; line-height: 1.45; color: var(--muted); }
.icc-score-none { width: 5.4em; font-size: 12.5px; color: var(--faint); }
.icc-score-label small { display: block; font-size: 12px; font-weight: 400; color: var(--faint); }
/* A team pick (_pick.html): the picker's initial, their words and name, under the score panel and, smaller, on ranked rows */
.icc-pick { grid-column: 1 / -1; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 14px; align-items: start; margin: 0; padding-top: 24px; border-top: 1px solid var(--line-soft); }
.icc-pick-face { grid-row: span 2; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: var(--sun); }
.icc-pick blockquote { max-width: 64ch; font: 400 18px/1.5 var(--sans); quotes: "\201C" "\201D"; }
.icc-pick blockquote::before { content: open-quote; }
.icc-pick blockquote::after { content: close-quote; }
@media (max-width: 559px) { .icc-pick blockquote { font-size: 16px; } }
.icc-pick figcaption { font-size: 13.5px; color: var(--muted); }
.icc-pick figcaption b { font-weight: 500; color: var(--ink); }
.icc-pick--row { grid-template-columns: 24px minmax(0, 1fr); gap: 2px 10px; margin-top: 10px; padding: 0; border: 0; }
.icc-pick--row .icc-pick-face { width: 24px; height: 24px; }
.icc-pick--row blockquote { font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.icc-pick--row figcaption { font-size: 12.5px; }
.icc-block { display: grid; gap: 24px; scroll-margin-top: 88px; }
.icc-block > h2 { font: 300 clamp(30px, 3.6vw, 44px)/1.08 var(--sans); letter-spacing: -.03em; }
.icc-prose { max-width: 68ch; font-weight: 300; font-size: 18px; line-height: 1.7; }
.icc-split { display: grid; gap: 20px; }
@media (min-width: 760px) { .icc-split { grid-template-columns: 1fr 1fr; gap: 28px; } }
.icc-good, .icc-skip { display: grid; gap: 10px; align-content: start; padding: 22px 22px 24px; border-radius: 22px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.icc-good h3, .icc-skip h3 { font: 500 15px var(--sans); }
.icc-good li, .icc-skip li { position: relative; padding-left: 22px; color: var(--muted); line-height: 1.5; }
.icc-good li::before, .icc-skip li::before { position: absolute; left: 0; font-family: var(--mono); }
.icc-good li::before { content: "+"; color: #2f7d4f; }
.icc-skip li::before { content: "-"; color: var(--route); }

/* The evidence on a card page: how ₹1 lakh becomes flights, step by step; what one point bought; the fares behind it */
.icc-flow { display: grid; gap: 24px; }
.icc-flow li { position: relative; display: grid; gap: 6px; align-content: start; padding: 20px 22px; border-radius: 20px; background: var(--mist); }
.icc-flow li:last-child { background: var(--sun); }
.icc-flow-figure { font: 400 clamp(38px, 3.8vw, 54px)/1 var(--figures); letter-spacing: .005em; }
.icc-flow li span { font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.icc-flow li:last-child span { color: var(--ink); }
.icc-flow li:not(:last-child)::after {  /* the arrow to the next step: down on phones, across on wider screens */
  content: ""; position: absolute; z-index: 1; left: 50%; bottom: -21px; width: 18px; height: 18px; translate: -50% 0; rotate: 90deg;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18' fill='none' stroke='%231a1915' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 9h13M10 4l5 5-5 5'/%3E%3C/svg%3E") no-repeat center / contain;
}
@media (min-width: 760px) {
  .icc-flow { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; }
  .icc-flow li:not(:last-child)::after { left: auto; right: -25px; bottom: auto; top: 50%; translate: 0 -50%; rotate: none; }
}
.icc-points { display: grid; gap: 18px; align-content: start; margin: 0; padding: 24px; border-radius: 24px; box-shadow: 0 0 0 1px var(--line); }
.icc-points figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; }
.icc-points h3 { font: 500 17px var(--sans); }
.icc-legend { display: flex; gap: 14px; font-size: 12.5px; color: var(--muted); }
.icc-legend i { display: inline-block; width: 10px; height: 10px; margin-right: 6px; border-radius: 3px; vertical-align: -1px; }
.icc-legend .is-econ, .icc-point-bar.is-econ i { background: var(--ink); }
.icc-legend .is-biz, .icc-point-bar.is-biz i { background: var(--sun); box-shadow: inset 0 0 0 1.5px var(--ink); }
.icc-points ul { display: grid; gap: 16px; }
.icc-point { display: grid; gap: 6px; }
.icc-point-name { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.icc-point-name b { font-weight: 500; }
.icc-point-name em { padding: 2px 8px; border-radius: 999px; background: var(--sun); font: 700 10px var(--label); font-style: normal; letter-spacing: .06em; text-transform: uppercase; }
.icc-point-name small { margin-left: auto; font: 500 12px var(--mono); color: var(--muted); }
.icc-point-bar { display: flex; align-items: center; gap: 8px; height: 14px; }
.icc-point-bar i { flex: none; width: calc((100% - 64px) * var(--w) / 100); height: 100%; border-radius: 4px; transform-origin: left; }
.icc-point-bar b { font: 500 12.5px var(--mono); }
.icc-tickets { display: grid; gap: 10px; }
.icc-ticket { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 14px 18px; border-radius: 16px; background: var(--mist); }
.icc-ticket::before, .icc-ticket::after { content: ""; position: absolute; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--paper); }  /* a boarding pass's notches */
.icc-ticket::before { left: -7px; }
.icc-ticket::after { right: -7px; }
.icc-ticket-route { font: 400 28px/1 var(--figures); letter-spacing: .02em; }
.icc-ticket-cabin { display: inline-block; margin-left: 10px; padding: 3px 8px; border-radius: 999px; vertical-align: middle; background: var(--ink); color: #fff; font: 700 10px/1.2 var(--label); font-style: normal; letter-spacing: .06em; text-transform: uppercase; }  /* coloured as in the chart below: economy ink, the cabins above it sun */
.icc-ticket-cabin.is-up { background: var(--sun); color: var(--ink); }
.icc-ticket-spend { grid-column: 2 / -1; font-size: 14px; color: var(--muted); }  /* the card spend a trip takes: the one-look figure */
.icc-ticket-spend b { font: 600 19px var(--sans); color: var(--ink); }
.icc-ticket-cash { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); }
/* With the destination's photo: a square at the left, the fare beside it */
.icc-ticket:has(.icc-ticket-photo) { grid-template-columns: 76px minmax(0, 1fr) auto; column-gap: 16px; padding-left: 12px; }
.icc-ticket-media { position: relative; grid-row: 1 / span 3; align-self: center; }
.icc-ticket-photo { display: block; width: 76px; height: 76px; border-radius: 12px; object-fit: cover; background: var(--line); }
.icc-partner { display: inline-flex; align-items: center; gap: 10px; }  /* a transfer partner, its logo first (compare and card tables) */
.icc-partner img { flex: none; width: 28px; height: 28px; border-radius: 8px; object-fit: cover; background: #fff; box-shadow: 0 0 0 1px var(--line); }
@media (max-width: 640px) { .icc-partner { gap: 8px; } .icc-partner img { width: 22px; height: 22px; border-radius: 6px; } }
.icc-ticket-logo { position: absolute; right: -7px; bottom: -7px; width: 30px; height: 30px; border-radius: 9px; object-fit: cover; background: #fff; box-shadow: 0 0 0 2.5px var(--mist), 0 3px 8px rgba(26, 25, 21, .2); }  /* the programme the fare was found on, a sticker on the city */
@media (max-width: 559px) {
  .icc-ticket:has(.icc-ticket-photo) { grid-template-columns: 60px minmax(0, 1fr) auto; column-gap: 12px; }
  .icc-ticket-photo { width: 60px; height: 60px; }
  .icc-ticket-logo { width: 24px; height: 24px; border-radius: 7px; right: -6px; bottom: -6px; }
  .icc-trips .icc-ticket-route { font-size: 20px; }
}
.icc-ticket-photo.is-blank { display: grid; place-items: center; background: var(--sun-soft); font: 400 26px/1 var(--figures); letter-spacing: .04em; }  /* no photo we can use: the airport's code */
.icc-ticket:has(.icc-ticket-photo) .icc-ticket-cash { grid-column: 2 / -1; }
@media (prefers-reduced-motion: no-preference) {
  .icc-flow > .icc-rise.is-in { animation-delay: calc(var(--i, 0) * 180ms); }  /* the steps read in order */
  .icc-flow > .icc-rise.is-in::after { animation: icc-arrow 450ms var(--ease) calc(var(--i, 0) * 180ms + 380ms) backwards; }
  .icc-point.icc-rise.is-in .icc-point-bar i { animation: icc-grow 900ms var(--ease) calc(var(--i, 0) * 90ms + 150ms) backwards; }
  .icc-point.icc-rise.is-in .icc-point-bar b { animation: icc-fade 400ms ease calc(var(--i, 0) * 90ms + 700ms) backwards; }
  .icc-tickets > .icc-rise.is-in { animation-name: icc-slide; }
}
@keyframes icc-arrow { from { opacity: 0; scale: .2; } }
@keyframes icc-grow { from { transform: scaleX(0); } }
@keyframes icc-fade { from { opacity: 0; } }
@keyframes icc-slide { from { opacity: 0; translate: 32px 0; } }
.icc-unvalued { padding: 26px 28px; border-radius: 24px; background: var(--card); box-shadow: 0 0 0 1px var(--line); line-height: 1.6; color: var(--muted); }
.icc-unvalued b { color: var(--ink); font-weight: 500; }

.icc-plates { display: grid; gap: 16px; }
@media (min-width: 760px) { .icc-plates { grid-template-columns: repeat(2, 1fr); } }
.icc-plate { padding: 8px 22px 10px; border-radius: 22px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.icc-plate h3 { padding: 14px 0 6px; font: 700 11px var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.icc-plate dl > div { display: grid; gap: 2px; padding: 12px 0; border-top: 1px solid var(--line-soft); }
@media (min-width: 520px) { .icc-plate dl > div { grid-template-columns: 9.5rem minmax(0, 1fr); gap: 16px; } }
.icc-plate dt { font-size: 14px; color: var(--muted); }
.icc-plate dd { line-height: 1.55; }
.icc-plate dd ul { display: grid; gap: 4px; }
.icc-changes { display: grid; margin-left: 6px; border-left: 1px solid var(--line); }
.icc-changes li { position: relative; display: grid; gap: 2px; padding: 0 0 22px 24px; }
.icc-changes li::before { content: ""; position: absolute; left: -5px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--route); }
.icc-changes span:first-child { font: 500 13px var(--mono); color: var(--route-ink); }

/* Updates: every change on the same timeline as a card page's "What changed": Coming up in a yellow panel with yellow
   dates, then month by month. Bank chips narrow it, with script only; each card a swatch beside its name */
.icc-updates { gap: 48px; padding-top: 40px; }  /* the feed starts sooner than a doc page's sections */
.icc-filter { display: none; }
.js .icc-filter { display: flex; flex-wrap: wrap; gap: 8px; }
button.icc-chip:not(.is-on):hover { box-shadow: inset 0 0 0 1px var(--ink); }
.icc-coming { padding: clamp(22px, 4vw, 36px); border-radius: 22px; background: var(--sun-soft); }
.icc-month { display: grid; gap: 16px; }
.icc-block > .icc-month + .icc-month { margin-top: 20px; }
.icc-month h3 { font: 700 11px var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.icc-feed { display: grid; margin-left: 6px; border-left: 1px solid var(--line); }
.icc-change { position: relative; display: grid; gap: 6px; padding: 0 0 28px 26px; }
.icc-change:last-child { padding-bottom: 4px; }
.icc-change::before { content: ""; position: absolute; left: -5px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 2px var(--route); }
.icc-change-when { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font: 500 13px var(--mono); color: var(--route-ink); }
.icc-change-bank { font: 700 11px var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.icc-change-what { max-width: 64ch; font-size: 16px; line-height: 1.55; }
.icc-change-cards { display: grid; gap: 8px; margin-top: 6px; }
.icc-change-cards li { position: relative; display: flex; flex-wrap: wrap; align-content: center; align-items: baseline; gap: 2px 14px; min-height: 33px; padding-left: 64px; font-size: 14px; }
.icc-change-card { font-weight: 500; }
.icc-change-card span { margin: 0 -.2em; padding: 0 .2em; border-radius: 5px; transition: background-color 160ms var(--ease); }
.icc-change-card .icc-art { --w: 52px; position: absolute; left: 0; top: 0; }  /* the swatch holds its corner; what follows wraps beside it */
@media (max-width: 640px) { .icc-change-now, .icc-change-source { font-size: 13px; } }
.icc-change-card .icc-art > * { display: none; }  /* a swatch at this size: the name is right beside it */
.icc-change-now { color: var(--muted); }
.icc-change-source { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.icc-change-source:hover { color: var(--ink); text-decoration-color: currentColor; }
@media (hover: hover) { .icc-change-card:hover span { background-color: var(--sun); } }
.icc-coming .icc-feed { border-left-color: rgba(26, 25, 21, .16); }
/* Unofficial stories (tools/card_stories.py): each on its own plain panel so it never reads as a bank's own change, with
   the bank's logo, an Unconfirmed tag, and confidence as a three-bar meter of its own; sources show their sites' icons */
.icc-change.is-story::before { top: 22px; background: var(--paper); box-shadow: inset 0 0 0 2px var(--muted); }
.icc-story { display: grid; gap: 10px; max-width: 72ch; padding: 18px 20px 16px; border-radius: 18px; background: var(--mist); box-shadow: inset 0 0 0 1px var(--line); }
.icc-story-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.icc-story-bank { width: 32px; height: 32px; border-radius: 9px; object-fit: contain; background: #fff; box-shadow: 0 0 0 1px var(--line); }
.icc-story-flag { padding: 4px 10px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 10.5px/1.3 var(--label); letter-spacing: .1em; text-transform: uppercase; }
.icc-story-date { font: 500 13px var(--mono); color: var(--muted); }
.icc-story-meter { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; font: 600 12.5px/1 var(--sans); color: var(--ink); }
.icc-story-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.icc-story-bars i { width: 4px; border-radius: 1px; background: rgba(26, 25, 21, .15); }
.icc-story-bars i:nth-child(1) { height: 5px; }
.icc-story-bars i:nth-child(2) { height: 8px; }
.icc-story-bars i:nth-child(3) { height: 12px; }
.icc-story-bars i.is-on { background: var(--ink); }
.icc-story-meter.is-low .icc-story-bars i.is-on { background: var(--route); }
.icc-story-meter.is-medium .icc-story-bars i.is-on { background: var(--sun-deep); }
.icc-story-meter.is-high .icc-story-bars i.is-on { background: #2f8a4f; }
.icc-story-title { font: 600 17px/1.35 var(--sans); letter-spacing: -.01em; text-wrap: balance; }
.icc-story-what { font-size: 15.5px; line-height: 1.55; color: var(--ink); }
.icc-story-sources { display: grid; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.icc-story-sources > span { font: 700 10.5px var(--label); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.icc-story-sources ul { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; list-style: none; }
.icc-story-sources a { display: inline-flex; align-items: center; gap: 7px; height: 30px; padding: 0 11px 0 8px; border-radius: 999px; background: #fff;
  box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; color: var(--ink); }
.icc-story-sources img { width: 16px; height: 16px; border-radius: 3px; }
@media (hover: hover) { .icc-story-sources a:hover { box-shadow: inset 0 0 0 1px var(--ink); } }
@media (max-width: 559px) { .icc-story { padding: 16px; } .icc-story-meter { margin-left: 0; } }
.icc-story-note { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 10px; align-items: baseline; margin-top: 14px; padding: 12px 14px; border-radius: 14px;
  background: var(--mist); box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; line-height: 1.45; color: var(--ink); }
.icc-story-note b { padding: 2px 8px; border-radius: 999px; background: var(--ink); color: #fff; font: 700 10.5px/1.4 var(--label); letter-spacing: .08em; text-transform: uppercase; }
.icc-story-note small { grid-column: 2; font-size: 12.5px; color: var(--muted); }
@media (hover: hover) { .icc-story-note:hover { box-shadow: inset 0 0 0 1px var(--ink); } }
.icc-story-level { text-transform: capitalize; }
.icc-change.is-soon::before { background: var(--sun); box-shadow: inset 0 0 0 2px var(--ink); }
.icc-change-badge { padding: 3px 10px; border-radius: 8px; background: var(--sun); color: var(--ink); font: 600 13px var(--mono); }
.icc-change-when small { font: 500 12.5px var(--sans); color: var(--muted); }

/* best/'s directory: wants and salaries as chips, airlines, hotels and banks as logo tiles, the popular ones first; the
   cards we can't rank yet sit quieter at the end */
.icc-dir { gap: 20px; }
.icc-dir + .icc-dir { margin-top: -24px; }
.icc-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 10px; }
.icc-tile { display: flex; align-items: center; gap: 12px; height: 100%; padding: 10px 14px 10px 10px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); background: var(--card); font-size: 14.5px; line-height: 1.25; transition: box-shadow 160ms ease; }
@media (hover: hover) { .icc-tile:hover { box-shadow: inset 0 0 0 1px var(--ink); } }
.icc-tile-logo { display: grid; place-items: center; flex: none; width: 36px; height: 36px; overflow: hidden; border-radius: 10px; background: var(--mist); }
.icc-tile-logo img { width: 100%; height: 100%; object-fit: contain; }
.icc-tile-logo b { font: 700 15px var(--sans); color: var(--muted); }  /* a bank we have no logo for: its initial */
.icc-tile-name { display: grid; min-width: 0; font-weight: 500; }
.icc-tile-name small { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.icc-dir.is-quiet > h2 { font-size: clamp(22px, 2.4vw, 28px); color: var(--muted); }
.icc-dir.is-quiet .icc-chip { color: var(--muted); }
.icc-faq { display: grid; border-top: 1px solid var(--line); }
.icc-faq details { border-bottom: 1px solid var(--line); }
.icc-faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 500; cursor: pointer; list-style: none; }
.icc-faq summary::-webkit-details-marker { display: none; }
.icc-faq summary::after { content: "+"; font: 300 22px/1 var(--sans); color: var(--faint); transition: transform 200ms var(--ease); }
.icc-faq details[open] summary::after { transform: rotate(45deg); }
.icc-faq p { padding: 0 0 20px; max-width: 70ch; color: var(--muted); line-height: 1.65; }
.icc-related { display: grid; gap: 14px; }
@media (min-width: 760px) { .icc-related { grid-template-columns: repeat(2, 1fr); } }
.icc-related li { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 20px; background: var(--card); box-shadow: 0 0 0 1px var(--line); }
.icc-related li > a:first-child { display: flex; align-items: center; gap: 16px; flex: 1; min-width: 0; }
.icc-related b { display: block; font-weight: 500; }
.icc-related a > span > span { font-size: 13px; color: var(--muted); }
.icc-cmp { flex-shrink: 0; display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; }
.icc-cmp:hover { background: var(--line-soft); }
.icc-picker { display: flex; flex-wrap: wrap; gap: 8px; }

/* Compare */
.icc-vs { --gap: 64px; --badge: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) minmax(0, .8fr); align-items: start; gap: 20px var(--gap); padding: 20px 0 16px; }  /* side by side at every width, a slot to add a third */
.icc-vs--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 859px) { .icc-vs { --gap: 44px; --badge: 38px; } }
@media (max-width: 640px) {
  .icc-vs:not(.icc-vs--three) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .icc-vs-add { grid-column: 1 / -1; }
  .icc-vs--three { --gap: 26px; --badge: 26px; }
  .js .icc-vs--three .icc-swap-name { font-size: 15px; }
  .icc-vs--three .icc-vs-score .icc-stars { display: none; }  /* three across is tight: the number stays, the scores table has the stars */
  .icc-vs--three .icc-btn { min-height: 36px; padding: 0 14px; font-size: 13.5px; }
}
.icc-vs-side { position: relative; container-type: inline-size; display: grid; gap: 14px; justify-items: center; min-width: 0; text-align: center; }  /* min-width: each side shrinks to its column */
.icc-vs-side:not(.is-left, .icc-vs-add)::before {  /* "vs" in the gap before every card after the first, level with the middle of the cards */
  content: "vs"; position: absolute; z-index: 1; left: calc(var(--gap) / -2 + var(--nudge, 0) * min(100cqw, 440px) * .1505); top: calc(min(100cqw, 440px) * .3154);
  display: grid; place-items: center; width: var(--badge); height: var(--badge); translate: -50% -50%; border-radius: 50%;
  background: var(--sun); font: 600 calc(var(--badge) * .3) / 1 var(--sans); letter-spacing: .02em;
}
/* An upright card is drawn (54/85.6)² as wide as its column, so the gap beside it looks wider: the "vs" moves to the middle of it */
.icc-vs-side:has(.icc-vs-art .is-portrait)::before { --nudge: 1; }
.icc-vs-side:has(.icc-vs-art .is-portrait) + .icc-vs-side::before { --nudge: -1; }
.icc-vs-side:has(.icc-vs-art .is-portrait) + .icc-vs-side:has(.icc-vs-art .is-portrait)::before { --nudge: 0; }
.icc-vs-art { display: block; width: 100%; max-width: 440px; border-radius: 22px; }
.icc-vs-art .icc-tilt { display: grid; }
.icc-vs .icc-art--hero { --w: 100%; }  /* each card fills its own column, side by side at every width */
.icc-vs-go { grid-column: 1 / -1; justify-self: center; }
.icc-vs-remove { font-size: 13px; color: var(--muted); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.icc-vs-remove:hover { color: var(--ink); text-decoration-color: currentColor; }
.icc-vs-score { display: flex; align-items: center; gap: 10px; }
.icc-vs-score b { font: 400 32px/1 var(--figures); letter-spacing: .01em; }
.icc-vs-score span { font-size: 13px; color: var(--muted); }
.icc-score-table td b { font: 400 34px/1 var(--figures); }
.icc-score-table td .icc-stars { display: block; margin-bottom: 6px; }
.icc-score-table td.is-best { background: var(--sun-soft); }
.icc-vs-slot { display: none; place-content: center; justify-items: center; gap: 6px; width: 100%; aspect-ratio: 85.6 / 54; border: 2px dashed rgba(26, 25, 21, .3); background: var(--sun-soft); color: var(--ink); border-radius: 18px; color: var(--muted); font-weight: 500; transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease; }
.icc-vs-slot svg { width: 48px; height: 48px; margin-bottom: 6px; padding: 12px; border-radius: 50%; background: var(--ink); color: #fff; transition: transform 200ms var(--ease); }
.icc-vs-slot b { font: 500 18px/1.2 var(--sans); }
.icc-vs-slot small { font-size: 13px; color: var(--muted); }
.js .icc-vs-slot { display: grid; }  /* with JS the slot opens the card picker; without it, the select below does the job */
.icc-vs-slot:hover { border-color: var(--ink); background: var(--sun); }
.icc-vs-slot:hover svg { transform: rotate(90deg); }
.js .icc-vs-add select { display: none; }
@media (max-width: 640px) {
  .icc-vs-slot { grid-auto-flow: column; aspect-ratio: auto; height: 56px; border-radius: 999px; }
  .icc-vs-slot svg { width: 30px; height: 30px; margin: 0; padding: 6px; }
  .icc-vs-slot small { display: none; }
}
.js .icc-vs-go { display: none; }  /* with JS a pick submits itself (inline script); hidden from the first frame, so nothing shifts */
/* Each card's name swaps it: with JS it opens the card picker, without JS it's a select */
.icc-swap select {
  field-sizing: content; max-width: 100%; padding: 2px 30px 4px 6px; border: 0; border-bottom: 1.5px solid transparent; border-radius: 0; color: var(--ink);
  font: 300 clamp(24px, 2.6vw, 30px)/1.2 var(--sans); letter-spacing: -.02em; text-align: center; text-align-last: center; cursor: pointer; -webkit-appearance: none; appearance: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' fill='none' stroke='%231a1915' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 6px center;
  transition: border-color 160ms ease;
}
.icc-swap select:hover { border-bottom-color: var(--ink); }
/* With JS, the name shows as text that wraps on phones, and a see-through picker sits on top of it (tapping opens the native list) */
.icc-swap { position: relative; display: inline-grid; max-width: 100%; }
.icc-swap-name { display: none; }
.js .icc-swap-name { display: inline-block; max-width: 100%; padding: 2px 4px 4px; border-bottom: 1.5px solid transparent; font: 300 clamp(19px, 2.6vw, 30px)/1.2 var(--sans); letter-spacing: -.02em; text-wrap: balance; transition: border-color 160ms ease; }
.js .icc-swap-name::after {  /* the chevron rides after the last word, even when the name wraps */
  content: ""; display: inline-block; width: 14px; height: 8px; margin-left: 8px; vertical-align: middle;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' fill='none' stroke='%231a1915' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m1 1 6 6 6-6'/%3E%3C/svg%3E") no-repeat center;
}
.js .icc-swap select { display: none; }  /* with JS the name opens the card picker */
.js .icc-swap-name:hover { border-bottom-color: var(--ink); }
.icc-win { padding: 1px 7px; border-radius: 7px; background: linear-gradient(var(--sun), var(--sun)) 0 0 / 100% 100% no-repeat; color: inherit; font-weight: 600; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.icc-specs .icc-table-wrap { overflow: visible; }
.icc-cmp-table thead th { position: sticky; top: 64px; z-index: 2; background: var(--card); box-shadow: 0 1px 0 var(--line); }
.icc-cmp-table th[scope="row"] { width: 180px; color: var(--muted); font-weight: 500; }  /* before the phone rules, which widen it */
@media (max-width: 640px) {  /* phones: each row stacks, its label on top and the cards side by side */
  .icc-cmp-table, .icc-cmp-table thead, .icc-cmp-table tbody { display: block; }
  .icc-cmp-table tr { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); row-gap: 4px; }  /* no column gap: it would break each line; cells pad themselves */
  .icc-cmp-table thead th:first-child { display: none; }
  .icc-cmp-table th[scope="row"] { grid-column: 1 / -1; width: auto; padding: 14px 14px 0; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
  .icc-cmp-table tbody td { padding: 2px 14px 14px; border-top: 0; }
  .icc-cmp-table thead th { padding: 12px 14px; }
}
.icc-verdict { display: grid; gap: 10px; max-width: 70ch; }
.icc-verdict li { position: relative; padding-left: 22px; line-height: 1.6; }
.icc-verdict li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 7px; height: 7px; border-radius: 50%; background: var(--route); }

/* Footer: the wiki's own sign-off, quiet ink on paper, and the page comes to rest at the foot of the ranges */
.icc-foot { position: relative; border-top: 1px solid var(--line); background: var(--mist); font-size: 14px; }
.icc-foot > .icc-wrap { padding-block: 56px 24px; }
.icc-foot-head { display: grid; gap: 28px; margin-bottom: 52px; }
.icc-foot-brand { display: grid; gap: 16px; justify-items: start; }
.icc-foot .icc-foot-line { max-width: 26ch; color: var(--ink); font: 300 clamp(22px, 2.4vw, 28px)/1.3 var(--sans); letter-spacing: -.02em; }
@media (min-width: 1024px) { .icc-foot-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: end; } }
/* Every page by the Best cards menu's columns, then the wiki and tools: plain links, the long lists in columns of their own */
.icc-foot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
.icc-foot-grid .is-long { grid-column: 1 / -1; }
.icc-foot-grid .is-long ul { columns: 2; column-gap: 20px; }
.icc-foot li { break-inside: avoid; }
.icc-foot a:has(> .icc-foot-logo) { display: inline-flex; align-items: flex-start; }  /* a name that wraps stays beside its logo */
.icc-foot-logo { display: grid; place-items: center; flex: none; width: 18px; height: 18px; margin: 2px 8px 0 0; overflow: hidden; border-radius: 5px; }  /* one size; an empty slot keeps the names lined up */
.icc-foot-logo img { width: 100%; height: 100%; object-fit: contain; }
@media (min-width: 560px) { .icc-foot-grid .is-long ul { columns: 3; } }
@media (min-width: 1024px) {
  .icc-foot-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1.75fr) minmax(0, 1.55fr) minmax(0, 1.25fr); column-gap: 32px; }
  .icc-foot-grid .icc-foot-group { grid-row: span 2; }
  .icc-foot-grid .is-long { grid-column: auto; }
  .icc-foot-grid .is-long ul { columns: 2; }
}
.icc-foot h3 { margin-bottom: 12px; font: 700 11px var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.icc-foot li { padding: 4px 0; }
.icc-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.icc-foot p { max-width: 52ch; line-height: 1.6; color: var(--muted); }
.icc-foot p + p { margin-top: 10px; }
.icc-foot-base { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
/* The page ends with the ICC card peeking up to see you off */
.icc-foot-peek { display: grid; justify-items: center; height: clamp(84px, 11vw, 118px); margin-top: 32px; overflow: hidden; }
.icc-foot-peek .icc-mascot { width: clamp(150px, 18vw, 210px); }

/* Search: a popover from the top bar */
.icc-pop { margin: 12vh auto auto; width: min(640px, calc(100vw - 24px)); max-height: 76vh; padding: 14px; overflow: visible; border: 0; border-radius: 22px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 80px -30px rgba(26, 25, 21, .5), 0 0 0 1px var(--line); }
.icc-pop::backdrop { background: rgba(10, 33, 27, .45); }
.icc-search-box { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.icc-search-box svg { width: 18px; height: 18px; color: var(--muted); }
.icc-search input { flex: 1; min-width: 0; height: 40px; border: 0; background: transparent; outline: none; font-size: 16px; -webkit-appearance: none; appearance: none; }
.icc-search input::-webkit-search-cancel-button { display: none; }
.icc-search .icc-btn { min-height: 38px; padding: 0 16px; font-size: 14px; }
.icc-results { margin-top: 8px; max-height: 52vh; overflow-y: auto; }
.icc-results:empty { display: none; }
.icc-result-row { display: block; padding: 12px 14px; border-radius: 14px; }
.icc-result-row:hover, .icc-result-row[aria-selected="true"] { background: var(--line-soft); }
.icc-result-title { display: flex; justify-content: space-between; gap: 12px; font-weight: 500; }
.icc-result-kind { flex-shrink: 0; font-size: 12px; color: var(--muted); }
.icc-result-snippet { display: -webkit-box; margin-top: 2px; overflow: hidden; font-size: 13px; line-height: 1.5; color: var(--muted); -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.icc-result-row mark { border-radius: 3px; background: #f8e3dc; color: var(--ink); }
.icc-results-empty { padding: 14px; font-size: 14px; color: var(--muted); }
/* The card picker (compare and card pages): the search popover's box over a list of every card, best first */
.icc-pick-list { display: grid; gap: 2px; max-height: min(56vh, 520px); margin-top: 8px; overflow-y: auto; overscroll-behavior: contain; }
.icc-pick-list button { display: flex; align-items: center; gap: 14px; width: 100%; padding: 8px 10px; border-radius: 14px; text-align: left; }
.icc-pick-list button:hover { background: var(--line-soft); }
.icc-pick-list button:disabled { opacity: .4; cursor: default; background: none; }
.icc-pick-list .icc-art--sm { --w: 56px; flex: none; }
.icc-pick-list b { display: block; font-weight: 500; line-height: 1.3; }
.icc-pick-list small { font-size: 12.5px; color: var(--muted); }
.icc-pick-open { display: none; }
.js .icc-pick-open { display: inline-flex; justify-self: start; }
.js .icc-picker { display: none; }
/* Ask: a chat page. The question as a bubble on the right, the answer as plain text under it, the box pinned to the foot */
.icc-chat { display: flex; flex-direction: column; max-width: 760px; min-height: calc(100svh - 72px); padding-top: clamp(24px, 6vh, 64px); }
.icc-thread { flex: 1; display: flex; flex-direction: column; gap: 36px; padding-bottom: 28px; }
.icc-chat-hello[hidden] { display: none; }
.icc-chat-hello h1 { margin-bottom: 14px; font: 300 clamp(34px, 5vw, 52px)/1.06 var(--sans); letter-spacing: -.03em; text-wrap: balance; }
.icc-chat-hello h1 em { font-style: normal; font-weight: 500; color: var(--gold-text); }
.icc-chat-starters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.icc-chat-starters button { padding: 9px 15px; border-radius: 999px; background: var(--mist); font-size: 14.5px; text-align: left; transition: background-color 150ms ease; }
.icc-chat-starters button:hover { background: var(--sun); }
.icc-turn { display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 84px; }
.icc-turn:last-child { min-height: calc(100svh - 260px); }  /* room under the newest question, so it can sit at the top while its answer comes */
.icc-chat-q { align-self: flex-end; max-width: min(82%, 560px); padding: 10px 16px; border-radius: 20px 20px 6px 20px; background: var(--ink); color: var(--paper); font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.icc-turn.is-pending .icc-reply { max-width: 560px; }
.icc-chat-box { position: sticky; bottom: 0; z-index: 2; padding: 16px 0 calc(16px + env(safe-area-inset-bottom)); background: linear-gradient(to bottom, transparent, var(--paper) 30%); }
.icc-chat-box input { flex: 1; min-width: 0; height: 40px; border: 0; background: transparent; outline: none; font-size: 16px; }
.icc-chat-box .icc-btn { min-height: 38px; padding: 0 18px; font-size: 14px; }
.icc-reply-text { max-width: 64ch; font-size: 16px; line-height: 1.6; }
.icc-reply-text p { margin-bottom: 10px; }
.icc-reply-text ul { margin-bottom: 10px; padding-left: 20px; list-style: disc; }
.icc-reply-text a { color: var(--route-ink); text-decoration: underline; text-underline-offset: 3px; }
.icc-reply-cards { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 12px; }
.icc-reply-cards a { display: flex; align-items: center; gap: 10px; padding: 6px 12px 6px 6px; border-radius: 14px; background: var(--mist); font-size: 13px; line-height: 1.3; transition: background-color 150ms ease; }
.icc-reply-cards a:hover { background: var(--sun); }
.icc-reply-cards .icc-art--sm { --w: 44px; }
.icc-reply-cards span { display: grid; }
.icc-reply-cards small { color: var(--muted); }
.icc-reply-foot { padding-top: 10px; border-top: 1px solid var(--line-soft); font-size: 12.5px; color: var(--muted); }
.icc-reply-foot .icc-num { display: block; margin-top: 2px; }
.icc-skel { height: 11px; margin: 8px 0; border-radius: 6px; background: linear-gradient(90deg, #f1eee8, #f8f6f2, #f1eee8); background-size: 200% 100%; animation: icc-shimmer 1.2s ease-in-out infinite; }
@keyframes icc-shimmer { from { background-position: 100% 0; } to { background-position: -100% 0; } }

/* Hacks: each a row, what it's about on the left (its gain and route, or its cards), how to do it on the right */
.icc-hacklist { display: grid; border-top: 1px solid var(--line); }
.icc-hack { display: grid; gap: 28px 56px; padding: 40px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 88px; }
@media (min-width: 900px) { .icc-hack { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); padding: 56px 0; } }
.icc-hack-lead { display: grid; gap: 32px; align-content: start; }
.icc-hack-body { display: grid; gap: 18px; align-content: start; max-width: 64ch; }
.icc-hack-body h3 { font: 400 clamp(24px, 2.6vw, 32px)/1.2 var(--sans); letter-spacing: -.02em; text-wrap: balance; }
.icc-hack-tag { display: inline-block; padding: 2px 9px; border-radius: 999px; background: var(--sun-soft); font: 600 12px/1.5 var(--sans); letter-spacing: 0; vertical-align: .3em; }
.icc-hack-why { font: 300 18px/1.55 var(--sans); text-wrap: pretty; }
.icc-hack-steps { display: grid; gap: 8px; padding-left: 1.5em; list-style: decimal; }
.icc-hack-steps li::marker { font-family: var(--figures); font-size: 1.15em; }
.icc-hack-cards { display: grid; gap: 12px; padding: 0; list-style: none; }
.icc-hack-cards li { display: grid; gap: 2px; }
.icc-hack-cards a { display: inline-flex; align-items: center; gap: 12px; width: fit-content; font-weight: 500; }
.icc-hack-cards .icc-art { --w: 52px; flex: none; }
.icc-hack-cards small { padding-left: 64px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.icc-hack-watch { display: grid; gap: 8px; padding: 18px 22px; border-radius: 16px; background: var(--mist); }
.icc-hack-watch h4 { font: 600 15px/1.3 var(--sans); }
.icc-hack-watch ul { display: grid; gap: 6px; padding-left: 1.2em; list-style: disc; font-size: 15px; line-height: 1.5; }
.icc-hack-more-body { display: grid; gap: 18px; }
.icc-hack-more > summary { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line);
  font: 500 15px/1 var(--sans); cursor: pointer; list-style: none; }
.icc-hack-more > summary::-webkit-details-marker { display: none; }
.icc-hack-more > summary::after { content: "+"; font: 300 22px/1 var(--sans); color: var(--muted); transition: rotate 200ms var(--ease); }
.icc-hack-more[open] > summary { margin-bottom: 18px; }
.icc-hack-more[open] > summary::after { rotate: 45deg; }
@media (min-width: 721px) {  /* wide screens: the how-to is always out, no toggle */
  .icc-hack-more > summary { display: none; }
  .icc .icc-hack-more[open] > .icc-hack-more-body { animation: none; }
}
@media (max-width: 720px) {  /* phones: a hack is its gain, picture, title and why; tighter rhythm */
  .icc-doc.icc-hacks { gap: 48px; padding-top: 32px; }
  .icc-hackfilter .icc-filter { flex-wrap: nowrap; margin-inline: -16px; padding: 2px 16px; overflow-x: auto; scrollbar-width: none; }  /* the banks in one swipeable row */
  .icc-hackfilter .icc-filter::-webkit-scrollbar { display: none; }
  .icc-hackfilter .icc-chip { flex: none; }
  .icc-hack { gap: 20px; padding: 32px 0; }
  .icc-hack-lead { gap: 20px; }
  .icc-hack-body { gap: 14px; }
  .icc-hack-why { font-size: 17px; }
}
.icc-hack-fan { display: flex; padding: 8px 0 0 28px; }
.icc-hack-fan .icc-art { --w: clamp(84px, 9vw, 112px); margin-left: -28px; rotate: -8deg; box-shadow: inset 0 0 0 1px var(--edge), 0 14px 24px -16px rgba(16, 35, 29, .55); }
.icc-hack-fan .icc-art:nth-child(2) { rotate: 0deg; translate: 0 -6px; }
.icc-hack-fan .icc-art:nth-child(3) { rotate: 8deg; }
/* The filters: bank chips and a card picker, shown only with script (they filter in the browser); the cards a filter
   matches keep full strength in each hack's list, the rest fade */
.icc-hackfilter { display: none; }
.js .icc-hackfilter { display: grid; gap: 16px; padding: clamp(16px, 2.6vw, 24px); border-radius: 20px; background: var(--mist); }
.icc-hackfilter .icc-note { margin: 0; }
.icc-hacks.is-filtered .icc-hack-cards li:not(.is-match) { opacity: .4; }
.icc-hack-cards li.is-match a span { background: linear-gradient(var(--sun), var(--sun)) 0 82% / 100% 40% no-repeat; }
.icc-hack-tag.is-any { background: var(--mist); }
.icc-dead { display: grid; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.icc-dead li { display: grid; gap: 4px 28px; padding: 18px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .icc-dead li { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr) auto; align-items: baseline; } }
.icc-dead b { font-weight: 500; text-decoration: line-through; text-decoration-thickness: 1.5px; text-decoration-color: var(--faint); }
.icc-dead span { font-size: 15px; line-height: 1.5; }
.icc-dead small { font-size: 13px; color: var(--muted); white-space: nowrap; }

/* Where can your points go: programme chips, then the cards that reach the one you pick */
.icc-pickset { display: grid; gap: 12px; }
.icc-pickset h3 { font: 700 11px var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.icc-row--reach { grid-template-columns: 84px minmax(0, 1fr); }
@media (min-width: 900px) { .icc-row--reach { grid-template-columns: 120px minmax(0, 1fr) 220px; } }
.icc-move { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 4px 0 18px; }
.icc-move label { font: 700 11px var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.icc-move-input { width: 13ch; height: 42px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font: 700 16px var(--sans); font-variant-numeric: tabular-nums; }  /* 16px: iOS doesn't zoom */
.icc-move-input:focus { border-color: var(--ink); outline: 0; }
.icc-move a { font-size: 13.5px; }
.icc-row-move { margin-top: 6px; line-height: 1.5; }
.icc-row-move .icc-tag { margin-left: 4px; vertical-align: 1px; }
.icc-row-calc { position: relative; z-index: 1; margin-left: 4px; font-size: 13px; }  /* above the row's whole-row link */
.icc-table .icc-calc { margin-top: 2px; }
.icc-row-calc, .icc-table .icc-calc { text-decoration: underline; text-underline-offset: 2px; }
.icc-row-cap { font-size: 12.5px; color: var(--muted); }
.is-capped .icc-row-cap { color: var(--route-ink); }  /* you typed more than the cap lets through */

/* From the founders: a short signed note, a justified column in the centre; each key phrase is bold, its underline drawing in
   as the line scrolls up (.icc-rise) */
.icc-founders { border-top: 1px solid var(--line); text-align: center; }
.icc-founders .icc-h2 { margin-bottom: 32px; }
.icc-founders-lines { position: relative; display: grid; gap: 22px; max-width: 34em; margin-inline: auto; text-align: left; text-wrap: pretty; }
.icc-founders-lines p { margin: 0; font: 300 clamp(21px, 2.4vw, 28px)/1.45 var(--sans); letter-spacing: -.01em; }
.icc-founders-lines mark.icc-win { padding: 0; background: none; }  /* bold is enough; only the link to the changes keeps the highlighter */
.icc-founders-lines a.icc-win::after { content: "\2192"; content: "\2192" / ""; display: inline-block; margin-left: .25em; transition: translate 280ms cubic-bezier(.34, 1.56, .64, 1); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .icc-founders-lines a.icc-win:hover::after { translate: 3px 0; } }
.icc-founders-sign { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 36px; text-align: left; }
.icc-founders-faces { display: flex; }
.icc-founders-faces img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--paper); }
.icc-founders-faces img + img { margin-left: -12px; }
.icc-founders-sign p { display: grid; margin: 0; font-size: 15px; }
.icc-founders-sign b { font-weight: 600; }
.icc-founders-sign span { font-size: 13px; color: var(--muted); }
/* Why travel only: a chat bubble from "travel only". On wide screens it sits beside the note, level with its line, and pops in
   while that line is mid-screen; on narrow ones a tap opens it under the line. Either way it covers no text, and its x shuts it */
.icc-why { all: unset; cursor: pointer; }
.icc-why-tip { position: relative; display: grid; gap: 12px; width: min(300px, 100%); margin: -6px auto 0; padding: 18px 20px 16px; border-radius: 18px; background: var(--paper); box-shadow: 0 0 0 1px var(--line), 0 18px 40px -18px rgba(26, 25, 21, .35); color: var(--ink); font: 400 14px/1.45 var(--sans); letter-spacing: 0; text-align: left; hyphens: manual; }
.icc-why-tip[hidden] { display: none; }
.icc-why-tip::after { content: ""; position: absolute; left: 40px; top: -6px; width: 12px; height: 12px; background: var(--paper); box-shadow: -1px -1px 0 var(--line); rotate: 45deg; }  /* the tail, up to the line */
.icc-why-x { all: unset; position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--muted); font: 300 22px/1 var(--sans); cursor: pointer; }
.icc-why-x:hover { background: var(--mist); color: var(--ink); }
@media (min-width: 1160px) {
  .icc-why-tip { position: absolute; grid-row: 2; top: -8px; right: calc(100% + 32px); width: 268px; margin: 0; }  /* row 2 is the "travel only" line */
  .icc-why-tip::after { left: auto; right: -6px; top: 24px; box-shadow: 1px -1px 0 var(--line); }  /* the tail, across to the line */
}
@media (prefers-reduced-motion: no-preference) {
  .icc-why-tip { transition: opacity 220ms ease, translate 320ms var(--ease); }
  @starting-style { .icc-why-tip { opacity: 0; translate: 0 6px; } }
}
.icc-why-tip > b { padding-right: 24px; font: 500 16px/1.3 var(--sans); }
.icc-why-bars { display: grid; gap: 8px; }
.icc-why-bars > span { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 10px; align-items: baseline; }
.icc-why-bars small { font-size: 12.5px; color: var(--muted); }
.icc-why-bars em { font: 400 20px/1 var(--figures); font-style: normal; letter-spacing: .01em; }
.icc-why-bars i { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: linear-gradient(var(--ink), var(--ink)) 0 0 / var(--w) 100% no-repeat, var(--mist); }
.icc-why-bars > span:first-child i { background: linear-gradient(var(--faint), var(--faint)) 0 0 / var(--w) 100% no-repeat, var(--mist); }  /* cashback, the baseline */
.icc-why-tip > small { font-size: 12px; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
  .icc-why-tip:not([hidden]) .icc-why-bars i { animation: icc-bar 700ms var(--ease) calc(var(--n, 0) * 120ms + 150ms) backwards; }
}
@keyframes icc-bar { from { background-size: 0% 100%, auto; } }
/* One call to action before the footer, on every wiki page, centred: PointsCasa's own logo, the ask, then its globe rising
   half out of the section's bottom edge (static/js/icc.js draws it and spins it on a drag; without the script it's white) */
.icc-cta { padding-top: 64px; border-top: 1px solid var(--line); background: var(--paper); text-align: center; }
.icc-cta-inner { display: grid; justify-items: center; gap: 12px; }
.icc-pc-logo { display: inline-flex; align-items: center; gap: .25em; margin: 0 0 4px; font: 400 32px/1 var(--hand); letter-spacing: -.01em; color: var(--ink); }
.icc-pc-logo .brand-chute { width: 1.05em; height: 1.05em; }
.icc-cta h2 { margin: 0; font: 400 clamp(32px, 4vw, 52px)/1.06 var(--sans); letter-spacing: -.025em; text-wrap: balance; }
.icc-cta p { max-width: 44ch; margin: 0 0 8px; color: var(--muted); text-wrap: balance; }
.icc-cta-deals { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }  /* the landing page's own examples */
.icc-cta-deals li { display: inline-flex; align-items: baseline; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; line-height: 36px; white-space: nowrap; }
.icc-cta-deals b { font-weight: 600; }
.icc-cta-deals span { color: var(--muted); }
@media (max-width: 640px) { .icc-cta-deals li:nth-child(n + 3) { display: none; } }
.icc-cta-well { width: min(720px, 100%); aspect-ratio: 2 / 1; margin-top: 4px; overflow: hidden; }  /* the globe's top half: the section's edge cuts it */
.icc-cta-globe { display: block; width: 100%; aspect-ratio: 1; cursor: grab; touch-action: pan-y; }  /* a sideways drag spins it; up and down still scroll */
.icc-cta-globe:active { cursor: grabbing; }
/* Business only: a card for the self-employed and business owners (cards.json business_only) */
.icc-tag { display: inline-flex; align-items: center; height: 22px; margin-left: 8px; padding: 0 9px; border-radius: 999px; background: var(--sun-soft); color: var(--ink); font: 700 10.5px var(--label); letter-spacing: .08em; text-transform: uppercase; vertical-align: middle; white-space: nowrap; }
.icc-card-hero-copy > .icc-tag { margin-left: 0; justify-self: start; align-self: flex-start; }
/* What it's worth for travel, in one look: a sentence, then trips in plain terms; the working folds into How we worked it out */
.icc-worth { max-width: 40em; margin: 0; font: 300 clamp(20px, 2.2vw, 26px)/1.45 var(--sans); letter-spacing: -.01em; }
.icc-worth .icc-win { padding: 0 .12em; font-weight: 500; }
/* A card page's spend mix: a pie of how each ₹1 lakh is spent and a slider to move it (travel_boost, static/js/icc.js). The
   flights above, the trips and the working follow it. Hidden until the script runs: the server renders all everyday spend */
@property --pie { syntax: '<number>'; inherits: false; initial-value: 0; }
.icc-mix { --share: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 18px 28px; max-width: 620px; margin: 30px auto 0; padding: 24px 28px 20px; border-radius: 24px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.icc-mix[hidden] { display: none; }
.icc-mix-pie { --pie: var(--share); display: grid; place-content: center; width: 112px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, var(--card) 66%, transparent 67%), conic-gradient(var(--sun) calc(var(--pie) * 1%), var(--line) 0); text-align: center; transition: --pie 240ms var(--ease); }
.icc-mix-pie b { font: 400 28px/1 var(--figures); letter-spacing: .01em; }
.icc-mix-pie small { font-size: 11.5px; color: var(--muted); }
.icc-mix h3 { font: 500 16px/1.3 var(--sans); }
.icc-mix-split { display: flex; flex-wrap: wrap; gap: 2px 16px; margin: 4px 0 8px; font-size: 14px; color: var(--muted); }
.icc-mix-split b { font-weight: 600; color: var(--ink); }
.icc-mix-split i { display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 50%; background: var(--line); box-shadow: inset 0 0 0 1px rgba(26, 25, 21, .12); }
.icc-mix-split i.is-travel { background: var(--sun); }
.icc-mix-range { --fill: calc(var(--share) * 2%); --turbo: 100%; display: block; width: 100%; height: 36px; margin: 0; background: none; cursor: grab; touch-action: pan-y; -webkit-appearance: none; appearance: none; }  /* 0 to 50%: the whole track */
.icc-mix-range:active { cursor: grabbing; }
/* Filled in sun up to the thumb; past a higher earn rate's start (--turbo, on the yearly slider) the fill turns to stripes */
.icc-mix-range::-webkit-slider-runnable-track { height: 12px; border-radius: 999px; background: linear-gradient(90deg, var(--sun) min(var(--turbo), var(--fill)), transparent 0), linear-gradient(90deg, transparent var(--fill), var(--line) 0), repeating-linear-gradient(-45deg, var(--sun-deep) 0 4px, var(--sun) 4px 9px); }
.icc-mix-range::-moz-range-track { height: 12px; border-radius: 999px; background: linear-gradient(90deg, var(--sun) min(var(--turbo), var(--fill)), transparent 0), linear-gradient(90deg, transparent var(--fill), var(--line) 0), repeating-linear-gradient(-45deg, var(--sun-deep) 0 4px, var(--sun) 4px 9px); }
.icc-mix-range::-webkit-slider-thumb { width: 28px; height: 28px; margin-top: -8px; border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 2.5px var(--ink), 0 3px 8px rgba(26, 25, 21, .22); -webkit-appearance: none; appearance: none; transition: scale 200ms cubic-bezier(.34, 1.56, .64, 1); }
.icc-mix-range::-moz-range-thumb { box-sizing: border-box; width: 28px; height: 28px; border: 2.5px solid var(--ink); border-radius: 50%; background: var(--card); box-shadow: 0 3px 8px rgba(26, 25, 21, .22); }
.icc-mix-range:active::-webkit-slider-thumb { scale: 1.15; }
html[data-input="keys"] .icc-mix-range:focus-visible::-webkit-slider-thumb { scale: 1.15; background: var(--sun); }  /* no outline: the handle lights up */
html[data-input="keys"] .icc-mix-range:focus-visible::-moz-range-thumb { background: var(--sun); }
.icc-mix-ends { display: flex; justify-content: space-between; margin-top: 2px; font-size: 12.5px; color: var(--muted); }
.icc-mix > .icc-note { grid-column: 1 / -1; text-align: center; text-wrap: balance; }
@media (max-width: 520px) { .icc-mix { gap: 14px 18px; padding: 20px 18px 16px; } .icc-mix-pie { width: 88px; } .icc-mix-pie b { font-size: 22px; } }
/* A card's milestones (milestone_ladder): a ladder of what each gives and how much back that is. Where we value the card, a
   yearly-spend slider (the mix's, with a tick per milestone) lights the ones you reach with the hero's highlighter */
.icc-ms { max-width: 620px; margin: 30px auto 0; padding: 24px 28px 18px; border-radius: 24px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.icc-mix + .icc-ms, .icc-unvalued + .icc-ms { margin-top: 18px; }
.icc-ms-h { font: 500 16px/1.3 var(--sans); }
.icc-year { margin-top: 8px; }
.icc-year[hidden] { display: none; }
.icc-year-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--muted); }
.icc-year-head b { font: 400 30px/1 var(--figures); letter-spacing: .01em; color: var(--ink); white-space: nowrap; }
.icc-year-ticks { position: relative; height: 6px; margin-top: -4px; }
.icc-year-ticks i { position: absolute; top: 0; left: calc(14px + (100% - 28px) * var(--at)); width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--faint); transition: background-color 200ms ease; }  /* under the thumb's centre at that spend */
.icc-year-ticks i.is-reached { background: var(--ink); }
/* Crossing a milestone: what it adds floats up from its tick with a wobble, the row's dot bursts and its share hops */
.icc-year-track { position: relative; }
.icc-year-pops { position: absolute; inset: 0 0 auto; height: 4px; pointer-events: none; }
.icc-ms-pop { position: absolute; bottom: 0; left: clamp(64px, calc(14px + (100% - 28px) * var(--at)), calc(100% - 64px)); translate: -50% 0; padding: 5px 11px; border-radius: 999px; background: var(--ink); color: var(--sun); font: 600 12.5px/1.2 var(--sans); white-space: nowrap; box-shadow: 0 10px 20px -10px rgba(26, 25, 21, .55); animation: icc-pop-up 1600ms cubic-bezier(.34, 1.56, .64, 1) forwards; }
@keyframes icc-pop-up {
  0% { opacity: 0; transform: translateY(12px) scale(.5) rotate(-8deg); }
  16% { opacity: 1; transform: translateY(-8px) scale(1.1) rotate(4deg); }
  28% { transform: translateY(-4px) scale(1) rotate(-3deg); }
  40% { transform: translateY(-6px) rotate(1deg); }
  78% { opacity: 1; transform: translateY(-14px) rotate(0); }
  100% { opacity: 0; transform: translateY(-30px) scale(.9); }
}
.icc-ms-row.is-new::before { animation: icc-burst 700ms cubic-bezier(.34, 1.56, .64, 1); }
@keyframes icc-burst {
  0% { scale: .75; box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 0 rgba(255, 216, 77, .95); }
  40% { scale: 1.5; }
  100% { scale: 1; box-shadow: inset 0 0 0 1.5px var(--ink), 0 0 0 16px rgba(255, 216, 77, 0); }
}
.icc-ms-row.is-new .icc-ms-pct { animation: icc-ms-hop 650ms cubic-bezier(.34, 1.56, .64, 1); }
@keyframes icc-ms-hop { 30% { transform: translateY(-9px) rotate(-8deg); } 60% { transform: translateY(1px) rotate(4deg); } }
.icc-ms-rows { margin-top: 14px; }
.icc-ms-row:not(:last-child)::after { content: ""; position: absolute; left: 6px; top: 31px; bottom: -18px; width: 1.5px; background: var(--line); }  /* the rail, dot to dot */
.icc-ms-row { position: relative; display: grid; grid-template-columns: 8.75em minmax(0, 1fr) auto; align-items: baseline; gap: 2px 16px; padding: 12px 0 12px 28px; }
.icc-ms-row + .icc-ms-row { border-top: 1px solid var(--line-soft); }
.icc-ms-row::before { content: ""; position: absolute; left: 0; top: 18px; width: 13px; height: 13px; border-radius: 50%; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--ink); transition: background-color 200ms ease, box-shadow 200ms ease, scale 360ms cubic-bezier(.34, 1.56, .64, 1); }
.icc-ms-when { font-size: 13.5px; color: var(--muted); transition: color 200ms ease; }
.icc-ms-reward { min-width: 0; }
.icc-ms-reward b { padding: 0 .2em; margin: 0 -.2em; border-radius: 5px; background: linear-gradient(var(--sun), var(--sun)) 0 0 / 0% 100% no-repeat; font-weight: 500; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: background-size 420ms cubic-bezier(.65, 0, .35, 1); }
.icc-ms-reward small { display: block; margin-top: 1px; font-size: 13px; color: var(--muted); }
.icc-ms-pct { font: 400 24px/1 var(--figures); letter-spacing: .01em; transition: color 200ms ease; }
.icc-ms-row.is-reached::before { background: var(--sun); }
.icc-ms-row.is-reached .icc-ms-reward b { background-size: 100% 100%; }
[data-milestones] .icc-ms-row:not(.is-reached)::before { box-shadow: inset 0 0 0 1.5px var(--faint); scale: .75; }
[data-milestones] .icc-ms-row:not(.is-reached) :is(.icc-ms-when, .icc-ms-pct) { color: var(--faint); }
.icc-ms-sum { margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--line); font-weight: 500; text-wrap: pretty; }
.icc-ms > .icc-note { margin-top: 10px; text-wrap: pretty; }
.icc-worth [data-vouchers] b { font-weight: 500; }
@media (max-width: 520px) { .icc-ms { padding: 20px 18px 16px; } .icc-ms-row { grid-template-columns: minmax(0, 1fr) auto; } .icc-ms-when { grid-column: 1 / -1; } }
@media (prefers-reduced-motion: reduce) { .icc-ms-row::before, .icc-ms-reward b, .icc-ms-when, .icc-ms-pct, .icc-year-ticks i { transition: none; animation: none; } }
.icc-trips-h { margin: 30px 0 12px; font: 500 15px var(--sans); }
.icc-trips { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }  /* side by side, three in one look */
.icc-trips .icc-ticket-route { font-size: 24px; line-height: 1.05; white-space: normal; }
/* A stay among the trips: a hotel's name runs longer than a city pair, and a sleepy zzz drifts off its photo as it comes
   into view, twice, then rests (none with reduced motion) */
.icc-trips .is-stay .icc-ticket-route { font: 600 16px/1.3 var(--sans); letter-spacing: 0; }
.icc-zzz { position: absolute; top: 8px; right: 12px; pointer-events: none; }  /* inside the photo's corner, clear of the name */
.icc-zzz i { position: absolute; right: calc(var(--z) * -4px); top: calc(var(--z) * -8px); font: 800 calc(14px - var(--z) * 2px)/1 var(--sans); font-style: normal; color: #fff; text-shadow: 0 1px 3px rgba(26, 25, 21, .6); opacity: 0; }
.icc-ticket-photo.is-blank ~ .icc-zzz i { color: var(--ink); text-shadow: none; }
.icc-zzz i:nth-child(1) { --z: 0; } .icc-zzz i:nth-child(2) { --z: 1; } .icc-zzz i:nth-child(3) { --z: 2; }
@media (prefers-reduced-motion: no-preference) {
  .icc-ticket.is-stay.icc-rise.is-in .icc-zzz i { animation: icc-zzz 2200ms ease-out calc(700ms + var(--z) * 280ms) 2 both; }
}
@keyframes icc-zzz { 0% { opacity: 0; transform: translateY(8px) rotate(-12deg) scale(.6); } 30% { opacity: 1; } 100% { opacity: 0; transform: translate(3px, -14px) rotate(10deg) scale(1.15); } }
.icc-also { margin-top: 10px; font-size: 15px; color: var(--muted); }
.icc-also b { color: var(--ink); font-weight: 500; }
.icc-how { margin-top: 22px; }
.icc-how > summary { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 14px; font-weight: 500; cursor: pointer; list-style: none; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.icc-how > summary::-webkit-details-marker { display: none; }
.icc-how > summary::after { content: "+"; font: 300 20px/1 var(--sans); color: var(--muted); transition: transform 200ms var(--ease); }
.icc-how[open] > summary::after { transform: rotate(45deg); }
.icc-how > .icc-flow { margin-top: 18px; }
.icc-how > .icc-points { margin-top: 22px; }

/* One app, many pages: a page change cross-fades under the still top bar, and the card you opened or swapped flies to its
   place on the next page (named in wiki_base and the compare and card templates). Off with reduced motion */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
}
.icc-bar { view-transition-name: icc-bar; }
/* Smooth wherever things move: the page scroll, accordions easing open to their height, the search and picker easing in and
   out, the picker's chevron turning. Safari can't ease a height to auto yet, so there what opens fades down instead */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .icc { interpolate-size: allow-keywords; }
  .icc details::details-content { block-size: 0; overflow: clip; transition: block-size 340ms var(--ease), content-visibility 340ms allow-discrete; }
  .icc details[open]::details-content { block-size: auto; padding: 2px; margin: -2px; }  /* the clip sits 2px out, so boxes' 1px rings keep their corners */
  .icc details[open] > :not(summary) { animation: icc-open 340ms var(--ease); }
  .icc-pop, .icc-pop::backdrop { transition: opacity 200ms ease, translate 300ms var(--ease), overlay 300ms allow-discrete, display 300ms allow-discrete; }
  .icc-pop:not(:popover-open) { opacity: 0; translate: 0 12px; }
  .icc-pop:not(:popover-open)::backdrop { opacity: 0; }
  @starting-style {
    .icc-pop:popover-open { opacity: 0; translate: 0 12px; }
    .icc-pop:popover-open::backdrop { opacity: 0; }
  }
  .js .icc-swap-name::after { transition: rotate 240ms var(--ease); }
  .icc-menu { transition: opacity 180ms ease, translate 260ms var(--ease), overlay 260ms allow-discrete, display 260ms allow-discrete; }
  .icc-menu:not(:popover-open) { opacity: 0; translate: 0 -6px; }
  @starting-style { .icc-menu:popover-open { opacity: 0; translate: 0 -6px; } }
  .icc-menu:popover-open .icc-menu-col { animation: icc-open 320ms var(--ease) calc(var(--i) * 40ms) backwards; }  /* the columns land left to right */
  .icc-menu:popover-open .icc-menu-face { animation: icc-peek-up 700ms cubic-bezier(.34, 1.56, .64, 1) 180ms backwards; }  /* and the card peeks up */
}
.js .icc-swap-name[aria-expanded="true"]::after { rotate: 180deg; }
@keyframes icc-open { from { opacity: 0; translate: 0 -6px; } }
.icc-bar::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: left; opacity: 0; pointer-events: none; }
.icc-leaving .icc-bar::after { opacity: 1; transform: scaleX(.9); transition: opacity 0s 150ms, transform 6s cubic-bezier(.1, .7, .2, 1) 150ms; }  /* a page change taking a moment */
@media (prefers-reduced-motion: reduce) { .icc-leaving .icc-bar::after { transition: opacity 0s 150ms; } }
::view-transition-group(*) { animation-duration: 420ms; animation-timing-function: cubic-bezier(.16, 1, .3, 1); }
::view-transition-old(root) { animation: 160ms ease-out both icc-vt-out; }
::view-transition-new(root) { animation: 380ms cubic-bezier(.16, 1, .3, 1) both icc-vt-in; }
@keyframes icc-vt-out { to { opacity: 0; } }
@keyframes icc-vt-in { from { opacity: 0; translate: 0 12px; } }
.icc-vt :is(.icc-card-hero .icc-hero-stage, .icc-vs-side) { animation: none; }  /* arrived by a page change: the transition brings the cards in */

@media (prefers-reduced-motion: reduce) {
  .icc *, .icc *::before, .icc *::after { animation: none !important; transition-duration: .01ms !important; }
}

/* Ops: the card watch's review page (/ops/card-updates/), staff only, made for approving on a phone */
.icc-ops { padding-bottom: 64px; }
.icc-ops-head { display: grid; gap: 12px; padding-block: 32px 24px; }
.icc-ops-head h1 { font: 300 clamp(34px, 5vw, 48px)/1.05 var(--sans); letter-spacing: -.03em; }
.icc-ops-off, .icc-ops-flash { padding: 10px 14px; border-radius: 12px; background: var(--mist); font-size: 14px; }
.icc-ops-off { background: var(--sun-soft); }
.icc-ops-flash.is-error { background: #fde8e4; color: var(--route-ink); }
.icc-ops-list { display: grid; gap: 18px; }
.icc-ops-card { display: grid; gap: 12px; padding: 20px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); background: var(--card); }
.icc-ops-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--muted); }
.icc-ops-meta a { color: var(--ink); font-weight: 500; }
.icc-ops-card h2 { font: 500 19px/1.35 var(--sans); letter-spacing: -.01em; }
.icc-ops-change { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.icc-ops-change div { display: grid; align-content: start; gap: 4px; padding: 12px; border-radius: 12px; background: var(--mist); }
.icc-ops-change div + div { background: var(--sun-soft); }
.icc-ops-change dt { font: 700 11px var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.icc-ops-change dd { margin: 0; font-size: 14.5px; overflow-wrap: anywhere; }
.icc-ops-quote { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--mist); font-size: 14px; color: var(--muted); }
.icc-ops-diff summary, .icc-ops-edit summary, .icc-ops-fine summary { cursor: pointer; font-size: 14px; font-weight: 500; }
.icc-ops-fine .icc-ops-rows { margin-top: 8px; }
.icc-ops-diff pre { margin: 8px 0 0; padding: 12px; overflow-x: auto; border-radius: 12px; background: var(--mist); font: 500 12.5px/1.55 var(--mono); white-space: pre-wrap; }
.icc-ops-diff span { display: block; }
.icc-ops-diff .is-out { color: var(--route-ink); text-decoration: line-through; text-decoration-color: rgba(176, 41, 15, .35); }
.icc-ops-diff .is-in { background: #e6f4ea; color: #1f6b3a; }
.icc-ops-diff .is-same { color: var(--muted); }
.icc-ops-form { display: grid; gap: 12px; }
.icc-ops-edit label { display: grid; gap: 6px; margin-top: 10px; font-size: 13px; color: var(--muted); }
.icc-ops-edit input, .icc-ops-edit textarea { width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); background: var(--paper); font: 500 16px/1.4 var(--sans); color: var(--ink); }  /* 16px, so iOS doesn't zoom in */
.icc-ops-actions { display: flex; gap: 10px; }
.icc-ops-actions .icc-btn { flex: 1; }
.icc-ops-more { display: grid; gap: 12px; margin-top: 28px; }
.icc-ops-more h2 { font: 700 11px var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.icc-ops-rows { display: grid; border-top: 1px solid var(--line); }
.icc-ops-rows li { display: grid; gap: 2px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.icc-ops-rows li span:last-child { color: var(--muted); font-size: 13px; }
.icc-ops-group { display: grid; gap: 10px; padding: 12px; border-radius: 26px; background: var(--mist); }  /* one notice's cards, together */
.icc-ops-group-head { padding: 4px 8px 0; font: 700 11px var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 760px) { .icc-ops-head, .icc-ops-list { max-width: 760px; margin-inline: auto; } }

/* A card's full trip: its ticket opens the trip's own page (tools/cards/trip.html), where the days sit on a dotted rail with
   an arrow from each step to the next and the nights boxed in a light dotted border */
.icc-ticket-go::after { content: ""; position: absolute; inset: 0; border-radius: 16px; }  /* the whole ticket is the link */
.icc-ticket.is-trip { transition: background-color 160ms var(--ease); }
.icc-ticket.is-trip:hover { background: var(--sun-soft); }
.icc-ticket.is-trip:hover .icc-ticket-go { text-decoration: underline 1.5px; text-underline-offset: 4px; }
.icc-trip-hero { display: grid; gap: 32px; padding: 28px 0 8px; }
.icc-trip-hero > div { display: grid; gap: 22px; align-content: center; }
.icc-trip-hero h1 { font: 300 clamp(40px, 5.6vw, 72px)/1.04 var(--sans); letter-spacing: -.035em; text-wrap: balance; }
.icc-trip-hero .icc-card-why b { font-weight: 500; color: var(--vault-ink); }
.icc-trip-photo { width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: cover; border-radius: 24px; background: var(--mist); }
@media (min-width: 960px) { .icc-trip-hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; padding: 40px 0 24px; } }
.icc-trip-rail { display: grid; gap: 34px; max-width: 760px; }
.icc-trip-step { position: relative; display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 16px; align-items: start; }
.icc-trip-when { padding-top: 5px; font: 700 11px/1.4 var(--label); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.icc-trip-what { --x: 0px; --y: 8px; position: relative; display: grid; gap: 3px; padding-left: 28px; }
.icc-trip-what b { font: 500 19px/1.35 var(--sans); letter-spacing: -.01em; }
.icc-trip-what span { font-size: 14px; line-height: 1.5; color: var(--muted); }
.icc-trip-what::before { content: ""; position: absolute; left: var(--x); top: var(--y); width: 11px; height: 11px; border-radius: 50%; background: var(--ink); }
.icc-trip-step:not(:last-child) .icc-trip-what::after {  /* the rail down to the next step's dot */
  content: ""; position: absolute; left: calc(var(--x) + 4.5px); top: calc(var(--y) + 18px); bottom: -36px; border-left: 2px dotted var(--faint);
}
.icc-trip-step + .icc-trip-step::before {  /* and its arrow, just above that dot */
  content: ""; position: absolute; left: 103.5px; top: -20px; width: 12px; height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23a8a399' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E") no-repeat center / contain;
}
.icc-trip-step.is-stay .icc-trip-what { --x: 14.5px; --y: 22px; margin: -14px 0 -14px -16px; padding: 14px 18px 14px 44px; border: 1.5px dashed var(--line); border-radius: 18px; }
.icc-trip-step.is-stay .icc-trip-what::after { bottom: -23.5px; }
.icc-trip-logo { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; background: #fff; box-shadow: 0 0 0 1px var(--line); }
@media (max-width: 520px) {
  .icc-trip-step { grid-template-columns: 66px minmax(0, 1fr); gap: 12px; }
  .icc-trip-step + .icc-trip-step::before { left: 77.5px; }
  .icc-trip-logo { display: none; }
}
@media (min-width: 760px) { .icc-trip-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.icc-actions form { display: contents; }

/* Use in your AI (ai/): the MCP's address to copy, the steps per app; and the Ask Claude / ChatGPT line on card and compare pages */
.icc-copy { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; }
.icc-copy code { max-width: 100%; padding: 12px 16px; border-radius: 14px; background: var(--mist); font: 14px/1.45 var(--mono); overflow-wrap: anywhere; }
.icc-block .icc-copy { margin-top: 0; }
.icc-steps { display: grid; gap: 10px; max-width: 64ch; padding-left: 1.3em; list-style: decimal; font-weight: 300; font-size: 18px; line-height: 1.6; }
.icc-steps li::marker { font-weight: 500; }
.icc-steps--plain { padding-left: 0; list-style: none; }
.icc-steps--plain li::before { content: "\201C"; } .icc-steps--plain li::after { content: "\201D"; }
.icc-ask-ai { margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.icc-ask-ai a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.icc-ask-ai a:hover { text-decoration-color: currentColor; }
.icc-ai-logo { display: inline-block; width: 1em; height: 1em; margin-right: .3em; vertical-align: -.14em; }
.icc-block > h2 .icc-ai-logo { width: .78em; height: .78em; margin-right: .32em; vertical-align: -.04em; }
.icc-btn .icc-ai-logo { width: 17px; height: 17px; margin: 0; }
.icc-btn:not(.icc-btn--ghost) .icc-ai-logo.is-mono { filter: invert(1); }  /* Cursor's black mark on an ink pill */

/* The weekly email's box (tools/cards/_newsletter.html), above the footer on home, Hacks and Card changes: the search
   pill's shape, the hero's sun highlight */
.icc-letter { border-top: 1px solid var(--line-soft); }
.icc-letter > .icc-wrap { display: grid; gap: 24px; padding-block: 64px; }
.icc-letter h2 { font: 300 clamp(30px, 3.6vw, 44px)/1.08 var(--sans); letter-spacing: -.03em; text-wrap: balance; }
.icc-letter mark { padding: 0 .1em; border-radius: .14em; background: var(--sun); color: inherit; font-weight: 500; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.icc-letter-copy p { max-width: 46ch; margin-top: 12px; font-weight: 300; font-size: 17px; line-height: 1.6; color: var(--muted); }
.icc-letter-box { display: flex; align-items: center; gap: 8px; padding: 5px 5px 5px 20px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow 160ms var(--ease); }
.icc-letter-box:focus-within { box-shadow: inset 0 0 0 1.5px var(--ink); }
.icc-letter-box input { flex: 1; min-width: 0; height: 46px; border: 0; background: transparent; outline: none; font-size: 16px; caret-color: var(--ink); -webkit-appearance: none; appearance: none; }  /* 16px, so iOS doesn't zoom in */
.icc-letter-box input::placeholder { color: var(--muted); opacity: 1; }
.icc-letter-box .icc-btn { flex: none; }
.icc-letter-note { margin-top: 10px; padding-left: 20px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.icc-letter-note.is-bad { color: var(--route-ink); }
.icc-letter-done { display: flex; align-items: center; gap: 18px; padding: 20px 24px 20px 20px; border-radius: 22px; background: var(--sun-soft); font-size: 16px; line-height: 1.55; outline: none; }
.icc-letter-done b { display: block; font: 500 clamp(20px, 2vw, 23px)/1.25 var(--sans); letter-spacing: -.015em; }
.icc-letter-done [data-letter-email] { font-weight: 600; overflow-wrap: anywhere; }
.icc-letter-tick { flex: none; width: 52px; height: 52px; }
.icc-letter-tick circle { fill: var(--sun); }
.icc-letter-tick path { fill: none; stroke: var(--ink); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 34; }
.icc-letter-form.is-shake .icc-letter-box { animation: icc-shake 380ms cubic-bezier(.36, .07, .19, .97); }
@media (prefers-reduced-motion: no-preference) {  /* the card arrives, its circle pops, the tick draws itself, then the words rise */
  .icc-letter-done { animation: icc-up 500ms var(--ease) both; }
  .icc-letter-tick circle { transform-origin: center; animation: icc-pop 520ms var(--ease) 120ms both; }
  .icc-letter-tick path { animation: icc-tick 420ms cubic-bezier(.65, 0, .35, 1) 420ms both; }
  .icc-letter-done p { animation: icc-up 500ms var(--ease) 260ms both; }
}
@keyframes icc-tick { from { stroke-dashoffset: 34; } to { stroke-dashoffset: 0; } }
@keyframes icc-shake { 20%, 60% { translate: -6px 0; } 40%, 80% { translate: 6px 0; } }
.icc-letter-box .icc-btn:disabled { opacity: .7; cursor: progress; }
@media (min-width: 900px) { .icc-letter > .icc-wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 64px; align-items: center; } }

.icc-ops-mail { width: 100%; height: 70vh; border: 0; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); background: #fff; }  /* the draft, as readers will see it */
.icc-ops-actions .icc-btn:disabled { opacity: .4; cursor: not-allowed; }
