/* DBR Productions website styles: the Signal look. Graphite and DBR orange, Manrope headings, Inter text. */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap");

@font-face {
  font-family: "Roboto Mono"; font-style: normal; font-weight: 100 700; font-display: swap;
  src: url("../fonts/RobotoMono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --font: "Inter", "Segoe UI", system-ui, sans-serif;
  --font-head: "Manrope", "Inter", "Segoe UI", system-ui, sans-serif;
  --mono: "Roboto Mono", "Cascadia Mono", Consolas, monospace;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-btn: 999px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --accent-fill: #f97316;
  --accent-hover: #ff8a33;
  --accent-text: #1a0f04;
}

:root, :root[data-theme="dark"] {
  --bg: #141416;
  --bg-alt: #1a1a1d;
  --topbar: rgba(20, 20, 22, .82);
  --surface: #202024;
  --surface-2: #29292e;
  --surface-3: #313137;
  --panel: rgba(32, 32, 36, .88);
  --hover: #2b2b30;
  --border: #2f2f35;
  --border-strong: #3c3c43;
  --text: #f2f2f5;
  --text-2: #b9b9c2;
  --text-3: #85858f;
  --accent: #ff9a4d;
  --accent-soft: rgba(249, 115, 22, .15);
  --accent-ring: rgba(249, 115, 22, .45);
  /* done is blue and pending is amber, so status never depends on telling red from green */
  --ok: #6aa8ff;     --ok-soft: rgba(106, 168, 255, .15);
  --warn: #ffb547;   --warn-soft: rgba(255, 181, 71, .15);
  --info: #8b9cff;   --info-soft: rgba(139, 156, 255, .15);
  --shadow: 0 18px 50px rgba(0, 0, 0, .55), 0 2px 8px rgba(0, 0, 0, .3);
  --glow: 0 0 0 1px rgba(249, 115, 22, .5), 0 8px 28px rgba(249, 115, 22, .35);
  --rail: rgba(249, 115, 22, .2);
  --sleeper: rgba(249, 115, 22, .09);
  --contour: rgba(255, 255, 255, .035);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f8f6f2;
  --bg-alt: #f0ece4;
  --topbar: rgba(248, 246, 242, .86);
  --surface: #ffffff;
  --surface-2: #f4f0e8;
  --surface-3: #ebe5d9;
  --panel: rgba(255, 255, 255, .92);
  --hover: #f1ece3;
  --border: #e5ded2;
  --border-strong: #d4cabb;
  --text: #1d1a16;
  --text-2: #4f483f;
  --text-3: #7a7064;
  --accent: #c2410c;
  --accent-soft: rgba(249, 115, 22, .12);
  --accent-ring: rgba(234, 88, 12, .35);
  --ok: #1d5fd1;     --ok-soft: rgba(29, 95, 209, .1);
  --warn: #a15c00;   --warn-soft: rgba(217, 140, 0, .14);
  --info: #4c55c9;   --info-soft: rgba(76, 85, 201, .1);
  --shadow: 0 18px 44px rgba(60, 40, 10, .14), 0 2px 8px rgba(60, 40, 10, .06);
  --glow: 0 0 0 1px rgba(234, 88, 12, .45), 0 8px 24px rgba(234, 88, 12, .25);
  --rail: rgba(194, 65, 12, .2);
  --sleeper: rgba(194, 65, 12, .08);
  --contour: rgba(60, 45, 20, .05);
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 400 15.5px/1.6 var(--font);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: var(--accent-soft); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -.3px; margin: 0; }

/* every page uses 80% of the screen width: 10% clear on the left and right */
.wrap { width: 80%; margin: 0 auto; }
@media (max-width: 1100px) { .wrap { width: 90%; } }
@media (max-width: 600px) { .wrap { width: auto; margin: 0 16px; } }

/* top bar */
.topbar {
  position: sticky; top: 0; z-index: 20; background: var(--topbar); border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px) saturate(1.3);
}
.topbar .wrap { height: 60px; display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; white-space: nowrap; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { color: var(--text-2); padding: 7px 12px; border-radius: var(--radius); font-weight: 500; font-size: 14px; }
.nav a:hover { background: var(--hover); color: var(--text); text-decoration: none; }
/* menu names never break onto two lines; on laptop widths the links sit closer so a full team menu fits */
.nav a { white-space: nowrap; }
@media (max-width: 1366px) { .nav a { padding: 7px 8px; font-size: 13.5px; } }

.nav a[aria-current="page"] { color: var(--text); background: var(--surface-2); }
.top-actions { display: flex; align-items: center; gap: 6px; }
.btn.menu-btn { display: none; }

/* buttons, same as the toolkit */
.btn {
  height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 16px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface-2);
  color: var(--text); font: 500 14px var(--font); cursor: pointer; white-space: nowrap; text-decoration: none;
  transition: background .12s, border-color .12s, transform .06s;
}
.btn:hover { background: var(--surface-3); border-color: var(--border-strong); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--accent-ring); }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn.primary { background: var(--accent-fill); border-color: var(--accent-fill); color: var(--accent-text); font-weight: 600; }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn.ghost { background: transparent; border-color: transparent; color: var(--text-2); }
.btn.ghost:hover { background: var(--hover); color: var(--text); }
.btn.icon { width: 38px; padding: 0; }
.btn.lg { height: 46px; padding: 0 22px; font-size: 15px; border-radius: 10px; }
.btn.sm { height: 32px; padding: 0 12px; font-size: 13px; }

.badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase;
  padding: 3px 8px; border-radius: 5px; background: var(--accent-soft); color: var(--accent); }
.badge.muted { background: var(--surface-3); color: var(--text-2); }

/* status pills carry a word and an icon, never colour alone */
.pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 12px;
  font-size: 12px; font-weight: 600; background: var(--surface-3); color: var(--text-2); }
.pill svg { width: 12px; height: 12px; }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.warn { background: var(--warn-soft); color: var(--warn); }
.pill.info { background: var(--info-soft); color: var(--info); }

/* the rail graphic from the toolkit */
.rail-bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.rail-bg path { fill: none; }
.rail-bg .contour { stroke: var(--contour); stroke-width: 1; }
.rail-bg .sleepers { stroke: var(--sleeper); stroke-width: 34; stroke-dasharray: 4 13; }
.rail-bg .rails { stroke: var(--rail); stroke-width: 22; }
.rail-bg .gap { stroke: var(--bg); stroke-width: 18; }
.rail-bg .faint { opacity: .55; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 84px; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(32px, 5vw, 50px); font-weight: 800; letter-spacing: -.8px; margin: 14px 0 16px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p.lead { font-size: 17px; color: var(--text-2); max-width: 540px; margin: 0 0 26px; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 30px; color: var(--text-3); font-size: 13px; }
.hero-meta b { display: block; color: var(--text); font-size: 18px; font-weight: 700; }
.hero-art { justify-self: center; width: min(380px, 100%); }
.hero-art img { width: 100%; border-radius: 28px; box-shadow: var(--shadow); }
.page-hero { position: relative; overflow: hidden; padding: 56px 0 44px; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; margin: 12px 0 10px; }
.page-hero p { color: var(--text-2); font-size: 17px; max-width: 680px; margin: 0; }

/* sections */
.section { padding: 64px 0; position: relative; }
.section.alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { margin-bottom: 28px; max-width: 680px; }
.section-head h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 750; }
.section-head p { color: var(--text-2); margin: 8px 0 0; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }

/* cards */
.grid { display: grid; gap: 16px; }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; backdrop-filter: blur(14px); }
.card h3 { font-size: 18px; font-weight: 650; margin: 12px 0 6px; }
.card p { color: var(--text-2); margin: 0; }
.card .card-foot { margin-top: 18px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.card-icon { width: 44px; height: 44px; border-radius: 11px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.card-icon svg { width: 22px; height: 22px; }
a.card { color: inherit; transition: border-color .15s, transform .15s var(--ease); }
a.card:hover { text-decoration: none; border-color: var(--border-strong); transform: translateY(-2px); }

/* screenshot and video placeholders */
.media { aspect-ratio: 16 / 9; border-radius: var(--radius-lg); border: 1px dashed var(--border-strong); background: var(--surface);
  display: grid; place-items: center; color: var(--text-3); font-size: 13px; text-align: center; padding: 12px; overflow: hidden; }
.media img, .media iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.media.filled { border-style: solid; padding: 0; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery .media:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }

/* facts list */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.fact { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 12px 16px; }
.fact .k { font-size: 12px; color: var(--text-3); font-weight: 500; }
.fact .v { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }

.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--text-2); }
.ticks li svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 3px; }
.ticks li b { color: var(--text); font-weight: 600; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; padding-top: 52px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 18px; left: 22px; width: 28px; height: 28px;
  border-radius: 50%; display: grid; place-items: center; background: var(--accent-fill); color: var(--accent-text); font-weight: 700; font-size: 14px; }
.step h3 { margin-top: 4px; }

/* price box */
.price-box { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.price { font-size: 42px; font-weight: 800; letter-spacing: -1px; line-height: 1; }
.price small { font-size: 14px; font-weight: 500; color: var(--text-3); margin-left: 8px; letter-spacing: 0; }

/* requirement table */
.req { width: 100%; border-collapse: collapse; font-size: 14px; }
.req th, .req td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.req th { color: var(--text-3); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: .6px; }
.req td:first-child { color: var(--text-2); font-weight: 500; width: 34%; }
.req tr:last-child td { border-bottom: 0; }
.table-card { padding: 4px 8px; overflow-x: auto; }

/* notices */
.notice { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius); background: var(--warn-soft); color: var(--text); }
.notice svg { width: 20px; height: 20px; color: var(--warn); flex: none; margin-top: 2px; }
.notice.info { background: var(--info-soft); }
.notice.info svg { color: var(--info); }

/* route map: real track and coastline from OpenStreetMap, drawn like a trip route on a map app */
:root, :root[data-theme="dark"] {
  --map-land: #232427; --map-sea: #172231; --map-coast: #2d3d52; --map-river: #22405f; --map-sea-text: #4f6c8f;
  --route: #4c8dff; --route-casing: #173f8f; --map-label: #ececf0; --map-halo: #1c1c1e;
}
:root[data-theme="light"] {
  --map-land: #f4efe4; --map-sea: #cadff3; --map-coast: #a9c4de; --map-river: #a7c7e6; --map-sea-text: #5d82aa;
  --route: #2f74f0; --route-casing: #1b4fb8; --map-label: #2b2620; --map-halo: #fffcf5;
}
.route-map-card { padding: 0; overflow: hidden; }
.route-map-scroll { overflow-x: auto; }
.route-map { display: block; width: 100%; height: auto; }
.route-map .land { fill: var(--map-land); }
.route-map .sea { fill: var(--map-sea); }
.route-map .coast { fill: none; stroke: var(--map-coast); stroke-width: 1.5; }
.route-map .river { fill: none; stroke: var(--map-river); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.route-map .sea-lbl { fill: var(--map-sea-text); font: italic 500 20px var(--font); letter-spacing: 3px; }
.route-map .track path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.route-map .casing { stroke: var(--route-casing); stroke-width: 11; }
.route-map .core { stroke: var(--route); stroke-width: 6.5; }
.route-map .core.branch { stroke-dasharray: 10 6; }
.route-map .stn { fill: #fff; stroke: var(--route-casing); stroke-width: 3; }
.route-map .stn.end, .route-map .stn.jn { stroke-width: 3.5; }
.route-map .lbl { fill: var(--map-label); font: 600 15px var(--font); paint-order: stroke; stroke: var(--map-halo); stroke-width: 4px; stroke-linejoin: round; }
.route-map .lbl.big { font-size: 18px; font-weight: 700; }
.route-map .lbl.jn { font-weight: 700; }
.route-map .lbl .code { font: 500 12px var(--mono); fill: var(--text-3); }
.map-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding: 12px 18px; border-top: 1px solid var(--border); }
.legend { display: flex; gap: 8px 22px; flex-wrap: wrap; font-size: 13px; color: var(--text-2); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.key { width: 30px; height: 7px; border-radius: 4px; background: var(--route); box-shadow: 0 0 0 2px var(--route-casing); }
.key.branch { background: repeating-linear-gradient(90deg, var(--route) 0 8px, var(--route-casing) 8px 12px); }
.map-credit { font-size: 11.5px; color: var(--text-3); }
.map-credit a { color: var(--text-2); }

/* faq */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 20px; line-height: 1; font-weight: 500; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { color: var(--text-2); padding: 0 0 18px; }
.faq details > div p { margin: 0 0 10px; }
.faq details > div p:last-child { margin: 0; }
.faq-group { margin: 34px 0 12px; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-3); }
.faq-group:first-child { margin-top: 0; }

code, .mono { font-family: var(--mono); font-size: .9em; background: var(--surface-3); padding: 1px 6px; border-radius: 5px; }

/* footer */
.footer { border-top: 1px solid var(--border); padding: 36px 0; color: var(--text-3); font-size: 14px; }
.footer .wrap { display: flex; gap: 24px; justify-content: space-between; flex-wrap: wrap; align-items: center; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--text-2); }

/* phones and small tablets */
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 44px 0 56px; }
  .hero-art { width: min(260px, 70%); order: -1; }
  .grid.c3, .grid.c2, .steps { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery .media:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 9; }
  .price-box { grid-template-columns: 1fr; }
  .route-map { min-width: 640px; }
  .section { padding: 48px 0; }
  .btn.menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--surface); border-bottom: 1px solid var(--border); padding: 8px 16px 14px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .top-actions { margin-left: auto; }
  .top-actions .btn.primary { display: none; }
}
@media (max-width: 480px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .brand span { display: none; }
}
.route-map-card { position: relative; }
.map-tags { position: absolute; top: 14px; left: 14px; display: flex; gap: 6px; z-index: 1; }
.map-tags .badge { backdrop-filter: blur(8px); background: var(--panel); border: 1px solid var(--border); }
.map-tags .badge:first-child { color: var(--accent); }
.map-swipe { display: none; font-size: 12px; color: var(--text-3); }
@media (max-width: 860px) { .map-swipe { display: block; } }

/* asset store */
.sim-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 18px; }
.pack { display: flex; flex-direction: column; }
.pack .media { aspect-ratio: 4 / 3; }
.pack .card-foot { margin-top: auto; padding-top: 18px; }
.pack-price { font-weight: 700; color: var(--text-2); font-size: 14px; }
.spacer { flex: 1; }
.ticks.no li svg { color: var(--text-3); }

/* home page slider: full-width featured slides with a muted trailer behind the text */
.showcase { --sh: clamp(520px, 84vh, 760px); position: relative; height: var(--sh); overflow: hidden; background: #111113; color: #f4f4f6; }
.show-slides, .show-slide { position: absolute; inset: 0; }
.show-slide { opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility 0s .8s; }
.show-slide.on { opacity: 1; visibility: visible; transition: opacity .8s var(--ease); }
.show-media { position: absolute; inset: 0; overflow: hidden; background-size: cover; background-position: center;
  background-color: #151517;
  background-image: radial-gradient(70% 90% at 78% 30%, rgba(249, 115, 22, .26), transparent 60%),
    radial-gradient(60% 70% at 15% 100%, rgba(76, 141, 255, .14), transparent 60%); }
/* the video fades in once it's really playing, so YouTube's own start-up buttons are never seen */
.show-media.has-video iframe { opacity: 0; transition: opacity .6s; }
/* checkout: one button per UPI app */
.upi-apps { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 4px 0 12px; }
.upi-apps .hint { width: 100%; }
.show-media.has-video.playing iframe { opacity: 1; }
.show-media iframe { position: absolute; top: 50%; left: 50%; border: 0; pointer-events: none;
  width: max(100%, calc(var(--sh) * 16 / 9)); height: max(100%, calc(100vw * 9 / 16));
  transform: translate(-50%, -50%) scale(1.18); }
.show-slide.on .show-media.has-image { animation: drift 14s ease-out both; }
@keyframes drift { from { transform: scale(1.08); } to { transform: scale(1); } }
.show-shade { position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10, 10, 12, .86) 0%, rgba(10, 10, 12, .55) 45%, rgba(10, 10, 12, .1) 80%),
    linear-gradient(0deg, rgba(10, 10, 12, .7) 0%, transparent 35%); }
.show-copy { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-bottom: 40px; }
.show-copy > * { max-width: 640px; }
.show-copy h1, .show-copy h2 { font-size: clamp(32px, 5vw, 54px); font-weight: 800; letter-spacing: -.8px; line-height: 1.1; margin: 16px 0 14px; color: #fff; }
.show-copy p { font-size: 18px; color: rgba(255, 255, 255, .82); margin: 0 0 26px; }
.show-copy .badge { align-self: flex-start; background: rgba(249, 115, 22, .22); color: #ffb578; }
.show-slide.on .show-copy > * { animation: rise .7s var(--ease) both; }
.show-slide.on .show-copy > :nth-child(2) { animation-delay: .08s; }
.show-slide.on .show-copy > :nth-child(3) { animation-delay: .16s; }
.show-slide.on .show-copy > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { transform: translateY(14px); } to { transform: none; } }
.btn.show-ghost, .show-buttons .btn { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .22); color: #fff; backdrop-filter: blur(10px); }
.btn.show-ghost:hover, .show-buttons .btn:hover { background: rgba(255, 255, 255, .2); border-color: rgba(255, 255, 255, .35); }
.show-controls { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 2; display: flex; align-items: center; gap: 16px; }
.show-dots { display: flex; gap: 8px; flex: 1; max-width: 420px; }
.show-dots button { flex: 1; height: 24px; border: 0; padding: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.show-dots button i { display: block; width: 100%; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .25); overflow: hidden; position: relative; }
.show-dots button i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.show-dots button[aria-selected="true"] i::after { transform: scaleX(1); }
.showcase.timing .show-dots button[aria-selected="true"] i::after { animation: fill var(--slide-time) linear both; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.show-dots button:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--accent-ring); border-radius: 4px; }
.show-buttons { display: flex; gap: 8px; margin-left: auto; }
@media (max-width: 860px) {
  .showcase { --sh: clamp(480px, 78vh, 640px); }
  .show-shade { background: linear-gradient(0deg, rgba(10, 10, 12, .92) 0%, rgba(10, 10, 12, .6) 55%, rgba(10, 10, 12, .25) 100%); }
  .show-copy { justify-content: flex-end; padding-bottom: 92px; }
  .show-copy p { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .show-slide, .show-slide.on { transition: none; }
  .show-slide.on .show-copy > *, .show-slide.on .show-media.has-image { animation: none; }
}

/* forms, same controls as the toolkit */
.input, .select {
  height: 38px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface-2); color: var(--text);
  padding: 0 12px; outline: none; font: 400 14px var(--font); transition: border-color .15s, box-shadow .15s; min-width: 0; width: 100%;
}
.input:hover, .select:hover { border-color: var(--border-strong); }
.input:focus, .select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.input::placeholder { color: var(--text-3); }
textarea.input { height: auto; padding: 9px 12px; resize: vertical; line-height: 1.5; }
.input.num { width: 72px; text-align: right; }
.select { appearance: none; padding-right: 32px; cursor: pointer; width: auto;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%), linear-gradient(135deg, var(--text-3) 50%, transparent 50%);
  background-position: calc(100% - 16px) 16px, calc(100% - 11px) 16px; background-size: 5px 5px; background-repeat: no-repeat; }
.field .select { width: 100%; }
.select option { background: var(--surface); color: var(--text); }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--text-2); }
.form { display: flex; flex-direction: column; gap: 14px; }
.form-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form-grid2 .wide { grid-column: 1 / -1; }
.form-error { color: var(--warn); font-size: 13px; font-weight: 500; }
.form-error:empty { display: none; }
.checks { display: flex; gap: 8px 18px; flex-wrap: wrap; min-height: 38px; align-items: center; color: var(--text); font-weight: 400; font-size: 14px; }
.checks label { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.checks input { accent-color: var(--accent-fill); width: 16px; height: 16px; }
.inline-field { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 14px; }
.link-btn { background: none; border: 0; color: var(--accent); cursor: pointer; font: 500 13px var(--font); padding: 4px; align-self: center; }
.link-btn:hover { text-decoration: underline; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.hint { color: var(--text-3); font-size: 13px; }
.toolbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 0 0 16px; }

/* segmented tabs, as in the toolkit's sign-in screen */
.seg { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--surface-3); border-radius: var(--radius); padding: 3px; gap: 3px; }
.seg button { border: 0; background: transparent; border-radius: 6px; height: 32px; padding: 0 16px; color: var(--text-2); cursor: pointer; font: 500 14px var(--font); }
.seg button.on { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(0, 0, 0, .18); }

/* sign in and my account */
.auth-wrap { max-width: 440px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.auth-card { display: flex; flex-direction: column; gap: 14px; padding: 26px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 24px; font-weight: 750; }
.auth-card .hint { margin: -8px 0 0; }
.auth-card .seg { display: grid; }
.auth-card .btn.lg { width: 100%; }
.samples h3 { margin: 0 0 4px; font-size: 16px; }
.sample-list { display: grid; gap: 8px; margin-top: 12px; }
.sample { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: var(--radius);
  border: 1px solid var(--border); background: var(--surface-2); color: var(--text); cursor: pointer; font: 400 14px var(--font); text-align: left; }
.sample:hover { border-color: var(--border-strong); background: var(--surface-3); }
.account-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.account-head h1 { font-size: 26px; font-weight: 750; }
.account-head .hint { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.avatar { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-size: 24px; font-weight: 800; }
.preview-note { margin-bottom: 20px; }
.locked-box { max-width: 520px; margin: 40px auto; text-align: center; }
.locked-box h1 { font-size: 24px; margin-bottom: 8px; }
.locked-box .card-foot { justify-content: center; }

/* admin panel */
.admin-section { padding-top: 40px; }
.admin-head { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.admin-head h1 { font-size: 30px; font-weight: 800; }
.admin-head .hint { display: flex; align-items: center; gap: 10px; }
.admin-tabs { margin-bottom: 22px; }
.admin-table td { vertical-align: middle; }
.admin-table td:first-child { width: auto; }
.prod-cell { display: flex; align-items: center; gap: 12px; min-width: 220px; }
.prod-cell .hint { max-width: 380px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.thumb { width: 64px; height: 40px; border-radius: 6px; flex: none; background: var(--surface-3) center / cover; border: 1px solid var(--border); }
.row-actions { display: flex; gap: 6px; justify-content: flex-end; }
.empty { text-align: center; padding: 40px 22px; }
.empty h3 { margin-top: 0; }
.editor { max-width: 860px; }
.editor-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.editor-head h2 { font-size: 22px; }
.slide-list { display: grid; gap: 14px; margin-bottom: 16px; }
.slide-card-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; flex-wrap: wrap; }
.slide-card-head .hint { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 380px; }
.pack-by { margin-top: 8px; }

/* confirm box and toasts */
dialog.confirm { max-width: 440px; width: calc(100% - 32px); color: var(--text); background: var(--surface); box-shadow: var(--shadow); }
dialog.confirm::backdrop { background: rgba(8, 8, 10, .55); }
dialog.confirm h3 { margin: 0 0 8px; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 100; padding: 11px 18px; border-radius: 10px;
  background: var(--surface); color: var(--text); border: 1px solid var(--border-strong); box-shadow: var(--shadow); font-weight: 500;
  animation: rise .25s var(--ease); transition: opacity .3s; }
.toast.out { opacity: 0; }

@media (max-width: 860px) {
  .form-grid2 { grid-template-columns: 1fr; }
  .account-head .spacer { display: none; }
  .admin-tabs { display: grid; width: 100%; }
}

/* ── Signal look: pill buttons with a warm glow, bolder headings, underlined menu ── */
.btn { border-radius: var(--radius-btn); font-weight: 600; transition: transform .18s var(--ease), box-shadow .2s, background .15s, border-color .15s, color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn.primary { background: linear-gradient(180deg, var(--accent-hover), var(--accent-fill)); border-color: var(--accent-fill); }
.btn.primary:hover { background: linear-gradient(180deg, #ff9a4d, var(--accent-hover)); box-shadow: var(--glow); }
.btn:focus-visible { box-shadow: var(--glow); }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.nav a { position: relative; border-radius: var(--radius-btn); }
.nav a[aria-current="page"] { background: transparent; }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--accent-fill); }
@media (max-width: 860px) { .nav a[aria-current="page"]::after { display: none; } .nav a[aria-current="page"] { background: var(--surface-2); } }
.brand { font-family: var(--font-head); font-weight: 700; }
.show-copy h1, .show-copy h2, .page-hero h1, .hero h1 { font-weight: 800; letter-spacing: -1.2px; }
.section-head h2, .admin-head h1, .account-head h1 { font-weight: 800; letter-spacing: -.8px; }
.card h3 { letter-spacing: -.2px; }
.card { border-radius: var(--radius-lg); }
a.card:hover { box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent-fill) 45%, var(--border)); transform: translateY(-4px); }
.card-icon { border-radius: 12px; }
.input, .select { border-radius: 12px; height: 42px; }
.input:focus, .select:focus { box-shadow: 0 0 0 4px var(--accent-soft); }
.badge { border-radius: var(--radius-btn); padding: 4px 10px; }
.pill { height: 26px; }
.seg { border-radius: 12px; }
.seg button { border-radius: 9px; }
.toast { border-radius: 12px; }

/* ── stores and product cards ───────────────────────────────────────── */
.row-pills { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.pack { gap: 10px; }
.pack h3 { margin: 4px 0 0; }
.pack-price { font: 700 17px var(--font-head); color: var(--text); }
.pack-price small { font: 500 12px var(--font); color: var(--text-3); margin-left: 6px; }
.pack-price s { color: var(--text-3); }
.card.soon { border-style: dashed; background: transparent; }
.buy-note { color: var(--text-2); margin: 14px 0 0; max-width: 580px; }
.buy-actions { display: flex; flex-direction: column; gap: 8px; align-items: stretch; }
.perks-mini { margin-top: 14px; }
.ticks li svg { width: 18px; height: 18px; }

/* ── admin: sale stage picker ───────────────────────────────────────── */
.stage-box { border: 0; padding: 0; margin: 0; }
.stage-box legend { font-size: 13px; font-weight: 500; color: var(--text-2); padding: 0; margin-bottom: 6px; }
.stage-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stage-opt { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 14px 44px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface-2); cursor: pointer; transition: border-color .15s, background .15s; }
.stage-opt input { position: absolute; left: 16px; top: 16px; width: 17px; height: 17px; accent-color: var(--accent-fill); }
.stage-opt b { color: var(--text); font-size: 14.5px; }
.stage-opt span { color: var(--text-3); font-size: 12.5px; font-weight: 400; line-height: 1.45; }
.stage-opt:has(input:checked) { border-color: var(--accent-fill); background: var(--accent-soft); }
.inline-check { display: inline-flex; align-items: center; gap: 9px; min-height: 42px; color: var(--text); font-weight: 400; font-size: 14px; cursor: pointer; }
.inline-check input { width: 17px; height: 17px; accent-color: var(--accent-fill); }
@media (max-width: 860px) { .stage-pick { grid-template-columns: 1fr; } }

.stats { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.stat { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 10px 16px; min-width: 150px; }
.stat .k { font-size: 12px; color: var(--text-3); font-weight: 500; }
.stat .v { font: 800 22px/1.3 var(--font-head); font-variant-numeric: tabular-nums; }

/* ── checkout ───────────────────────────────────────────────────────── */
.checkout { max-width: 880px; display: flex; flex-direction: column; gap: 16px; }
.back-link { color: var(--text-2); font-size: 14px; font-weight: 500; align-self: flex-start; }
.back-link::before { content: ""; display: inline-block; width: 7px; height: 7px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin-right: 8px; }
.order-summary { display: grid; grid-template-columns: 120px 1fr auto; gap: 20px; align-items: center; }
.sum-cover { width: 120px; aspect-ratio: 4 / 3; border-radius: 12px; background: var(--surface-3) center / cover; border: 1px solid var(--border);
  background-image: radial-gradient(70% 90% at 70% 30%, rgba(249, 115, 22, .35), transparent 70%); }
.sum-main h1 { font-size: 26px; font-weight: 800; letter-spacing: -.6px; margin: 8px 0 4px; }
.sum-main p { color: var(--text-2); margin: 0; }
.release { display: flex; align-items: center; gap: 8px; margin-top: 8px !important; }
.release svg { width: 16px; height: 16px; color: var(--accent); }
.sum-price { text-align: right; }
.sum-price .price { font-size: 30px; }
.perks .ticks { margin-top: 4px; }
.step-card { display: flex; flex-direction: column; gap: 14px; padding: 26px; }
.step-card h2 { font-size: 24px; font-weight: 800; letter-spacing: -.5px; }
.step-card p { color: var(--text-2); margin: 0; }
.step-no { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-3); }
.terms-alert { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 12px; background: var(--warn-soft);
  border: 1.5px solid var(--warn); color: var(--text); font-size: 15.5px; }
.terms-alert svg { width: 24px; height: 24px; color: var(--warn); flex: none; }
.terms-alert b { color: var(--warn); }
.terms-list { margin: 0; padding-left: 20px; color: var(--text-2); display: grid; gap: 6px; }
.agree { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border-strong);
  background: var(--surface-2); cursor: pointer; font-size: 15px; }
.agree input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--accent-fill); flex: none; }
.agree:has(input:checked) { border-color: var(--accent-fill); }
.pay-grid { display: grid; grid-template-columns: 252px 1fr; gap: 24px; align-items: start; }
.qr-box { text-align: center; }
.qr { width: 252px; height: 252px; padding: 16px; background: #fff; border-radius: 14px; display: grid; place-items: center; }
.qr img, .qr canvas { display: block; }
.qr-box .hint { margin-top: 8px; }
.pay-side { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.pay-steps { margin: 0; padding-left: 20px; color: var(--text-2); display: grid; gap: 8px; }
.upi-id { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: 14px; flex-wrap: wrap; }
.utr-form { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--border); padding-top: 18px; }
.utr-form .input { max-width: 340px; font: 500 18px var(--mono); letter-spacing: 2px; height: 48px; }
.done-card { text-align: center; padding: 44px 26px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.done-card h1 { font-size: 30px; font-weight: 800; }
.done-card p { color: var(--text-2); max-width: 520px; margin: 0; }
.done-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--ok-soft); color: var(--ok); }
.done-icon svg { width: 32px; height: 32px; }
@media (max-width: 700px) {
  .order-summary { grid-template-columns: 1fr; }
  .sum-cover { width: 100%; aspect-ratio: 16 / 7; }
  .sum-price { text-align: left; }
  .pay-grid { grid-template-columns: 1fr; }
  .qr-box { justify-self: center; }
}

/* ── my account: orders ─────────────────────────────────────────────── */
.order-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 10px; }
.order-list li { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.order-list .pill { flex: none; }

/* sign in: Google button, divider, mobile number field */
.google-btn { width: 100%; background: var(--surface); }
.google-btn svg { width: 18px; height: 18px; }
.or { display: flex; align-items: center; gap: 12px; color: var(--text-3); font-size: 12.5px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.phone-input { display: flex; align-items: stretch; }
.phone-input > span { display: grid; place-items: center; padding: 0 12px; border: 1px solid var(--border); border-right: 0;
  border-radius: 12px 0 0 12px; background: var(--surface-3); color: var(--text-2); font-weight: 600; font-size: 14px; }
.phone-input .input { border-radius: 0 12px 12px 0; }
.opt { font-style: normal; font-weight: 400; color: var(--text-3); margin-left: 6px; }
.auth-notice { display: block; margin: 0; font-size: 14px; line-height: 1.5; }
.auth-notice b { color: var(--text); }

/* ── product page: name and one line, screenshots beside the buy panel ── */
.product-head { padding: 40px 0 18px; }
.product-head h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -1.2px; }
.tagline { color: var(--text-2); font-size: 17.5px; margin: 8px 0 0; }
.rating-line { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 14px; }
.rating-line:empty { display: none; }
.rating-line a { color: var(--text-2); }
.product-top { padding-bottom: 56px; }
.product-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.gallery-view { outline: none; }
.gallery-main { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--border); }
.gallery-slide { position: absolute; inset: 0; display: grid; place-items: center; color: var(--text-3); font-size: 14px; opacity: 0; transition: opacity .35s var(--ease);
  background: radial-gradient(70% 90% at 75% 25%, rgba(249, 115, 22, .14), transparent 65%), var(--surface); }
.gallery-slide.on { opacity: 1; }
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 10px; }
.gallery-thumbs button { aspect-ratio: 16 / 9; border-radius: 10px; border: 2px solid transparent; background: var(--surface-2) center / cover; color: var(--text-3);
  font: 600 13px var(--font); cursor: pointer; transition: border-color .15s, opacity .15s; opacity: .7; }
.gallery-thumbs button:hover { opacity: 1; }
.gallery-thumbs button[aria-selected="true"] { border-color: var(--accent-fill); opacity: 1; }
.gallery-view:focus-visible .gallery-main { box-shadow: var(--glow); }

.buy-panel { position: sticky; top: 80px; padding: 22px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow); }
.buy-panel [data-route-buy] { display: flex; flex-direction: column; gap: 12px; }
.buy-price { font: 800 34px/1.1 var(--font-head); letter-spacing: -.8px; }
.buy-price small { font: 500 13px var(--font); color: var(--text-3); margin-left: 8px; letter-spacing: 0; }
.buy-price s { color: var(--text-3); }
.buy-main { width: 100%; }
.buy-panel .buy-note { margin: 0; font-size: 14px; }
.buy-perks { background: var(--warn-soft); border-radius: 12px; padding: 12px 14px; }
.buy-perks .eyebrow { color: var(--warn); margin-bottom: 6px; }
.buy-perks .ticks { gap: 6px; font-size: 14px; }
.buy-perks .ticks li svg { color: var(--warn); width: 16px; height: 16px; }
.buy-facts { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--border); }
.buy-facts div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.buy-facts dt { color: var(--text-3); }
.buy-facts dd { margin: 0; font-weight: 600; text-align: right; }
.link-small { font-size: 13px; color: var(--text-2); align-self: center; }

/* about: long description beside a smaller map */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.about-text h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; letter-spacing: -.8px; margin-bottom: 16px; }
.about-text > p { color: var(--text-2); margin: 0 0 14px; font-size: 16px; }
.about-ticks { margin-top: 22px; }
.about-map { position: sticky; top: 80px; }
.about-map .route-map-card { max-width: 640px; margin-left: auto; }

/* reviews */
.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.stars i { width: 20px; height: 20px; display: block; color: var(--border-strong); }
.stars.sm i { width: 15px; height: 15px; }
.stars i svg { width: 100%; height: 100%; fill: currentColor; }
.stars i.on { color: var(--warn); }
.rev-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 22px; align-items: start; }
.rev-side { position: sticky; top: 80px; display: flex; flex-direction: column; gap: 14px; }
.rev-summary { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.rev-summary h3 { margin: 0; }
.rev-avg { font: 800 48px/1 var(--font-head); letter-spacing: -1.5px; }
.rev-bars { width: 100%; display: grid; gap: 6px; margin-top: 10px; }
.rev-bar { display: grid; grid-template-columns: 14px 14px 1fr 26px; gap: 8px; align-items: center; font-size: 13px; color: var(--text-2); }
.rev-bar > svg { width: 13px; height: 13px; fill: var(--warn); }
.rev-bar i { display: block; height: 8px; border-radius: 4px; background: var(--surface-3); overflow: hidden; }
.rev-bar i b { display: block; height: 100%; background: var(--warn); border-radius: 4px; }
.rev-bar em { font-style: normal; text-align: right; }
.rev-list { display: grid; gap: 14px; }
.review { gap: 10px; display: flex; flex-direction: column; }
.review.is-hidden { opacity: .6; border-style: dashed; }
.review-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.review-head h3 { margin: 0; font-size: 17px; }
.review > p { margin: 0; color: var(--text); line-height: 1.65; }
.review-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; }
.dbr-reply { border-left: 3px solid var(--accent-fill); background: var(--accent-soft); border-radius: 0 10px 10px 0; padding: 10px 14px; }
.dbr-reply b { font-size: 13px; color: var(--accent); }
.dbr-reply p { margin: 4px 0 0; color: var(--text); }
.review .mod { justify-content: flex-start; border-top: 1px solid var(--border); padding-top: 10px; }
.reply-form { display: grid; gap: 8px; }
.rev-form { display: flex; flex-direction: column; gap: 14px; }
.rev-form h3 { margin: 0; }
.star-pick { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-pick label { cursor: pointer; width: 32px; height: 32px; color: var(--border-strong); transition: color .12s, transform .12s; }
.star-pick label svg { width: 100%; height: 100%; fill: currentColor; }
.star-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-pick label:hover, .star-pick label:hover ~ label,
.star-pick label:has(input:checked), .star-pick label:has(input:checked) ~ label { color: var(--warn); }
.star-pick label:hover { transform: scale(1.1); }
.star-pick label:has(input:focus-visible) { outline: 2px solid var(--accent-fill); border-radius: 6px; }
.rev-cta .hint a { font-weight: 600; }

@media (max-width: 1000px) {
  .product-grid, .about-grid, .rev-layout { grid-template-columns: minmax(0, 1fr); }
  .buy-panel, .about-map, .rev-side { position: static; }
  .about-map .route-map-card { max-width: none; }
}
@media (max-width: 600px) {
  .gallery-thumbs { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .product-head { padding-top: 26px; }
}

/* ── crisp, flat finish across the whole site ─────────────────────────
   small square-ish corners, solid buttons with no gradient or glow, no section tags */
:root { --radius: 4px; --radius-lg: 6px; --radius-btn: 4px; }
.btn, .btn.sm, .btn.lg, .btn.icon { border-radius: 4px; }
.btn.primary, .btn.primary:hover { background: var(--accent-fill); border-color: var(--accent-fill); box-shadow: none; }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn:hover, a.card:hover { transform: none; }
.btn:focus-visible, .seg button:focus-visible { box-shadow: none; outline: 2px solid var(--accent-fill); outline-offset: 2px; }
a.card:hover { box-shadow: none; border-color: var(--border-strong); }
.card, .fact, .stat, .media, .gallery .media, .faq details, .table-card, .route-map-card, .auth-card, .buy-panel,
.order-list li, .sample, .stage-opt, .agree, .terms-alert, .notice, .buy-perks, .qr, .sum-cover, .thumb, .toast,
dialog.confirm, .show-buttons .btn, .gallery-main, .gallery-thumbs button { border-radius: 6px; }
.input, .select, textarea.input, .phone-input > span { border-radius: 4px; }
.phone-input > span { border-radius: 4px 0 0 4px; }
.phone-input .input { border-radius: 0 4px 4px 0; }
.badge, .pill, .map-tags .badge, .row-pills .badge { border-radius: 3px; }
.seg { border-radius: 6px; }
.seg button { border-radius: 4px; }
.card-icon, .avatar, .tile { border-radius: 6px; }
.dbr-reply { border-radius: 0 4px 4px 0; }
.stats .stat, .rev-bar i, .rev-bar i b, .show-dots button i { border-radius: 2px; }
.section-head .eyebrow, .about-text .eyebrow { display: none; }
.card { backdrop-filter: none; }
.buy-panel { box-shadow: none; }

/* nothing follows the scroll: the price panel, map and review summary stay in place */
.buy-panel, .about-map, .rev-side { position: static; top: auto; }

/* route page top: the screenshot mosaic with the price panel beside it, same height */
.product-grid { align-items: stretch; }
.product-grid .gallery { margin: 0; }
.buy-panel { justify-content: flex-start; }
.buy-panel .buy-facts { margin-top: auto; }
.about-grid { align-items: start; }

/* system requirements: minimum and recommended side by side */
.reqs { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; background: var(--surface); }
.req-col { padding: 22px 26px 12px; }
.req-col + .req-col { border-left: 1px solid var(--border); }
.req-col h3 { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--text-2); margin-bottom: 12px; }
.req-col dl { margin: 0; }
.req-col dl div { display: grid; grid-template-columns: 150px 1fr; gap: 14px; padding: 11px 0; border-top: 1px solid var(--border); font-size: 14.5px; }
.req-col dt { color: var(--text-3); }
.req-col dd { margin: 0; color: var(--text); }
.req-col dd.tbc { color: var(--text-3); font-style: italic; }

/* good to know: four plain columns divided by lines */
.details { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--accent-fill); }
.detail { padding: 22px 22px 6px 0; }
.detail + .detail { padding-left: 22px; border-left: 1px solid var(--border); }
.detail h3 { font-size: 17px; margin-bottom: 10px; }
.detail ul, .detail ol { margin: 0; padding-left: 18px; color: var(--text-2); display: grid; gap: 8px; font-size: 14.5px; }
.mini-facts { margin: 0; }
.mini-facts div { display: grid; grid-template-columns: 100px 1fr; gap: 10px; padding: 6px 0; font-size: 14.5px; }
.mini-facts dt { color: var(--text-3); }
.mini-facts dd { margin: 0; color: var(--text-2); }

@media (max-width: 1000px) {
  .details { grid-template-columns: 1fr 1fr; }
  .detail:nth-child(3) { padding-left: 0; border-left: 0; }
  .detail:nth-child(n+3) { border-top: 1px solid var(--border); }
}
@media (max-width: 700px) {
  .reqs { grid-template-columns: 1fr; }
  .req-col + .req-col { border-left: 0; border-top: 1px solid var(--border); }
  .req-col dl div { grid-template-columns: 120px 1fr; }
  .details { grid-template-columns: 1fr; }
  .detail, .detail + .detail { padding: 18px 0 6px; border-left: 0; }
  .detail + .detail { border-top: 1px solid var(--border); }
}
/* the mosaic fills the same height as the price panel: big picture 2x2, two on the right, three underneath */
.product-grid .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(0, 1fr)); aspect-ratio: 16 / 9; gap: 10px; }
.product-grid .gallery .media { aspect-ratio: auto; min-height: 0; }
.product-grid .gallery .media:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 1000px) { .product-grid .gallery { aspect-ratio: 16 / 10; } }
@media (max-width: 600px) { .product-grid .gallery { aspect-ratio: 4 / 3; gap: 6px; } }
.product-grid .gallery { width: 100%; min-width: 0; }

/* the price panel stays to the right of the screenshots on every laptop and tablet; it only drops below on phones */
.product-grid { grid-template-columns: minmax(0, 1fr) clamp(280px, 28vw, 360px); }
@media (max-width: 1000px) {
  .product-grid { grid-template-columns: minmax(0, 1fr) clamp(260px, 32vw, 340px); gap: 16px; }
  .product-grid .gallery { aspect-ratio: auto; }
}
@media (max-width: 700px) {
  .product-grid { grid-template-columns: minmax(0, 1fr); }
  .product-grid .gallery { aspect-ratio: 4 / 3; }
}

/* ── light theme: clean white and cool grey instead of cream ──────────── */
:root[data-theme="light"] {
  --bg: #f6f7f9;
  --bg-alt: #eef0f3;
  --topbar: rgba(255, 255, 255, .92);
  --surface: #ffffff;
  --surface-2: #f3f4f6;
  --surface-3: #e7e9ee;
  --panel: #ffffff;
  --hover: #eef0f3;
  --border: #e1e4ea;
  --border-strong: #c9ced8;
  --text: #111827;
  --text-2: #4b5563;
  --text-3: #6b7280;
  --accent: #c2410c;
  --accent-fill: #c2410c;
  --accent-hover: #9a3412;
  --accent-text: #ffffff;
  --accent-soft: rgba(234, 88, 12, .09);
  --accent-ring: rgba(194, 65, 12, .35);
  --ok: #1d4ed8;     --ok-soft: rgba(29, 78, 216, .09);
  --warn: #b45309;   --warn-soft: rgba(217, 119, 6, .11);
  --info: #4338ca;   --info-soft: rgba(67, 56, 202, .08);
  --shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 4px 12px rgba(16, 24, 40, .06);
  --map-land: #eef1f4; --map-sea: #d5e5f4; --map-coast: #b5cde3; --map-river: #b6d0ea; --map-sea-text: #5b7fa6;
  --route: #2563eb; --route-casing: #1e40af; --map-label: #111827; --map-halo: #ffffff;
}
:root[data-theme="light"] .card, :root[data-theme="light"] .reqs, :root[data-theme="light"] .faq details { box-shadow: 0 1px 2px rgba(16, 24, 40, .04); }
:root[data-theme="light"] .topbar { border-bottom-color: var(--border); }
:root[data-theme="light"] .section.alt { background: #ffffff; }
:root[data-theme="light"] .section.alt .card, :root[data-theme="light"] .section.alt .reqs { background: var(--bg); }
:root[data-theme="light"] .badge.muted { background: var(--surface-3); }
:root[data-theme="light"] .preview-note { background: #fff7ed; }

/* ── screenshots: big main picture, three smaller beside it, the rest in a row below; they take turns ── */
.shots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; grid-auto-flow: dense; align-self: start; }
.shot { position: relative; aspect-ratio: 16 / 9; padding: 0; border: 1px solid var(--border); border-radius: 4px; overflow: hidden;
  background: var(--surface); cursor: pointer; transition: border-color .15s, opacity .15s; will-change: transform; }
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot:not(.main):hover { border-color: var(--accent-fill); }
.shot:not(.main) { opacity: .88; }
.shot:not(.main):hover { opacity: 1; }
.shot.main { grid-column: 1 / span 3; grid-row: 1 / span 3; aspect-ratio: auto; cursor: default; opacity: 1; }
.shot:focus-visible { outline: 2px solid var(--accent-fill); outline-offset: 2px; }
.shot.empty { display: grid; place-items: center; color: var(--text-3); font: 500 12px var(--font);
  background: radial-gradient(80% 90% at 70% 30%, var(--accent-soft), transparent 70%), var(--surface); border-style: dashed; }
.shot.main.empty { font-size: 14px; }
@media (max-width: 700px) {
  .shot.main { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 9; }
  .shots { gap: 6px; }
}

/* page bits filled from the product */
.about-grid.no-map { grid-template-columns: minmax(0, 820px); }
.reqs.single { grid-template-columns: 1fr; max-width: 640px; }
.details { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
.route-map-card img { display: block; width: 100%; height: auto; }
a.plain { color: inherit; }
a.plain:hover { color: var(--accent); text-decoration: none; }
a.media { color: var(--text-3); }
a.media:hover { text-decoration: none; border-color: var(--border-strong); }

/* ── admin: the full product editor ───────────────────────────────────── */
.editor-wide { max-width: 1100px; }
.ed-sec { border: 0; border-top: 1px solid var(--border); margin: 8px 0 0; padding: 18px 0 8px; min-width: 0; }
.ed-sec legend { float: left; width: 100%; padding: 0; margin-bottom: 14px; font: 700 16px var(--font-head); color: var(--text); }
.ed-sec > :not(legend) { clear: both; }
.kv { display: grid; gap: 6px; }
.kv-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto auto; gap: 6px; align-items: center; }
.kv-row .btn.icon { width: 34px; height: 34px; }
.kv-row .btn svg { width: 15px; height: 15px; }
.kv [data-add] { justify-self: start; }
.editor-foot { position: static; border-top: 1px solid var(--border); padding-top: 16px; margin-top: 8px; }
@media (max-width: 700px) { .kv-row { grid-template-columns: 1fr auto auto; } .kv-row [data-v] { grid-column: 1; } }
.admin-head .eyebrow { display: none; }

/* light theme uses exactly the same DBR orange as the dark theme */
:root[data-theme="light"] {
  --accent: #f97316;
  --accent-fill: #f97316;
  --accent-hover: #ff8a33;
  --accent-text: #1a0f04;
  --accent-soft: rgba(249, 115, 22, .12);
  --accent-ring: rgba(249, 115, 22, .45);
}

/* ── sales: corner ribbon and the "sale ends" line ───────────────────── */
.pack, .buy-panel { position: relative; overflow: hidden; }
.ribbon { position: absolute; top: 0; right: 0; width: 120px; height: 120px; overflow: hidden; pointer-events: none; z-index: 2; }
.ribbon span { position: absolute; top: 24px; right: -38px; width: 170px; transform: rotate(45deg); padding: 6px 0; text-align: center;
  background: var(--accent-fill); color: #1a0f04; font: 800 12px var(--font); letter-spacing: .8px; text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.sale-strip { display: flex; flex-direction: column; gap: 2px; padding: 9px 12px; border-left: 3px solid var(--accent-fill);
  background: var(--accent-soft); border-radius: 0 4px 4px 0; font-size: 13.5px; }
.sale-strip b { font-weight: 800; text-transform: uppercase; letter-spacing: .6px; color: var(--accent); }
.sale-strip span { color: var(--text-2); }

/* ── activities page ──────────────────────────────────────────────────── */
.acts-section { padding-top: 40px; }
.acts-head { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.acts-head h1 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; letter-spacing: -1px; }
.acts-head .tagline { margin-top: 4px; }
.acts-head .btn { margin-left: auto; }
.version-tabs { margin-bottom: 18px; }
.version-one { font: 700 15px var(--font-head); color: var(--text-2); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.acts-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.acts-search { max-width: 340px; }
.acts-list { display: grid; gap: 12px; }
.act { display: grid; grid-template-columns: 200px minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 16px; }
.act-thumb { aspect-ratio: 16 / 9; border-radius: 4px; background: var(--surface-2) center / cover; border: 1px solid var(--border);
  display: grid; place-items: center; color: var(--text-3); font-size: 12px; }
.act-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.act-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.act-title h3 { margin: 0; font-size: 18px; }
.act-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; color: var(--text-2); }
.act-meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--text-3); margin-right: 16px; vertical-align: middle; }
.act-main p { margin: 2px 0 0; color: var(--text-2); font-size: 14.5px; }
.act-side { display: flex; flex-direction: column; gap: 6px; align-items: stretch; }
.act-side .btn.primary { min-width: 150px; }
.act-side .btn svg { width: 16px; height: 16px; }
.my-uploads { margin-bottom: 16px; display: grid; gap: 10px; }
.my-uploads h3 { margin: 0; font-size: 16px; }
.up-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 10px; border-top: 1px solid var(--border); }
.act-form { margin-bottom: 18px; display: flex; flex-direction: column; gap: 14px; }
.act-form h2 { font-size: 22px; font-weight: 800; }
.act-form .hint { margin: -6px 0 0; }
.form-grid2.inner { gap: 12px; }
@media (max-width: 760px) {
  .act { grid-template-columns: 120px minmax(0, 1fr); }
  .act-side { grid-column: 1 / -1; flex-direction: row; }
  .act-side .btn.primary { flex: 1; }
}
@media (max-width: 480px) { .act { grid-template-columns: 1fr; } .act-thumb { max-width: 100%; } }

/* ── DBR badges ───────────────────────────────────────────────────────── */
.dbr-badge { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px 0 4px; margin-left: 6px; border-radius: 3px;
  background: #18181b; border: 1px solid var(--accent-fill); color: #f4f4f6; font: 700 11.5px var(--font); letter-spacing: .2px; white-space: nowrap; vertical-align: middle; }
.dbr-badge img { width: 17px; height: 17px; border-radius: 3px; }
.dbr-badge svg { width: 13px; height: 13px; color: var(--accent-fill); }
.dbr-badge.streamer { border-style: dashed; }

/* ── activities page: tabs, exclusives, requests ──────────────────────── */
.acts-actions { margin-left: auto; display: flex; gap: 8px; }
.acts-head .btn { margin-left: 0; }
.view-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--border); margin-bottom: 18px; }
.view-tabs button { position: relative; border: 0; background: none; color: var(--text-2); font: 600 15px var(--font); padding: 10px 14px 12px; cursor: pointer; }
.view-tabs button.on { color: var(--text); }
.view-tabs button.on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 2px; background: var(--accent-fill); }
.view-tabs .count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 4px; border-radius: 3px;
  background: var(--accent-fill); color: #1a0f04; font-size: 12px; font-weight: 800; }
.act-by { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.act-by .dbr-badge { margin-left: 4px; }
.act-thumb { position: relative; }
.excl-tag { position: absolute; left: 6px; top: 6px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; border-radius: 3px;
  background: #18181b; color: #f4f4f6; border: 1px dashed var(--accent-fill); font: 700 10.5px var(--font); text-transform: uppercase; letter-spacing: .5px; }
.excl-tag svg { width: 11px; height: 11px; color: var(--accent-fill); }
.act.is-exclusive { border-color: color-mix(in srgb, var(--accent-fill) 40%, var(--border)); }
.excl-note { font-size: 13.5px; color: var(--text-2); padding: 7px 10px; border-left: 3px dashed var(--accent-fill); background: var(--accent-soft); }
.act-side .btn[aria-disabled="true"] { opacity: 1; color: var(--text-2); }
.act-side .btn svg { width: 16px; height: 16px; }
.req-intro { margin: 0 0 14px; }
.req-filter { margin-bottom: 14px; }
.req-list { display: grid; gap: 12px; }
.req-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 18px 20px; }
.req-card h3 { margin: 0 0 4px; font-size: 17px; }
.req-card p { margin: 0 0 8px; color: var(--text-2); font-size: 14.5px; }
.req-side { display: flex; flex-direction: column; gap: 8px; align-items: stretch; min-width: 170px; }
.req-state { font-weight: 600; color: var(--text); }
.req-state.assigned { color: var(--ok); }
.req-state.done { color: var(--text-3); }
.req-admin { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.req-admin .select { width: auto; min-width: 230px; height: 34px; }
/* DBR's own requests: a star mark and a strip, so they stand out without relying on colour */
.req-card.is-dbr { grid-template-columns: minmax(0, 1fr) auto; border: 1px solid var(--accent-fill); position: relative; padding-top: 44px; }
.dbr-request { position: absolute; left: 0; top: 0; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 10px;
  background: var(--accent-fill); color: #1a0f04; font: 800 12px var(--font); text-transform: uppercase; letter-spacing: .8px; border-radius: 0 0 4px 0; }
.dbr-request svg { width: 14px; height: 14px; }
.assigned-box { margin-bottom: 14px; display: grid; gap: 10px; border-color: var(--ok); }
.assigned-box h3 { margin: 0; font-size: 16px; }
@media (max-width: 760px) {
  .req-card { grid-template-columns: 1fr; }
  .req-side { flex-direction: row; min-width: 0; }
  .req-side .btn { flex: 1; }
  .acts-actions { margin-left: 0; width: 100%; }
}
.btn.voted { border-color: var(--accent-fill); color: var(--accent); }

/* ── admin tables: one clear heading row, tidy columns, actions kept together ── */
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th { text-align: left; padding: 12px 14px; font: 600 11.5px var(--font); text-transform: uppercase; letter-spacing: .7px;
  color: var(--text-3); background: var(--surface-2); border-bottom: 1px solid var(--border); white-space: nowrap; }
.data-table td { padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: middle; white-space: nowrap; color: var(--text); }
.data-table td.grow { white-space: normal; min-width: 200px; }
.data-table td .hint { font-size: 12.5px; margin-top: 2px; }
.data-table th.num, .data-table td.num { text-align: right; }
.data-table th.col-actions, .data-table td.col-actions { text-align: right; width: 1%; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover td { background: var(--hover); }
.data-table .row-actions { flex-wrap: nowrap; justify-content: flex-end; }
.data-table .inline-check { min-height: 0; }
.data-table .select { height: 34px; }
.table-card:has(.data-table) { padding: 0; overflow: hidden; overflow-x: auto; }
.table-card:has(.data-table) .data-table th:first-child, .table-card:has(.data-table) .data-table td:first-child { padding-left: 18px; }
.table-card:has(.data-table) .data-table th:last-child, .table-card:has(.data-table) .data-table td:last-child { padding-right: 18px; }
.prod-cell { min-width: 0; }
.prod-cell .hint { max-width: 320px; }
.type-tag { display: inline-block; margin-left: 8px; padding: 1px 7px; border-radius: 3px; background: var(--surface-3); color: var(--text-2); font: 600 11px var(--font); vertical-align: 1px; }
.data-table .stack { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.data-table .prod-cell .hint { max-width: 260px; }
.data-table .clip { max-width: 210px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.data-table td.grow { min-width: 170px; }
@media (max-width: 1200px) { .data-table .row-actions { flex-direction: column; align-items: stretch; gap: 4px; } }

/* ── search boxes ─────────────────────────────────────────────────────── */
.search-box { width: 300px; max-width: 100%; padding-left: 36px;
  background: var(--surface-2) no-repeat 12px center / 16px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8a92' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6.5'/%3E%3Cpath d='m16 16 4.5 4.5'/%3E%3C/svg%3E"); }
.store-search { margin-bottom: 16px; }
.store-search .input { max-width: 360px; }
.no-hits { margin-top: 10px; }
.admin-tabs { display: flex; flex-wrap: wrap; }
.starter { justify-content: space-between; align-items: center; margin-bottom: 16px; }
.starter .btn { flex: none; }

/* ── support tickets ──────────────────────────────────────────────────── */
.ticket-list { display: grid; gap: 10px; }
.ticket-row { display: flex; justify-content: space-between; gap: 16px; align-items: center; width: 100%; text-align: left; cursor: pointer; padding: 14px 18px;
  font: inherit; color: inherit; }
.ticket-row:hover { border-color: var(--border-strong); }
.tr-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; flex: none; }
.ticket-view { display: flex; flex-direction: column; gap: 14px; }
.tv-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; }
.tv-head h2 { font-size: 21px; margin-bottom: 4px; }
.thread { display: grid; gap: 10px; margin: 6px 0; }
.msg { padding: 12px 14px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface-2); max-width: 760px; }
.msg.staff { border-left: 3px solid var(--accent-fill); background: var(--accent-soft); margin-left: 32px; }
.msg-by { display: flex; gap: 10px; align-items: baseline; margin-bottom: 4px; }
.msg p { margin: 0; }
.reply-box { display: grid; gap: 8px; }
.t-item { cursor: pointer; }
.t-item:hover { border-color: var(--border-strong); }
.ticket-form { display: flex; flex-direction: column; gap: 12px; }
.wa-line { margin: 12px 0 0; }

/* ── emails tab ───────────────────────────────────────────────────────── */
.emails-grid { margin: 14px 0 16px; }
.emails-grid .editor { display: flex; flex-direction: column; gap: 12px; max-width: none; }
.emails-grid h2 { font-size: 19px; }
.outbox { margin-top: 4px; }

/* ── receipt ──────────────────────────────────────────────────────────── */
.receipt-tools { display: flex; align-items: center; gap: 12px; max-width: 760px; margin: 0 auto 14px; }
.receipt { max-width: 760px; margin: 0 auto; background: #ffffff; color: #111827; border: 1px solid #e1e4ea; border-radius: 6px; padding: 36px 40px; }
.receipt .hint { color: #6b7280; }
.r-head { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; padding-bottom: 20px; border-bottom: 2px solid #f97316; }
.r-brand { display: flex; gap: 12px; align-items: center; }
.r-brand img { width: 46px; height: 46px; border-radius: 6px; }
.r-brand div { display: flex; flex-direction: column; font-size: 13px; color: #4b5563; }
.r-brand b { font-size: 17px; color: #111827; }
.r-title { text-align: right; }
.r-title h1 { font-size: 26px; color: #111827; }
.r-title span { font: 600 13px var(--mono); color: #4b5563; }
.r-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 22px 0; }
.r-meta dt { font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: #6b7280; margin-bottom: 4px; }
.r-meta dd { margin: 0; font-size: 14px; }
.r-items { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.r-items th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .6px; color: #6b7280; border-bottom: 1px solid #e1e4ea; padding: 10px 0; }
.r-items td { padding: 14px 0; border-bottom: 1px solid #e1e4ea; }
.r-items .num { text-align: right; }
.r-items tfoot td { font-weight: 800; font-size: 16px; border-bottom: 0; }
.r-note { margin: 22px 0 0; font-size: 13px; color: #4b5563; }
@media (max-width: 600px) { .receipt { padding: 22px; } .r-meta { grid-template-columns: 1fr; } .r-head { flex-direction: column; } .r-title { text-align: left; } }
@media print {
  .topbar, .footer, .receipt-tools, .preview-note { display: none !important; }
  body { background: #ffffff; }
  .section { padding: 0; }
  .receipt { border: 0; max-width: none; padding: 0; }
}

/* ── roadmap ──────────────────────────────────────────────────────────── */
.roadmap { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; align-items: start; }
.road-col h2 { font-size: 16px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-2); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.road-mark { width: 10px; height: 10px; border: 2px solid var(--accent-fill); }
.road-mark.building { background: var(--accent-fill); }
.road-mark.testing { border-radius: 50%; background: var(--accent-fill); }
.road-mark.planned { border-style: dashed; }
.road-mark.released { border-color: var(--ok); background: var(--ok); }
.road-item { margin-bottom: 12px; }
.road-item h3 { margin: 0 0 6px; font-size: 17px; }
.road-item p { margin: 0 0 8px; color: var(--text-2); font-size: 14.5px; }

.notify-btn svg { width: 16px; height: 16px; }
button.back-link { background: none; border: 0; padding: 0; cursor: pointer; font: 500 14px var(--font); }

/* account menu in the top bar */
.account-wrap { position: relative; }
.account-btn svg { width: 14px; height: 14px; margin-left: 2px; }
.account-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 230px; padding: 6px; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border-strong); border-radius: 6px; box-shadow: var(--shadow); }
.account-menu a, .account-menu button { display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 4px; border: 0; background: none;
  color: var(--text); font: 500 14px var(--font); cursor: pointer; text-decoration: none; }
.account-menu a:hover, .account-menu button:hover { background: var(--hover); text-decoration: none; }
.account-menu .am-who { padding: 8px 12px 10px; margin-bottom: 4px; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; }
.account-menu .am-who span { color: var(--text-3); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; }
.account-menu .am-out { color: var(--text-2); border-top: 1px solid var(--border); border-radius: 0 0 4px 4px; margin-top: 4px; }

/* ── softer corners again, as in the original toolkit-style design (still flat: no glow, no gradient) ── */
:root { --radius: 8px; --radius-lg: 14px; --radius-btn: 8px; }
.btn, .btn.sm, .btn.lg, .btn.icon, .show-buttons .btn { border-radius: 8px; }
.card, .fact, .stat, .media, .gallery .media, .faq details, .table-card, .route-map-card, .auth-card, .buy-panel, .reqs,
.order-list li, .stage-opt, .agree, .terms-alert, .notice, .buy-perks, .sum-cover, .toast, dialog.confirm, .msg,
.shot, .act-thumb, .account-menu, .receipt { border-radius: 14px; }
.order-list li, .sample, .stage-opt, .agree, .msg, .shot, .act-thumb, .buy-perks, .terms-alert, .notice, .stat { border-radius: 10px; }
.input, .select, textarea.input { border-radius: 8px; }
.phone-input .phone-cc { border-radius: 8px 0 0 8px; }
.phone-input .input { border-radius: 0 8px 8px 0; }
.badge, .map-tags .badge, .row-pills .badge, .type-tag, .dbr-badge, .excl-tag { border-radius: 6px; }
.pill { border-radius: 11px; }
.seg { border-radius: 10px; }
.seg button { border-radius: 7px; }
.card-icon, .avatar, .tile, .thumb, .qr { border-radius: 10px; }
.account-menu a, .account-menu button { border-radius: 6px; }
.sale-strip, .dbr-reply, .excl-note { border-radius: 0 8px 8px 0; }
.ribbon span { border-radius: 0; }
.dbr-request { border-radius: 14px 0 10px 0; }

/* phone number: country picker and number side by side */
.phone-input { display: flex; align-items: stretch; gap: 0; }
.phone-input .phone-cc { width: auto; max-width: 46%; flex: none; border-right: 0; padding-right: 28px; }
.phone-input .input { flex: 1; min-width: 0; }

/* sign-in methods in My Account */
.methods-card { margin-top: 16px; }
.methods { display: grid; gap: 10px; margin-top: 4px; }
.method-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-2); }
.pw-form { display: grid; gap: 10px; max-width: 420px; margin-top: 6px; }
.am-badges { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.am-badges .dbr-badge { margin-left: 0; }

/* below 1100 px the full menu no longer fits beside the buttons, so it folds into the menu button */
@media (max-width: 1100px) {
  .btn.menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--surface); border-bottom: 1px solid var(--border); padding: 8px 16px 14px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; font-size: 14px; }
  .top-actions { margin-left: auto; }
}
/* team tab: find a member by email, field and button on one line */
.find-person { display: flex; gap: 8px; align-items: center; flex: 1 1 320px; max-width: 460px; }
.find-person .input { flex: 1; min-width: 0; }

/* picture box: drop zone, previews with Featured and Remove, drag to reorder */
.pic-box { display: grid; gap: 10px; }
.pic-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.pic-list.one { grid-template-columns: minmax(0, 320px); }
.pic { margin: 0; position: relative; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; background: var(--surface-2); cursor: grab; }
.pic.featured { border-color: var(--accent-fill); box-shadow: 0 0 0 1px var(--accent-fill); }
.pic.dragging { opacity: .5; }
.pic img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.pic figcaption { display: flex; gap: 6px; align-items: center; justify-content: space-between; padding: 6px; }
.pic-tag { font-size: 12px; font-weight: 600; color: var(--accent-text, var(--accent-fill)); padding: 4px 6px; }
.pic.loading { display: grid; place-items: center; aspect-ratio: 16 / 9; color: var(--text-2); font-size: 13px; cursor: default; }
.pic-drop { display: block; padding: 22px 16px; text-align: center; border: 1.5px dashed var(--border); border-radius: var(--radius); cursor: pointer; color: var(--text-2); }
.pic-drop:hover, .pic-drop.over { border-color: var(--accent-fill); color: var(--text); }
.pic-drop .link { color: var(--accent-text, var(--accent-fill)); text-decoration: underline; }

/* activity thumbnail: the box beside a preview of the card */
.thumb-rules { margin: 0 0 8px; }
.thumb-row { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 16px; align-items: start; }
.thumb-preview { display: grid; gap: 6px; }
.thumb-preview .act-thumb { aspect-ratio: 16 / 9; border-radius: var(--radius); background: var(--surface-2) center / cover no-repeat; }
@media (max-width: 700px) { .thumb-row { grid-template-columns: 1fr; } }
