@import url("icons.css?v=1");

/* Phone theme. Existing Chamiz pages own their data, controls and destinations. */
@media (max-width: 700px) {
  html.cz-app {
    --m-paper: #fffcf8;
    --m-surface: #fff;
    --m-soft: #f4f1ed;
    --m-line: #e6e1db;
    --m-ink: #201e1b;
    --m-muted: #625e57;
    --m-orange: #ff853e;
    --m-darkbtn: #201e1b;
    --m-btntext: #fff;
    --m-font: "Inter", "SukhumvitSet", -apple-system, sans-serif;
  }
  html.cz-app[data-theme="dark"] {
    --m-paper: #161615;
    --m-surface: #232321;
    --m-soft: #2d2c29;
    --m-line: #42413c;
    --m-ink: #f8f5ef;
    --m-muted: #c3beb5;
    --m-darkbtn: #f4eee5;
    --m-btntext: #211e1a;
  }
  html.cz-app body:has(:is(.hub-home, .ps-scene, .hub-poster, .bl-grid, .bf-page)) {
    background: var(--m-paper) !important;
    background-image: none !important;
    color: var(--m-ink);
  }
  html.cz-app body:has(:is(.hub-home, .ps-scene, .hub-poster, .bl-grid, .bf-page))::before,
  html.cz-app body:has(:is(.hub-home, .ps-scene, .hub-poster, .bl-grid, .bf-page))::after { background-image: none !important; }
  html.cz-app :focus-visible { outline: 3px solid #c22c0e; outline-offset: 3px; }

  /* The header keeps the existing back, profile and settings actions. */
  /* the page title in the bar (.cz-pt) in the skin ink; the CHAMIZ wordmark and the
     bar itself keep their original look (2026-11-28, the user: "restore the original
     version of CHAMIZ header") */
  html.cz-app body:not([data-wsec="f1"]) #bh .cz-brand { color: var(--m-ink) !important; text-shadow: none !important; }  /* ink: the skin's tops are cream, where hub.css made it cream for the old orange scene */
  html.cz-app body:not([data-wsec="f1"]) #bh .cz-brand:not(.cz-pt) .cz-bl.z { color: #ff4b2b !important; }  /* the orange Z, as on desktop */
  html.cz-app body .cz-acts .cz-act { width: 44px; min-width: 44px; min-height: 44px; justify-content: center; }
  html.cz-app body .cz-acts { gap: 4px; }
  html.cz-app body .cz-acts .cz-act .cz-act-ic, html.cz-app #bh .bh-back {
    width: 42px; height: 42px; box-sizing: border-box; color: var(--m-ink);
    background: var(--m-surface); border: 1px solid var(--m-line); box-shadow: none;
  }
  html.cz-app body .cz-acts .cz-act-t { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
  html.cz-app body .cz-set .cz-act-ic { --glyph: var(--m-settings); }
  html.cz-app body .cz-prof .cz-act-ic:has(img[src$="/user.svg"]) { --glyph: var(--m-user); }
  html.cz-app body .cz-set .cz-gear,
  html.cz-app body .cz-prof .cz-act-ic img[src$="/user.svg"] { display: none; }
  html.cz-app:not(.bh-open) .cz-set .cz-act-ic::before,
  html.cz-app .cz-prof .cz-act-ic:has(img[src$="/user.svg"])::before {
    content: ""; width: 21px; height: 21px; background: currentColor; grid-area: 1/1;
    mask: var(--glyph) center / contain no-repeat;
  }
  /* One quiet dock. The central sparkle opens Shortcuts. */
  html.cz-app.has-tabs body .ms-bottomnav.ms-tabs {
    width: min(330px, calc(100% - 36px)); left: 0; right: 0; margin-inline: auto;
    bottom: max(10px, env(safe-area-inset-bottom)); padding: 4px 7px; height: 56px;
    background: #211f1d !important; border: 1px solid #393633; backdrop-filter: none;
    box-shadow: 0 5px 19px rgba(27,22,17,.19);
  }
  html.cz-app.has-tabs { --bn-space: calc(80px + env(safe-area-inset-bottom)); --bn-top: calc(64px + env(safe-area-inset-bottom)); }
  html.cz-app.has-tabs body .ms-tabs .ms-bi-link { height: 46px; color: #f8f6f2 !important; }
  html.cz-app.has-tabs body .ms-tabs .ms-bi-link.is-on { color: #26221e !important; }
  html.cz-app.has-tabs body .ms-tabs .ms-bi-pill::before { background: #fff9f0 !important; inset-inline: 0; }
  html.cz-app.has-tabs body .ms-tabs .ms-bi-link .ms-bi-ic {
    width: 40px; height: 40px; margin: 0; background: transparent; box-shadow: none; color: inherit;
  }
  html.cz-app.has-tabs body .ms-tabs .ms-bi-quick .ms-bi-ic { border-radius: 50%; background: #ff944f; color: #211f1d; }
  html.cz-app body .ms-tabs .ms-bi-ic img { display: none !important; }
  html.cz-app body .ms-tabs .ms-bi-ic::before {
    content: ""; display: block; width: 23px; height: 23px; background: currentColor; mask: var(--glyph) center / contain no-repeat;
  }
  .ms-bi-home { --glyph: var(--m-home); } .ms-bi-merpy { --glyph: var(--m-list); }
  .ms-bi-quick { --glyph: var(--m-quick); } .ms-bi-scan { --glyph: var(--m-scan); } .ms-bi-games { --glyph: var(--m-games); }
  html.cz-app .ms-tabs .ms-bi-quick.has-dot .ms-bi-ic::after { width: 7px; height: 7px; top: 0; right: 0; box-shadow: 0 0 0 2px #211f1d !important; }
  html.cz-app body .czq { border-radius: 27px 27px 0 0; background: var(--m-surface); color: var(--m-ink); }
  html.cz-app body .czq .czq-ic { border-radius: 16px; background: var(--m-soft); box-shadow: none; }

  /* Home uses the same live greeting, recommendation, search and tab panels. */
  html.cz-app #top > .hub-home {
    display: flex; flex-direction: column; isolation: auto; overflow: visible; box-sizing: border-box;
    width: min(100%, 560px); height: auto !important; min-height: 0; max-height: none;
    padding: 2px 18px 0; margin: 0 auto !important; background: transparent !important;
    mask: none !important; color: var(--m-ink);
  }
  html.cz-app #top .hub-home :is(.hub-sky, .hub-word, .hub-tag),
  html.cz-app #top .hub-home::before, html.cz-app #top .hub-home::after { display: none !important; }
  html.cz-app #top .hub-home .hub-mid {
    position: static; inset: auto; display: flex; flex-direction: column; align-items: flex-start;
    justify-content: flex-start; text-align: start; width: 100%; padding: 4px 0 15px; margin: 0; gap: 3px;
    transform: none; animation: none; color: var(--m-ink);
  }
  html.cz-app #mHomeDate[hidden] { display: block !important; font: 600 13px/1.4 var(--m-font); color: var(--m-muted); }
  html.cz-app #top .hub-home .hub-hi { display: block; margin: 0; color: var(--m-ink); }
  html.cz-app #top .hub-home .hub-hi b { display: block; overflow: visible; font: 700 clamp(29px, 8vw, 38px)/1.23 var(--m-font); letter-spacing: -.035em; text-shadow: none; }
  html.cz-app #top .hub-home #hmTitle { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
  html.cz-app #top .hub-home .ph-scene { position: static; display: block; width: 100%; pointer-events: auto; }
  html.cz-app #top .m-feature {
    position: relative; isolation: isolate; overflow: hidden; min-height: clamp(166px, 45vw, 205px);
    border-radius: 25px; background: linear-gradient(110deg, #ffd5ac 0%, #ffb073 52%, #ff9653 100%);
    color: #211d18;
  }
  html.cz-app #top .m-feature::before { content: ""; position: absolute; pointer-events: none; width: 57%; aspect-ratio: 1; right: -6%; bottom: -44%; border-radius: 50%; background: #ffb67e; }
  html.cz-app #top .ph-say {
    position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
    gap: 13px; width: auto; padding: 17px 47% 16px 19px; min-height: 0; border-radius: 25px;
    border: 0; box-shadow: none; color: #211d18; background: transparent; animation: none;
  }
  html.cz-app #top .ph-say::after { display: none; }
  html.cz-app #top .ph-say b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
    font: 700 clamp(21px,5.8vw,29px)/1.25 var(--m-font); letter-spacing: -.025em; }
  html.cz-app #top .ph-say small { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; white-space: normal;
    overflow: hidden; text-overflow: clip; margin-top: 4px; font: 500 12px/1.4 var(--m-font); color: #111111; }
  html.cz-app #top .ph-say i { width: 40px; height: 32px; border-radius: 999px; padding: 0; background: #241f1a; color: #fff; font-size: 0; }
  html.cz-app #top .ph-say i::before { content: ""; width: 18px; height: 18px; background: currentColor; mask: var(--m-arrow) center / contain no-repeat; }
  html.cz-app #top .m-mali { position: absolute; inset: 0 1% 0 auto; width: 49%; display: flex; align-items: flex-end; justify-content: center; pointer-events: none; }
  html.cz-app #top .ph-mali { position: static; width: 100%; height: 100%; max-width: none; object-fit: contain; object-position: center bottom;
    transform: none; animation: none; filter: none; }
  html.cz-app #top .ph-bubs { position: static; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 5px; margin: 17px 0 0; }
  html.cz-app #top .ph-bub { position: static; display: flex; align-items: center; justify-content: flex-start; gap: 5px;
    max-width: none; color: var(--m-ink); animation: none; transform: none; }
  html.cz-app #top .ph-bub-ic { width: 47px; height: 47px; border: 0; box-shadow: none; background: var(--m-soft); border-radius: 16px; animation: none; }
  html.cz-app #top .ph-bub-t { padding: 0; background: none; color: var(--m-ink); font: 600 12px/1.4 var(--m-font); white-space: normal; text-align: center; }
  html.cz-app #top .ph-bub:nth-child(1) { --glyph: var(--m-receipt); } html.cz-app #top .ph-bub:nth-child(2) { --glyph: var(--m-trip); }
  html.cz-app #top .ph-bub:nth-child(3) { --glyph: var(--m-wallet); } html.cz-app #top .ph-bub:nth-child(4) { --glyph: var(--m-flag); }
  html.cz-app #top .ph-bub .ph-bub-ic::before { content:""; width: 25px; height:25px; background: currentColor; mask: var(--glyph) center / contain no-repeat; }
  html.cz-app #top .ph-bub-ic img { display: none; }

  html.cz-app #top > .hub-home-sheet { display: flex; flex-direction: column; width: min(100%,560px); box-sizing: border-box;
    margin: 0 auto !important; padding: 18px 18px var(--bn-space) !important; gap: 21px; }
  html.cz-app #top .hub-home-sheet #czFind { order: -3; flex: none; width: 100%; margin: 0; }
  html.cz-app #top .hub-home-sheet .ph-tools { order: -2; }
  html.cz-app #top .hub-home-sheet #today { order: -1; }
  html.cz-app #top .hub-home-sheet #czQ { background-color: var(--m-soft); color: var(--m-ink); border-color: transparent; min-height: 44px; border-radius: 15px; box-shadow: none; }
  html.cz-app #top .hub-home-sheet :is(.ph-tools,.ph-f1) { background: transparent; border: 0; border-radius: 0; padding: 0 !important; box-shadow: none; }
  html.cz-app #top .ph-hrow { margin: 0 0 12px; align-items: center; }
  html.cz-app #top .ph-hrow .ph-h { font: 700 23px/1.3 var(--m-font); margin: 0 !important; letter-spacing: -.035em; color: var(--m-ink); }
  html.cz-app #top .ph-all { color: var(--m-muted); font: 600 12px/1.35 var(--m-font); min-height: 40px; }
  html.cz-app #top .ph-cats { gap: 3px; margin: 0 0 12px; padding: 3px; border-radius: 15px; background: var(--m-soft); }
  html.cz-app #top .ph-cat { display: flex; min-height: 43px; flex-direction: row; justify-content: center; align-items: center; padding: 3px;
    color: var(--m-muted); border-radius: 12px; font-size: 11px; gap: 3px; background: none; box-shadow: none; }
  html.cz-app #top .ph-cat img { display: none; }
  html.cz-app #top .ph-cat[aria-selected="true"] { color: var(--m-btntext); background: var(--m-darkbtn); }
  html.cz-app #top .ph-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; }
  html.cz-app #top .ph-t { border: 1px solid var(--m-line); background: var(--m-surface); border-radius: 16px; gap: 5px;
    min-height: 76px; justify-content: center; padding: 7px 1px; color: var(--m-ink); }
  html.cz-app #top .ph-ic { width: 29px; height: 29px; background: transparent; border-radius: 0; }
  html.cz-app #top .ph-t > span:last-child { font: 600 11.5px/1.35 var(--m-font); }
  html.cz-app #top .ph-ic img { height: 24px; width: 24px; }
  html.cz-app #top .ph-new { display: none; }
  html.cz-app #top .tc-big { border-radius: 18px; background: var(--m-surface); border: 1px solid var(--m-line); box-shadow: none; }
  html.cz-app #top .ph-c { border-color: var(--m-line); background: var(--m-surface); }
  /* Category hubs keep their own artwork and give the action the left half. */
  html.cz-app body main .hub-scene:is(.ps-scene,.hub-poster) {
    position: relative; width: calc(100% - 28px); height: clamp(166px,47vw,218px) !important; min-height: 0;
    margin: 4px auto 14px !important; border-radius: 25px; mask: none !important; overflow: hidden;
    background: #ffbc83 !important; color: #111111; box-sizing: border-box;
  }
  html.cz-app body main .hub-scene:is(.ps-scene,.hub-poster)::before,
  html.cz-app body main .hub-scene:is(.ps-scene,.hub-poster)::after,
  html.cz-app body main .ps-scene .hub-sky,
  html.cz-app body main .hub-poster :is(.pz-frame,.pz-rail) { display: none !important; }
  html.cz-app body main .ps-scene .ps-mid, html.cz-app body main .hub-poster .pz-mid {
    position: absolute; inset: 0; width: 100%; height: 100%; display: flex; align-items: flex-start;
    justify-content: center; flex-direction: column; padding: 12px 44% 12px 18px; gap: 5px;
    text-align: left; color: #111111; transform: none; box-sizing: border-box; overflow: visible;
  }
  html.cz-app body main .ps-scene .ps-mid .ps-mali, html.cz-app body main .hub-poster .pz-mid .pz-mali {
    position: absolute; inset: 7% 1% auto auto; width: 44%; height: 88%; object-fit: contain; margin: 0;
    max-width: none; max-height: none; transform: none; filter: none; animation: none;
  }
  html.cz-app body main .ps-scene .hub-name, html.cz-app body main .hub-poster .pz-word {
    order: 0; position: static; display: flex; flex-direction: row; justify-content: flex-start; gap: 0;
    width: auto; height: auto; margin: 0; font: 750 clamp(27px,8vw,40px)/1 var(--m-font); text-align: start;
    text-transform: none; text-shadow: none !important; -webkit-text-stroke: 0; color: #111111; transform: none;
  }
  html.cz-app body main .ps-scene .hub-name span, html.cz-app body main .hub-poster .pz-word span {
    display: inline; font: inherit; color: inherit !important; text-shadow: none !important; animation: none; letter-spacing: -.04em;
  }
  html.cz-app body main .ps-scene #psH1, html.cz-app body main .hub-poster #hubTitle {
    order: 1; text-align: start; align-items: flex-start; position: static; display: block; color: #111111;
    margin: 0 !important; font: 600 13px/1.45 var(--m-font); letter-spacing: normal; text-shadow: none;
  }
  html.cz-app body main .ps-scene .hub-tag { color: #111111; margin: 0; font: 600 13px/1.45 var(--m-font); text-shadow: none; }
  html.cz-app body main .ps-scene .ps-go { order: 2; margin: 6px 0 0; padding: 8px 11px; min-height: 42px; color: #fff; background: #24201b; box-shadow: none; border: 0; font: 650 13px/1.32 var(--m-font); }
  html.cz-app body main .ps-scene .ps-go i { background: transparent; color: white; width: 17px; }
  html.cz-app body main :is(.ps-sheet,.hub-stack) { margin-top: 0 !important; }
  html.cz-app body main .hub-sheet .hub-chip { min-height: 42px; box-shadow: none; }
  html.cz-app body main .hub-sheet .hub-chip[aria-selected="true"] { background: var(--m-darkbtn) !important; color: var(--m-btntext) !important; }
  html.cz-app body main :is(.ps-sheet,.hub-stack) .hub-pages > * { border-color: var(--m-line); background-color: var(--m-surface); box-shadow: none; }

  /* Tools: strong total and one primary action, with the same four live steps. */
  html.cz-app body.bill-guide-body { --card-bg: var(--m-surface); --edge: var(--m-line); --fill: var(--m-soft); --hard: none; --bz-head: var(--m-font); }
  html.cz-app .bl-grid .bz-sum:has(#blTitle) { background: #25231f !important; color: white !important; border: 0 !important; border-radius: 22px !important; box-shadow: none !important; }
  html.cz-app body .bl-grid .bz-sum :is(h2,.bz-sum-total,.bz-fact,b) { color: #fff !important; }
  html.cz-app body .bl-grid .bz-sum .bz-sum-total { font-size: 27px; letter-spacing: -.04em; }
  html.cz-app body .bl-grid .bz-sum .bz-sum-ic { background: #ff9858; color: #211e1a; }
  html.cz-app body .bl-grid .bz-sum .bz-sum-ic img { display: none; }
  html.cz-app body .bl-grid .bz-sum .bz-sum-ic::before { content: ""; width: 24px; height: 24px; background: currentColor; mask: var(--m-wallet) center / contain no-repeat; }
  html.cz-app #billGuideOverlay .bill-guide-modal.bz { padding: 17px !important; border-radius: 21px !important; border: 1px solid var(--m-line) !important; background: var(--m-surface) !important; box-shadow: none !important; }
  html.cz-app #billGuideOverlay .bz-field { background: var(--m-soft) !important; border: 1px solid transparent; border-radius: 13px; }
  html.cz-app #billGuideOverlay .bz-field:focus-within { border-color: var(--m-muted); }
  html.cz-app #billGuideOverlay .bz-head-ic { background: #ffdfc7; border: 0; color: #3b2619; }
  html.cz-app #billGuideOverlay .bz-next, html.cz-app #billGuideOverlay .share-bill-btn, html.cz-app .bf-page .bf-btn.primary {
    background: var(--m-darkbtn) !important; color: var(--m-btntext) !important; border: 0 !important; box-shadow: none !important;
  }
  html.cz-app #billGuideOverlay .bz-next { min-height: 48px; border-radius: 14px; }
  html.cz-app #billGuideOverlay .bz-plus { background: #ffd0ab; color: #111111; }
  html.cz-app #billGuideOverlay .bz-plus-i::before, html.cz-app #billGuideOverlay .bz-plus-i::after { background: #111111; }
  html.cz-app .bl-grid .bz-tabs[aria-label] { background: var(--m-soft) !important; border: 0 !important; box-shadow: none !important; }
  html.cz-app .bl-grid .bz-tabs [data-target="recent"] { border-inline-start: 1px solid var(--m-line); border-radius: 0; }
  html.cz-app .bf-page .bf-card { border: 1px solid var(--m-line); border-radius: 19px; box-shadow: none; background: var(--m-surface); }
  html.cz-app .bf-page .bf-field input { background-color: var(--m-soft); }

  @media (max-width: 350px) {
    html.cz-app #top > .hub-home { padding-inline: 12px; }
    html.cz-app #top > .hub-home-sheet { padding-inline: 12px !important; }
    html.cz-app #top .ph-say { padding-left: 14px; gap: 8px; }
  }
}

/* Keep the original link, caption and accessible name of each tool. */
@media (max-width: 700px) {
  .ph-ic:has(img[src$="/bill-split.svg"]) { --glyph: var(--m-receipt); }
  .ph-ic:has(img[src$="/scan.svg"]) { --glyph: var(--m-scan); }
  .ph-ic:has(img[src$="/owes.svg"]),
  .ph-ic:has(img[src$="/f1-team.svg"]) { --glyph: var(--m-people); }
  .ph-ic:has(img[src$="/trip-split.svg"]),
  .ph-ic:has(img[src$="/itinerary.svg"]) { --glyph: var(--m-route); }
  .ph-ic:has(img[src$="/buffet.svg"]),
  .ph-ic:has(img[src$="/kin-arai-dee.svg"]),
  .ph-ic:has(img[src$="/health-log.svg"]) { --glyph: var(--m-food); }
  .ph-ic:has(img[src$="/sushi.svg"]),
  .ph-ic:has(img[src$="/maki.svg"]) { --glyph: var(--m-chopsticks); }
  .ph-ic:has(img[src$="/calculators.svg"]),
  .ph-ic:has(img[src$="/ev-cost.svg"]) { --glyph: var(--m-calc); }
  .ph-ic:has(img[src$="/malitrip.svg"]) { --glyph: var(--m-trip); }
  .ph-ic:has(img[src$="/trip-calendar.svg"]),
  .ph-ic:has(img[src$="/health-plan.svg"]) { --glyph: var(--m-calendar); }
  .ph-ic:has(img[src$="/fuel.svg"]) { --glyph: var(--m-fuel); }
  .ph-ic:has(img[src$="/lists.svg"]),
  .ph-ic:has(img[src$="/car-log.svg"]) { --glyph: var(--m-list); }
  .ph-ic:has(img[src$="/speed.svg"]),
  .ph-ic:has(img[src$="/health-weigh.svg"]) { --glyph: var(--m-chart); }
  .ph-ic:has(img[src$="/sii-mongkhon.svg"]) { --glyph: var(--m-quick); }
  .ph-ic:has(img[src$="/expenses.svg"]) { --glyph: var(--m-wallet); }
  .ph-ic:has(img[src$="/typing-test.svg"]) { --glyph: var(--m-keyboard); }
  .ph-ic:has(img[src$="/health.svg"]) { --glyph: var(--m-health); }
  .ph-ic:has(img[src$="/health-workout.svg"]) { --glyph: var(--m-fitness); }
  .ph-ic:has(img[src$="/f1.svg"]),
  .ph-ic:has(img[src$="/f1-helmet.svg"]),
  .ph-ic:has(img[src$="/f1-replay.svg"]) { --glyph: var(--m-flag); }
  html.cz-app #top .ph-ic::before { content: ""; display: block; width: 23px; height: 23px; background: currentColor; mask: var(--glyph, var(--m-grid)) center / contain no-repeat; }
  html.cz-app #top .ph-ic img { display: none; }
}

@media (max-width: 700px) {
  /* The legacy space theme sets its paper and card colors with important rules. */
  html.cz-app:has(#top.hm-home), html.cz-app:has(#billGuideOverlay),
  html.cz-app:has(.ps-scene), html.cz-app:has(.hub-poster), html.cz-app:has(.bf-page) {
    --bg: var(--m-paper) !important; --sp-cream: var(--m-paper) !important;
  }
  html.cz-app body:has(#top.hm-home), html.cz-app body:has(#billGuideOverlay),
  html.cz-app body:has(#psH1), html.cz-app body:has(#hubTitle), html.cz-app body:has(.bf-page #fsKm) {
    background: var(--m-paper) !important;
  }
  html.cz-app main#top.hm-home { width: 100% !important; max-width: none; margin-inline: 0 !important; padding-inline: 0 !important; }
  html.cz-app #top .ph-all { color: var(--m-muted) !important; }
  html.cz-app #top #czQ { border: 1px solid var(--m-line) !important; background-color: var(--m-surface) !important; }
  html.cz-app .bl-grid .bz-sum:has(#blTitle) .bz-sum-ic { background: #ff9858 !important; }
  html.cz-app #blTotal { color: #fff !important; font: 700 27px/1.2 var(--m-font); }
  html.cz-app #billGuideOverlay .bz-head-ic::before, html.cz-app .bl-grid .bz-tabs .planner-tab::before,
  html.cz-app .bz-sum-facts .bz-fact::before {
    content: ""; display: block; flex: none; width: 22px; height: 22px; background: currentColor;
    mask: var(--glyph) center / contain no-repeat;
  }
  html.cz-app .bl-grid .bz-tabs .planner-tab img, html.cz-app #billGuideOverlay .bz-head-ic img, html.cz-app .bz-sum-facts .bz-fact img { display: none !important; }
  .bz-tabs [data-target="people"], .bz-step[data-guide-stage="1"], .bz-sum-facts .bz-fact:first-child { --glyph: var(--m-people); }
  .bz-tabs [data-target="items"], .bz-step[data-guide-stage="2"], .bz-sum-facts .bz-fact:nth-child(2) { --glyph: var(--m-food); }
  .bz-tabs [data-target="pay"], .bz-step[data-guide-stage="choice"] { --glyph: var(--m-coin); }
  .bz-tabs [data-target="summary"], .bz-step[data-guide-stage="3"] { --glyph: var(--m-check); }
  .bz-tabs [data-target="recent"] { --glyph: var(--m-clock); }
  html.cz-app .bz-sum-facts .bz-fact::before { width: 15px; height: 15px; }
  html.cz-app .bl-grid .bz-tabs .planner-tab { min-height: 44px; }
  html.cz-app .bl-grid .bz-tabs .planner-tab[data-target="recent"] { border-inline-start: 1px solid var(--m-line); }
  html.cz-app main .hub-poster:has(#hubTitle) { background: #f7cea8 !important; }
  html.cz-app main .hub-poster:has(#hubTitle) .pz-mid { align-items: flex-start !important; left: 0; right: 0; margin: 0; }
  html.cz-app main .hub-poster:has(#hubTitle) .pz-mid .pz-mali { inset: auto 2% 0 auto !important; transform: none !important; }
  html.cz-app body main .ps-sheet .hub-chip, html.cz-app body main .hub-stack .hub-chip { border-color: transparent !important; }
}
/* Everyday tools share paper, form surfaces and readable primary actions.
   Games and F1 retain their in-play palettes. */
@media (max-width: 700px) {
  html.cz-app:not(:has(body[data-wsec="f1"])):has(main:is(.cc-page,.profile-layout,.bf-page,.pl-grid,.ht-wrap,.ap-page,#top)) {   /* F1's main is #top too: keep it black (2026-11-28) */
    --bg: var(--m-paper) !important;
    --surface: var(--m-surface) !important;
    --surface-soft: var(--m-soft) !important;
    --fill: var(--m-soft) !important;
    --text: var(--m-ink) !important;
    --muted: var(--m-muted) !important;
    --line: var(--m-line) !important;
  }
  html.cz-app body main:is(.cc-page,.profile-layout,.planner-shell,.bf-page) :is(.cc-card,.acc-card,.panel,.bf-card) {
    border: 1px solid var(--m-line); border-radius: 19px; box-shadow: none !important;
    background-color: var(--m-surface);
  }
  html.cz-app body main:is(.cc-page,.profile-layout,.planner-shell) :is(input,select,textarea):not([type="checkbox"],[type="radio"],[type="range"],[type="color"]) {
    accent-color: #ed7e3d; caret-color: var(--m-ink);
  }
  html.cz-app body main:is(.cc-page,.profile-layout,.planner-shell) :is(.acc-ic,.cc-ic) { box-shadow: none; }
}

@media (max-width: 700px) {
  html.cz-app #loginView #authTabs {
    background: var(--m-soft) !important; border: 0; border-radius: 16px; box-shadow: none;
  }
  html.cz-app #authTabs .cz-tab { min-height: 44px; color: var(--m-muted); }
  html.cz-app #authTabs .cz-tab[aria-selected="true"] { color: var(--m-btntext) !important; }
  html.cz-app #authTabs .cz-tab-pill { background: var(--m-darkbtn) !important; border: 0; }
  html.cz-app #loginView #authCard { border: 1px solid var(--m-line); border-radius: 20px; box-shadow: none !important; background: var(--m-surface); }
  html.cz-app #authCard .field input { border: 1px solid var(--m-line); background: var(--m-soft); min-height: 44px; font-size: 16px; }
  html.cz-app #authCard .field input:focus { outline: 2px solid var(--m-ink); outline-offset: 1px; }
  html.cz-app #authCard .btn-primary { color: var(--m-btntext) !important; background: var(--m-darkbtn) !important; border: 0; border-radius: 14px; box-shadow: none; }
  html.cz-app #authCard .cz-line-btn { border: 1px solid var(--m-line); border-radius: 14px; box-shadow: none; }
  html.cz-app #authCard .text-link { color: var(--m-ink); text-decoration: underline; min-height: 44px; }
  html.cz-app #dailyReward .ml-card { border: 1px solid var(--m-line); border-radius: 20px; background: var(--m-surface); box-shadow: none; }
  html.cz-app #dailyReward .ml-card:has(.panel-b > .ml-text + a[href*="profile"]) {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px;
  }
  html.cz-app #dailyReward .ml-card:has(.panel-b > .ml-text + a[href*="profile"]) :is(.panel-b,.panel-h) { margin: 0; padding: 0; }
  html.cz-app #dailyReward .ml-card:has(.panel-b > .ml-text + a[href*="profile"]) .ml-text { display: none; }
  html.cz-app #dailyReward .panel-b > .btn { background: var(--m-darkbtn) !important; color: var(--m-btntext) !important; border: 0; border-radius: 14px; min-height: 44px; box-shadow: none; }
}

/* Chamiz mobile concept. The layout and controls belong to the existing site. */
@media (max-width: 700px) {
  html.cz-app #top .hub-home .hub-hi b {
    font-weight: 740;
    letter-spacing: -.045em;
  }
  html.cz-app #top .m-feature {
    background: linear-gradient(113deg, #ffd5ac, #ffb073 58%, #ff9653) !important;
    border-radius: 24px;
    box-shadow: inset 0 0 0 1px rgb(133 61 19 / 10%);
  }
  html.cz-app #top .m-feature::before {
    content: "";
    position: absolute;
    inset: 17% -13% auto auto;
    width: 73%;
    height: 68%;
    border: 1px solid rgb(255 249 239 / 70%);
    border-radius: 50%;
    background: none;
    transform: rotate(-26deg);
    box-shadow: 0 0 0 13px rgb(255 253 248 / 5%), 0 0 0 14px rgb(255 249 239 / 33%);
    pointer-events: none;
  }
  html.cz-app #top .m-mali {
    inset: 5% 0 3% auto;
    width: 48%;
    filter: drop-shadow(0 7px 4px rgb(107 55 25 / 18%));
  }
  html.cz-app #top .ph-mali { object-position: center; }
  html.cz-app #top .ph-say i {
    width: 43px; height: 31px; background: #25231f;
    box-shadow: inset 0 0 0 1px rgb(255 244 230 / 15%);
  }
  html.cz-app #top .ph-bub-ic {
    width: 47px; height: 47px; border-radius: 14px;
    border: 1px solid var(--m-line);
    background: var(--m-surface);
    box-shadow: 0 1px 0 rgb(66 51 40 / 5%);
  }
  html.cz-app #top #czQ {
    border-radius: 14px; background-color: var(--m-surface) !important;
    box-shadow: 0 1px 0 rgb(37 29 23 / 3%);
  }
  html.cz-app #top #czQ:focus-visible { outline: 2px solid #a24915; outline-offset: 2px; }
  html.cz-app #top .ph-cats {
    border-radius: 14px; box-shadow: inset 0 0 0 1px var(--m-line);
  }
  html.cz-app #top .ph-cat[aria-selected="true"] { position: relative; box-shadow: none; }
  html.cz-app #top .ph-cat[aria-selected="true"]::after {
    content: ""; position: absolute; bottom: 5px; left: calc(50% - 5px);
    width: 10px; height: 2px; border-radius: 2px; background: #ff9858;
  }
  html.cz-app #top .ph-grid:not([hidden]) {
    gap: 1px; overflow: hidden; border: 1px solid var(--m-line);
    border-radius: 18px; background: var(--m-line);
  }
  html.cz-app #top .ph-grid .ph-t {
    border: 0; border-radius: 0; background: var(--m-surface);
  }
  html.cz-app #top .ph-grid .ph-t:focus-visible { outline-offset: -3px; }
  html.cz-app body .cz-acts .cz-act .cz-act-ic {
    box-shadow: inset 0 -1px 0 rgb(105 85 61 / 5%);
  }
  html.cz-app.has-tabs body .ms-bottomnav.ms-tabs {
    background: linear-gradient(178deg, #2b2926, #211f1d 65%) !important;
    box-shadow: inset 0 1px 0 rgb(255 247 229 / 13%), 0 5px 15px rgb(38 30 21 / 16%);
  }
  html.cz-app.has-tabs body .ms-tabs .ms-bi-quick .ms-bi-ic {
    color: #211f1d;
    background: radial-gradient(ellipse at 36% 20%, #ffb57d, #ff944f 62%, #fa853e);
    box-shadow: inset 0 0 0 1px rgb(255 213 176 / 55%), 0 0 0 2px #382d25;
  }
  @media (prefers-reduced-motion: no-preference) {
    html.cz-app #top :is(.ph-t,.ph-bub-ic), html.cz-app .ms-bi-quick .ms-bi-ic { transition: transform 120ms ease; }
    html.cz-app #top .ph-t:active, html.cz-app #top .ph-bub:active .ph-bub-ic,
    html.cz-app .ms-bi-quick:active .ms-bi-ic { transform: scale(.96); }
  }
}

/* The original bill form, with an engraved total and a small active-step marker. */
@media (max-width: 700px) {
  html.cz-app .bl-grid .bl-sum.bz-sum:has(#blTitle) {
    background:
      repeating-radial-gradient(ellipse at 90% 122%, transparent 0 10px,
        rgb(255 165 100 / 15%) 11px, transparent 12px 17px) right bottom / 41% 100% no-repeat,
      linear-gradient(105deg, #25231f 40%, #302821 100%) !important;
    box-shadow: inset 0 0 0 1px rgb(255 189 144 / 18%) !important;
  }
  html.cz-app .bl-grid .bz-sum:has(#blTitle) .bz-sum-ic {
    background: linear-gradient(145deg, #ffb474, #ff8e49) !important;
    box-shadow: inset 0 0 0 1px rgb(255 240 218 / 50%);
  }
  html.cz-app .bl-grid .bz-sum #blTotal {
    font-variant-numeric: tabular-nums;
    letter-spacing: -.045em;
    color: #fff !important;
  }

  html.cz-app body .bl-grid .bz-tabs[aria-label] {
    box-shadow: inset 0 0 0 1px var(--m-line) !important;
  }
  html.cz-app body .bl-grid .bz-tabs[aria-label] .pl-tab-glide,
  html.cz-app body .bl-grid .bz-tabs:not(.has-glide) .planner-tab.active {
    background: #25231f !important;
  }
  html.cz-app body .bl-grid .bz-tabs[aria-label] .planner-tab.active {
    color: #fff9f0 !important;
  }
  html.cz-app .bl-grid #billGuideOverlay .bill-guide-modal.bz {
    box-shadow: 0 2px 7px rgb(41 30 17 / 4%) !important;
  }
  html.cz-app .bl-grid #billGuideOverlay .bz-field {
    border-color: var(--m-line);
  }
  html.cz-app .bl-grid #billGuideOverlay .bz-field:focus-within {
    outline: 2px solid #b34c13;
    outline-offset: 1px;
  }
  html.cz-app .bl-grid #billGuideOverlay .bz-plus {
    background: #ffb67d !important;
    box-shadow: inset 0 0 0 1px rgb(74 42 14 / 14%);
  }
}

@media (max-width: 700px) {
  /* Leave the hero's left side clear for the original heading and action. */

  html.cz-app body main:has(#dailyReward) .hub-poster:has(#hubTitle) {
    background-color: #f7cea8 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 142 116' fill='%23a66c45' fill-opacity='.28'%3E%3Cpath d='M8 72h3v3H8zm3-3h3v3h-3zm3 3h3v3h-3zm-3 3h3v3h-3zM103 18h3v3h-3zm3-3h3v3h-3zm3 3h3v3h-3zm-3 3h3v3h-3zM117 87h4v4h-4zm9-8h3v3h-3zM26 21h3v3h-3z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1% center !important;
    background-size: 50% 92% !important;
  }

  html.cz-app body main:has(#dailyReward) .hub-sheet .hub-chip {
    border: 1px solid var(--m-line) !important;
    color: var(--m-ink);
    background: var(--m-surface);
    box-shadow: none;
  }

  html.cz-app body main:has(#dailyReward) .hub-sheet .hub-chip[aria-selected="true"] {
    border-color: var(--m-darkbtn) !important;
    background: var(--m-darkbtn) !important;
    color: var(--m-btntext) !important;
  }

  html.cz-app body main:has(#dailyReward) .hub-sheet .hub-pages > * {
    background: var(--m-surface) !important;
    border-color: var(--m-line) !important;
    box-shadow: none !important;
  }

  html.cz-app body main:has(#dailyReward) .hub-pages :is(.hub-tile-art,.gcard .gicon) {
    background: var(--m-soft) !important;
    border: 1px solid var(--m-line) !important;
    box-shadow: none !important;
  }

  html.cz-app body main:has(#dailyReward) .hub-dots i.on {
    background-color: #ff853e;
  }

  html.cz-app body main:has(#dailyReward) #dailyReward .ml-card .panel-ic {
    background-color: #ffdfc7;
    color: #201e1b;
    box-shadow: none;
  }

  html.cz-app body main:has(#dailyReward) :is(.hub-chip,.hub-tile,.gcard,.ps-go):focus-visible {
    outline: 2px solid #944813;
    outline-offset: 2px;
  }
}

@media (max-width: 700px) {
  html.cz-app body main:has(#dailyReward) #arcadeGames .gcard:not(.featured) > .flag[data-i18n="flagNew"] {
    top: 2px; right: calc(50% - 29px); width: 8px; height: 8px;
    border-radius: 50%; border: 1px solid #a9531d; padding: 0; overflow: hidden;
    color: transparent; font-size: 0; background: #ff944f;
    box-shadow: 0 0 0 2px var(--m-surface);
  }
}

@media (max-width: 700px) {
  /* Four equal targets share a rail, with one edge around the group. */
  html.cz-app #top .ph-bubs {
    gap: 0; margin-top: 12px; padding: 4px; border: 1px solid var(--m-line);
    border-radius: 18px; background: var(--m-surface);
  }
  html.cz-app #top .ph-bubs .ph-bub {
    min-height: 55px; justify-content: center; gap: 1px; border-radius: 13px;
  }
  html.cz-app #top .ph-bubs .ph-bub-ic {
    width: 31px; height: 29px; background: transparent; border: 0; box-shadow: none;
  }
  html.cz-app #top .ph-bubs .ph-bub-ic::before { width: 22px; height: 22px; }
  html.cz-app #top .ph-bubs .ph-bub-t { font-size: 11.5px; }
  html.cz-app #top .ph-bubs .ph-bub:active { background: var(--m-soft); }
  html.cz-app #top > .hub-home-sheet { padding-top: 14px !important; gap: 18px; }

  html.cz-app #billGuideOverlay .bz-field.bz-name[hidden] { display: none !important; }
  html.cz-app #billGuideOverlay .orbit-bill-options { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 8px; }
  html.cz-app #billGuideOverlay .orbit-name-toggle {
    display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 2px 7px;
    border: 0; border-radius: 8px; background: transparent; color: var(--m-muted);
    box-shadow: none; font: 600 13px var(--m-font); cursor: pointer;
  }
  html.cz-app #billGuideOverlay .orbit-name-toggle::after {
    content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor; transform: rotate(45deg); margin: -3px 3px 0;
  }
  html.cz-app #billGuideOverlay .orbit-name-toggle[aria-expanded="true"]::after { transform: rotate(225deg); margin-top: 3px; }
  html.cz-app #billGuideOverlay .bz-step[data-guide-stage="1"] .bz-nav { display: flex; }
  html.cz-app #billGuideOverlay .bz-step[data-guide-stage="1"] .bz-nav > span:empty { display: none; }
  html.cz-app #billGuideOverlay .bz-step[data-guide-stage="1"] .bz-nav .bz-next { width: 100%; flex: 1; justify-content: center; }

  html.cz-app #arcadeGames > #dailyReward { width: 100%; grid-column: 1 / -1; margin: 0; }
  html.cz-app #arcadeGames > #dailyReward .ml-card {
    border: 0; border-top: 1px solid var(--m-line); border-radius: 0; padding: 11px 0 0; background: transparent;
  }
    }

@media (max-width:700px) {
  html.cz-app { --mc-sheet: #f3f0eb; --mc-disc:#ebe6df; }
  html.cz-app[data-theme="dark"] { --mc-sheet:#232321; --mc-disc:#393631; }
  html.cz-app #top .hub-home .hub-mid { gap:2px; padding-bottom:16px; }
  html.cz-app #top .hub-home .hub-hi b {
    font-size:clamp(30px,8.5vw,41px); font-weight:660; letter-spacing:-.05em; line-height:1.24;
  }
  html.cz-app #top .mc-deck { position:relative; isolation:isolate; padding-top:9px; }
  html.cz-app #top .mc-deck::before {
    content:""; position:absolute; z-index:-1; inset:1px 10px auto; height:42px;
    background:#6b655c; border-radius:24px;
  }
  html.cz-app #top .mc-back-card {
    width:calc(100% - 4px); min-height:72px; margin:0 2px -24px; padding:0 18px 24px;
    display:flex; align-items:center; justify-content:space-between; gap:12px;
    color:#fff8ee; background:#27231f; border:0; border-radius:23px 23px 13px 13px;
    cursor:pointer; box-shadow:none; font:650 13px/1.35 var(--m-font);
  }
  html.cz-app #top .mc-back-card:focus-visible { outline-offset:-4px; outline-color:#ffc394; }
  html.cz-app #top .mc-back-card .mc-back-label { display:inline-flex; align-items:center; gap:9px; }
  html.cz-app #top .mc-back-label::before {
    content:"";width:18px;height:18px;background:currentColor;mask:var(--m-trip) center/contain no-repeat;
  }
  html.cz-app #top .mc-deck[data-front="trips"] .mc-back-label::before {mask-image:var(--m-quick);}
  html.cz-app #top .mc-deck .m-feature {
    min-height:clamp(188px,50vw,226px); border-radius:23px; box-shadow:0 2px 2px #5d321a0d;
    background:
      radial-gradient(ellipse at 73% 66%,#ff873e 0%,#ff9d56 18%,transparent 49%),
      linear-gradient(115deg,#ffe7cd 1%,#ffd0a0 40%,#ffb778 75%,#ffd7ac) !important;
    touch-action:pan-y;
  }
  html.cz-app #top .mc-deck .mc-trip-card {
    background:radial-gradient(ellipse at 75% 68%,#ffac65,transparent 44%),linear-gradient(112deg,#fff2df,#ffe2b9 45%,#ffc68f) !important;
  }
  html.cz-app #top .mc-deck .m-feature[hidden] { display:none !important; }
  html.cz-app #top .mc-deck .m-feature::before {
    width:54%; height:88%; inset:10% -1% auto auto; transform:rotate(-23deg);
    border:1px solid #fff9ef7a; box-shadow:0 0 0 13px #fffbf008,0 0 0 14px #fff9ef33;
  }
  html.cz-app #top .mc-deck .m-mali { inset:3% -1% 3% auto; width:51%; }
  html.cz-app #top .mc-deck .ph-say { justify-content:space-between; gap:6px; padding:21px 47% 17px 18px; }
  html.cz-app #top .mc-deck .ph-say b {
    font-size:clamp(24px,7vw,33px); line-height:1.13; font-weight:710; letter-spacing:-.045em;
    overflow-wrap:anywhere;
  }
  html.cz-app #top .mc-deck .ph-say small {margin-top:6px;line-height:1.34;}
  html.cz-app #top .mc-deck .ph-say i {width:44px;height:39px;border-radius:24px;}
  html.cz-app #top .mc-deck .ph-say i::before {width:19px;height:19px;transform:rotate(-35deg);}
  .mc-sr {position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap;}
  html.cz-app #top .ph-bubs { margin-top:12px; padding:7px 4px; border:0; border-radius:20px; background:var(--mc-sheet); }
  html.cz-app #top .ph-bubs .ph-bub {display:flex;flex-direction:column;min-height:53px;gap:4px;}
  html.cz-app #top .ph-bubs .ph-bub-ic {width:34px;height:32px;border-radius:50%;background:var(--m-surface);}
  html.cz-app #top .ph-bubs .ph-bub-ic::before {width:19px;height:19px;}
  html.cz-app #top .ph-bubs .ph-bub-t {font-size:12px;line-height:1.25;}
  html.cz-app #top .hub-home-sheet #czQ {border:0 !important;border-radius:999px;background-color:var(--mc-sheet) !important;box-shadow:none;}
  html.cz-app #top .ph-tools .ph-cats {box-shadow:none;border-radius:20px;padding:2px;background:var(--mc-sheet);}
  html.cz-app #top .ph-tools .ph-cat {border-radius:18px;}
  html.cz-app #top .ph-tools .ph-cat[aria-selected="true"]::after {display:none;}
  html.cz-app #top .ph-tools .ph-grid:not([hidden]) {
    grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;border:0;border-radius:0;
    background:transparent;overflow:visible;
  }
  html.cz-app #top .ph-tools .ph-grid .ph-t {
    display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;
    min-height:55px;padding:9px 10px;border-radius:15px;background:var(--mc-sheet);text-align:start;
  }
  html.cz-app #top .ph-tools .ph-ic {display:grid;place-items:center;width:32px;height:32px;flex:0 0 32px;border-radius:50%;background:var(--m-surface);}
  html.cz-app #top .ph-tools .ph-ic::before {width:18px;height:18px;}
  html.cz-app #top .ph-tools .ph-t > span:last-child {font-size:12px;text-align:start;}
  html.cz-app #top .ph-tools .ph-grid .ph-t:nth-child(1) {background:#ffe0c4;color:#2c2018;}
  html.cz-app #top .ph-tools .ph-grid .ph-t:nth-child(1) .ph-ic {background:#fff3e6;color:#302219;}

  /* The current destination gets a word; every link retains its full touch target. */
  html.cz-app.has-tabs body .ms-bottomnav.ms-tabs {display:flex;align-items:center;gap:1px;max-width:360px;width:calc(100% - 28px);padding:4px 6px;}
  html.cz-app.has-tabs body .ms-tabs .ms-bi-pill {display:none;}
  html.cz-app.has-tabs body .ms-tabs .ms-bi-link {display:flex;align-items:center;justify-content:center;flex:1;min-width:44px;}
  html.cz-app.has-tabs body .ms-tabs .ms-bi-link.is-on {flex:1.8;background:#fff7ea !important;color:#25211e !important;gap:3px;}
  html.cz-app.has-tabs body .ms-tabs .ms-bi-link.is-on .ms-bi-ic {width:25px;height:32px;}
  html.cz-app.has-tabs body .ms-tabs .ms-bi-link.is-on .ms-bi-ic::before {width:18px;height:18px;}
  html.cz-app.has-tabs body .ms-tabs .ms-bi-link.is-on .ms-bi-t {
    position:static;left:auto;width:auto;height:auto;clip:auto;clip-path:none;overflow:hidden;
    text-overflow:ellipsis;white-space:nowrap;font:650 11px/1.3 var(--m-font);
  }
  html.cz-app .ms-tabs .ms-bi-quick .ms-bi-ic {box-shadow:none !important;}
}
@media (max-width:350px) {
  html.cz-app #top .mc-deck .ph-say {padding-left:15px;}
  html.cz-app #top .ph-tools .ph-grid .ph-t {padding-inline:7px;gap:5px;}
}
@media(max-width:700px) and (prefers-reduced-motion:no-preference){
  html.cz-app #top .mc-deck[data-front] .m-feature:not([hidden]) {animation:mc-front 210ms ease-out;} /* on a flip only, not on load (2026-11-28) */
  @keyframes mc-front{from{opacity:.7;transform:translateY(4px)}to{opacity:1;transform:none}}
}

@media(max-width:700px) {
  html.cz-app .bl-grid .bl-sum.bz-sum:has(#blTitle) {
    padding:18px 20px !important; border:0 !important; border-radius:26px !important;
    color:#fff9f2; isolation:isolate;
    background:radial-gradient(ellipse at 91% 50%, #643d2a 0, #3b3028 23%, transparent 59%), #24211e !important;
    box-shadow:inset 0 1px 0 #fff0d51f !important;
  }
  html.cz-app .bl-grid .bl-sum:has(#blTotal) .bz-sum-top {
    display:grid; grid-template-columns:minmax(0,1fr) auto auto;
    grid-template-areas:"title reset dial" "money money dial" "facts facts dial";
    row-gap:9px; column-gap:7px; align-items:center;
  }
  html.cz-app .bl-grid .bl-sum:has(#blTitle) .bz-sum-t {display:contents;}
  html.cz-app .bl-grid .bl-sum:has(#blTitle) .bz-sum-ic {display:none;}
  html.cz-app .bl-grid .bl-sum #blTitle {
    grid-area:title; min-width:0; max-width:100%; margin:0;
    color:#f0dfd1 !important; font:650 15px/1.3 var(--m-font);
    overflow-wrap:anywhere; white-space:normal;
  }
  html.cz-app .bl-grid .bl-sum:has(#blTotal) .bz-sum-total {
    grid-area:money; min-width:0; max-width:100%; margin:0;
    white-space:normal; line-height:1;
  }
  html.cz-app .bl-grid .bl-sum.bz-sum #blTotal {
    display:block; color:#fff8ee !important; font:650 clamp(38px,11.7vw,54px)/1 var(--m-font);
    font-variant-numeric:tabular-nums; letter-spacing:-.065em; overflow-wrap:anywhere;
  }
  html.cz-app .bl-grid .bl-sum #blTotal[data-dense="true"] {font-size:clamp(23px,6.3vw,33px);}
  html.cz-app .bl-grid .bl-sum:has(#blTotal) .bz-sum-facts { grid-area:facts; gap:14px; margin:0; }
  html.cz-app .bl-grid .bl-sum:has(#blTitle) .bz-fact {color:#efded0 !important;}
  html.cz-app .bl-grid .bl-sum:has(#blTitle) .bz-reset { grid-area:reset; }
  html.cz-app .mc-bill-dial {
    grid-area:dial; position:relative; inline-size:clamp(78px,23vw,96px); aspect-ratio:1;
    place-self:center end; display:grid; place-content:center; justify-items:center; gap:1px;
    border-radius:50%; color:#fff8eb;
    background:conic-gradient(from 0deg,#ffad6c var(--mc-step),#fff5e52e var(--mc-step));
  }
  html.cz-app .mc-bill-dial[hidden] { display:none; }
  html.cz-app .mc-bill-dial::before {content:"";position:absolute;inset:5px;border-radius:50%;background:radial-gradient(circle at 70% 20%,#574036,#302923 80%);}
  html.cz-app .mc-bill-dial > * {position:relative;z-index:1;}
  html.cz-app .mc-bill-dial small {font:600 11px/1.3 var(--m-font);color:#f4d6bb;}
  html.cz-app .mc-bill-dial strong {font:650 24px/1 var(--m-font);letter-spacing:-.045em;color:#fff8eb;font-variant-numeric:tabular-nums;}
  html.cz-app .bl-grid .bl-sum:has(#blTotal) #blChips:not(:empty) { margin-top:5px; }
  html.cz-app .bl-grid #billGuideOverlay .bill-guide-modal.bz {
    padding:21px 17px 17px !important; border-radius:24px !important;
    border:1px solid var(--m-line) !important; background:var(--m-surface) !important;
    box-shadow:0 5px 16px rgb(52 35 20 / 4%) !important;
  }
  html.cz-app .bl-grid #billGuideOverlay .bz-step .bz-head {
    grid-template-columns: minmax(0,1fr) auto; gap:8px; align-items:center;
  }
  html.cz-app .bl-grid #billGuideOverlay .bz-step .bz-head-t {grid-area:1/1;}
  html.cz-app .bl-grid #billGuideOverlay .bz-step .bz-head h2 {font:700 clamp(22px,6.3vw,28px)/1.2 var(--m-font);letter-spacing:-.04em;}
  html.cz-app .bl-grid #billGuideOverlay .bz-step .bz-head p {margin-top:5px; font-size:13px;}
  html.cz-app .bl-grid #billGuideOverlay .bz-head-ic {grid-area:1/2; background:#fff0df; color:#35251b; border-radius:50%; width:42px;height:42px;}
  html.cz-app .bl-grid #billGuideOverlay .bz-num {display:none;}
  html.cz-app .bl-grid #billGuideOverlay .bz-step .bz-next {border-radius:999px !important;}
  html.cz-app .bl-grid #billGuideOverlay .bz-add {border-radius:18px !important; min-height:52px;}
}

/* Compact, warm-white tool sheets share a larger editorial hero on phones. */
@media(max-width:700px){
  html.cz-app body main:has(#arcH):has(#arcadeGames) .hub-poster:has(#hubTitle){
    width:100%;height:clamp(223px,60vw,276px)!important;margin:3px auto 13px!important;
    border-radius:28px;isolation:isolate;overflow:hidden;color:#fffaf2;background:
      radial-gradient(ellipse at 86% 70%,#92532f 0%,#4c3528 24%,transparent 56%),
      linear-gradient(130deg,#2b2925,#171615 66%)!important;
  }
  html.cz-app body main:has(#arcH):has(#arcadeGames) .hub-poster:has(#hubTitle)::before{
    content:"";display:block!important;position:absolute;pointer-events:none;
    inset:20% -18% -20% 56%;opacity:.25;transform:rotate(-19deg);
    background:repeating-linear-gradient(0deg,transparent 0 12px,#ef9856 12px 13px);
    mask-image:linear-gradient(135deg,transparent 2%,#000 70%);
  }
  html.cz-app body main:has(#arcH):has(#arcadeGames) .hub-poster:has(#hubTitle) .pz-mid{
    padding:18px 43% 17px 19px!important;justify-content:flex-start!important;align-items:flex-start!important;gap:0;
  }
  html.cz-app body main:has(#arcH):has(#arcadeGames) .hub-poster:has(#hubTitle) .pz-word{
    display:flex;flex-direction:column;align-items:flex-start!important;gap:0!important;
    color:#fff9f1!important;font:600 clamp(39px,11.2vw,53px)/.89 var(--m-font)!important;letter-spacing:-.058em;
  }
  html.cz-app body main:has(#arcH):has(#arcadeGames) .hub-poster:has(#hubTitle) .pz-word span{letter-spacing:inherit!important}
  html.cz-app body main:has(#arcH):has(#arcadeGames) .hub-poster:has(#hubTitle) #hubTitle{
    max-width:21ch;color:#e4d9cc!important;font-size:12px;line-height:1.4;margin-top:8px!important;
  }
  html.cz-app body main:has(#arcH):has(#arcadeGames) .hub-poster:has(#hubTitle) .pz-mid .pz-mali{
    width:51%;height:83%;inset:auto -1% 3% auto!important;object-position:center bottom!important;
    filter:drop-shadow(0 12px 8px rgb(14 11 10 / 32%));
  }
  html.cz-app #r3-game-action{
    position:relative;z-index:2;order:3;display:inline-flex;align-items:center;gap:8px;
    margin:auto 0 0;padding:7px 13px;min-height:44px;box-sizing:border-box;border-radius:30px;
    color:#211c17;background:#ffa464;text-decoration:none;font:650 13px/1.25 var(--m-font);
  }
  html.cz-app #r3-game-action svg{width:15px;height:15px;flex:none}
  html.cz-app main:has(#hubTitle) #arcadeGames{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;
    padding:3px 0 9px!important;background:transparent!important;border:0!important;border-radius:0!important;
  }
  html.cz-app main:has(#hubTitle) #arcadeGames > .hub-head{
    grid-column:1 / -1!important;margin:0 2px 4px!important;
  }
  html.cz-app main:has(#hubTitle) #arcadeGames > a.gcard{
    display:flex!important;min-height:67px;flex-direction:row!important;
    justify-content:flex-start!important;align-items:center!important;
    border-radius:17px!important;padding:6px 7px!important;gap:6px!important;
    background:var(--m-soft)!important;text-align:start;color:var(--m-ink);
  }
  html.cz-app main:has(#hubTitle) #arcadeGames > a.gcard .gicon{
    width:42px!important;height:42px!important;flex:none!important;
    border:0!important;border-radius:12px!important;background:var(--m-surface)!important;
  }
  html.cz-app main:has(#hubTitle) #arcadeGames > a.gcard .gicon img.ic{width:32px!important;height:32px!important}
  html.cz-app main:has(#hubTitle) #arcadeGames > a.gcard h2{
    font:650 13px/1.3 var(--m-font)!important;text-align:start;color:inherit!important;max-width:none!important;
  }
  html.cz-app main:has(#hubTitle) #arcadeGames > a.gcard > .flag[data-i18n="flagNew"]{
    top:5px!important;right:6px!important;width:6px;height:6px;
  }
  html.cz-app main:has(#hubTitle) #arcadeGames > #dailyReward {grid-column:1 / -1!important}
  @media(max-width:350px){
    html.cz-app body main:has(#arcH):has(#arcadeGames) .hub-poster:has(#hubTitle) .pz-mid{padding-left:14px!important}
    html.cz-app main:has(#hubTitle) #arcadeGames > a.gcard .gicon{width:34px!important;height:34px!important}
  }
}

/* 2026-11-28 (Claude): home-phone.js swaps the card's words with a .2s fade (.ph-swap), made for the
   old small bubble; on the big card it read as faded, broken text. Swap in place. */
html.cz-app #top .ph-say { transition: none; }
html.cz-app #top .ph-say.ph-swap { opacity: 1; }

/* 2026-11-29 (Claude, the user: "fix the UI to be consistent across the site"; their shot: Trips
   scrolled, the giant "Trips" showing through the bar behind its title, a tile page peeking in
   from each side) */
@media (max-width: 700px) {
  /* the bar once the page scrolls: solid paper (it was 82%), so no page's big words show behind the title */
  html.cz-app.cz-brandbar body:not([data-wsec="f1"]) .bh.bh-scrolled::before { background: var(--bg) !important; }
  /* the part landings (Bills, Trips, Cars, Everyday, Health) share one card and one tile grid
     (hub.css's three across; Trips' own big hero and dark lead tile and the two-column boxes are
     gone): the name keeps its weight (bills/style.css thins every <p> with !important) */
  html.cz-app body main .ps-scene .hub-name { font-weight: 750 !important; }
  /* one tile page at a time: the neighbours sit just past the edge instead of peeking in */
  html.cz-app body main .ps-sheet .hub-pages {
    grid-auto-columns: 100% !important; gap: 6px !important;
    margin: 0 !important; padding: 3px 3px 4px !important; scroll-padding-inline: 3px !important;
  }
  html.cz-app body main .ps-sheet .hub-chips { margin-bottom: 10px; }
  html.cz-app body main .ps-sheet .hub-dots { margin-top: 8px; }
}
