/* Web reading for members (/read/, /read/archive/, /read/account/, /read/example/, the full /i/<id>) and the sign-in
   page (/signin/). The engine renders the reader pages on top of the issue page's own styles (.i-*, api/issue-page.ts);
   this file adds the reader's parts (.r-*) and the sign-in page (.s-*). The look follows the app (ios/Techyon/Screens:
   Today's DateBlock and spread, Archive's tiles and red dot, Detail's reading styles, SourceModule, Feedback,
   NeighborCard, Settings' account rows). Design: docs/design/website.md, 「网页阅读（会员）」. */

/* Opened inside the iPhone app's browser (the page's head marks html.inapp): no sign-up or renew buttons to the website's
   checkout (App Store 3.1.1); membership starts in the app there */
.inapp .reader a[href^="/start/"], .inapp a.r-row[href^="/start/"] { display: none !important; }

body.reader { --red: #FF3B30; --danger: #C4291C; --wide: 1080px; --head-cjk: var(--sans); }
.reader .i-top, .reader .i-foot { max-width: var(--wide); }

/* —— headline face: Instrument Serif in English, the script's sans (medium) in Chinese, Japanese and Korean (Typo.head) —— */
.r-head, .reader h1.i-title, .r-card-title, .r-h, .r-src h2, .r-fb h2, .r-ahead h2 { font-family: var(--display); font-weight: 400; letter-spacing: -.01em; }
.reader:lang(zh) :is(.r-head, h1.i-title, .r-card-title, .r-h, .r-src h2, .r-fb h2, .r-ahead h2),
.reader:lang(ja) :is(.r-head, h1.i-title, .r-card-title, .r-h, .r-src h2, .r-fb h2, .r-ahead h2),
.reader:lang(ko) :is(.r-head, h1.i-title, .r-card-title, .r-h, .r-src h2, .r-fb h2, .r-ahead h2) { font-family: var(--sans); font-weight: 500; letter-spacing: 0; }
.mono-label { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }

/* —— top bar: mark (→ today), Archive, Account, language —— */
.r-top { gap: 6px; }
.r-nav { margin-left: auto; display: flex; gap: 2px; }
.r-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; font-size: 14px; color: var(--ink-2); text-decoration: none; transition: background .2s var(--ease), color .2s; }
.r-nav a:hover { color: var(--ink); background: rgba(13,13,12,.04); }
.r-nav a[aria-current] { color: var(--ink); background: rgba(13,13,12,.06); font-weight: 500; }
.r-top .i-lang { margin-left: 6px; }
@media (max-width: 520px) {
  .r-nav a { padding: 0 8px; }
  .r-top { gap: 0; }
}
/* Japanese names its two places in longer words (バックナンバー · アカウント): on a phone they take a second row under the mark
   and the language, so the header never runs off the screen */
@media (max-width: 440px) {
  .reader:lang(ja) .r-top { flex-wrap: wrap; height: auto; min-height: 64px; padding-top: 10px; padding-bottom: 2px; }
  .reader:lang(ja) .r-top .i-lang { margin-left: auto; }
  .reader:lang(ja) .r-nav { order: 3; flex-basis: 100%; margin: 0 0 0 -8px; }
}

/* —— the cover (shared) —— */
.reader .i-cov { box-shadow: var(--shadow-1); }
.i-cov > .i-art { display: block; aspect-ratio: 4 / 5; border-radius: inherit; } /* rounded itself: its blend layer isn't clipped by the frame's corners in Chrome */
/* 「样例」 on the cover (a lapsed reader's Today, where the label row is the status): plain words, as in the app */
.r-sample { position: absolute; z-index: 3; top: 16px; left: 18px; font-size: 13px; color: rgba(255,255,255,.85); }

/* —— Today —— */
.r-today { max-width: var(--wide); padding-top: 22px; }
.r-spread { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "date" "card" "title"; max-width: 440px; margin: 0 auto; }
.r-date { grid-area: date; display: flex; align-items: flex-end; gap: 14px; height: 72px; }
.r-date > b { font-family: var(--display); font-weight: 400; font-size: 86px; line-height: 1; letter-spacing: -.03em; margin-bottom: -13px; font-variant-numeric: lining-nums; }
.r-date > span { display: grid; gap: 3px; padding-bottom: 3px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); min-width: 0; }
.reader:lang(zh) .r-date > span, .reader:lang(ja) .r-date > span, .reader:lang(ko) .r-date > span { letter-spacing: .06em; font-size: 11px; }
.r-date-1 { display: flex; flex-wrap: wrap; gap: 0 8px; }
.r-date-1 strong { font-weight: 500; color: var(--ink); }
.r-date-1 em { font-style: normal; color: var(--ink-2); }
/* the second line's items (.i-items): month · sent, its "·" as wide as " · " in the line's own type */
.r-date-2 { --sep: calc(3ch + .42em); }
.reader:is(:lang(zh), :lang(ja), :lang(ko)) .r-date-2 { --sep: .88em; }
.r-card { grid-area: card; display: block; margin-top: 22px; color: inherit; text-decoration: none; border-radius: 22px; }
.r-card .i-cov { transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.r-card:hover .i-cov { transform: translateY(-3px); box-shadow: var(--shadow-2); }
.r-card-title { grid-area: title; font-size: 31px; line-height: 1.14; margin-top: 18px; text-wrap: balance; }
.reader:lang(zh) .r-card-title, .reader:lang(ja) .r-card-title, .reader:lang(ko) .r-card-title { font-size: 25px; line-height: 1.4; }
.r-card-title a { color: inherit; text-decoration: none; }
.r-card-title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: var(--line-2); }
.r-sameday { max-width: 440px; margin: 36px auto 0; display: grid; gap: 12px; }
@media (min-width: 900px) {
  .r-today { padding-top: 56px; }
  /* the open spread: the cover upright on the left page; the date at the top of the right page, the headline at its foot */
  .r-spread { max-width: none; grid-template-columns: minmax(0, 460px) minmax(0, 470px); grid-template-rows: auto 1fr; grid-template-areas: "card date" "card title"; column-gap: 72px; justify-content: center; }
  .r-card { margin-top: 0; }
  .r-date { height: 94px; gap: 18px; }
  .r-date > b { font-size: 112px; margin-bottom: -17px; }
  .r-date > span { font-size: 12.5px; gap: 5px; padding-bottom: 5px; }
  .r-card-title { align-self: end; font-size: 44px; line-height: 1.1; margin: 0; }
  .reader:lang(zh) .r-card-title, .reader:lang(ja) .r-card-title, .reader:lang(ko) .r-card-title { font-size: 32px; line-height: 1.38; }
  .r-sameday { max-width: 1002px; margin-top: 48px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
}

/* not a member: the app's first screen (ExampleToday): label row, the example's cover, title, one button, the quiet link */
.r-first .r-label { grid-area: date; align-self: end; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.r-first .r-card { margin-top: 14px; }
.r-first-end { grid-area: title; }
.r-first-end .r-card-title { margin-top: 18px; }
.r-first-end .i-btn { margin-top: 24px; }
.r-first-end .r-note { margin-top: 20px; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
@media (min-width: 900px) {
  .r-first .r-label { align-self: start; font-size: 14px; }
  .r-first .r-card { margin-top: 0; }
  .r-first-end { align-self: end; }
  .r-first-end .r-card-title { margin-top: 0; }
  .r-first-end .i-btn { display: inline-flex; padding: 0 36px; }
  .r-first-end .i-alt { display: inline-flex; margin-left: 20px; }
}

/* —— membership card (not a member) —— */
.r-pay { margin-top: 40px; padding: 24px; border-radius: 22px; background: var(--card); border: .5px solid var(--line); box-shadow: var(--shadow-1); }
.r-pay h2 { font-size: 13px; font-weight: 400; color: var(--ink-2); margin: 0 0 10px; }
.r-pay p { font-size: 16px; line-height: 1.6; color: var(--ink); margin: 0 0 22px; }
.r-pay p.r-state { font-weight: 500; margin-bottom: 8px; }

.r-pay .r-note { font-size: 14px; color: var(--ink-2); margin: 0; }

/* —— one issue in full —— */
.r-issue { max-width: 640px; }
.r-issue article { max-width: 580px; margin: 0 auto; }
.reader h1.i-title { font-size: clamp(32px, 7.4vw, 40px); line-height: 1.12; margin: 0; text-wrap: balance; }
/* Chinese, Japanese and Korean: titles and short lines break between words only (titles carry <wbr> between words) */
.reader:is(:lang(zh), :lang(ko)) :is(h1, h2, .r-card-title, .r-row b, .r-row small, .r-state, .r-label, .r-note, .r-pay p, .r-nb-txt em, .r-fb h2, .r-chip) { word-break: keep-all; overflow-wrap: anywhere; line-break: strict; }
.reader:lang(ja) :is(h1, h2, .r-card-title, .r-row b, .r-row small, .r-state, .r-label, .r-note, .r-pay p, .r-nb-txt em, .r-fb h2, .r-chip) { word-break: auto-phrase; overflow-wrap: anywhere; line-break: strict; }
.reader:lang(zh) h1.i-title, .reader:lang(ja) h1.i-title, .reader:lang(ko) h1.i-title { font-size: clamp(25px, 6.4vw, 30px); line-height: 1.4; }
.reader .i-meta { margin: 26px 0 12px; }
.r-meta-sample { text-transform: uppercase; letter-spacing: .12em; color: var(--ink-2); }
/* the key figure: on the cover already → a small note; otherwise the number, its caption and where it's from */
.r-fig-note { display: flex; gap: 7px; align-items: baseline; margin-top: 12px; font-size: 12.5px; line-height: 1.55; color: var(--ink-3); }
.r-fig { display: flex; gap: 18px; align-items: center; margin-top: 24px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.r-fig b { flex: none; font-family: var(--display); font-weight: 400; font-size: 64px; line-height: .9; letter-spacing: -.03em; }
.r-fig span { font-size: 15px; line-height: 1.5; }
.r-fig small { display: block; margin-top: 6px; font-size: 12px; color: var(--ink-3); }
/* reading: New York-like serif in English; the script's sans in CJK (ReadStyle) */
.r-lead, .r-body p { font-family: ui-serif, "New York", "Iowan Old Style", Georgia, serif; color: var(--ink); }
.r-lead { font-size: 21px; line-height: 1.52; letter-spacing: -.005em; margin-top: 26px; }
.r-body p { font-size: 18px; line-height: 1.62; margin-top: 14px; }
.reader:lang(zh) :is(.r-lead, .r-body p), .reader:lang(ja) :is(.r-lead, .r-body p), .reader:lang(ko) :is(.r-lead, .r-body p) { font-family: var(--sans); letter-spacing: 0; }
.reader:lang(zh) .r-lead, .reader:lang(ja) .r-lead, .reader:lang(ko) .r-lead { font-size: 19px; line-height: 1.72; }
.reader:lang(zh) .r-body p, .reader:lang(ja) .r-body p, .reader:lang(ko) .r-body p { font-size: 16.5px; line-height: 1.88; }
/* sources: cards */
.r-src { border-top: 0; padding-top: 0; margin-top: 44px; }
/* the heading names the list; the note beside it is not part of the heading's name (screen readers) */
.r-src-h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0 0 14px; }
.r-src h2 { font-size: 24px; text-transform: none; color: var(--ink); margin: 0; }
.reader:lang(zh) .r-src h2, .reader:lang(ja) .r-src h2, .reader:lang(ko) .r-src h2 { font-size: 19px; }
.r-src-note { font-family: var(--sans); font-size: 12px; letter-spacing: 0; color: var(--ink-3); font-weight: 400; margin: 0; }
.r-src a { position: relative; display: grid; gap: 6px; align-items: start; padding: 16px 44px 16px 18px; margin-top: 10px; border: .5px solid var(--line-2); border-bottom: .5px solid var(--line-2); border-radius: 20px; background: var(--card); transition: border-color .2s, box-shadow .25s var(--ease); }
.r-src a:hover { border-color: var(--ink-3); box-shadow: var(--shadow-1); }
.r-src a::after { content: "↗"; position: absolute; right: 18px; top: 15px; font-family: var(--mono); font-size: 13px; color: var(--ink-3); }
.r-src a span { min-width: 0; justify-self: start; font-family: var(--sans); font-size: 12px; font-weight: 500; color: var(--ink-3); } /* the kind as plain words, no capsule */
.r-src a em { font-size: 16px; font-weight: 600; line-height: 1.42; }

/* Source to you: the page's only dark block */
.r-ahead { margin: 44px auto 0; max-width: 580px; padding: 22px 22px 24px; border-radius: 22px; color: #fff;
  background: radial-gradient(400px 400px at 85% 0, #24318F 0, #0B0E26 48%, #05060B 100%); }
.r-ahead h2 { font-size: 23px; color: #fff; }
.reader:lang(zh) .r-ahead h2, .reader:lang(ja) .r-ahead h2, .reader:lang(ko) .r-ahead h2 { font-size: 18px; }
.r-ahead-n { margin-top: 14px; font-variant-numeric: tabular-nums; }
.r-ahead-n b { font-family: var(--display); font-weight: 400; font-size: 58px; line-height: 1; letter-spacing: -.02em; }
.r-ahead-n small { margin-left: 6px; font-family: var(--display); font-size: 30px; color: rgba(255,255,255,.62); }
.reader:lang(zh) .r-ahead-n small, .reader:lang(ja) .r-ahead-n small, .reader:lang(ko) .r-ahead-n small { font-family: var(--sans); font-size: 17px; font-weight: 500; }
.r-ahead-sub { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 4px; }
.r-ahead ol { position: relative; display: flex; justify-content: space-between; margin-top: 26px; padding-top: 22px; }
.r-ahead ol::before { content: ""; position: absolute; left: 5px; right: 5px; top: 5px; height: 2.5px; margin-top: -1px; border-radius: 2px; background: linear-gradient(90deg, rgba(111,132,255,0), rgba(111,132,255,.55), #9FB0FF); }
.r-ahead ol::after { content: ""; position: absolute; top: 3px; left: 5px; width: 42px; height: 6px; border-radius: 6px; background: linear-gradient(90deg, rgba(159,176,255,0), #fff); opacity: 0; animation: tachyon 1.6s cubic-bezier(.16,1,.3,1) .4s 1 both; } /* crosses once, as in the app */
@keyframes tachyon { 0% { left: 5px; opacity: 0; } 8% { opacity: 1; } 70% { opacity: 1; } 78%, 100% { left: calc(100% - 47px); opacity: 0; } }
.r-ahead li { position: relative; display: grid; gap: 2px; font-size: 12.5px; color: rgba(255,255,255,.6); }
.r-ahead li:last-child { text-align: right; }
.r-ahead li::before { content: ""; position: absolute; top: -22px; left: 0; width: 11px; height: 11px; border-radius: 50%; box-sizing: border-box; background: #05060B; border: 1.5px solid rgba(255,255,255,.75); }
.r-ahead li:last-child::before { left: auto; right: 0; background: #9FB0FF; border: 0; box-shadow: 0 0 0 4px rgba(111,132,255,.25), 0 0 14px rgba(159,176,255,.8); }
.r-ahead li time { font-family: var(--mono); font-size: 14px; color: #fff; font-variant-numeric: tabular-nums; }
.r-ahead li em { font-style: normal; }

/* Was this useful? */
.r-fb { margin: 44px auto 0; max-width: 580px; }
.r-fb h2 { font-size: 24px; }
.reader:lang(zh) .r-fb h2, .reader:lang(ja) .r-fb h2, .reader:lang(ko) .r-fb h2 { font-size: 19px; }
.r-fb > div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.r-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 .5px var(--line-2), inset 0 0 0 1px var(--line); font-size: 14px; font-weight: 500;
  transition: background .2s, color .2s, transform .3s var(--spring); }
.reader:lang(zh) .r-chip, .reader:lang(ja) .r-chip, .reader:lang(ko) .r-chip { font-size: 14.5px; }
.r-chip:hover { background: var(--bg-2); }
.r-chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); box-shadow: none; transform: scale(1.03); }
.r-chip[disabled] { opacity: .6; }
.r-thanks { margin-top: 12px; font-size: 12.5px; color: var(--ink-3); }

/* the end: the mark, Share, the issues on either side, the footnote */
.r-end { max-width: 580px; margin: 44px auto 0; padding-top: 44px; border-top: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; text-align: center; }
.r-mark svg { width: 30px; height: 30px; }
.reader .r-share { display: inline-flex; align-items: center; justify-content: center; gap: 10px; margin-top: 24px; min-height: 48px; padding: 0 26px; border: 0; cursor: pointer; font: 500 15px/1.2 var(--sans);
  background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .25s var(--ease); }
.reader .r-share:hover { background: rgba(13,13,12,.04); }
.r-share::before { content: ""; width: 15px; height: 17px; margin-top: -3px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 17' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.5 1v10M3.8 4.6 7.5 1l3.7 3.6M4.5 7.5H2.6A1.6 1.6 0 0 0 1 9.1v5.3A1.6 1.6 0 0 0 2.6 16h9.8a1.6 1.6 0 0 0 1.6-1.6V9.1a1.6 1.6 0 0 0-1.6-1.6h-1.9'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 17' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.5 1v10M3.8 4.6 7.5 1l3.7 3.6M4.5 7.5H2.6A1.6 1.6 0 0 0 1 9.1v5.3A1.6 1.6 0 0 0 2.6 16h9.8a1.6 1.6 0 0 0 1.6-1.6V9.1a1.6 1.6 0 0 0-1.6-1.6h-1.9'/%3E%3C/svg%3E") center / contain no-repeat; }
.r-nb { align-self: stretch; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 36px; text-align: left; }
.r-nb.one { grid-template-columns: minmax(0, 1fr); max-width: 290px; justify-self: center; margin-left: auto; margin-right: auto; width: 100%; }
.r-nb-card { display: block; padding: 14px; border-radius: 18px; background: var(--card); border: .5px solid var(--line); color: inherit; text-decoration: none; transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease); }
.r-nb-card:hover { border-color: var(--line-2); box-shadow: var(--shadow-1); transform: translateY(-1px); }
.r-nb-side { display: block; font-size: 12.5px; font-weight: 500; color: var(--ink-2); }
.r-nb-card.next .r-nb-side { text-align: right; }
.r-nb-row { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; }
.r-thumb { flex: none; width: 44px; height: 55px; border-radius: 8px; overflow: hidden; background: linear-gradient(160deg, #2238C8, #0B1450); }
.r-thumb img { width: 100%; height: 100%; object-fit: cover; }
.r-nb-txt { display: grid; gap: 4px; min-width: 0; }
.r-nb-date { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-nb-txt em { font-style: normal; font-size: 14px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.r-foot { margin-top: 32px; font-size: 11px; color: var(--ink-3); }
.r-toast { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); transform: translate(-50%, 12px); padding: 11px 18px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s var(--ease); z-index: 10; }
.r-toast.on { opacity: 1; transform: translate(-50%, 0); }
.r-issue .r-pay { max-width: 580px; margin: 44px auto 0; }
@media (max-width: 420px) {
  .r-nb { grid-template-columns: minmax(0, 1fr); }
  .r-fig b { font-size: 52px; }
}

/* —— Archive —— */
.r-archive { max-width: var(--wide); }
.r-h { font-size: 46px; line-height: 1.05; margin: 14px 0 6px; }
.reader:lang(zh) .r-h, .reader:lang(ja) .r-h, .reader:lang(ko) .r-h { font-size: 34px; line-height: 1.3; }
.r-month h2 { display: flex; align-items: baseline; gap: 8px; margin: 30px 0 12px; font-size: 14px; font-weight: 500; }
.r-month h2 small { font-size: 12.5px; font-weight: 400; color: var(--ink-3); }
.r-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
@media (min-width: 600px) { .r-wall { grid-template-columns: repeat(auto-fill, minmax(156px, 1fr)); gap: 12px; } }
.r-tile { position: relative; display: block; aspect-ratio: 1; border-radius: 16px; color: #fff; text-decoration: none; transition: transform .3s var(--ease); }
.r-tile:hover { transform: scale(.975); }
.r-tile .i-cov { position: absolute; inset: 0; border-radius: 16px; box-shadow: none; }
.r-tile .i-cover, .r-tile .i-type { width: 100%; height: 100%; aspect-ratio: auto; }
.r-tile .i-kw, .r-tile .i-scrim { display: none; }
.r-tile::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60px; border-radius: 0 0 16px 16px; background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.5)); pointer-events: none; }
.r-tile-date { position: absolute; z-index: 1; left: 10px; right: 8px; bottom: 5px; display: flex; align-items: baseline; gap: 6px; text-shadow: 0 0 6px rgba(0,0,0,.35); }
.r-tile-date b { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1; }
.r-tile-date > span { display: grid; font-family: var(--mono); font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.88); white-space: nowrap; overflow: hidden; }
.r-tile-date i { font-style: normal; }
.r-tile.today { outline: 2px solid var(--ink); outline-offset: 3px; }
/* not opened yet: a small red dot in the top-right corner, with a thin dark ring so it reads on a light cover */
.r-dot { position: absolute; z-index: 1; top: 9px; right: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--red); box-shadow: inset 0 0 0 1px rgba(0,0,0,.45); }

/* —— Account —— */
.r-account { max-width: 640px; }
.r-account .r-h { margin-bottom: 20px; }
.r-box { margin-top: 16px; border-radius: 18px; background: var(--card); border: .5px solid var(--line); overflow: hidden; }
.r-box h2 { padding: 15px 18px 0; font-family: var(--mono); font-weight: 400; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.reader:lang(zh) .r-box h2, .reader:lang(ja) .r-box h2, .reader:lang(ko) .r-box h2 { letter-spacing: .06em; font-size: 11px; }
.r-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; padding: 12px 18px; color: inherit; text-decoration: none; text-align: left; }
.r-row + .r-row, .r-box .r-state + .r-row { border-top: .5px solid var(--line); }
.r-row > span:not(.r-ico):not(.r-chev) { display: grid; gap: 2px; min-width: 0; }
.r-row b { font-size: 15.5px; font-weight: 500; }
.r-row small { font-size: 13.5px; color: var(--ink-3); overflow-wrap: anywhere; }
.r-row.link:hover, .r-act:hover { background: rgba(13,13,12,.03); }
.r-chev { margin-left: auto; font-size: 22px; line-height: 1; color: var(--ink-3); }
.r-ico { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 14px; }
.r-ico svg { width: 13px; height: 15px; margin-top: -2px; }
.r-ico.mail svg { width: 14px; height: 11px; margin-top: 0; }
.r-box .r-state { padding: 0 18px 12px; font-size: 14px; font-weight: 500; }
.r-act { font-size: 15.5px; cursor: pointer; }
.r-act[disabled] { opacity: .55; cursor: default; }
.r-danger summary { list-style: none; cursor: pointer; }
.r-danger summary b { color: var(--danger); font-weight: 400; }
.r-danger summary small { font-size: 12.5px; }
.r-danger summary:hover { background: rgba(13,13,12,.03); }
.r-danger details[open] summary small { display: none; }
.r-danger p b { font-weight: 500; color: var(--ink); }
.r-danger summary::-webkit-details-marker { display: none; }
.r-danger details[open] summary { border-bottom: .5px solid var(--line); }
.r-danger p { padding: 16px 18px 0; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.r-confirm { padding: 16px 18px 18px; display: flex; justify-content: flex-end; }
.r-del { min-height: 44px; padding: 0 22px; border-radius: 999px; background: var(--danger); color: #fff; font-weight: 500; }
.r-del[disabled] { opacity: .55; }
.r-err { margin-top: 14px; font-size: 14px; color: var(--danger); }
.r-empty { margin: 40px 0 20px; font-size: 15px; color: var(--ink-3); }

/* —— Sign in (/signin/) —— */
.signin { min-height: 0; }
.s-main { max-width: 440px; margin: 0 auto; padding: max(40px, 9vh) 24px 64px; min-height: calc(100vh - 64px - 160px); }
.s-main #notice { margin: 0 0 24px; }
.s-main h1 { text-wrap: balance; margin: 0 0 10px; font-family: var(--display); font-weight: 400; font-size: 52px; line-height: 1.02; letter-spacing: -.015em; }
.cjk .s-main h1 { font-family: var(--sans); font-weight: 600; font-size: 34px; line-height: 1.3; letter-spacing: 0; }
.s-line { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); margin: 0 0 30px; }
.s-label { display: block; margin: 0 0 8px; font-size: 13px; color: var(--ink-2); }
.s-input { display: block; } /* the one field (base.css) */
.s-code { font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.s-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; margin-top: 14px; border-radius: 999px; background: var(--ink); color: var(--bg); font-size: 16px; font-weight: 500;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 10px 24px -12px rgba(13,13,12,.6); transition: background-color .25s var(--ease), opacity .2s, filter .12s; }
.s-btn:hover { background-color: #262624; }
.s-btn:active { filter: brightness(.88); }
.s-btn[disabled] { opacity: .5; pointer-events: none; }
.s-btn.busy::after, .s-apple.busy::after { content: ""; width: 14px; height: 14px; margin-left: 10px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.s-sent { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin: 0 0 22px; }
.s-sent b { color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.s-row { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; }
.s-link { min-height: 44px; font-size: 15px; color: var(--ink-2); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.s-link:hover { color: var(--ink); }
.s-err { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: var(--danger-bg); color: var(--danger-ink); font-size: 14px; line-height: 1.5; }
.s-or { display: flex; align-items: center; gap: 14px; margin: 26px 0 16px; font-size: 13px; color: var(--ink-3); }
.s-or::before, .s-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.s-apple { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; min-height: 54px; border-radius: 999px; background: #000; color: #fff; font-size: 16px; font-weight: 500; }
.s-apple svg { width: 15px; height: 18px; margin-top: -3px; }
.s-start { display: block; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); text-align: center; font-size: 15px; line-height: 44px; color: var(--ink-2); text-decoration: none; }
.s-start b { font-weight: 400; }
.s-start span { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
