/* Settled pages (top, contact, privacy; the profile follows privacy) brought in line with rules made later.
   2026-10-31, docs/design/site-review-20261031/. Loaded after each page's bundle; remove the link to undo.
   - No English labels (8-10px; the Japanese names carry the meaning), as on the lists and articles.
   - No numbers in the privacy table of contents (no order to show), as on the profile.
   - Cards: the soft shadow of the list and next-read cards, without the hard offset (decided 2026-10-30). */
.english,.page-card-english,.eyebrow,.detail-en{display:none}
.policy-toc li:before{content:none}
.face,.card-back,.page-card-face{box-shadow:0 1px 2px #080e1080,0 18px 28px -12px #10191da8}
.card:hover .face{box-shadow:0 1px 2px #080e1080,0 26px 34px -12px #10191db8}

/* Top (adopted 2026-10-31, docs/design/top-flip-20261031/): the flip control sits under the opened card. */
/* (above the clear photo button, which covers the whole card area) */
.detail-art #detail-back{position:relative;z-index:5;display:block;margin:16px auto 0;padding:6px 2px;border:0;border-bottom:1px solid #a6b39b66;background:none;color:#c9d2c3;font-size:12px;letter-spacing:.06em;cursor:pointer}
.detail-art #detail-back:hover{border-bottom-color:currentColor}
.detail-art #detail-back:focus-visible{outline:2px solid #c9d2c3;outline-offset:4px}
/* It appears with the text column, after the card has landed (the script reveals .detail-copy then), and it cannot
   be reached before that (the script keeps the text column inert until then; hidden does the same here). */
#detail #detail-back{opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity var(--niche-copy-in,.65s) ease,transform var(--niche-copy-move,.8s) var(--niche-easing),visibility 0s linear var(--niche-copy-in,.65s)}
#detail:has(.detail-copy.is-revealed) #detail-back{opacity:1;visibility:visible;transform:none;transition:opacity var(--niche-copy-in,.65s) ease,transform var(--niche-copy-move,.8s) var(--niche-easing),visibility 0s}
/* On close the script fades the text column first (close-stage=text, 180ms), then flies the card back (leaving).
   The button fades in that first step with the text, and cannot be pressed from then on.
   (#detail twice: it must win over the revealed rule above, which still holds during that first step.) */
#detail#detail:is([data-close-stage=text],[data-surface=leaving]) #detail-back{opacity:0;transform:none;visibility:hidden;pointer-events:none;transition:opacity var(--niche-content-out,180ms) ease-out,visibility 0s linear var(--niche-content-out,180ms)}
/* The text column keeps only the main link and the photo. */
.detail-actions:empty{display:none}
/* keep the space the moved buttons used to make above 写真を見る */
#detail .detail-actions:empty+.category-scene-trigger{margin-top:22px}
/* Top (adopted 2026-10-31, docs/design/top-gap-20261031/): on PC the photo record follows 写真を見る
   instead of sitting at the bottom of the card-high column (it left 228-337px empty). */
@media (min-width:601px){#detail .photo-record{margin-top:32px}}
