/* ========================================================================
   Tokabu Hi-Fi — premium e-comm design system
   ====================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,600;9..40,700&family=JetBrains+Mono:wght@400;500&display=swap');

@font-face {
  font-family: 'Tokabu';
  src: url('/brand/fonts/Tokabu.otf') format('opentype'), url('/brand/fonts/TokabuRegular.ttf') format('truetype'), url('/assets/Tokabu.otf') format('opentype'), url('/assets/TokabuRegular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #FAFAF8;
  --paper-warm: #F3F2ED;
  --paper-cool: #EFEFEB;
  --ink: #000000;
  --ink-soft: #4c4e52;
  --ink-faint: #9a9da2;
  --line: #E3E2DC;
  --accent: #FFD400;       /* tokabu primary — egg-yolk yellow */
  --accent-deep: #DDB700;
  --secondary: #3A9FD8;    /* tokabu secondary — blue */
  --gold: #3A9FD8;         /* alias kept for backwards-compat */
  --olive: #3A9FD8;
  --blush: #ffe9a3;
  --sky: #c6dfee;

  --display: 'DM Sans', system-ui, -apple-system, sans-serif;
  --title: 'Tokabu', 'DM Sans', system-ui, -apple-system, sans-serif;
  --sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --mono: 'DM Sans', system-ui, sans-serif; /* labels — dm sans, heavier weight, no more jetbrains */
  --nav: 'DM Sans', system-ui, -apple-system, sans-serif;
  --display-weight: 400;
  --display-italic: normal;
  --display-tracking: -0.06em; /* tokabu titles · interlettrage -60 */
}

/* hand-drawn grid texture — yellow surfaces only, white lines ~30% */
.grid-tex { background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.32) 0px, rgba(255,255,255,0.32) 1.5px, transparent 1.5px, transparent 48px), repeating-linear-gradient(90deg, rgba(255,255,255,0.32) 0px, rgba(255,255,255,0.32) 1.5px, transparent 1.5px, transparent 48px); }
/* yellow grid on white — artifacts / brand-lore surfaces */
.grid-tex-yellow { background-image: repeating-linear-gradient(0deg, rgba(255,212,0,0.5) 0px, rgba(255,212,0,0.5) 1.5px, transparent 1.5px, transparent 44px), repeating-linear-gradient(90deg, rgba(255,212,0,0.5) 0px, rgba(255,212,0,0.5) 1.5px, transparent 1.5px, transparent 44px); }
.hf .eyebrow, .hf .chip { font-weight: 600; }

/* ── Artboard frame ───────────────────────────────────────────────── */
.hf {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.005em;
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

.hf * { box-sizing: border-box; }

/* ── Nav ──────────────────────────────────────────────────────────── */
.hf-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 12px 36px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
  gap: 24px;
}
.hf-nav .search {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 8px 16px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-soft);
  width: 220px;
  background: transparent;
}
.hf-nav .logo {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.hf-nav .nav-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: inherit;
  transition: opacity 0.15s;
}
.hf-nav .nav-icon:hover { opacity: 0.6; }
.hf-nav .icons {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  color: var(--ink);
}
.hf-nav-links {
  display: flex;
  justify-content: center;
  gap: 56px;
  padding: 12px 36px 14px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  font-family: var(--nav);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.hf-nav-links span {
  cursor: pointer;
  position: relative;
}
.hf-nav-links span.active { color: var(--accent); }
.hf-nav-links .caret {
  font-size: 9px;
  margin-left: 4px;
  display: inline-block;
  vertical-align: middle;
  color: var(--ink-soft);
}

/* ── Typography ───────────────────────────────────────────────────── */
.display-xxl { font-family: var(--title); font-style: normal; font-weight: var(--display-weight, 400); line-height: 0.98; letter-spacing: var(--display-tracking, -0.06em); }
.display-xl  { font-family: var(--title); font-style: normal; font-weight: var(--display-weight, 400); line-height: 1; letter-spacing: var(--display-tracking, -0.06em); }
.display-lg  { font-family: var(--title); font-weight: var(--display-weight, 400); line-height: 1.05; letter-spacing: var(--display-tracking, -0.06em); }
.display-xxl em, .display-xl em, .display-lg em { font-style: normal; }
.display-xxl, .display-xl, .display-lg { font-style: normal !important; } /* tokabu font has no italic */
.heading-bold {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-transform: uppercase;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.lede {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink-soft);
}

/* ── Product photo placeholder ─────────────────────────────────────── */
/* Looks like a studio product crop — soft gradient backdrop + tiny mono caption */
.photo {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 38%, #fff 0, var(--paper-warm) 55%, #c8cbce 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo::after {
  content: attr(data-label);
  position: absolute;
  bottom: 12px; left: 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: rgba(14, 13, 12, 0.45);
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(4px);
  padding: 3px 8px;
  border-radius: 2px;
}
/* Variants for visual variety — like popmart's varied product backdrops */
.photo.blush { background: radial-gradient(ellipse at 50% 38%, #fbe7e1 0, #e8c6bd 100%); }
.photo.sky   { background: radial-gradient(ellipse at 50% 38%, #dfe9f1 0, #a8bdcd 100%); }
.photo.olive { background: radial-gradient(ellipse at 50% 38%, #c2c79c 0, #6b6f49 100%); }
.photo.cream { background: radial-gradient(ellipse at 50% 38%, #f7efde 0, #d6c3a1 100%); }
.photo.dark  { background: radial-gradient(ellipse at 50% 38%, #4a423a 0, #1a1714 100%); }
.photo.dark::after { color: rgba(255,255,255,0.6); background: rgba(0,0,0,0.4); }
.photo.coral { background: radial-gradient(ellipse at 50% 38%, #f5a99a 0, #c25940 100%); }
.photo.lilac { background: radial-gradient(ellipse at 50% 38%, #d8cfe6 0, #8d7eb5 100%); }
.photo.lemon { background: radial-gradient(ellipse at 50% 38%, #f6e9a8 0, #c8a73e 100%); }
.photo.mint  { background: radial-gradient(ellipse at 50% 38%, #d8ebd6 0, #7a9c7a 100%); }

/* Tiny mascot silhouette inside .photo — abstract shape */
.photo .toy {
  width: 50%; aspect-ratio: 1;
  border-radius: 50% 50% 45% 45% / 60% 60% 40% 40%;
  background: rgba(14, 13, 12, 0.18);
  filter: blur(0.5px);
  position: relative;
}
.photo .toy::before, .photo .toy::after {
  content: "";
  position: absolute;
  top: -18%;
  width: 22%; height: 38%;
  background: rgba(14, 13, 12, 0.18);
  border-radius: 50%;
}
.photo .toy::before { left: 18%; transform: rotate(-15deg); }
.photo .toy::after  { right: 18%; transform: rotate(15deg); }
.photo.dark .toy { background: rgba(255, 247, 230, 0.22); }
.photo.dark .toy::before, .photo.dark .toy::after { background: rgba(255, 247, 230, 0.22); }

/* ── Buttons / pills ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  transition: all 0.2s;
}
.btn.ghost { background: transparent; color: var(--ink); }
.btn.hovacc:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn.accent { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn.gold { background: var(--gold); border-color: var(--gold); color: white; }
.btn.secondary { background: var(--secondary); border-color: var(--secondary); color: white; }
.btn.ghost-light { background: transparent; color: var(--paper); border-color: var(--paper); }
.btn.lg { padding: 16px 32px; font-size: 14px; }
.btn.sm { padding: 8px 18px; font-size: 11px; }

.link-underline {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  cursor: pointer;
  display: inline-block;
}

/* ── Section helpers ──────────────────────────────────────────────── */
.section { padding: 100px 40px; }
.section.tight { padding: 64px 40px; }
.section.flush { padding: 0; }
.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.section-head .heading-bold {
  font-size: 38px;
}

.container { max-width: 1360px; margin: 0 auto; }

/* ── Carousel dots ────────────────────────────────────────────────── */
.dots {
  display: flex;
  gap: 6px;
  align-items: center;
}
.dots .dot {
  width: 36px; height: 2px;
  background: rgba(14, 13, 12, 0.25);
  transition: all 0.2s;
}
.dots .dot.active { background: var(--ink); }
.dots.light .dot { background: rgba(255,255,255,0.4); }
.dots.light .dot.active { background: var(--paper); }

/* Carousel arrows */
.arrow-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid currentColor;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  opacity: 0.7;
}
.arrow-btn:hover { opacity: 1; }
.arrow-btn.solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.arrow-btn.light { color: white; }

/* ── Product card ─────────────────────────────────────────────────── */
.product-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.product-card .photo {
  aspect-ratio: 1;
  border-radius: 2px;
}
.product-card .meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.product-card .name {
  font-family: 'Tokabu', var(--display);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.06em;
  color: var(--ink);
  line-height: 1.35;
}
.product-card .price {
  font-family: var(--sans);
  font-size: 19px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
.product-card .tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-block;
  margin-bottom: 4px;
}

/* ── Footer ───────────────────────────────────────────────────────── */
.hf-footer {
  background: var(--accent);
  color: var(--ink);
  padding: 80px 40px 40px;
  font-family: var(--sans);
  font-size: 13px;
}
.hf-footer .grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.hf-footer .col-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: white;
  font-weight: 700;
  margin-bottom: 16px;
}
.hf-footer .col li {
  list-style: none;
  margin-bottom: 8px;
  opacity: 0.85;
}
.hf-footer .col li a:hover { text-decoration: underline; }
.hf-footer .brand-line {
  font-family: var(--display);
  font-style: italic;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.05;
  margin-bottom: 16px;
  max-width: 280px;
}
.hf-footer .bottom a{color:var(--ink);text-decoration:none}
.hf-footer .bottom a:hover{opacity:.6;text-decoration:underline}
.hf-footer .bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
}

/* ── Marquee ──────────────────────────────────────────────────────── */
.marquee {
  background: var(--ink);
  color: var(--paper);
  padding: 14px 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  overflow: hidden;
  white-space: nowrap;
}
.marquee.accent { background: var(--accent); color: var(--ink); }
.marquee.cream { background: var(--paper-warm); color: var(--ink); }
.marquee .track { display: inline-block; padding-left: 100%; }
.marquee .track span { margin-right: 60px; }

/* ── Variation stamp (top-right of artboard) ──────────────────────── */
.hf-stamp {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 20;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  padding: 6px 10px;
  border-radius: 2px;
  pointer-events: none;
}

/* ── Calendar timestamp ───────────────────────────────────────────── */
.timestamp {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 36px;
  letter-spacing: -0.01em;
}
.timestamp .sub { font-size: 13px; font-weight: 400; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); margin-left: 12px; }

/* Tag chips */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
}
.chip.solid { background: var(--ink); color: var(--paper); }
.chip.accent { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.chip.light { background: rgba(255,255,255,0.15); color: white; border-color: rgba(255,255,255,0.3); backdrop-filter: blur(8px); }

/* Subtle hover ring */
.ring {
  position: relative;
}
.ring::before {
  content: "";
  position: absolute; inset: -8px;
  border: 1px dashed var(--line);
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
}

/* ── Horizontal scroll rails ─────────────────────────────────────── */
.hscroll { display: flex; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: thin; scrollbar-color: var(--line) transparent; padding-bottom: 10px; }
.hscroll > * { scroll-snap-align: start; flex-shrink: 0; }
.hscroll::-webkit-scrollbar { height: 6px; }
.hscroll::-webkit-scrollbar-thumb { background: var(--line); border-radius: 3px; }
.hscroll::-webkit-scrollbar-track { background: transparent; }

.believer-masonry{column-count:3;column-gap:18px}
.believer-masonry>div{break-inside:avoid;margin-bottom:18px}
@media (max-width:1100px){.believer-masonry{column-count:2}}
@media (max-width:640px){.believer-masonry{column-count:1}}

.be-rows{display:flex;flex-direction:column;gap:1px;background:#000;margin:0 -40px}
.be-row{display:flex;gap:1px;align-items:stretch}
.be-cell{position:relative;min-width:0;border-radius:0;overflow:hidden;background:var(--paper-warm)}
.be-cell img,.be-cell video{display:block;width:100%;height:100%;object-fit:cover}
.be-quote{background:var(--accent);display:flex;flex-direction:column;justify-content:center;padding:36px 32px}
.be-quote-t{margin-top:14px;font-family:var(--display);font-style:italic;font-size:26px;line-height:1.35;color:var(--ink)}
.be-quote-n{margin-top:18px;font-family:var(--mono);font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:var(--ink);opacity:.65}
@media(max-width:900px){.be-row{flex-direction:column}.be-rows{margin:0 -22px}}

.shop-car{position:relative;overflow:hidden}
.shop-car-track{display:flex;width:100%;transition:transform .8s cubic-bezier(.65,.02,.28,1)}
.shop-car-slide{position:relative;flex:0 0 100%;min-height:520px;display:flex;align-items:stretch;justify-content:center;background-color:var(--accent);overflow:hidden}
.shop-car-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:0}
.shop-car-txt{position:relative;z-index:2;flex:1;pointer-events:none;display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:center;gap:14px;text-align:center;max-width:940px;padding:52px 24px 56px}.shop-car-txt>*{margin:0!important;display:flex;align-items:center}
.shop-car-eyebrow{display:inline-flex;align-items:center;height:52px;font-family:var(--mono);font-size:12px;letter-spacing:.28em;text-transform:uppercase;color:#fff;background:rgba(0,0,0,.66);padding:0 26px;border-radius:999px;border:1.5px solid rgba(255,255,255,.22);backdrop-filter:blur(2px)}
@media (max-width:900px){.shop-car-slide{min-height:340px}.shop-car-txt{padding:32px 20px 36px}.shop-car-eyebrow{height:44px;font-size:10px;letter-spacing:.22em;padding:0 18px}.shop-car-txt .btn.lg{height:44px;padding:0 20px}}
.home-car .shop-car-slide{min-height:calc(100vh - 128px);max-height:900px}
@media (max-width:900px){.home-car .shop-car-slide{min-height:70vh}}
.shop-hero-dots{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);z-index:4;display:flex;gap:9px}
.shop-hero-dots button{width:9px;height:9px;padding:0;border:1.5px solid var(--ink);border-radius:50%;background:transparent;cursor:pointer}
.shop-hero-dots button.on{background:var(--accent);border-color:var(--ink)}
.sign-rail{display:flex;gap:18px;overflow-x:auto;padding:0 40px 12px;scroll-snap-type:x mandatory;overscroll-behavior-x:contain}
.sign-card{flex:0 0 auto;width:210px;scroll-snap-align:start}
.ap-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:230px;gap:16px}
.ap-cell{position:relative;display:block;border-radius:20px;overflow:hidden;background:var(--paper-warm)}
.ap-cell img{display:block;width:100%;height:100%;object-fit:cover}
.ap-big{grid-column:span 2;grid-row:span 2}
.ap-tag{position:absolute;left:14px;bottom:14px;background:rgba(255,255,255,.92);padding:6px 12px;border-radius:999px;font-family:var(--mono);font-size:9.5px;letter-spacing:.14em;text-transform:uppercase}
@media (max-width:900px){.ap-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:180px}}

.sign-art{display:flex;align-items:center;justify-content:center;width:100%;aspect-ratio:1;padding:18px;background:#fff;border:1px solid var(--line);border-radius:18px}
.sign-art img{display:block;max-width:100%;max-height:100%;width:auto;height:auto}
.sign-card:hover .sign-art{transform:translateY(-4px);transition:transform .25s}

.shop-car-txt .btn.lg{height:52px;display:inline-flex;align-items:center;border-radius:999px;padding:0 28px;letter-spacing:.14em}

.lb-head{display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:20px}
.lb-title{font-size:64px;line-height:1;margin-top:8px;color:#fff}
.lb-rail{display:flex;gap:18px;overflow-x:auto;padding:34px 40px 14px;scroll-snap-type:x mandatory;overscroll-behavior-x:contain}
.lb-card{flex:0 0 auto;width:300px;scroll-snap-align:start;color:#fff;text-decoration:none}
.lb-shot{position:relative;width:100%;aspect-ratio:4/5;border-radius:20px;overflow:hidden;background:#141414}
.lb-shot img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.lb-card:hover .lb-shot img{transform:scale(1.06)}
.lb-num{position:absolute;top:14px;left:14px;font-family:var(--mono);font-size:10px;letter-spacing:.16em;color:#fff;background:rgba(0,0,0,.5);border:1px solid rgba(255,255,255,.25);padding:5px 10px;border-radius:999px}
.lb-meta{display:flex;justify-content:space-between;gap:14px;margin-top:14px;font-size:14.5px;line-height:1.35}
.lb-price{font-family:var(--mono);font-size:12px;letter-spacing:.1em;opacity:.7;white-space:nowrap}
.lb-morebox{display:flex;align-items:center;justify-content:center;border:1.5px dashed rgba(255,255,255,.35);background:transparent}
.lb-morebox span{font-family:var(--mono);font-size:12px;letter-spacing:.24em;text-transform:uppercase;text-align:center;line-height:2}
.gal-stage{padding:90px 0 96px;background:var(--paper);border-bottom:1px solid var(--line);text-align:center}
.gal-stage-in{max-width:none;margin:0;padding:0 40px}
.gal-frame{position:relative;width:100vw;margin:44px 0 0;margin-left:calc(50% - 50vw);height:min(78vh,760px)}
.gal-canvas{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:0;transform:scale(.985);transition:opacity .9s ease,transform .9s ease;filter:drop-shadow(0 26px 46px rgba(0,0,0,.16))}
.gal-canvas.on{opacity:1;transform:none}
.gal-caption{margin-top:34px;font-family:var(--display);font-style:italic;font-size:26px;line-height:1.2}
.gal-dots{margin-top:20px;display:flex;justify-content:center;gap:10px}
.gal-dots button{width:8px;height:8px;padding:0;border:1.5px solid var(--ink);border-radius:50%;background:transparent;cursor:pointer;transition:background .25s}
.gal-dots button.on{background:var(--ink)}
@media (max-width:900px){.lb-title{font-size:44px}.lb-card{width:230px}.gal-stage{padding:60px 0 70px}.gal-stage-in{padding:0 20px}.gal-frame{height:52vh}.gal-caption{font-size:21px}}

.news-hero{position:relative;min-height:440px;display:flex;flex-direction:column;justify-content:space-between;align-items:flex-start;padding:34px 36px;border:1.5px solid var(--ink);border-radius:26px;background-size:cover;background-position:center;overflow:hidden}
.news-hero-top{display:flex;align-items:center;gap:6px}
.news-hero-top img{height:150px;margin-left:-19px}
.news-hero-top h1{font-size:130px;line-height:1;color:var(--ink);margin:0}
.bel-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 24px;margin-top:38px}
.bel-card{display:block;color:inherit;text-decoration:none}
.bel-shot{position:relative;width:100%;aspect-ratio:4/5;overflow:hidden;border-radius:10px;background:var(--paper-warm);transition:transform .4s cubic-bezier(.2,.7,.2,1)}
.bel-card:hover .bel-shot{transform:translateY(-4px)}
.bel-shot img{display:block;width:100%;height:100%;object-fit:cover}
.bel-shot .bel-real{position:absolute;inset:0;opacity:0;transition:opacity .35s ease}
.bel-shot .bel-toka{transition:opacity .35s ease}
.bel-card:hover .bel-real{opacity:1}
.bel-card:hover .bel-toka{opacity:0}
.bel-plate{padding:13px 2px 0}
.bel-name{font-family:Tokabu,var(--display);font-style:normal;font-size:21px;letter-spacing:-.06em;line-height:1.02}
@media (max-width:900px){.news-hero{min-height:300px;padding:22px}.news-hero-top img{height:86px;margin-left:-10px}.news-hero-top h1{font-size:64px}.bel-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.pt-hero{position:relative;min-height:calc(100vh - 128px);max-height:820px;display:flex;align-items:center;justify-content:center;overflow:hidden;border-bottom:1px solid var(--ink);background:var(--ink)}
.pt-hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.pt-hero:after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.42)}
.pt-hero-in{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;gap:20px;text-align:center;max-width:1100px;padding:0 40px}
.pt-hero-eyebrow{font-family:var(--mono);font-size:12px;letter-spacing:.4em;text-transform:uppercase;color:rgba(255,255,255,.9)}
.pt-hero-t{font-size:86px;line-height:.94;color:#fff;text-shadow:0 6px 40px rgba(0,0,0,.35);margin:0}
@media (max-width:900px){.pt-hero{min-height:66vh}.pt-hero-t{font-size:44px}.pt-hero-in{padding:0 20px}}

.cul-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 26px}
.cul-card{display:block;color:inherit}
.cul-shot{position:relative;width:100%;aspect-ratio:4/3;overflow:hidden;border-radius:12px;background:var(--paper-warm);transition:transform .4s cubic-bezier(.2,.7,.2,1)}
.cul-card:hover .cul-shot{transform:translateY(-4px)}
.cul-num{position:absolute;top:14px;left:14px;background:rgba(255,255,255,.92);padding:5px 12px;border-radius:999px;font-family:var(--mono);font-size:9px;letter-spacing:.18em}
.cul-plate{padding:14px 2px 0}
.cul-name{font-family:Tokabu,var(--display);font-style:normal;font-size:23px;letter-spacing:-.06em;line-height:1.02}
.cul-sub{margin-top:6px;font-family:var(--mono);font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--ink-soft)}
@media (max-width:900px){.cul-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.toka-para{position:relative;background:var(--accent) url("assets/toka-bg.png") center/cover no-repeat;background-attachment:fixed}
.toka-para:before{content:"";position:absolute;inset:0;background:rgba(255,212,0,.12);pointer-events:none}
.toka-para>*{position:relative;z-index:1}
@media (max-width:900px){.toka-para{background-attachment:scroll}}

.cul-band{display:grid;grid-template-columns:210px 1fr;gap:44px;align-items:start;padding:38px 0;border-top:1px solid var(--line)}
.cul-band:first-of-type{border-top:0}
.cul-band-h{position:sticky;top:150px}
.cul-band-t{font-family:Tokabu,var(--display);font-size:40px;letter-spacing:-.06em;line-height:.95}
.cul-band-s{margin-top:8px;font-family:var(--mono);font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:var(--ink-soft);line-height:1.6}
.cul-row{display:flex;gap:22px}
.cul-row>a{flex:1;min-width:0}
@media (max-width:900px){.cul-band{grid-template-columns:1fr;gap:20px}.cul-band-h{position:static}.cul-row{flex-wrap:wrap}.cul-row>a{flex:1 1 44%}}

.ab-chap{display:grid;grid-template-columns:1.05fr .95fr;gap:58px;align-items:stretch;padding:52px 0;border-top:1px solid var(--line)}
.ab-chap:first-child{border-top:0}
.ab-chap.rev .ab-chap-m{order:2}
.ab-chap-m{display:block;position:relative;height:100%;min-height:380px;overflow:hidden;background:var(--paper-warm);border:1px solid var(--ink)}
.ab-chap-m img,.ab-chap-m video{display:block;width:100%;height:100%;object-fit:cover;transition:transform .6s cubic-bezier(.2,.7,.2,1)}
.ab-chap-m:hover img,.ab-chap-m:hover video{transform:scale(1.035)}
.ab-chap-k{font-family:var(--mono);font-size:10px;letter-spacing:.24em;text-transform:uppercase;color:var(--ink-soft)}
.ab-chap-t{font-size:62px;line-height:.94;margin:12px 0 0}
.ab-chap-b{margin:18px 0 26px;font-size:17px;line-height:1.72;color:var(--ink-soft);max-width:460px}
.ab-online{display:flex;align-items:baseline;justify-content:center;gap:26px;flex-wrap:wrap;text-align:center;padding-top:34px;border-top:1px solid var(--line)}
.ab-online-t{font-family:var(--display);font-style:italic;font-size:24px}
.ab-online-l{display:flex;gap:20px;flex-wrap:wrap;font-family:var(--mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase}
@media (max-width:900px){.ab-chap{grid-template-columns:1fr;gap:24px;padding:36px 0}.ab-chap.rev .ab-chap-m{order:0}.ab-chap-t{font-size:38px}}

.ab-film{border-top:1px solid var(--ink);border-bottom:1px solid var(--ink);background:var(--ink);overflow:hidden}
.ab-film video{display:block;width:100%;height:min(74vh,760px);object-fit:cover}
@media (max-width:900px){.ab-film video{height:52vh}}

.ab-belief{position:relative;overflow:hidden;background:var(--accent);border-top:1px solid var(--ink);border-bottom:1px solid var(--ink);padding:104px 40px 112px;text-align:center}
.ab-belief-l,.ab-belief-r{position:absolute;bottom:-8%;width:clamp(240px,calc((100vw - 800px) / 2 + 60px),520px);pointer-events:none;user-select:none;will-change:transform;z-index:1}
.ab-belief-l{left:0}
.ab-belief-r{right:0;bottom:auto;top:4%}
@media (max-width:1150px){.ab-belief-l,.ab-belief-r{opacity:.28}}
@media (max-width:900px){.ab-belief-l,.ab-belief-r{display:none}}
.ab-belief-t{font-size:64px;line-height:.96;margin:14px auto 0;max-width:640px}
.ab-belief-b{max-width:520px;margin:30px auto 0;text-align:left}
.ab-belief-b p{margin:0 0 16px;font-size:17.5px;line-height:1.75;color:var(--ink)}
.ab-belief-k{font-family:Tokabu,var(--display);font-size:30px;letter-spacing:-.06em;line-height:1.2;text-align:center;padding-top:12px}
@media (max-width:900px){.ab-belief{padding:56px 22px}.ab-belief-t{font-size:36px}.ab-belief-k{font-size:22px}}

.ab-chap-x{display:flex;flex-direction:column;justify-content:center;padding:6px 0}
@media (max-width:900px){.ab-chap-m{min-height:0;aspect-ratio:4/3}}



.brand-logo{max-height:46px;max-width:112px;width:auto;height:auto;object-fit:contain;filter:invert(1);opacity:.85;transition:opacity .2s,transform .3s}
.brand-cell{position:relative;transition:background .3s ease}
.brand-cell:hover{background:var(--accent) !important}
.brand-cell:hover .brand-logo{opacity:1;transform:scale(1.06)}
.brand-cell:hover .eyebrow{color:var(--ink)}
.brand-cell:hover>div:last-child{color:var(--ink) !important}

.sp-thumbs{display:flex;gap:12px;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin}
.sp-thumb{flex:0 0 auto;width:88px;height:88px;object-fit:cover;background:#fff;border-radius:12px;cursor:pointer;box-shadow:inset 0 0 0 1px var(--line);transition:box-shadow .18s}
.sp-thumb.on{box-shadow:inset 0 0 0 2px var(--ink)}

/* ── Mobile ───────────────────────────────────────────────────────── */
html,body{overflow-x:clip}
@media (max-width:760px){
.hf-nav{grid-template-columns:auto 1fr auto;padding:10px 16px;gap:12px}
.hf-nav .search{width:112px;padding:7px 12px;font-size:12px;gap:7px}
.hf-nav .logo{justify-content:center}
.hf-nav .logo img{height:34px!important}
.hf-nav .icons{gap:14px}
.hf-nav .icons>a.nav-icon{display:none}
.hf-nav-links{justify-content:flex-start;gap:24px;padding:11px 16px 12px;overflow-x:auto;white-space:nowrap;scrollbar-width:none;font-size:12px}
.hf-nav-links::-webkit-scrollbar{display:none}
.hf-nav-links>a{flex:none}
.hf-footer{padding:52px 20px 28px}
.hf-footer .grid{grid-template-columns:1fr 1fr;gap:32px 20px;margin-bottom:40px}
.hf-footer .grid>div:first-child{grid-column:1/-1}
.hf-footer .brand-line{font-size:26px}
.hf-footer .bottom{flex-wrap:wrap;gap:10px;font-size:11px}
.display-xxl{font-size:clamp(34px,11.5vw,50px)!important;line-height:.96}
.display-xxl img{height:.9em!important;width:auto!important}
.hm-filmtitle{font-size:64px!important}
.cn-h{font-size:36px!important}
[style*="grid-template-columns: repeat(4"],[style*="grid-template-columns: repeat(3"],[style*="grid-template-columns: repeat(5"],.brand-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
[style*="grid-template-columns: 1.15fr 1fr"],[style*="grid-template-columns: 1fr 1fr; gap: 70px"]{grid-template-columns:1fr!important;gap:28px!important}
.container[style*="padding"]{padding-left:18px!important;padding-right:18px!important}
}

/* ---- */
html, body { margin: 0; padding: 0; background: #f3f4f4; color: #0e0d0c; font-family: 'DM Sans', system-ui, sans-serif; }
.hf { height: auto; overflow: visible; }
a { color: var(--accent-deep); }
a:hover { color: var(--ink); }
.news-row:hover .display-lg, .brand-cell:hover .display-lg { color: var(--accent-deep); }
.brand-cell:hover { background: var(--paper-warm); }


/* ── site/tk/artifacts.css ── */
/* ═══ Artifacts page (footer → artifacts) ═══
   On a computer the book floats in the middle with its two white cards on each side.
   On narrower screens those cards used to land on top of the book: now everything stacks
   in reading order, book first, each card centred under it.                              */

/* laptops: a slightly smaller book, cards pushed to the edges so nothing overlaps */
@media (min-width:1024px) and (max-width:1320px){
  :root [data-screen-label="ARTIFACTS PAGE"] > div:nth-child(2) > div:nth-child(2) > div{height:380px!important}
  :root [data-screen-label="ARTIFACTS PAGE"] > div:nth-child(2) > div:nth-child(3){left:40px!important}
  :root [data-screen-label="ARTIFACTS PAGE"] > div:nth-child(2) > div:nth-child(4){right:40px!important;width:260px!important}
}

/* tablets and phones: one column */
@media (max-width:1023px){
  :root [data-screen-label="ARTIFACTS PAGE"]{min-height:0!important}
  :root [data-screen-label="ARTIFACTS PAGE"] > div:nth-child(2),
  :root [data-screen-label="ARTIFACTS PAGE"] > div:nth-child(3){display:contents!important}

  /* 1. the line on top */
  :root [data-screen-label="ARTIFACTS PAGE"] > div:nth-child(1){order:1;padding:34px 22px 0!important}
  /* 2. the book, floating, whole */
  :root [data-screen-label="ARTIFACTS PAGE"] > div:nth-child(2) > div:nth-child(1){display:none!important}
  :root [data-screen-label="ARTIFACTS PAGE"] > div:nth-child(2) > div:nth-child(2){order:2;position:relative;z-index:3;align-self:center;margin:30px 0 6px}
  :root [data-screen-label="ARTIFACTS PAGE"] > div:nth-child(2) > div:nth-child(2) > div{height:min(84vw,400px)!important}
  :root [data-screen-label="ARTIFACTS PAGE"] > div:nth-child(2) > div:nth-child(2) img{filter:drop-shadow(0 26px 22px rgba(0,0,0,.16))}
  /* 3. its number and what it is, as a small label under it */
  :root [data-screen-label="ARTIFACTS PAGE"] > div:nth-child(2) > div:nth-child(3){order:3;position:relative!important;left:auto!important;top:auto!important;transform:none!important;align-self:center;z-index:3;text-align:center;padding:14px 22px!important;margin-top:8px}
  /*    …written as one line of text ("№ 001 · the first book of chance and tokabu's genesis"), not a column of words */
  :root [data-screen-label="ARTIFACTS PAGE"] > div:nth-child(2) > div:nth-child(3){max-width:330px;margin-left:22px;margin-right:22px}
  :root [data-screen-label="ARTIFACTS PAGE"] > div:nth-child(2) > div:nth-child(3) .eyebrow{line-height:1.9!important;text-wrap:balance}
  :root [data-screen-label="ARTIFACTS PAGE"] > div:nth-child(2) > div:nth-child(3) br{display:none}
  :root [data-screen-label="ARTIFACTS PAGE"] > div:nth-child(2) > div:nth-child(3) span::after{content:' '}
  html:is([lang=ja],[lang=zh]) [data-screen-label="ARTIFACTS PAGE"] > div:nth-child(2) > div:nth-child(3) span::after{content:''}
  :root [data-screen-label="ARTIFACTS PAGE"] > div:nth-child(2) > div:nth-child(3) span:first-of-type::before{content:' · '}
  /* 4. the name, 5. "available on amazon", 6. the button */
  :root [data-screen-label="ARTIFACTS PAGE"] > div:nth-child(3) > h1{order:4;position:relative;z-index:3;align-self:center;text-align:center;margin:26px 22px 0!important;font-size:clamp(40px,11vw,60px)!important;line-height:.98!important;padding:0 14px!important}
  :root [data-screen-label="ARTIFACTS PAGE"] > div:nth-child(3) > div:has(> .eyebrow){order:5;position:relative;z-index:3;text-align:center}
  :root [data-screen-label="ARTIFACTS PAGE"] > div:nth-child(3) > div:has(> a > .btn, > .btn){order:6;position:relative;z-index:3;margin-top:22px!important}
  /* 7. what the book is about, in a white card */
  :root [data-screen-label="ARTIFACTS PAGE"] > div:nth-child(2) > div:nth-child(4){order:7;position:relative!important;right:auto!important;top:auto!important;transform:none!important;width:auto!important;max-width:460px;align-self:center;z-index:3;text-align:center!important;margin:34px 22px 0;padding:22px 24px!important}
  /* 8. the dots (several artifacts), 9. the last line */
  :root [data-screen-label="ARTIFACTS PAGE"] > div:nth-child(3) > div:has(> span){order:8;position:relative;z-index:3}
  :root [data-screen-label="ARTIFACTS PAGE"] > div:nth-child(3) > div.eyebrow{order:9;position:relative;z-index:3;align-self:center;text-align:center;margin:30px 22px 56px!important;line-height:1.7}
  /* arrows (when there are several artifacts): beside the book */
  :root [data-screen-label="ARTIFACTS PAGE"] > div:nth-child(2) > button{order:2;position:absolute!important;top:calc(34px + 120px + min(42vw,200px))!important;width:46px!important;height:46px!important}
}


/* ── site/tk/believers.css ── */
/* ═══ Friends · Believers: one sliding line (site/tk/believers-marquee.jsx) ═══ */

/* a white band under the line, before the black Companions */
:root #pt-believers{padding-bottom:72px!important}

:root .tk-bel-marquee{margin-top:34px;overflow:hidden;background:#000;border-top:1px solid #000;border-bottom:1px solid #000}
:root .tk-bel-track{display:flex;width:max-content;animation:tkBelSlide calc(var(--n,12) * 4.6s) linear infinite}
/* a touch bigger than the old grid (6 across), and the 1px black line between cards */
:root .tk-bel-track .pbel{flex:none;width:clamp(210px,19vw,300px);margin-right:1px}
@keyframes tkBelSlide{from{transform:translateX(0)}to{transform:translateX(-50%)}}

@media (max-width:760px){
  :root #pt-believers{padding-bottom:52px!important}
  :root .tk-bel-track{animation-duration:calc(var(--n,12) * 3.6s)}
  :root .tk-bel-track .pbel{width:200px}
}

/* people who asked their device for less motion can slide the line with a finger instead */
@media (prefers-reduced-motion:reduce){
  :root .tk-bel-marquee{overflow-x:auto}
  :root .tk-bel-track{animation:none}
}


/* ── site/tk/coin.css ── */
/* ═══ Coin · blessing / offering / gambling: three options with room to breathe ═══
   Computer: three separate cards side by side. Tablet: the same cards, one under the other.
   Phone: the cards stay edge to edge (see mobile.css).                                    */
@media (min-width:761px){
  :root .cn-grid{gap:22px;border:0}
  :root .cn-card{border:1px solid rgba(255,255,255,.11)!important;border-radius:26px;overflow:hidden;background:rgba(255,255,255,.025);transition:transform .45s cubic-bezier(.2,.7,.2,1),border-color .35s,background .35s}
  :root .cn-card:hover{transform:translateY(-5px);border-color:rgba(255,212,0,.5)!important;background:rgba(255,255,255,.04)}
  :root .cn-media{aspect-ratio:16/11;margin:12px 12px 0;border-radius:18px}
  :root .cn-body{padding:26px 28px 32px}
  :root .cn-n{font-size:9.5px}
  :root .cn-t{font-size:clamp(34px,2.9vw,46px);margin-top:14px}
  :root .cn-d{font-size:14.5px;line-height:1.65;margin-top:12px}
  :root .cn-cta{margin-top:22px}
}
@media (min-width:901px){
  :root .cn-grid{max-width:1160px;margin:64px auto 0}
}
@media (min-width:761px) and (max-width:900px){
  :root .cn-grid{max-width:540px;margin:52px auto 0}
}


/* ── site/tk/friends-detail.css ── */
/* ═══ Friends · detail pages on the phone (brands, sponsees, believers) ═══
   One clean column, the site's 22px margins, every picture shown whole, no sideways sliding.
   Computer layout untouched. Lives in site/tk so a new Claude Design export never erases it.     */
@media (max-width:760px){

  /* ── common: margins, breadcrumb, titles ─────────────────────────────── */
  :root [data-screen-label="PARTNER DETAIL"] > div,
  :root [data-screen-label="SPONSEE DETAIL"] > div{padding-left:22px!important;padding-right:22px!important}
  :root [data-screen-label="PARTNER DETAIL"] > div:first-child,
  :root [data-screen-label="SPONSEE DETAIL"] > div:first-child{padding-top:20px!important}
  :root [data-screen-label="PARTNER DETAIL"] > div:first-child .eyebrow,
  :root [data-screen-label="SPONSEE DETAIL"] > div:first-child .eyebrow{font-size:9.5px;letter-spacing:.2em;line-height:1.8}
  :root [data-screen-label="PARTNER DETAIL"] h1.display-xxl,
  :root [data-screen-label="SPONSEE DETAIL"] h1.display-xxl{font-size:clamp(40px,12.5vw,54px)!important;line-height:.95!important;text-wrap:balance}

  /* ── brand page: name, then its picture, then the story ──────────────── */
  :root [data-screen-label="PARTNER DETAIL"] > div:nth-child(2):not(:last-child){padding-top:18px!important}
  :root [data-screen-label="PARTNER DETAIL"] > div:last-child{padding-top:28px!important;padding-bottom:64px!important}
  :root [data-screen-label="PARTNER DETAIL"] > div:last-child > .container:first-child{display:flex!important;flex-direction:column;align-items:stretch!important;gap:0!important}
  :root [data-screen-label="PARTNER DETAIL"] > div:last-child > .container:first-child > div{display:contents!important}
  :root [data-screen-label="PARTNER DETAIL"] > div:last-child > .container:first-child > div:first-child > :nth-child(1){order:1;align-self:flex-start}
  :root [data-screen-label="PARTNER DETAIL"] > div:last-child > .container:first-child > div:first-child > :nth-child(2){order:2;margin-top:16px!important}
  :root [data-screen-label="PARTNER DETAIL"] > div:last-child > .container:first-child > div:last-child > :first-child{order:3;margin-top:26px}
  :root [data-screen-label="PARTNER DETAIL"] > div:last-child > .container:first-child > div:first-child > :nth-child(3){order:4;margin-top:26px!important}
  :root [data-screen-label="PARTNER DETAIL"] > div:last-child > .container:first-child > div:first-child > :nth-child(4){order:5;margin-top:12px!important;font-size:18px!important;line-height:1.55!important}
  :root [data-screen-label="PARTNER DETAIL"] > div:last-child > .container:first-child > div:first-child > :nth-child(5){order:6;margin-top:32px!important}
  :root [data-screen-label="PARTNER DETAIL"] > div:last-child > .container:first-child > div:first-child > :nth-child(6){order:7;margin-top:30px!important;flex-wrap:nowrap!important;gap:12px!important}
  :root [data-screen-label="PARTNER DETAIL"] > div:last-child > .container:first-child > div:last-child > :not(:first-child){order:8;margin-top:12px}
  :root [data-screen-label="PARTNER DETAIL"] > div:last-child > .container:first-child > div:last-child > :nth-child(2){margin-top:40px}
  /* visit button across the width, X in a round frame beside it */
  :root [data-screen-label="PARTNER DETAIL"] > div:last-child > .container:first-child > div:first-child > :nth-child(6) > :first-child{flex:1;min-width:0}
  :root [data-screen-label="PARTNER DETAIL"] > div:last-child > .container:first-child > div:first-child > :nth-child(6) .btn{width:100%;justify-content:center;padding:15px 18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  :root [data-screen-label="PARTNER DETAIL"] > div:last-child > .container:first-child > div:first-child > :nth-child(6) > a[aria-label]{flex:none;width:48px;height:48px;border:1px solid var(--ink);border-radius:50%;align-items:center;justify-content:center}
  :root [data-screen-label="PARTNER DETAIL"] > div:last-child > .container:first-child > div:first-child > :nth-child(6) > a[aria-label] svg{width:18px;height:18px}
  /* the film after the story, and the other houses */
  :root [data-screen-label="PARTNER DETAIL"] > div:last-child > .container:not(:first-child){margin-top:56px!important}

  /* ── sponsee & believer pages: name, picture whole, then the words ───── */
  :root [data-screen-label="SPONSEE DETAIL"] > div:nth-child(2){padding-top:26px!important}
  :root [data-screen-label="SPONSEE DETAIL"] > div:nth-child(2) > .container{display:flex!important;flex-direction:column;align-items:stretch!important;gap:0!important}
  :root [data-screen-label="SPONSEE DETAIL"] > div:nth-child(2) > .container > div:last-child{display:contents!important}
  :root [data-screen-label="SPONSEE DETAIL"] > div:nth-child(2) > .container > div:last-child > .be-kick{align-self:flex-start}
  :root [data-screen-label="SPONSEE DETAIL"] > div:nth-child(2) > .container > div:last-child > *{order:4}
  :root [data-screen-label="SPONSEE DETAIL"] > div:nth-child(2) > .container > div:last-child > .be-kick{order:1}
  :root [data-screen-label="SPONSEE DETAIL"] > div:nth-child(2) > .container > div:last-child > h1{order:2}
  :root [data-screen-label="SPONSEE DETAIL"] > div:nth-child(2) > .container > div:last-child > .be-kick + h1{margin-top:14px!important}
  :root [data-screen-label="SPONSEE DETAIL"] > div:nth-child(2) > .container > div:first-child{order:3!important;margin-top:24px}
  :root [data-screen-label="SPONSEE DETAIL"] > div:nth-child(2) > .container > div:first-child img{width:100%!important;height:auto!important;aspect-ratio:auto!important;object-fit:contain!important}
  :root [data-screen-label="SPONSEE DETAIL"] > div:nth-child(2) > .container > div:first-child + div > h1 + div{margin-top:26px!important;font-size:19px!important;line-height:1.45!important}
  :root [data-screen-label="SPONSEE DETAIL"] > div:nth-child(2) > .container > div:last-child > :not(h1):not(.be-kick){max-width:none!important}
  :root [data-screen-label="SPONSEE DETAIL"] > div:nth-child(2) > .container > div:last-child > :last-child{margin-bottom:0}

  /* the work: a two-column wall, every piece whole */
  :root [data-screen-label="SPONSEE DETAIL"] > div:nth-child(3){padding-top:56px!important;padding-bottom:44px!important}
  :root [data-screen-label="SPONSEE DETAIL"] > div:nth-child(3) h3.display-xl{font-size:36px!important;margin-bottom:20px!important}
  :root [data-screen-label="SPONSEE DETAIL"] .work-rail{display:block!important;column-count:2;column-gap:10px;overflow:visible!important;padding-bottom:0!important;scroll-snap-type:none!important}
  :root [data-screen-label="SPONSEE DETAIL"] .work-rail > div{display:block;width:auto!important;flex:none!important;break-inside:avoid;margin:0 0 10px}
  :root [data-screen-label="SPONSEE DETAIL"] .work-rail img,
  :root [data-screen-label="SPONSEE DETAIL"] .work-rail > div > div{aspect-ratio:auto!important;height:auto!important}
  :root [data-screen-label="SPONSEE DETAIL"] .work-rail video{height:auto!important}
  /* a sponsee's film: the whole width */
  :root [data-screen-label="SPONSEE DETAIL"] > div:nth-child(3) video[controls]{width:100%!important;height:auto!important;max-height:78vh}
  /* print & gallery buttons: one under the other, same width */
  :root [data-screen-label="SPONSEE DETAIL"] > div:nth-child(3) .container > div:has(> a > .btn, > .btn){flex-direction:column;gap:10px!important;margin-top:26px!important}
  :root [data-screen-label="SPONSEE DETAIL"] > div:nth-child(3) .container > div:has(> a > .btn, > .btn) > a{display:block}
  :root [data-screen-label="SPONSEE DETAIL"] > div:nth-child(3) .container > div:has(> a > .btn, > .btn) .btn{width:100%;justify-content:center;padding:16px 20px;font-size:12.5px}
  /* believers: the gallery lines up with the picture above */
  :root [data-screen-label="SPONSEE DETAIL"] .be-rows{margin:0!important;gap:12px!important;background:transparent!important}
  :root [data-screen-label="SPONSEE DETAIL"] .be-row{gap:12px!important}
  :root [data-screen-label="SPONSEE DETAIL"] .be-cell{background:transparent!important}

  /* the black band: same card as on the computer, centred for the phone */
  :root [data-screen-label="SPONSEE DETAIL"] > div:nth-child(4){padding-bottom:64px!important}
  :root [data-screen-label="SPONSEE DETAIL"] > div:nth-child(4) > .container:not(:has(.be-back)){flex-direction:column!important;align-items:stretch!important;text-align:center;gap:22px!important;padding:36px 24px 24px!important;border-radius:22px!important}
  :root [data-screen-label="SPONSEE DETAIL"] > div:nth-child(4) > .container:not(:has(.be-back)) .display-lg{font-size:26px!important;line-height:1.08!important;text-wrap:balance;max-width:13em;margin:0 auto}
  :root [data-screen-label="SPONSEE DETAIL"] > div:nth-child(4) > .container:not(:has(.be-back)) > div:last-child{justify-content:center}
  :root [data-screen-label="SPONSEE DETAIL"] > div:nth-child(4) > .container:not(:has(.be-back)) .btn{width:100%;justify-content:center;padding:15px 20px}
}


/* ── site/tk/home-intro.css ── */
/* Home · the first slide's pill is a title (h1) for Google: same look as the other pills */
:root h1.shop-car-eyebrow{margin:0;font-weight:inherit}
/* on a phone, a long button label wraps instead of spilling out */
@media (max-width:760px){:root .shop-car-txt .btn.lg{max-width:100%;white-space:normal;height:auto;min-height:40px;line-height:1.25;padding-top:10px;padding-bottom:10px}}

/* Story now opens on "meet the Spirit of Gambling" (now the page's main title, same look as before) */
:root h1.ab-belief-t{margin-block:.83em}

/* Story's yellow block: lines of even length, never one word alone on the last line */
:root .ab-belief-b{max-width:560px}
:root .ab-belief-b p,:root .ab-belief-k{text-wrap:pretty;text-wrap:balance}
:root .ab-belief-b p{margin-bottom:22px}
@media (max-width:760px){:root .ab-belief-b p{font-size:16.5px;line-height:1.7}}


/* ── site/tk/mobile.css ── */
/* ═══ Tokabu — mobile polish ═══════════════════════════════════════════════
   Written for the site, not by Claude Design: it lives in site/tk and is added
   after site.css, so a new Claude Design export never erases it.            */

/* the slot machine button keeps its colour while the Spirit decides (no washed-out green) */
:root .hm-lever:disabled{opacity:1;filter:saturate(.9) brightness(.97)}

/* the burger and its menu only exist on a phone */
.tk-burger,.tk-menu{display:none}

/* sponsees: on a phone the panels stack, each with its own height (they used to collapse to nothing) */
@media (max-width:900px){
  :root .spfan-pan,:root .spfan-pan.on{flex:none!important}
}

@media (max-width:760px){

  /* ── header: burger · logo · bag ──────────────────────────────────── */
  body:has(.tk-burger) .hf-nav{grid-template-columns:1fr auto 1fr;padding:8px 12px;gap:8px;min-height:56px}
  body:has(.tk-burger) .hf-nav .search{display:none}
  body:has(.tk-burger) .hf-nav .logo img{height:30px!important}
  body:has(.tk-burger) .hf-nav .icons{gap:0}
  body:has(.tk-burger) .hf-nav .icons>span[data-noi18n]{display:none!important}
  body:has(.tk-burger) .hf-nav .icons .cart{width:40px;height:40px}
  body:has(.tk-burger) .hf-nav-links{display:none}

  :root .tk-burger{display:inline-flex;flex-direction:column;justify-content:center;gap:6px;width:40px;height:40px;margin:0;padding:0 9px;background:none;border:0;cursor:pointer;color:inherit;-webkit-tap-highlight-color:transparent}
  :root .tk-burger i{display:block;height:2px;width:22px;background:currentColor;border-radius:2px;transition:transform .28s cubic-bezier(.2,.7,.2,1)}
  :root .tk-burger.open i:first-child{transform:translateY(4px) rotate(45deg)}
  :root .tk-burger.open i:last-child{transform:translateY(-4px) rotate(-45deg)}

  :root .tk-menu{display:flex;flex-direction:column;position:fixed;left:0;right:0;bottom:0;z-index:60;overflow-y:auto;overscroll-behavior:contain;background:var(--paper);color:var(--ink);border-top:1px solid var(--line);animation:tkMenuIn .22s ease both}
  :root .tk-menu-search{position:relative;z-index:2;padding:16px 20px 6px}
  :root .tk-menu-search .search{display:flex!important;width:100%!important;height:46px;padding:0 18px!important;font-size:15px!important;border-radius:999px;border:1px solid var(--ink)}
  :root .tk-menu-search>div>div:last-child{width:100%!important}
  :root .tk-menu-links{display:flex;flex-direction:column;padding:8px 20px 0}
  :root .tk-menu-links a{display:flex;align-items:center;gap:14px;height:58px;border-bottom:1px solid var(--line);color:var(--ink);text-decoration:none;animation:tkLinkIn .4s cubic-bezier(.2,.7,.2,1) both}
  :root .tk-menu-n{width:20px;flex:none;font-family:var(--mono);font-size:9.5px;font-weight:600;letter-spacing:.14em;color:var(--ink-faint)}
  :root .tk-menu-l{flex:1;font-family:var(--nav,var(--sans));font-size:16px;font-weight:500;letter-spacing:.08em;text-transform:uppercase}
  :root .tk-menu-go{font-size:15px;color:var(--ink-faint);transition:transform .2s}
  :root .tk-menu-links a.on .tk-menu-l{display:inline-flex;align-items:center;gap:10px}
  :root .tk-menu-links a.on .tk-menu-l:before{content:'';width:7px;height:7px;border-radius:50%;background:var(--accent);box-shadow:0 0 0 1.5px var(--ink)}
  :root .tk-menu-links a.on .tk-menu-go{color:var(--ink)}
  :root .tk-menu-links a:active .tk-menu-go{transform:translateX(4px)}
  :root .tk-menu-foot{display:flex;flex-direction:column;padding:30px 20px calc(30px + env(safe-area-inset-bottom))}
  :root .tk-menu-k{font-family:var(--mono);font-size:9.5px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--ink-soft);margin:0 0 12px}
  :root .tk-menu-langs{display:flex;gap:8px;margin-bottom:28px}
  :root .tk-menu-langs button{flex:1;height:38px;padding:0;background:transparent;border:1px solid var(--line);border-radius:999px;font-family:var(--mono);font-size:11px;font-weight:600;letter-spacing:.1em;color:var(--ink);cursor:pointer;-webkit-tap-highlight-color:transparent}
  :root .tk-menu-langs button.on{background:var(--accent);border-color:var(--ink)}
  :root .tk-menu-social{display:flex;gap:10px}
  :root .tk-menu-social a{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid var(--line);border-radius:50%;color:var(--ink)}
  @keyframes tkMenuIn{from{opacity:0}to{opacity:1}}
  @keyframes tkLinkIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

  /* ── small type: tighter tracking, so labels stay on one line ──────── */
  :root .eyebrow{letter-spacing:.14em;text-wrap:balance}
  :root .cn-kick,:root .ab-thresh-k{letter-spacing:.16em;line-height:1.6;text-wrap:balance}

  /* ── home: a compact hero, not a full screen ──────────────────────── */
  :root .home-car .shop-car-slide{min-height:0;height:min(112vw,460px)}
  :root .shop-car-txt{flex-direction:column;align-items:center;justify-content:flex-end;gap:12px;padding:0 16px 42px}
  :root .shop-car-eyebrow{height:auto;max-width:100%;padding:7px 13px;font-size:9px;line-height:1.35;letter-spacing:.16em;text-align:center;border:0;background:rgba(0,0,0,.5)}
  :root .shop-car-txt .btn.lg{height:40px;padding:0 20px;font-size:11px;letter-spacing:.14em}
  :root .shop-hero-dots{bottom:16px}

  /* ── home: the slot machine, phone sized ──────────────────────────── */
  :root .hm-close{padding:56px 18px 0}
  :root .hm-close-title{font-size:40px!important}
  :root .hm-close-copy{font-size:15px;margin-top:10px}
  :root .hm-slot-wrap{margin-top:26px;max-width:330px}
  :root .hm-slot{padding:28px 16px 16px;border-width:2.5px;border-radius:24px;box-shadow:5px 5px 0 rgba(10,10,12,.35)}
  :root .hm-slot-bulbs{left:18px;right:18px;top:11px}
  :root .hm-slot-head{margin:10px 0 14px;font-size:8.5px;letter-spacing:.16em}
  :root .hm-reels{gap:8px}
  :root .hm-reel{height:84px;--rh:84px;border-width:2.5px;border-radius:13px}
  :root .hm-lever.toka{margin-top:16px;padding:12px 16px;font-size:22px;border-width:3px;white-space:nowrap}
  :root .hm-slot-foot{margin-top:12px;font-size:8.5px}

  /* ── the Post: the sections on one line that slides ───────────────── */
  :root .ns-bar-in{flex-wrap:nowrap;justify-content:flex-start;gap:6px;padding:12px 44px 12px 16px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;-webkit-mask-image:linear-gradient(90deg,#000 82%,transparent);mask-image:linear-gradient(90deg,#000 82%,transparent)}
  :root .ns-bar-in::-webkit-scrollbar{display:none}
  :root .ns-tags{flex:none;flex-wrap:nowrap;justify-content:flex-start}
  :root .ns-tag{flex:none}
  :root .ns-follow{flex:none;position:static;transform:none;margin-left:10px}

  /* ── friends: clean brand grid, sponsees and believers edge to edge ── */
  :root #pt-brands,:root #pt-sponsees{padding-left:22px!important;padding-right:22px!important}
  :root .brand-grid{gap:0!important}
  :root .brand-cell{padding:20px 12px!important;min-height:118px!important}
  :root .brand-cell:last-child:nth-child(odd){grid-column:1/-1}
  :root .spfan{margin:0 -22px}
  :root .spfan-pan,:root .spfan-pan.on{height:340px}
  :root .spfan-body{display:none}

  /* ── coin: the coin under the text, images edge to edge ───────────── */
  :root .ab-thresh{display:flex;flex-direction:column;padding:72px 22px 0}
  :root .ab-thresh>.container{order:1}
  :root .ab-thresh-coin{position:relative;order:2;right:auto;bottom:auto;width:min(66vw,260px);margin:30px auto -44px;opacity:1}
  :root .ab-thresh-p{font-size:15.5px;line-height:1.65}
  :root .ab-thresh-cue{display:none}
  :root .cn-sec{padding:72px 22px 0}
  :root .cn-grid{margin:44px -22px 0;border:0}
  :root .cn-card{border:0!important}
  :root .cn-media{aspect-ratio:4/3}
  :root .cn-body{padding:26px 22px 44px}
}


/* ── site/tk/type.css ── */
/* ═══ Line breaks that read naturally, in every language ═══
   Titles: lines of even length, never one word left alone.
   Paragraphs: no orphan word on the last line.
   Japanese & Chinese: lines break only between words (marked in words.jsx), never inside one;
   a string with no marks can still wrap anywhere rather than overflow. */
:root :is(h1,h2,h3,.display-xxl,.display-xl,.display-lg,.eyebrow,.shop-car-eyebrow){text-wrap:balance}
:root p{text-wrap:pretty}
html:is([lang=ja],[lang=zh]) body :is(*){word-break:keep-all !important;overflow-wrap:anywhere}
/* Japanese and Chinese have no italics: slanted kanji look like a font bug */
html:is([lang=ja],[lang=zh]) body *{font-style:normal !important}

/* Culture pages on a phone: text then picture, one column (was two squeezed columns) */
@media (max-width:760px){
  :root [data-screen-label="CULTURE DETAIL"] > div{padding-left:22px!important;padding-right:22px!important}
  :root [data-screen-label="CULTURE DETAIL"] > div:nth-child(2){padding-top:28px!important;padding-bottom:56px!important}
  :root [data-screen-label="CULTURE DETAIL"] > div:nth-child(2) > .container{grid-template-columns:1fr!important;gap:30px!important}
  :root [data-screen-label="CULTURE DETAIL"] h1.display-xxl{font-size:clamp(42px,13vw,60px)!important}
  :root [data-screen-label="CULTURE DETAIL"] > div:nth-child(2) > .container > div:first-child > div[style*="italic"]{font-size:18px!important}
}
