/* ============================================================
   SHINDO — News page (Build_14)
   Palette from the app's news screens: tab red, source orange, tag colours.
   ============================================================ */
.mod--nw { --mc: #E8433A; --mc-ink: #B32E26; --or: #F27A1A; --tq: #F27A1A; --tw: #E5395A; }

/* skeleton text bars (placeholder headlines — no real articles on this page) */
.sk { display: block; height: 0.72em; margin: 0.32em 0; border-radius: 6px; background: linear-gradient(90deg, rgba(255,255,255,0.78), rgba(255,255,255,0.52)); }
.sk.o { background: var(--or); height: 0.5em; } .sk.d { background: #c9ccd2; } .sk.l { background: rgba(255,255,255,0.88); height: 1em; } .sk.m { background: rgba(255,255,255,0.22); height: 0.55em; }
.w100 { width: 100%; } .w98 { width: 98%; } .w96 { width: 96%; } .w95 { width: 95%; } .w92 { width: 92%; } .w90 { width: 90%; } .w80 { width: 80%; } .w70 { width: 70%; } .w60 { width: 60%; } .w50 { width: 50%; } .w40 { width: 40%; } .w30 { width: 30%; }
.nw-tag { display: inline-block; padding: 4px 9px; font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.16em; color: #fff; background: var(--tc, var(--tq)); }
.nw-tag[data-t="w"] { --tc: var(--tw); }

/* ---------- 1 · Hero — the story deck ---------- */
.nw-hero { position: relative; min-height: 100svh; overflow: hidden; color: #fff; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); align-items: center; gap: 40px;
  padding: calc(var(--nav-h) + 40px) clamp(24px, 4.6vw, 88px) 60px; background: radial-gradient(50% 60% at 75% 50%, rgba(232,67,58,0.14) 0%, rgba(232,67,58,0) 70%), #08090d; }
.nw-hero__copy { display: grid; gap: 20px; max-width: 620px; will-change: transform, opacity; }
.nw-hero__copy .eyebrow { color: var(--mc); }
.nw-hero__title { margin: 0; font-family: var(--font-display); font-weight: 300; font-size: clamp(42px, 4.6vw, 78px); line-height: 1.02; letter-spacing: -0.04em; }
.nw-hero__hint { margin: 0; font-size: 15px; color: rgba(255,255,255,0.6); }
.nw-deck { position: relative; justify-self: center; margin-top: 6%; width: min(340px, 26vw); aspect-ratio: 9 / 16; perspective: 1400px; touch-action: none; cursor: grab; user-select: none; }
.nw-deck__cards { position: absolute; inset: 0; transform-style: preserve-3d; }
.nw-c { position: absolute; inset: 0; border-radius: 26px; overflow: hidden; background: #111 center / cover no-repeat; box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.08); transition: transform 700ms cubic-bezier(.2,.8,.2,1), opacity 700ms, filter 700ms; will-change: transform; }
.nw-c::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(5,6,10,0.92) 82%); }
.nw-c__body { position: absolute; z-index: 2; left: 8%; right: 8%; bottom: 7%; display: grid; gap: 6px; font-size: 22px; }
.nw-c__src { display: flex; align-items: center; gap: 8px; margin-top: 6px; } .nw-c__src i { width: 16px; height: 11px; border-radius: 2px; background: #fff; position: relative; } .nw-c__src i::after { content: ""; position: absolute; left: 5px; top: 2.5px; width: 6px; height: 6px; border-radius: 50%; background: #d33; }
.nw-deck__count { position: absolute; z-index: 5; right: 14px; top: 14px; padding: 6px 12px; border-radius: 99px; background: rgba(40,40,46,0.8); font-size: 13px; color: rgba(255,255,255,0.85); font-variant-numeric: tabular-nums; }

/* ---------- 3 · Belt ---------- */
.nw-belt { margin: 0 var(--inset); border-radius: var(--radius-xl); padding: clamp(70px, 8vw, 130px) 0; color: #fff; background: #0b0c11; overflow: hidden; display: grid; gap: clamp(30px, 4vw, 56px); }
.nw-belt__head { display: grid; gap: 16px; max-width: 780px; padding: 0 clamp(24px, 4.6vw, 88px); }
.nw-belt__head p { margin: 0; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,0.72); }
.nw-belt__track { position: relative; height: clamp(230px, 26vw, 320px); background: repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 46px), linear-gradient(180deg, transparent 84%, rgba(255,255,255,0.08) 84%, rgba(255,255,255,0.08) 86%, transparent 86%); }
.nw-belt__cards { position: absolute; inset: 0; }
.nw-bc { position: absolute; top: 6%; width: clamp(120px, 12vw, 170px); aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; background: #222 center / cover; box-shadow: 0 16px 34px rgba(0,0,0,0.5); will-change: transform; }
.nw-bc::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.85)); }
.nw-bc .nw-tag { position: absolute; z-index: 2; left: 8px; top: 8px; transform: scale(0); transform-origin: left top; transition: transform 380ms cubic-bezier(.3,1.6,.5,1); }
.nw-bc.is-tag .nw-tag { transform: scale(1); }
.nw-bc__t { position: absolute; z-index: 2; left: 10px; right: 10px; bottom: 10px; font-size: 13px; }
.nw-belt__gate { position: absolute; z-index: 3; left: 50%; top: 0; bottom: 6%; width: 12px; transform: translateX(-50%); }
.nw-belt__gate::before, .nw-belt__gate::after { content: ""; position: absolute; top: 0; bottom: 0; width: 4px; border-radius: 4px; background: #2a2c34; }
.nw-belt__gate::before { left: -60px; } .nw-belt__gate::after { right: -60px; }
.nw-belt__gate i { position: absolute; left: -58px; right: -58px; top: 0; height: 2px; background: var(--mc); box-shadow: 0 0 16px var(--mc), 0 0 40px var(--mc); animation: nwScan 1.6s ease-in-out infinite alternate; }
@keyframes nwScan { from { top: 4%; } to { top: 88%; } }
.nw-belt__gate span { position: absolute; left: 50%; top: -26px; transform: translateX(-50%); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: rgba(255,255,255,0.5); }
.nw-belt__tabs { justify-self: center; width: min(560px, 86%); border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08); }

/* ---------- 4 · Try it — the live phone ---------- */
.nw-try { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: clamp(32px, 5vw, 90px); align-items: center; padding: clamp(80px, 10vw, 150px) clamp(24px, 4.6vw, 88px); }
.nw-try__copy { display: grid; gap: 20px; }
.nw-try__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.nw-try__list li { display: flex; gap: 14px; align-items: center; font-size: 17px; }
.nw-try__list .k { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-style: normal; font-weight: 700; color: #fff; background: #15161c; }
.nw-try__fine { margin: 0; font-size: 13px; line-height: 1.55; color: var(--ink-soft); }
.nw-try__phone.iphone { justify-self: center; width: min(330px, 80vw); }
.nw-app { position: absolute; inset: 0; background: #08090d; color: #fff; overflow: hidden; }
.nw-app__tabs { position: absolute; z-index: 4; left: 0; top: 0; width: 100%; padding-top: 12%; background: #08090d; }
.nw-app__story { position: absolute; left: 0; right: 0; top: 18.5%; bottom: 13.5%; overflow: hidden; touch-action: none; cursor: grab; }
.nw-app__story .nw-c { border-radius: 0; box-shadow: none; transition: transform 520ms cubic-bezier(.2,.8,.2,1), opacity 520ms; }
.nw-app__story .nw-c__body { font-size: 19px; }
.nw-app__count { position: absolute; z-index: 5; right: 12px; top: 20.5%; padding: 5px 10px; border-radius: 99px; background: rgba(40,40,46,0.8); font-size: 11px; font-variant-numeric: tabular-nums; }
.nw-app__bar { position: absolute; z-index: 6; left: 0; right: 0; bottom: 0; padding-bottom: 6%; background: #08090d; display: grid; grid-template-columns: repeat(5, 1fr); }
.nw-app__bar img { grid-column: 1 / -1; grid-row: 1; width: 100%; display: block; }
.nw-app__bar button { grid-row: 1; position: relative; border: 0; background: transparent; cursor: pointer; padding: 0; }
.nw-app__bar button:nth-of-type(1) { grid-column: 1; } .nw-app__bar button:nth-of-type(2) { grid-column: 2; } .nw-app__bar button:nth-of-type(3) { grid-column: 3; } .nw-app__bar button:nth-of-type(4) { grid-column: 4; } .nw-app__bar button:nth-of-type(5) { grid-column: 5; }
.nw-app__bar svg { position: absolute; left: 50%; top: 50%; width: 30%; transform: translate(-50%, -50%) scale(0); fill: currentColor; transition: transform 300ms cubic-bezier(.3,1.7,.5,1); }
.nw-app__bar [data-a="like"] svg { color: #ff3b5c; } .nw-app__bar [data-a="save"] svg { color: #fff; width: 22%; }
.nw-app__bar button.is-on svg { transform: translate(-50%, -50%) scale(1); }
.nw-heart { position: absolute; z-index: 7; left: 50%; top: 45%; width: 30%; transform: translate(-50%, -50%) scale(0); color: #ff3b5c; pointer-events: none; animation: nwHeart 900ms cubic-bezier(.3,1.5,.5,1) forwards; filter: drop-shadow(0 6px 20px rgba(255,59,92,0.6)); }
@keyframes nwHeart { 0% { transform: translate(-50%, -50%) scale(0); opacity: 1; } 40% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; } 100% { transform: translate(-50%, -80%) scale(0.9); opacity: 0; } }
.nw-sheet { position: absolute; z-index: 8; left: 0; right: 0; bottom: 0; transform: translateY(105%); transition: transform 450ms cubic-bezier(.2,.9,.25,1); }
.nw-sheet.is-open { transform: none; }
.nw-sheet img { display: block; width: 100%; }
.nw-sheet--list { background: #1c1c1e; border-radius: 22px 22px 0 0; padding-bottom: 30%; overflow: hidden; }
.nw-sheet--share { top: 0; background: #08090d; display: grid; align-content: center; justify-items: center; gap: 12%; padding: 18% 0 6%; }
.nw-sheet--share .nw-sc { width: 62%; font-size: 13px; }
.nw-app__toast { position: absolute; z-index: 9; left: 50%; top: 30%; transform: translate(-50%, -10px); padding: 8px 14px; border-radius: 99px; background: rgba(30,30,36,0.92); font-size: 12px; white-space: nowrap; opacity: 0; transition: opacity 250ms, transform 250ms; pointer-events: none; }
.nw-app__toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* the share card (rebuilt from the app's layout, with placeholder text) */
.nw-sc { display: grid; gap: 6px; padding: 9% 8% 7%; border-radius: 20px; background: #0f1117; border: 1px solid rgba(255,255,255,0.08); aspect-ratio: 9 / 13; align-content: start; color: #fff; position: relative; }
.nw-sc > b { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.14em; font-size: 1.1em; } .nw-sc > b small { font-size: 0.7em; letter-spacing: 0; color: rgba(255,255,255,0.5); }
.nw-sc > i { width: 22%; height: 3px; border-radius: 3px; background: var(--or); margin: 6% 0; }
.nw-sc > em { position: absolute; left: 8%; bottom: 6%; font-style: normal; font-family: var(--font-mono); font-size: 0.6em; letter-spacing: 0.16em; color: rgba(255,255,255,0.45); line-height: 1.6; }
.nw-sc > em small { letter-spacing: 0.02em; font-family: var(--font-body, inherit); font-size: 1.15em; color: rgba(255,255,255,0.6); }
.nw-sc > svg { position: absolute; right: 8%; bottom: 7%; width: 12%; fill: none; stroke: var(--or); stroke-width: 1.6; }

/* ---------- 5 · Reader split ---------- */
.nw-reader { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 90px); align-items: center; margin: 0 var(--inset); border-radius: var(--radius-xl);
  padding: clamp(70px, 8vw, 130px) clamp(24px, 4.6vw, 88px); color: #fff; background: #0b0c11; }
.nw-reader__copy { display: grid; gap: 20px; }
.nw-reader__copy > p { margin: 0; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,0.72); }
.nw-reader__toggle { width: min(440px, 100%); border-radius: 16px; }
.nw-split { --x: 50%; position: relative; justify-self: center; width: min(400px, 100%); aspect-ratio: 9 / 14; border-radius: 28px; overflow: hidden; cursor: ew-resize; touch-action: none; outline: none; box-shadow: 0 30px 70px rgba(0,0,0,0.5); }
.nw-split:focus-visible { box-shadow: 0 0 0 3px var(--mc); }
.nw-split__web, .nw-split__read { position: absolute; inset: 0; padding: 9% 8%; font-size: 16px; }
.nw-split__web { font-size: 11px; }
.nw-split__web .w-img { margin: 6% 0; }
.nw-split__web { background: #f3f3f1; color: #111; }
.w-bar { height: 5%; margin: -9% -8% 4%; background: #1a1d24; }
.w-ad { display: grid; place-items: center; border-radius: 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: #555; background: repeating-linear-gradient(45deg, #ffe58a 0 10px, #ffd54d 10px 20px); }
.w-ad--top { height: 9%; margin-bottom: 5%; } .w-ad--mid { height: 13%; margin: 5% 0; background: repeating-linear-gradient(45deg, #b7e0ff 0 10px, #9dd2ff 10px 20px); }
.w-share { display: flex; gap: 6px; margin: 4% 0; } .w-share i { width: 26px; height: 26px; border-radius: 50%; background: #c9ccd2; }
.w-img { height: 22%; border-radius: 6px; background: linear-gradient(135deg, #9aa3ad, #6d7681); }
.w-cookie { position: absolute; left: 0; right: 0; bottom: 0; padding: 4% 8%; display: flex; align-items: center; gap: 10px; background: #222630; } .w-cookie .sk { flex: 1; background: #6a6f7a; } .w-cookie b { padding: 6px 14px; border-radius: 6px; background: #3b82f6; color: #fff; font-size: 12px; }
.w-video { position: absolute; right: 6%; bottom: 14%; width: 38%; aspect-ratio: 16 / 9; display: grid; place-items: center; border-radius: 8px; background: #111; color: #fff; box-shadow: 0 8px 20px rgba(0,0,0,0.4); }
.nw-split__read { background: #0b0c10; color: #fff; clip-path: inset(0 0 0 var(--x)); }
.r-src { display: flex; align-items: center; gap: 8px; margin: 3% 0 5%; } .r-src i { width: 18px; height: 12px; border-radius: 2px; background: #fff; }
.r-img { height: 22%; margin-bottom: 6%; border-radius: 14px; background: #333 center / cover; }
.nw-split__line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgba(0,0,0,0.4); }
.nw-split__line span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #111; font-weight: 700; box-shadow: 0 6px 18px rgba(0,0,0,0.35); }
.nw-split__lbl { position: absolute; top: 12px; padding: 5px 10px; border-radius: 99px; font-size: 11px; font-weight: 600; background: rgba(0,0,0,0.6); color: #fff; }
.nw-split__lbl--l { left: 12px; } .nw-split__lbl--r { right: 12px; background: rgba(255,255,255,0.9); color: #111; }

/* ---------- 6 · Share ---------- */
.nw-share { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 90px); align-items: center; padding: clamp(80px, 10vw, 150px) clamp(24px, 4.6vw, 88px); }
.nw-share__stage { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-xl); overflow: hidden; display: grid; place-items: center; background: radial-gradient(60% 60% at 50% 50%, #2a1712 0%, #0b0c10 70%); }
.nw-share__frame { position: relative; width: 46%; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; display: grid; place-items: center; background: linear-gradient(160deg, #833ab4, #fd1d1d 55%, #fcb045); transition: transform 900ms cubic-bezier(.2,.8,.2,1); }
.nw-share__bars { position: absolute; left: 6%; right: 6%; top: 3%; display: flex; gap: 4px; } .nw-share__bars i { flex: 1; height: 2px; border-radius: 2px; background: rgba(255,255,255,0.4); overflow: hidden; position: relative; }
.nw-share__bars i::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(var(--p, 0)); transform-origin: left; }
.nw-sc--big { width: 86%; font-size: 12px; }
.nw-sc--big > * { opacity: 0; transform: translateY(8px); transition: opacity 400ms, transform 400ms; }
.nw-sc--big.is-built > * { opacity: 1; transform: none; }
.nw-sc--big.is-built > :nth-child(2) { transition-delay: 150ms; } .nw-sc--big.is-built > :nth-child(3) { transition-delay: 300ms; } .nw-sc--big.is-built > :nth-child(4) { transition-delay: 380ms; } .nw-sc--big.is-built > :nth-child(5) { transition-delay: 460ms; } .nw-sc--big.is-built > :nth-child(6) { transition-delay: 600ms; } .nw-sc--big.is-built > :nth-child(7) { transition-delay: 760ms; } .nw-sc--big.is-built > :nth-child(8) { transition-delay: 900ms; }
.nw-share__copy { display: grid; gap: 20px; }
.nw-share__copy > p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.nw-share__btns { width: min(420px, 100%); border-radius: 18px; }

/* ---------- 7 · Split-flap statement ---------- */
.nw-flap { padding: clamp(110px, 14vw, 220px) clamp(24px, 6vw, 140px); text-align: center; }
.nw-flap h2 { margin: 0 auto; max-width: 20ch; font-family: var(--font-mono); font-weight: 500; font-size: clamp(26px, 3.8vw, 60px); line-height: 1.35; letter-spacing: 0; color: var(--ink); }
.nw-flap .wd { display: inline-block; white-space: nowrap; }
.nw-flap .fl { display: inline-block; min-width: 0.62em; padding: 0.02em 0.04em; margin: 0 0.03em; border-radius: 0.12em; background: #15161c; color: #fff; position: relative; text-align: center; }
.nw-flap .fl::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,0.6); }
.nw-flap .fl.sp { background: transparent; min-width: 0.35em; } .nw-flap .fl.sp::after { display: none; }
.nw-flap span[data-i18n] + br + span .fl:not(.sp) { background: var(--mc); }
html[lang="ja"] .nw-flap .wd { white-space: normal; display: inline; }

/* ---------- Homepage row ---------- */
.nw-home { position: relative; aspect-ratio: 16 / 13; width: 100%; border-radius: var(--radius-xl); overflow: hidden; isolation: isolate; background: radial-gradient(60% 60% at 50% 45%, #2a1210 0%, #08090d 70%); }
.nw-home__in { position: absolute; inset: 0; transform: rotateX(calc(var(--rx, 0deg) * 0.5)) rotateY(calc(var(--ry, 0deg) * 0.5)) scale(1.03); transition: transform 600ms var(--ease); }
.nw-home__deck { position: absolute; left: 50%; top: 52%; width: 30%; aspect-ratio: 9 / 16; transform: translate(-50%, -50%); }
.nw-home__deck .nw-c { animation: nwSwipe 9s cubic-bezier(.6,0,.2,1) infinite; animation-delay: var(--d); }
.nw-home__deck .nw-c__body { font-size: 11px; }
@keyframes nwSwipe {
  0% { transform: translateY(0) scale(1); opacity: 1; z-index: 3; }
  28% { transform: translateY(0) scale(1); opacity: 1; }
  33.3% { transform: translateY(-115%) rotateX(18deg); opacity: 0; }
  34% { transform: translateY(14%) scale(0.86); opacity: 0; }
  66.6% { transform: translateY(14%) scale(0.86); opacity: 0.5; }
  95% { transform: translateY(7%) scale(0.93); opacity: 0.8; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.nw-home__card { position: absolute; margin: 0; z-index: 3; }
.nw-home__card img { display: block; width: 100%; border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.08); }
.nw-home__card--tabs { width: 62%; left: 5%; top: 7%; }
.nw-home__card--bar { width: 56%; right: 5%; bottom: 7%; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nw-hero { grid-template-columns: 1fr; padding-top: calc(var(--nav-h) + 24px); gap: 28px; align-content: start; }
  .nw-deck { width: min(280px, 70vw); }
  .nw-try, .nw-reader, .nw-share { grid-template-columns: 1fr; }
  .nw-try__phone.iphone { width: min(300px, 78vw); }
  .nw-flap h2 { font-size: 24px; }
  .nw-home__deck { width: 36%; }
}
@media (prefers-reduced-motion: reduce) { .nw-home__deck .nw-c { animation: none; } .nw-belt__gate i { animation: none; } }
