/* iKaru's page (/ikaru/, src/en/ikaru/index.html), in the app's own design (Ludovic, 2026-11-17).
   What is the app's: the night sky and the engraved globe of its landing (06_app/ikage-web/art/skins), the cream cards
   with a gilt border of its chooser, the brass medallions of its globe, the cabin and its ink plates (CabinTag), the
   parchment and its inks (native/App/Parchment.swift: paper EFE3C8, ink 3A2A1C, sanguine 8E3B26, iron gall 6B5843), the
   plate of the lineage view (HetzelPlate.swift, ikage-web/hetzel.css: red cloth 7A1C19, gilt E2BD62, double rule,
   hatched corners), and its faces: Baskerville for reading, Didot for the name (Typography.swift). No font is fetched:
   the stacks name the system faces the app itself falls back on (ikage-web/hetzel.css).
   Three states: without scripts (html.no-js or no .ikr-js) and in the calm state (.ikr-calm: reduced motion or no
   WebGL 2) the page reads top to bottom with still pictures; in the live state (.ikr-live) one stage stays on screen
   behind the text and goes down the app's four levels (assets/js/ikaru.js). The menu's kit for this space (palette,
   glyph) stays in style.css. The fourth round's rules (2026-11-19, phones first) stand together at the end. */

.ikr {
  --ik-night: #0B1838; --ik-night-2: #14306A; --ik-gilt: #C9A24A; --ik-gilt-hi: #EDD185; --ik-brass: #D9B45A;
  --ik-paper: #EFE3C8; --ik-paper-hi: #FBF3DC; --ik-cream: #F6EBCF; --ik-ink: #2E2014; --ik-ink-2: #6B5843; --ik-sanguine: #8E3B26;
  --ik-cloth: #7A1C19; --ik-cloth-dark: #4E100E; --ik-hz-gilt: #E2BD62; --ik-hz-gilt-dark: #9C7A2E;
  --ik-serif: Baskerville, "Baskerville Old Face", "Libre Baskerville", "Iowan Old Style", "Hoefler Text", "Noto Serif", Georgia, serif;
  --ik-display: Didot, "Bodoni 72", "Bodoni MT", "Didot LT STD", Baskerville, "Iowan Old Style", "Noto Serif", Georgia, serif;
  --ik-fibre: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='320' height='320'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9 0.08' numOctaves='2' seed='7'/%3E%3CfeColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.25 0 0 0 0 0.12 0 0 0 0.11 0'/%3E%3C/filter%3E%3Crect width='320' height='320' filter='url(%23f)'/%3E%3C/svg%3E");
  --ik-hatch: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='7' height='7'%3E%3Cpath d='M-1 8L8 -1M-1 1L1 -1M6 8L8 6M-1 -1L8 8M6 -1L8 1M-1 6L1 8' stroke='%23241a12' stroke-opacity='.3' stroke-width='.6'/%3E%3C/svg%3E");
  --ik-pad: clamp(1rem, 4.5vw, 5rem);
  background: var(--ik-night); color: var(--ik-cream);
}
.ikr-main { overflow-x: clip; position: relative; font-family: var(--ik-serif); font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.22rem); line-height: 1.5; font-variation-settings: normal; }
.ikr-main p { max-width: 60ch; }
.ikr-main h1, .ikr-main h2, .ikr-main h3 { font-family: var(--ik-serif); font-weight: 600; }
.ikr-defs { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.ikr-main :focus-visible { outline: 2px solid var(--ik-gilt-hi); outline-offset: 3px; border-radius: 3px; }
.ikr-sheet :focus-visible, .ikr-card :focus-visible { outline-color: var(--ik-sanguine); }
.ikr-main [tabindex="-1"]:focus { outline: none; }

/* The stage --------------------------------------------------------------------------------------------------- */
.ikr-stage { position: fixed; inset: 0; z-index: 0; overflow: hidden; contain: strict; background: var(--ik-night); }
.ikr-sky { position: absolute; inset: -3%; background: radial-gradient(120% 90% at 60% 45%, rgb(11 24 56 / 0) 30%, rgb(6 13 34 / 0.78) 100%), url("/assets/ikaru/sky.webp?v=4ef2ef8ef0") center / cover no-repeat; will-change: transform, opacity; }
.ikr-stage > :not(.ikr-sky) { display: none; }
.ikr-live .ikr-stage > :not(.ikr-sky) { display: block; }
.ikr-live .ikr-stage.asleep { display: none; }
.ikr-rig { position: absolute; left: 0; top: 0; width: 100px; height: 100px; transform-origin: 50% 50%; will-change: transform, opacity; pointer-events: none; }
.ikr-lines { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; overflow: visible; }
.ikr-rh { fill: none; stroke: var(--ik-gilt); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2.2s cubic-bezier(0.34, 0.22, 0.47, 0.84); }
.ikr-rh-a { stroke-opacity: 0.5; } .ikr-rh-b { stroke-opacity: 0.26; } .ikr-rh-c { stroke: #D98A6C; stroke-opacity: 0.2; }
.ikr-w1 { transition-delay: 0.1s; } .ikr-w2 { transition-delay: 0.2s; } .ikr-w3 { transition-delay: 0.3s; } .ikr-w4 { transition-delay: 0.42s; } .ikr-w5 { transition-delay: 0.55s; } .ikr-w6 { transition-delay: 0.7s; } .ikr-w7 { transition-delay: 0.85s; }
.ikr-rose { fill: var(--ik-gilt); fill-opacity: 0.75; opacity: 0; transition: opacity 0.8s 1.6s; }
.ikr-limb { opacity: 0; transform: rotate(-24deg) scale(1.08); transform-origin: 0 0; transition: opacity 1.2s 0.9s, transform 2.4s 0.6s cubic-bezier(0.19, 1, 0.22, 1); }
.ikr-limb-line { fill: none; stroke: var(--ik-gilt); stroke-opacity: 0.55; stroke-width: 1; vector-effect: non-scaling-stroke; }
.ikr-limb-deg { fill: none; stroke: var(--ik-gilt); stroke-opacity: 0.6; stroke-width: 9; stroke-dasharray: 0.18 0.82; }
.ikr-limb-ten { fill: none; stroke: var(--ik-gilt-hi); stroke-opacity: 0.8; stroke-width: 17; stroke-dasharray: 0.02 0.98; }
.ikr-limb-north { fill: var(--ik-gilt-hi); }
[data-ikr-intro="drawn"] .ikr-rh, [data-ikr-intro="ready"] .ikr-rh { stroke-dashoffset: 0; }
[data-ikr-intro="drawn"] .ikr-rose, [data-ikr-intro="ready"] .ikr-rose { opacity: 1; }
[data-ikr-intro="drawn"] .ikr-limb, [data-ikr-intro="ready"] .ikr-limb { opacity: 1; transform: none; }
[data-ikr-intro="ready"] .ikr-rh, [data-ikr-intro="ready"] .ikr-rose, [data-ikr-intro="ready"] .ikr-limb { transition: none; }
.ikr-globe { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; cursor: grab; opacity: 0; transition: opacity 1.2s 0.5s; pointer-events: none; }
[data-ikr-intro="drawn"] .ikr-globe, [data-ikr-intro="ready"] .ikr-globe { opacity: 1; }
.ikr-globe.hot { pointer-events: auto; }
.ikr-globe.grabbing { cursor: grabbing; }
/* the ring of words: letters on a circle about the globe's axis, seen without perspective like the globe itself */
.ikr-orbit { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s; }
[data-ikr-intro="ready"] .ikr-orbit { opacity: 1; }
.ikr-orbit.swap { opacity: 0; transition-duration: 0.25s; }
.ikr-orbit-ring { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; font-family: var(--ik-serif); font-weight: 600; color: var(--ik-gilt-hi); will-change: transform; }
.ikr-orbit-ring span { position: absolute; left: -0.5em; top: -0.6em; width: 1em; height: 1.2em; line-height: 1.2; text-align: center; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.ikr-orbit-back .ikr-orbit-ring { color: #B9975A; }
.ikr-roomhold, .ikr-deskhold { position: absolute; inset: 0; opacity: 0; visibility: hidden; will-change: opacity, transform; overflow: hidden; }
.ikr-roomhold.on, .ikr-deskhold.on { visibility: visible; }
.ikr-desk { position: absolute; left: 0; top: 0; max-width: none; transform-origin: 50% 50%; will-change: transform; }

/* The room: sea, room with its glass cut out, night, lantern, things, plate ------------------------------------------- */
.ikr-room { position: relative; display: block; aspect-ratio: 768 / 1376; width: 100%; overflow: hidden; background: linear-gradient(#AEC3D4 0 46%, #47717E 46.2% 100%); isolation: isolate; }
.ikr-roomhold .ikr-room { position: absolute; left: 0; top: 0; aspect-ratio: auto; transform-origin: 50% 50%; will-change: transform; }
.ikr-room > * { position: absolute; }
.ikr-sea { overflow: hidden; z-index: 0; }
.ikr-sea-shift { position: absolute; inset: 0; will-change: transform; }
.ikr-sea-img { position: absolute; left: -6%; top: -4%; width: 112%; height: 108%; max-width: none; object-fit: cover; }
.ikr-room.awake .ikr-sea-img { animation: ikr-sea 19s ease-in-out infinite alternate; }
@keyframes ikr-sea { from { transform: translate3d(-2.4%, 0.6%, 0) scale(1.02); } to { transform: translate3d(2.4%, -0.6%, 0) scale(1.05); } }
.ikr-room-img { inset: 0; width: 100%; height: 100%; max-width: none; z-index: 1; }
.ikr-night { inset: 0; z-index: 2; background: radial-gradient(60% 34% at 50.3% 39.9%, rgb(255 190 110 / 0.16), rgb(8 14 40 / 0.5) 62%, rgb(6 10 30 / 0.66)); opacity: 0; pointer-events: none; }
.ikr-room[data-hour="dusk"] .ikr-night { opacity: 0.55; }
.ikr-room[data-hour="night"] .ikr-night { opacity: 1; }
.ikr-lantern { z-index: 3; pointer-events: none; }
.ikr-lantern::before { content: ""; position: absolute; left: -90%; top: -55%; width: 280%; height: 210%; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 214 140 / 0.6), rgb(255 170 70 / 0.22) 45%, rgb(255 170 70 / 0)); mix-blend-mode: screen; }
.ikr-room.awake .ikr-lantern::before { animation: ikr-flame 3.1s steps(7) infinite; }
@keyframes ikr-flame { 0% { opacity: 0.86; } 20% { opacity: 1; } 35% { opacity: 0.78; } 55% { opacity: 0.95; } 70% { opacity: 0.84; } 100% { opacity: 0.92; } }
/* the room's running life (the web edition's /ikage/cabin_life.js, through assets/js/ikaru-life.js) */
.ik-life { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.ikr-dim { inset: 0; z-index: 4; background: rgb(12 8 4 / 0.34); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.ikr-room.lit .ikr-dim { opacity: 1; }
.ikr-thing { z-index: 5; display: none; cursor: pointer; }
.ikr-js .ikr-thing { display: block; }
.ikr-thing img { width: 100%; height: 100%; max-width: none; opacity: 0; transition: opacity 0.22s; filter: brightness(1.3) saturate(1.08) drop-shadow(0 0 3px rgb(255 226 160)) drop-shadow(0 0 12px rgb(255 176 72 / 0.9)); pointer-events: none; }
.ikr-thing.on img, .ikr-thing.glint img { opacity: 1; }
.ikr-plate { z-index: 7; margin: 0; padding: 0.42em 0.8em 0.46em; max-width: 14em; background: #1A120A; color: #F4E9CF; border: 1px solid var(--ik-gilt); box-shadow: 0 0 0 2px #1A120A, 0 0 0 3px rgb(201 162 74 / 0.5), 0 0.6rem 1.4rem rgb(0 0 0 / 0.5); font-size: 0.92rem; line-height: 1.2; pointer-events: none; transform: translate(-50%, -100%); white-space: nowrap; }
.ikr-plate[hidden] { display: none; }
.ikr-plate b { display: block; font-variant: small-caps; letter-spacing: 0.08em; font-weight: 600; }
.ikr-plate span { font-style: italic; color: var(--ik-gilt-hi); }

/* Chapters over the stage ------------------------------------------------------------------------------------------- */
/* (style.css paints every section[data-theme]; these three kinds of section take their ground from here) */
.ikr section.ikr-ch { background: none; color: var(--ik-cream); }
.ikr-ch { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 31rem) minmax(0, 1fr); column-gap: 4vw; align-items: start; padding: 0 var(--ik-pad); }
.ikr-live .ikr-ch { pointer-events: none; }
.ikr-live .ikr-ch > * { pointer-events: auto; }
.ikr-live .ikr-ch > .ikr-slot { pointer-events: none; }
.ikr-slot { grid-column: 2; grid-row: 1 / span 3; min-width: 0; }
.ikr-live .ikr-slot-side { height: 100vh; height: 100svh; }
.ikr-live .ikr-fig { display: none; }
.ikr-fig { margin: 0; }

.ikr-card { position: relative; grid-column: 1; padding: clamp(1.3rem, 2.4vw, 2.1rem) clamp(1.2rem, 2.4vw, 2.2rem); color: var(--ik-ink); background: var(--ik-fibre), radial-gradient(120% 90% at 30% 10%, var(--ik-paper-hi), #F1E3BF 70%, #E7D4A6); border: 2px solid var(--ik-brass); border-radius: 14px; box-shadow: inset 0 0 0 1px rgb(255 248 225 / 0.7), 0 0 0 1px rgb(60 40 10 / 0.5), 0 1.6rem 3.4rem -1.4rem rgb(0 0 0 / 0.75); }
.ikr-card p { margin: 0 0 0.85em; }
.ikr-card > :last-child { margin-bottom: 0; }
.ikr-note { font-size: 0.9em; font-style: italic; color: var(--ik-ink-2); }
.ikr-h { display: block; font-size: clamp(2rem, 1.5rem + 2vw, 3.1rem); line-height: 1.02; letter-spacing: -0.005em; font-weight: 600; text-wrap: balance; }
.ikr-h > i { display: block; margin-bottom: 0.25em; font: italic 400 0.42em/1 var(--ik-serif); letter-spacing: 0.16em; color: var(--ik-sanguine); }
.ikr-h [data-ikr-spring] { display: inline-block; }
.ikr-h .ikr-l { display: inline-block; will-change: transform; }
.ikr-h-plain { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin-bottom: 0.7em; font-style: italic; font-weight: 400; }
/* the thread under a heading: Ariadne's, sanguine; it can be plucked */
.ikr-thread { width: 100%; height: 2.2rem; margin: -0.35rem 0 0.25rem; overflow: visible; touch-action: pan-y; }
.ikr-thread path { fill: none; stroke: var(--ik-sanguine); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linecap: round; }
.ikr-lead::first-line { font-variant: small-caps; letter-spacing: 0.04em; }
.ikr-drop::first-letter { float: left; margin: 0.06em 0.09em 0 0; font: 400 3.7em/0.78 var(--ik-display); color: var(--ik-sanguine); }

/* The frontispiece */
.ikr-front { grid-template-rows: 1fr auto auto 1fr; min-height: 100vh; min-height: 100svh; padding-top: 5.5rem; padding-bottom: 2rem; }
.ikr-front-head { grid-column: 1; grid-row: 2; }
.ikr-front-foot { grid-column: 1; grid-row: 3; margin-top: clamp(1.2rem, 3vh, 2.4rem); }
.ikr-front .ikr-slot { grid-row: 1 / span 4; align-self: stretch; display: grid; place-items: center; }
/* the app's banner over the globe: the world's name and its motto; it turns over when the world changes */
/* (its words are kept on the paper: assets/js/ikaru-banner.js measures their ink and sets --fit and --dy; the sizes here,
   in shares of the banner's width, already fit the house faces for a page without scripts) */
.ikr-worldname { position: relative; container-type: inline-size; grid-column: 2; grid-row: 1; align-self: start; justify-self: center; z-index: 1; display: grid; place-content: center; justify-items: center; width: min(22rem, 72%); aspect-ratio: 1100 / 267; margin: -1.4rem 0 0; max-width: none !important; background: url("/assets/ikaru/banner.webp?v=c7ed04e432") center / 100% 100% no-repeat; color: var(--ik-ink); text-align: center; line-height: 1; transition: transform 0.17s ease-in; }
.ikr-worldname.turn { transform: perspective(40rem) rotateX(86deg); }
.ikr-worldname > *, .ikr-banner > * { white-space: nowrap; translate: 0 var(--dy, 0px); }
.ikr-worldname b { font: 700 calc(6.4cqi * var(--fit, 1))/1 var(--ik-display); letter-spacing: 0.03em; }
.ikr-worldname i { margin-top: calc(0.6cqi * var(--fit, 1)); font-size: calc(3.5cqi * var(--fit, 1)); line-height: 1; color: var(--ik-sanguine); }
.ikr-status { display: inline-block; margin: 0 0 0.9rem; padding: 0.18em 0.9em 0.24em; border: 1px solid rgb(201 162 74 / 0.7); border-radius: 99px; font-style: italic; font-size: 0.92em; color: var(--ik-gilt-hi); }
.ikr-wordmark { font-family: var(--ik-display) !important; font-style: italic; font-weight: 700 !important; font-size: clamp(4.6rem, 3rem + 9vw, 10.5rem); line-height: 0.86; letter-spacing: -0.012em; color: var(--ik-cream); text-shadow: 0 0.04em 0.5em rgb(4 10 30 / 0.6); }
.ikr-tagline { margin: 0.5em 0 0; font-size: clamp(1.25rem, 1rem + 1.1vw, 1.75rem); line-height: 1.25; font-style: italic; color: var(--ik-cream); max-width: 24ch; text-wrap: balance; }
.ikr-eyes { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 0.7rem; max-width: 27rem; }
.ikr-eyes legend { padding: 0; margin-bottom: 0.8rem; font-size: 1.08em; line-height: 1.3; color: var(--ik-cream); max-width: 24ch; text-wrap: balance; }
.ikr-eye { position: relative; display: block; }
.ikr-eye input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: var(--hand, pointer); }
.ikr-eye-card { display: grid; grid-template-columns: 2.6rem 1fr; column-gap: 0.9rem; align-items: center; padding: 0.7rem 1rem 0.78rem; color: var(--ik-ink); background: var(--ik-fibre), linear-gradient(var(--ik-paper-hi), #F2E4BE); border: 2px solid var(--ik-brass); border-radius: 12px; box-shadow: 0 0.9rem 2rem -1rem rgb(0 0 0 / 0.7); opacity: 0.74; transition: opacity 0.25s, box-shadow 0.25s, transform 0.25s; }
.ikr-eye-icon { grid-row: 1 / span 2; width: 2.6rem; height: 2.6rem; color: #B8862B; }
.ikr-eye-card b { font-weight: 600; font-size: 1.12em; line-height: 1.15; }
.ikr-eye-card span { font-size: 0.93em; line-height: 1.25; color: #4F3C29; }
.ikr-eye input:checked + .ikr-eye-card { opacity: 1; box-shadow: 0 0 0 3px rgb(237 209 133 / 0.55), 0 0 1.8rem rgb(237 209 133 / 0.28), 0 0.9rem 2rem -1rem rgb(0 0 0 / 0.7); }
.ikr-eye input:hover + .ikr-eye-card { opacity: 1; transform: translateY(-1px); }
.ikr-eye input:focus-visible + .ikr-eye-card { outline: 2px solid var(--ik-gilt-hi); outline-offset: 3px; }
.ikr-own { margin: 1.1rem 0 0; max-width: 46ch; font-size: 0.88em; line-height: 1.4; font-style: italic; color: rgb(246 235 207 / 0.78); }
.ikr-own-ink { color: var(--ik-ink-2); }
.ikr-coach { display: none; }
.ikr-live .ikr-coach { display: flex; align-items: center; gap: 0.5rem; grid-column: 2; grid-row: 4; align-self: end; justify-self: center; margin: 0; padding: 0.25rem 0.35rem; border-radius: 99px; background: rgb(6 13 34 / 0.62); font-style: italic; font-size: 0.95em; color: rgb(246 235 207 / 0.9); text-align: center; }
.ikr-coach p { margin: 0; max-width: none; }
/* the globe turned without a pointer: two small brass keys beside the hint */
.ikr-turn { flex: none; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; padding: 0; border-radius: 50%; border: 1px solid rgb(201 162 74 / 0.7); background: rgb(11 24 56 / 0.6); color: var(--ik-gilt-hi); cursor: var(--hand, pointer); transition: background 0.2s; }
.ikr-turn:hover { background: rgb(201 162 74 / 0.28); }
.ikr-turn svg { width: 1.1rem; height: 1.1rem; }
.ikr-still-globe { width: min(100%, 34rem, 62vh); height: auto; border-radius: 50%; box-shadow: 0 0 0 1px rgb(201 162 74 / 0.6), 0 0 0 0.7rem rgb(11 24 56 / 0.6), 0 0 0 calc(0.7rem + 1px) rgb(201 162 74 / 0.5), 0 2rem 5rem rgb(0 0 0 / 0.6); }

/* The preface (about, contents), the world */
.ikr-preface { padding-top: 8vh; padding-bottom: 12vh; }
.ikr-live .ikr-preface { min-height: 125vh; }
.ikr-card-wide { max-width: 36rem; }
.ikr-world { padding-top: 6vh; }
.ikr-live .ikr-world { min-height: 190vh; }
.ikr-lands { margin: 1.1rem 0; }
.ikr-lands[hidden] { display: none; }
.ikr-lands-name { display: flex; align-items: baseline; gap: 0.7em; margin: 0 0 0.5rem !important; }
.ikr-lands-name b { font: 700 italic 1.5em/1 var(--ik-display); }
.ikr-lands-name i { color: var(--ik-sanguine); }
.ikr-lands ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.35rem 0.9rem; }
.ikr-lands li { display: grid; grid-template-columns: 2.3rem 1fr; align-items: center; gap: 0.6rem; font-variant: small-caps; letter-spacing: 0.05em; font-weight: 600; font-size: 0.95em; line-height: 1.1; }
.ikr-lands img { width: 2.3rem; height: 2.3rem; }
.ikr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; min-height: 2.75rem; padding: 0.3em 1.3em 0.38em; font: 600 1rem/1.1 var(--ik-serif); color: var(--ik-ink); background: linear-gradient(#F6DC8E, var(--ik-brass) 60%, #C79A3C); border: 1px solid #7C5E1B; border-radius: 99px; box-shadow: inset 0 1px 0 rgb(255 250 225 / 0.75), 0 0.5rem 1.2rem -0.5rem rgb(0 0 0 / 0.6); text-decoration: none; cursor: var(--hand, pointer); transition: filter 0.2s, transform 0.2s; }
.ikr-btn:hover { filter: brightness(1.07); transform: translateY(-1px); }
.ikr-btn[aria-pressed="true"] { background: radial-gradient(ellipse at 40% 30%, var(--ik-cloth), var(--ik-cloth-dark)); color: var(--ik-hz-gilt); border-color: var(--ik-hz-gilt-dark); box-shadow: inset 0 0 0 2px var(--ik-cloth-dark), inset 0 0 0 3px var(--ik-hz-gilt-dark); }

/* The territory */
.ikr-territory { padding-top: 8vh; padding-bottom: 8vh; }
.ikr-live .ikr-territory { min-height: 190vh; padding-top: 34vh; }
.ikr-slot-room { grid-column: 2; }
.ikr-fig-cabin { width: min(100%, 27rem); margin: 0 auto; border: 2px solid var(--ik-brass); box-shadow: 0 0 0 1px #1A120A, 0 2rem 4rem -1.5rem rgb(0 0 0 / 0.8); }
.ikr-territory .ikr-card { max-width: 27rem; }
.ikr-things { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.4rem; margin: 0 0 1em; }
.ikr-thing-btn { display: block; width: 100%; padding: 0.4em 0.7em 0.46em; text-align: left; background: rgb(255 250 235 / 0.55); border: 1px dashed rgb(46 32 20 / 0.6); border-radius: 3px; font: inherit; line-height: 1.15; color: var(--ik-ink); cursor: var(--hand, pointer); transition: background 0.2s, color 0.2s; }
.ikr-thing-btn b { display: block; font-variant: small-caps; letter-spacing: 0.05em; font-weight: 600; }
.ikr-thing-btn span { font-size: 0.86em; font-style: italic; color: var(--ik-ink-2); }
.ikr-thing-btn:hover, .ikr-thing-btn[aria-pressed="true"] { background: radial-gradient(ellipse at 40% 30%, var(--ik-cloth), var(--ik-cloth-dark)); color: var(--ik-hz-gilt); border: 1px solid var(--ik-hz-gilt-dark); }
.ikr-thing-btn:hover span, .ikr-thing-btn[aria-pressed="true"] span { color: #EFD9A0; }

/* Sheets of parchment that slide over the stage: the parts, the ideas, the door ------------------------------------- */
.ikr section.ikr-sheet { position: relative; z-index: 2; color: var(--ik-ink); background: var(--ik-fibre), linear-gradient(90deg, #E2D0A6, var(--ik-paper) 16%, #F2E7CA 50%, var(--ik-paper) 84%, #E2D0A6); }
.ikr-sheet-in { width: min(100% - 2 * var(--ik-pad), 78rem); margin-inline: auto; padding: clamp(3rem, 8vw, 7rem) 0; }
.ikr-torn { position: absolute; left: 0; top: -63px; width: 100%; height: 64px; max-width: none; z-index: 1; pointer-events: none; }
.ikr-torn-paper { fill: var(--ik-paper); }
.ikr-torn-shade { fill: #B49E6E; }
.ikr-parts .ikr-sheet-in { display: grid; grid-template-columns: minmax(0, 25rem) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.ikr-plate-fig { margin: 0; min-width: 0; }

/* the live piece: the plate wears the app's two backdrops, the parchment of its museum look and the dark of its close look */
.ik-stage { position: relative; aspect-ratio: 16 / 10; min-height: 20rem; max-height: 76vh; width: 100%; overflow: hidden; isolation: isolate; background: var(--ik-fibre), radial-gradient(90% 90% at 50% 40%, #EADCBD, #DDCAA2 55%, #CCB791); border: 1.5px solid var(--ik-ink); box-shadow: inset 0 0 0 4px var(--ik-paper), inset 0 0 0 5px var(--ik-ink), 0 0 0 6px var(--ik-paper), 0 0 0 7px rgb(46 32 20 / 0.7), 0 1.6rem 2.6rem -1.4rem rgb(46 32 20 / 0.7); }
.ik-stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 90% at 50% 45%, rgb(41 46 56), rgb(9 10 13)); opacity: 0; transition: opacity 0.35s linear; z-index: 0; }
.ik-stage[data-look="macro"]::before { opacity: 1; }
.ik-still { position: absolute; inset: 0; display: grid; place-items: center; padding: clamp(0.8rem, 3vw, 2.5rem); z-index: 1; transition: opacity 0.5s; }
.ik-still svg { width: 100%; height: 100%; }
.ik-canvas { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; display: block; z-index: 2; opacity: 0; transition: opacity 0.5s; touch-action: pan-y; cursor: grab; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; outline-offset: -6px; }
.ik-canvas[hidden] { display: none; }
.ik-stage.live .ik-canvas { opacity: 1; }
.ik-stage.live .ik-still { opacity: 0; pointer-events: none; }
.ik-stage.grabbing .ik-canvas { cursor: grabbing; }
.ik-ring { position: absolute; left: 0; top: 0; width: 5.5rem; height: 5.5rem; margin: -2.75rem 0 0 -2.75rem; z-index: 3; pointer-events: none; opacity: 0; transition: opacity 0.2s; transform: translate(var(--rx, 50%), var(--ry, 50%)) rotate(-90deg); }
.ik-ring.on { opacity: 1; }
.ik-ring-track { fill: none; stroke: rgb(46 32 20 / 0.25); stroke-width: 2.5; }
.ik-ring-fill { fill: none; stroke: var(--ik-sanguine); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--charge, 0) * 100); }
.ik-stage[data-look="macro"] .ik-ring-track { stroke: rgb(245 237 216 / 0.3); }
.ik-stage[data-look="macro"] .ik-ring-fill { stroke: var(--ik-gilt-hi); }
.ik-hint { position: absolute; left: 50%; bottom: 0.9rem; transform: translateX(-50%); z-index: 3; margin: 0; padding: 0.3em 1em 0.4em; border-radius: 99px; background: #1A120A; color: #F4E9CF; border: 1px solid var(--ik-gilt); font-style: italic; font-size: 0.9rem; white-space: nowrap; pointer-events: none; }
.ik-hint[hidden], .ik-load[hidden], .ik-fail[hidden], .ik-controls[hidden] { display: none; }
.ik-load { position: absolute; right: 0.9rem; bottom: 0.9rem; z-index: 3; }
.ik-fail { position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.9rem; z-index: 3; margin: 0; }
.ik-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1rem; margin-top: 1.2rem; }
.ik-slider { flex: 1 1 100%; display: grid; grid-template-columns: auto minmax(7rem, 20rem) 1fr; align-items: center; gap: 0.8rem; font-variant: small-caps; letter-spacing: 0.05em; font-weight: 600; }
.ik-slider output { min-width: 12em; font-variant: normal; font-style: italic; font-weight: 400; letter-spacing: 0; color: var(--ik-ink-2); }
.ik-slider input { width: 100%; accent-color: var(--ik-sanguine); cursor: var(--hand, pointer); }
/* the diode in section (scripts/ikaru.js diode(): one drawing unit is a hundredth of a millimetre) */
.ik-diode { overflow: visible; }
.dk-case { fill: #2B1D12; fill-opacity: 0.9; }
.dk-hatch { fill: none; stroke: #F5EDD8; stroke-opacity: 0.55; stroke-width: 3; }
.dk-coat { fill: #F5EDD8; fill-opacity: 0.3; stroke: #F5EDD8; stroke-opacity: 0.5; stroke-width: 1.5; }
.dk-cu { fill: #C4733F; stroke: #2B1D12; stroke-width: 2.2; stroke-linejoin: round; }
.dk-solder { fill: #B9B4A8; }
.dk-die { fill: #EDD185; stroke: #2B1D12; stroke-width: 1.2; }
.dk-line { fill: none; stroke: #2B1D12; stroke-width: 3; stroke-linejoin: round; }
.dk-axis { fill: none; stroke: #2B1D12; stroke-opacity: 0.35; stroke-width: 1.2; stroke-dasharray: 26 8 4 8; }
.dk-cut { fill: none; stroke: #F5EDD8; stroke-width: 7; stroke-linejoin: round; }
.dk-lead { fill: none; stroke: var(--ik-sanguine); stroke-width: 1.6; }
.dk-dot { fill: var(--ik-sanguine); }
.dk-t { font: italic 400 22px var(--ik-serif); fill: #2B1D12; }
.dk-scale { fill: none; stroke: #2B1D12; stroke-width: 1.6; }
.dk-s { font-size: 13px; }

/* the ideas: a plate after the app's lineage view (a red cloth title with gilt lettering, a double rule, hatched corners) */
.ikr-ideas { padding: clamp(0.5rem, 3vw, 2.5rem) 0 clamp(3rem, 8vw, 6rem); }
.ikr-hetzel { position: relative; padding: clamp(1.6rem, 4vw, 3.4rem) clamp(1.1rem, 4vw, 3.6rem) clamp(2rem, 4vw, 3.4rem); background:
    radial-gradient(circle 46px at 0 0, transparent 0 45px, var(--ik-paper) 46px) 0 0 / 51% 51% no-repeat, radial-gradient(circle 46px at 100% 0, transparent 0 45px, var(--ik-paper) 46px) 100% 0 / 51% 51% no-repeat,
    radial-gradient(circle 46px at 0 100%, transparent 0 45px, var(--ik-paper) 46px) 0 100% / 51% 51% no-repeat, radial-gradient(circle 46px at 100% 100%, transparent 0 45px, var(--ik-paper) 46px) 100% 100% / 51% 51% no-repeat,
    var(--ik-hatch), var(--ik-paper);
  box-shadow: inset 0 0 0 6px var(--ik-paper), inset 0 0 0 7.5px var(--ik-ink), inset 0 0 0 10px var(--ik-paper), inset 0 0 0 13px var(--ik-ink); }
.ikr-cloth { margin: 0 0 clamp(1.4rem, 3vw, 2.4rem); padding: 0.9rem 1.4rem 1.1rem; border-radius: 4px; text-align: center; background: repeating-linear-gradient(0deg, rgb(255 255 255 / 0.035) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgb(0 0 0 / 0.06) 0 1px, transparent 1px 3px), radial-gradient(ellipse at 40% 30%, var(--ik-cloth), var(--ik-cloth-dark)); box-shadow: inset 0 0 0 2px var(--ik-cloth-dark), inset 0 0 0 3.5px var(--ik-hz-gilt), inset 0 0 0 6px var(--ik-cloth), inset 0 0 0 7px var(--ik-hz-gilt-dark), 0 2px 6px rgb(36 26 18 / 0.35); }
.ikr-cloth p { margin: 0 auto 0.2rem; font-variant: small-caps; letter-spacing: 0.1em; color: var(--ik-hz-gilt); text-shadow: 0 1px 0 rgb(0 0 0 / 0.5); }
.ikr-cloth h2 { font: 700 clamp(1.7rem, 1.1rem + 2.6vw, 3.2rem)/1.05 var(--ik-display); letter-spacing: 0.01em; color: var(--ik-hz-gilt); background: linear-gradient(180deg, #F6DC8E 0%, var(--ik-hz-gilt) 45%, var(--ik-hz-gilt-dark) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 1px 0 rgb(0 0 0 / 0.55)); text-wrap: balance; }
.ikr-cloth h2 i { font-style: italic; font-weight: 400; margin-right: 0.3em; }
.ikr-h3 { margin: 0 0 0.5rem; font-size: 1.12em; font-variant: small-caps; letter-spacing: 0.07em; line-height: 1.2; color: var(--ik-sanguine); }
.ikr-h3-rule { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid rgb(46 32 20 / 0.45); text-align: center; }
.ikr-h3-rule::before, .ikr-h3-rule::after { content: " \2766 "; font-size: 0.85em; }
.ikr-more { margin: 1.6rem 0 0; text-align: center; max-width: none !important; font-style: italic; }
.ikr-more a { color: var(--ik-sanguine); }

/* the film: the night again, under the sheet's torn lower edge; the app's banner carries the title */
.ikr section.ikr-night-sheet { position: relative; z-index: 2; color: var(--ik-cream); background: radial-gradient(120% 90% at 50% 40%, rgb(11 24 56 / 0.15) 30%, rgb(6 13 34 / 0.85) 100%), url("/assets/ikaru/sky.webp?v=4ef2ef8ef0") center / cover no-repeat var(--ik-night); }
.ikr-night-sheet > .ikr-torn { top: -1px; transform: scaleY(-1); }
.ikr-filmsec .ikr-sheet-in { display: grid; justify-items: center; gap: 1.4rem; padding-top: clamp(6rem, 12vw, 10rem); text-align: center; }
.ikr-banner { position: relative; container-type: inline-size; display: grid; place-items: center; width: min(100%, 33rem); aspect-ratio: 1100 / 267; background: url("/assets/ikaru/banner.webp?v=c7ed04e432") center / 100% 100% no-repeat; color: var(--ik-ink); }
.ikr-banner h2 { font: 700 calc(min(6.4cqi, 2.3rem) * var(--fit, 1))/1 var(--ik-display); letter-spacing: 0.02em; rotate: -0.6deg; }
.ikr-banner h2 i { font-style: italic; font-weight: 400; color: var(--ik-sanguine); margin-right: 0.35em; }
.ikr-film-lead { margin: 0; font-style: italic; font-size: 1.12em; max-width: 46ch !important; }
.ikr-film { position: relative; width: min(100%, 60rem); aspect-ratio: 16 / 9; background: #05070D; border: 2px solid var(--ik-brass); box-shadow: 0 0 0 5px #0A1228, 0 0 0 6px rgb(201 162 74 / 0.6), 0 2.4rem 5rem -1.5rem #000; overflow: hidden; }
.ikr-film-poster, .ikr-film video { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.ikr-film-poster { opacity: 0.7; }
.ikr-play { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 0.8rem; width: 100%; border: 0; background: radial-gradient(closest-side, rgb(5 7 13 / 0.2), rgb(5 7 13 / 0.6)); color: var(--ik-cream); font: 600 1.2rem/1.2 var(--ik-serif); cursor: var(--hand, pointer); }
.ikr-play-disc { display: grid; place-items: center; width: 5rem; height: 5rem; border-radius: 50%; color: var(--ik-ink); background: radial-gradient(circle at 35% 30%, #F6DC8E, var(--ik-brass) 60%, #A77E2A); box-shadow: 0 0 0 1px #5d4613, 0 0 0 5px rgb(11 24 56 / 0.7), 0 0 0 6px rgb(201 162 74 / 0.8), 0 1rem 2rem rgb(0 0 0 / 0.6); transition: transform 0.25s; }
.ikr-play-disc svg { width: 2rem; height: 2rem; margin-left: 0.2rem; }
.ikr-play:hover .ikr-play-disc { transform: scale(1.06); }
.ikr-play-text small { display: block; margin-top: 0.2em; font-weight: 400; font-style: italic; font-size: 0.8em; color: rgb(246 235 207 / 0.85); }
.ikr-closed { display: inline-block; margin: 0; padding: 0.7rem 1.1rem; border: 1px dashed currentColor; border-radius: 3px; font-style: italic; }

/* the door */
.ikr-door-in { display: grid; justify-items: center; text-align: center; padding-top: clamp(4rem, 9vw, 7rem); }
.ikr-door-in .ikr-thread { max-width: 22rem; }
.ikr-door-quote { margin: 0.6rem 0 1rem; font-size: clamp(1.2rem, 1rem + 1vw, 1.7rem); line-height: 1.3; font-style: italic; max-width: 40ch !important; text-wrap: balance; }
.ikr-pill { margin: 0 0 1.6rem; padding: 0.2em 1em 0.28em; border: 1px solid rgb(46 32 20 / 0.6); border-radius: 99px; font-style: italic; font-size: 0.92em; }
.ikr-door-go { margin: 0 0 1.4rem; }
.ikr-btn-door { min-height: 3.6rem; padding: 0.4em 2.2em 0.5em; font: 700 1.35rem/1 var(--ik-display); letter-spacing: 0.02em; color: var(--ik-hz-gilt); background: repeating-linear-gradient(0deg, rgb(255 255 255 / 0.035) 0 1px, transparent 1px 3px), radial-gradient(ellipse at 40% 30%, var(--ik-cloth), var(--ik-cloth-dark)); border: 0; border-radius: 5px; box-shadow: inset 0 0 0 2px var(--ik-cloth-dark), inset 0 0 0 3.5px var(--ik-hz-gilt), inset 0 0 0 6px var(--ik-cloth), inset 0 0 0 7px var(--ik-hz-gilt-dark), 0 0.8rem 1.6rem -0.6rem rgb(36 26 18 / 0.7); text-shadow: 0 1px 0 rgb(0 0 0 / 0.5); }

/* The header and the footer of this page: the mark home over the night, the legal line */
.ikr .ikage-nav { color: var(--ik-cream); z-index: 6; }
.ikr .ikage-footer { position: relative; z-index: 2; background: #070E22; color: rgb(246 235 207 / 0.8); padding-top: 1px; }

/* Narrow screens ------------------------------------------------------------------------------------------------- */
@media (max-width: 880px) {
  .ikr-ch { grid-template-columns: minmax(0, 1fr); }
  .ikr-slot { grid-column: 1; grid-row: auto; }
  .ikr-front { grid-template-rows: auto; padding-top: 5.2rem; min-height: 0; row-gap: 0.4rem; }
  .ikr-front-head, .ikr-front-foot, .ikr-front .ikr-slot, .ikr-worldname { grid-row: auto; grid-column: 1; }
  .ikr-worldname { width: min(15.5rem, 70%); margin: 0.5rem 0 -0.4rem; }
  .ikr-front .ikr-slot { height: min(88vw, 46vh); }
  .ikr-live .ikr-coach { grid-column: 1; grid-row: auto; margin-top: 0.9rem; }
  .ikr-wordmark { font-size: clamp(4.2rem, 23vw, 6.4rem); }
  .ikr-tagline { max-width: none; font-size: 1.2rem; }
  .ikr-live .ikr-slot-side { order: -1; height: 60vh; height: 60svh; }
  .ikr-live .ikr-preface { min-height: 0; padding-top: 0; }
  .ikr-live .ikr-world { min-height: 0; padding-top: 0; }
  .ikr-live .ikr-territory { min-height: 0; padding-top: 0; padding-bottom: 60vh; }
  .ikr-live .ikr-slot-room { height: 82vh; height: 82svh; }
  .ikr-slot-room { grid-row: auto; margin-bottom: 1.2rem; }
  .ikr-parts .ikr-sheet-in { grid-template-columns: minmax(0, 1fr); }
  .ik-stage { aspect-ratio: 4 / 5; max-height: 70vh; }
  .ik-slider { grid-template-columns: auto minmax(5rem, 1fr); }
  .ik-slider output { grid-column: 1 / -1; min-width: 0; }
}
@media (max-width: 420px) {
  .ikr-lands ol, .ikr-things { grid-template-columns: minmax(0, 1fr); }
  .ikr-lands ol { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.4rem 0.5rem; }
  .ikr-lands li { grid-template-columns: 1.8rem 1fr; gap: 0.4rem; font-size: 0.84em; }
  .ikr-lands img { width: 1.8rem; height: 1.8rem; }
}

/* Without the travelling stage (no scripts, reduced motion, no WebGL 2): the frontispiece keeps the sky behind it */
html:not(.ikr-live) .ikr-ch { padding-top: 5vh; padding-bottom: 5vh; }
html:not(.ikr-live) .ikr-front { padding-top: 6rem; }
html:not(.ikr-live) .ikr-front .ikr-slot { height: auto; padding: 0.8rem 0; }
@media (prefers-reduced-motion: reduce) {
  .ikr-room.awake .ikr-sea-img, .ikr-room.awake .ikr-lantern::before { animation: none; }
}

/* Third round (2026-11-17): the eras, the ring at the foot, the corridor of cabins, the games, the 1N4007 taken apart -- */

/* A wheel: the engraved brass gear round its cloth and emblem (the app's EraWheel and DockWheel) */
.ikr-wheel { display: block; width: 100%; height: auto; aspect-ratio: 1; overflow: visible; }
.ikr-gear { fill: url(#ikr-brass-g); stroke: #4E3A10; stroke-width: 0.9; stroke-linejoin: round; }
.ikr-gear-rim { fill: none; stroke: #6B4C1F; stroke-width: 1.6; opacity: 0.85; }
.ikr-gear-hub { fill: #3A2A10; stroke: #EDD185; stroke-width: 2; }
.ikr-wheel-cloth { fill: #3A2A1C; }
.ikr-wheel-ring { fill: none; stroke: #EDD185; stroke-width: 2.4; }
.ikr-wheel-mark { color: #FBF0D3; }
.ikr-wheel-gear { transform-origin: 0 0; transform-box: view-box; }
@keyframes ikr-turn { to { transform: rotate(360deg); } }

/* The dial of the eras round the globe */
.ikr-dial { position: fixed; inset: 0; z-index: 4; pointer-events: none; }
.ikr-dial[hidden] { display: none; }
.ikr-dial.latched { pointer-events: auto; cursor: grab; touch-action: none; }
.ikr-dial-band { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; overflow: visible; }
.ikr-dial-shade { fill: none; stroke: rgb(0 0 0 / 0.45); stroke-width: 14; }
.ikr-dial-brass { fill: none; stroke: url(#ikr-brass); stroke-width: 6; }
.ikr-dial-ticks { fill: none; stroke: #2A1C0A; stroke-width: 1.3; opacity: 0.85; }
.ikr-dial-wheel { position: absolute; left: 0; top: 0; padding: 0; border: 0; border-radius: 50%; background: none; cursor: var(--hand, pointer); transform: translate3d(var(--x0, 0), var(--y0, 0), 0) scale(0.2); opacity: 0; transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.25s, filter 0.3s; }
.ikr-dial-wheel:nth-child(2) { transition-delay: 50ms; } .ikr-dial-wheel:nth-child(3) { transition-delay: 100ms; } .ikr-dial-wheel:nth-child(4) { transition-delay: 150ms; }
.ikr-dial-wheel:nth-child(5) { transition-delay: 200ms; } .ikr-dial-wheel:nth-child(6) { transition-delay: 250ms; } .ikr-dial-wheel:nth-child(7) { transition-delay: 300ms; }
.ikr-dial.out .ikr-dial-wheel { transform: translate3d(var(--x), var(--y), 0) scale(0.9); opacity: 0.82; pointer-events: auto; }
.ikr-dial-wheel.on .ikr-wheel-gear { animation: ikr-turn 9s linear infinite; }
.ikr-dial-wheel:focus-visible { outline-offset: 6px; border-radius: 50%; }
/* the plate under the banner: the era shown, and the way back to Today */
.ikr-eraplate { position: fixed; z-index: 5; left: 0; top: 0; display: flex; align-items: center; gap: 0.6rem; padding: 0.22rem 0.35rem 0.22rem 0.25rem; border-radius: 99px; background: rgb(8 12 26 / 0.88); border: 1.2px solid var(--ik-gilt); box-shadow: 0 0.4rem 1rem rgb(0 0 0 / 0.5); color: #FFF2D1; font-family: var(--ik-serif); transition: opacity 0.3s, transform 0.3s; }
.ikr-eraplate[hidden] { display: none; }
.ikr-eraplate.away, .ikr-dialing .ikr-eraplate { opacity: 0; pointer-events: none; }
.ikr-dialing .ikr-coach { opacity: 0; pointer-events: none; }
.ikr-live .ikr-coach { transition: opacity 0.3s; }
@media (min-width: 881px) { .ikr-live .ikr-coach { transform: translateY(-3.8rem); } }
.ikr-eraplate-wheel { width: 2.2rem; height: 2.2rem; }
.ikr-eraplate b { font-size: 1.08rem; letter-spacing: 0.06em; }
.ikr-eraplate-back { padding: 0.25em 0.8em 0.3em; border: 1px solid #7C5E1B; border-radius: 99px; background: linear-gradient(#F6DC8E, var(--ik-brass) 60%, #C79A3C); color: var(--ik-ink); font: 600 0.85rem/1 var(--ik-serif); cursor: var(--hand, pointer); }
/* the era's globe, in words: what it holds */
.ikr-card-eras { margin-top: clamp(2rem, 20vh, 12rem); }
.ikr-card-eras .ikr-h3 { font-size: 1.25em; }
.ikr-eralist { display: grid; gap: 1.2rem; margin-top: 0.6rem; }
@keyframes ikr-rise { from { opacity: 0; transform: translateY(0.6rem); } }
.ikr-era-head { display: flex; align-items: center; gap: 0.7rem; margin: 0 0 0.3rem !important; }
.ikr-era-head .ikr-wheel { width: 3rem; flex: none; }
.ikr-era-head b { font: 700 italic 1.45em/1 var(--ik-display); }
.ikr-era-sea, .ikr-era-count, .ikr-era-cat { margin: 0.2rem 0 0.4rem !important; font-size: 0.95em; }
.ikr-era-sea { font-style: italic; color: var(--ik-sanguine); }
.ikr-era-picks { display: grid; gap: 0.45rem; margin: 0.2rem 0 0.4rem; }
.ikr-era-picks li { padding: 0.45rem 0.7rem 0.5rem; background: rgb(255 250 235 / 0.6); border: 1px dashed rgb(46 32 20 / 0.6); border-radius: 3px; line-height: 1.3; }
.ikr-era-picks b { font-variant: small-caps; letter-spacing: 0.05em; }
.ikr-era-picks i { color: var(--ik-sanguine); font-size: 0.9em; }
.ikr-era-picks span { display: block; font-size: 0.88em; color: #4F3C29; }

/* The ring at the foot of the world */
.ikr-foot { position: relative; z-index: 1; width: min(100% - 2 * var(--ik-pad), 46rem); margin: 0 auto 4rem; text-align: center; }
@media (min-width: 881px) {
  .ikr-live .ikr-foot { position: fixed; left: 0; bottom: 0; z-index: 3; width: min(46rem, 100vw); margin: 0; pointer-events: none; transition: opacity 0.4s, visibility 0.4s; }
  .ikr-live .ikr-foot.away { opacity: 0; visibility: hidden; }
  .ikr-live .ikr-foot-coach { display: none; }
  .ikr-live .ikr-dock-ring, .ikr-live .ikr-dock-say, .ikr-live .ikr-dock-back { pointer-events: auto; }
}
@media (max-width: 880px) { .ikr-dock::before { left: -1rem; right: -1rem; } .ikr-live .ikr-foot { margin: 0 auto 30vh; } .ikr-live .ikr-foot-coach { padding: 0.3rem 0.8rem; border-radius: 10px; background: rgb(6 13 34 / 0.7); } }
html:not(.ikr-js) .ikr-foot { display: none; }
.ikr-foot-coach { margin: 0 auto 0.6rem; font-style: italic; color: var(--ik-cream); text-shadow: 0 1px 12px rgb(4 10 30 / 0.9); }
.ikr-dock { position: relative; height: 22rem; }
.ikr-dock::after { content: ""; position: absolute; left: 6%; right: 6%; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--ik-gilt), transparent); }
.ikr-dock::before { content: ""; position: absolute; left: -60vw; right: -60vw; top: -40vh; bottom: 0; background: radial-gradient(45% 70% at 50% 100%, rgb(3 6 16 / 0.78), rgb(3 6 16 / 0.35) 70%, rgb(3 6 16 / 0)); opacity: 0; transition: opacity 0.35s; pointer-events: none; }
.ikr-dock.open::before { opacity: 1; }
.ikr-dock-ring { position: absolute; left: 50%; bottom: 0; width: 140px; height: 70px; margin-left: -70px; padding: 0; border: 0; background: none; cursor: var(--hand, pointer); overflow: hidden; transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1); transform-origin: 50% 100%; }
.ikr-dock.pressed .ikr-dock-ring { transform: scale(1.14); }
.ikr-dock-fire { position: absolute; left: 0; top: 0; width: 140px; height: 70px; max-width: none; }
.ikr-dock-gear { position: absolute; left: 50%; bottom: -17px; width: 34px; height: 34px; margin-left: -17px; transition: width 0.3s, height 0.3s, margin 0.3s, bottom 0.3s; filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.5)); }
.ikr-dock.seen .ikr-dock-gear { animation: ikr-turn 18s linear infinite; }
.ikr-dock.open .ikr-dock-gear { width: 44px; height: 44px; margin-left: -22px; bottom: -22px; }
.ikr-dock-ways { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.ikr-dock-wheel { position: absolute; left: 0; top: 0; display: grid; justify-items: center; gap: 0.25rem; padding: 0; border: 0; background: none; color: #F4E9CF; font-family: var(--ik-serif); cursor: var(--hand, pointer); transform: translate3d(var(--x0, 0), var(--y0, 0), 0) scale(0.12); opacity: 0; transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) var(--delay, 0ms), opacity 0.22s var(--delay, 0ms); }
.ikr-dock-ways.out .ikr-dock-wheel { transform: translate3d(var(--x), var(--y), 0); opacity: 1; pointer-events: auto; }
.ikr-dock-wheel .ikr-wheel { filter: drop-shadow(0 0.25rem 0.3rem rgb(0 0 0 / 0.55)); }
.ikr-dock-wheel:hover .ikr-wheel-gear, .ikr-dock-wheel:focus-visible .ikr-wheel-gear { animation: ikr-turn 6s linear infinite; }
.ikr-dock-wheel > span { max-width: 7.6rem; padding: 0.15em 0.6em 0.22em; border-radius: 9px; background: rgb(8 12 26 / 0.86); border: 0.6px solid rgb(201 162 74 / 0.55); font-weight: 600; font-size: 0.82rem; line-height: 1.15; }
.ikr-dock-say { position: absolute; left: 50%; bottom: 84px; width: min(26rem, 92%); transform: translateX(-50%); margin: 0; padding: 0.5em 1em 0.6em; border-radius: 10px; background: rgb(8 12 26 / 0.9); border: 1px solid rgb(201 162 74 / 0.6); color: var(--ik-cream); font-style: italic; font-size: 0.95rem; line-height: 1.3; max-width: none !important; }
.ikr-dock-say:empty { display: none; }
.ikr-dock-back { position: absolute; left: 50%; bottom: 82px; transform: translateX(-50%); padding: 0.3em 0.9em 0.36em 0.7em; border: 1px solid #7C5E1B; border-radius: 99px; background: linear-gradient(#F6DC8E, var(--ik-brass)); color: var(--ik-ink); font: 600 0.88rem/1 var(--ik-serif); cursor: var(--hand, pointer); }
.ikr-dock-back::before { content: "\2039  "; }
.ikr-dock-back[hidden] { display: none; }

/* The corridor of cabins */
.ikr section.ikr-cabins { position: relative; z-index: 2; color: var(--ik-cream); background:
    radial-gradient(120% 70% at 50% 50%, rgb(0 0 0 / 0) 40%, rgb(0 0 0 / 0.55) 100%),
    repeating-linear-gradient(90deg, rgb(0 0 0 / 0.28) 0 2px, transparent 2px 9rem),
    linear-gradient(180deg, #24160C, #3A2414 18%, #43291A 50%, #331F12 82%, #1E1209);
  box-shadow: inset 0 3px 0 #8E6E25, inset 0 5px 0 #2A1A0C, inset 0 -3px 0 #8E6E25; }
.ikr-cabins-head { max-width: 40rem; padding: clamp(2.4rem, 7vh, 4.5rem) var(--ik-pad) 1rem; }
.ikr-cabins-head p { color: rgb(246 235 207 / 0.88); }
.ikr-kicker { margin: 0 0 0.3rem; font-style: italic; letter-spacing: 0.14em; color: var(--ik-gilt-hi); }
.ikr-corridor { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 2.4rem 2rem; padding: 1.5rem var(--ik-pad) 4rem; }
.ikr-door { position: relative; text-align: center; }
.ikr-port { position: relative; margin: 0 auto; width: 100%; max-width: 21rem; aspect-ratio: 1; padding: 6%; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #FFF0BE, #D9B45A 30%, #8E6E25 62%, #5A4212 78%, #C9A24A 92%, #6B4C1F); box-shadow: 0 0 0 1px #2A1A0C, 0 1.4rem 2.6rem -0.8rem rgb(0 0 0 / 0.8); transition: box-shadow 0.4s; }
.ikr-port::before { content: ""; position: absolute; inset: 2.4%; border-radius: 50%; border: 0.32rem dotted rgb(58 40 12 / 0.85); pointer-events: none; }
.ikr-port-glass { position: relative; display: block; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: #24394A; box-shadow: inset 0 0 0 3px #3A2A10, inset 0 0.6rem 1.6rem rgb(0 0 0 / 0.6); }
.ikr-port-glass img { width: 100%; height: 100%; object-fit: cover; }
.ikr-port-glass::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(60% 40% at 32% 22%, rgb(255 255 255 / 0.2), rgb(255 255 255 / 0) 70%), radial-gradient(closest-side, rgb(0 0 0 / 0) 72%, rgb(0 0 0 / 0.45)); }
.ikr-door-plate { position: relative; display: grid; justify-items: center; width: max-content; max-width: 92%; margin: -1.4rem auto 0; padding: 0.4rem 1.3rem 0.5rem; border-radius: 0.7rem; background: color-mix(in srgb, var(--hue, #3A2A1C) 40%, #0B0B14); border: 1.5px solid color-mix(in srgb, var(--hue, #C9A24A) 62%, white); box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--hue, #3A2A1C) 40%, #0B0B14), inset 0 0 0 4px rgb(226 189 98 / 0.55), 0 0.6rem 1.2rem rgb(0 0 0 / 0.55); color: #F4E9CF; line-height: 1.15; }
.ikr-door-plate i { font-size: 0.78rem; letter-spacing: 0.18em; color: var(--ik-gilt-hi); }
.ikr-door-plate b { font: 700 1.3rem/1.1 var(--ik-display); letter-spacing: 0.02em; }
.ikr-door-plate em { font-size: 0.8rem; color: rgb(244 233 207 / 0.72); }
.ikr-door-desc { margin: 0.8rem auto 0.6rem !important; max-width: 22rem !important; font-style: italic; font-size: 0.98em; line-height: 1.35; color: rgb(246 235 207 / 0.86); }
.ikr-door-enter { margin-top: 0.2rem; }
.ikr-corridor-live .ikr-cabins-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; grid-template-rows: auto 1fr; grid-template-columns: minmax(0, 1fr); perspective: 1300px; }
.ikr-corridor-live .ikr-cabins-head { padding-bottom: 0; }
.ikr-corridor-live .ikr-cabins-head p { font-size: 0.95em; }
.ikr-corridor-live .ikr-corridor { display: flex; align-items: center; gap: clamp(1.4rem, 4vw, 3.6rem); width: max-content; padding: 0; transform-style: preserve-3d; will-change: transform; }
.ikr-corridor-live .ikr-door { flex: none; width: min(64vw, 22rem, 46vh); transform-style: preserve-3d; will-change: transform, opacity; }
.ikr-corridor-live .ikr-door-desc, .ikr-corridor-live .ikr-door-enter { opacity: 0; transition: opacity 0.35s; }
.ikr-corridor-live .ikr-door.here .ikr-door-desc, .ikr-corridor-live .ikr-door.here .ikr-door-enter { opacity: 1; }
.ikr-door.here .ikr-port { box-shadow: 0 0 0 1px #2A1A0C, 0 0 0 4px color-mix(in srgb, var(--hue, #C9A24A) 70%, white), 0 0 3rem color-mix(in srgb, var(--hue, #C9A24A) 60%, transparent), 0 1.4rem 2.6rem -0.8rem rgb(0 0 0 / 0.8); }


/* The 1N4007 taken apart by the scroll */
.dk-outside { opacity: 0; }
.dk-shell { fill: #1E140B; }
.dk-stripe { fill: #BDB6A6; }
.ikr-xp-step { display: flex; gap: 0.4rem; margin: 0 0 0.6rem; font-size: 0.86rem; font-variant: small-caps; letter-spacing: 0.08em; }
.ikr-xp-step span { padding: 0.12em 0.7em 0.18em; border-radius: 99px; border: 1px solid rgb(46 32 20 / 0.35); color: var(--ik-ink-2); transition: background 0.3s, color 0.3s; }
.ikr-xp-step span.on { background: var(--ik-ink); color: var(--ik-paper-hi); border-color: var(--ik-ink); }
html:not(.ikr-xp-live) .ikr-xp-step, html:not(.ikr-xp-live) .ikr-xp-only { display: none; }
.ikr-xp { width: min(100% - 2 * var(--ik-pad), 86rem); margin-inline: auto; padding: clamp(3rem, 8vw, 6rem) 0; display: grid; grid-template-columns: minmax(0, 24rem) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.ikr-callouts-list { display: grid; gap: 0.5rem; margin-top: 1rem; }
.ikr-callouts-list[hidden] { display: none; }
.ikr-callouts-list li, .ikr-xp-live .ik-stage > li { line-height: 1.25; }
.ikr-callouts-list b { display: block; font-variant: small-caps; letter-spacing: 0.06em; }
.ikr-callouts-list span { font-size: 0.9em; font-style: italic; color: var(--ik-ink-2); }
.ikr-xp-live .ikr-xp { align-items: start; padding: 0; }
@media (min-width: 881px) { .ikr-live .ikr-xp { padding-right: 4.6rem; } }
.ikr-xp-live .ikr-xp::after { content: ""; grid-column: 1 / -1; height: 420vh; height: 420svh; }
.ikr-xp-live .ikr-sheet-copy { position: sticky; top: 0; padding-top: clamp(4rem, 14vh, 9rem); }
.ikr-xp-live .ikr-plate-fig { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; padding: clamp(1rem, 5vh, 3rem) 0 clamp(0.8rem, 3vh, 2rem); }
.ikr-xp-live .ik-stage { height: 100%; max-height: none; min-height: 0; aspect-ratio: auto; }
.ikr-xp-live .dk-labels { display: none; }
.ikr-xp-live .ik-still { padding-inline: calc(var(--col, 0px) * 0.4 + 0.5rem); }
.ikr-leaders { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; z-index: 3; pointer-events: none; overflow: visible; }
.ikr-leaders path { fill: none; stroke: var(--ik-sanguine); stroke-width: 1.2; }
.ikr-leaders path.faint { stroke-opacity: 0.3; stroke-dasharray: 3 4; }
.ikr-leaders circle { fill: var(--ik-sanguine); stroke: var(--ik-paper); stroke-width: 1.5; }
.ikr-xp-live .ik-stage > li { list-style: none; position: absolute; left: 0; top: 0; z-index: 4; padding: 0; opacity: 0; transition: opacity 0.35s; pointer-events: none; }
.ikr-xp-live .ik-stage > li.on { opacity: 1; }
.ikr-xp-live .ik-stage > li b { display: inline-block; padding: 0.18em 0.65em 0.24em; background: #1A120A; color: #F4E9CF; border: 1px solid var(--ik-gilt); box-shadow: 0 0 0 2px #1A120A, 0 0 0 3px rgb(201 162 74 / 0.45); font-variant: small-caps; letter-spacing: 0.07em; font-weight: 600; font-size: 0.9rem; }
.ikr-xp-live .ik-stage > li span { display: block; margin-top: 0.35rem; padding: 0.3rem 0.5rem; font-size: 0.84rem; font-style: italic; line-height: 1.3; color: var(--ik-ink); background: rgb(239 227 200 / 0.86); border-left: 2px solid var(--ik-sanguine); }
.ik-stage[data-look="macro"] > li span { background: rgb(20 20 26 / 0.8); color: #F4E9CF; }
.ik-stage[data-callouts="rows"] > li span { display: none; }
.ik-stage[data-callouts="rows"] > li.latest span { display: block; }
.ik-stage.free > li span { display: none !important; }
.ikr-xp-live .ik-controls { margin-top: 0.8rem; }

/* Phones: the depth gauge keeps to a hairline at the edge, its level named only when it changes; nothing under it */
@media (max-width: 880px) {
  .ikr-xp { grid-template-columns: minmax(0, 1fr); }
  .ikr-xp-live .ikr-xp { display: block; }
  .ikr-xp-live .ikr-xp::after { display: block; height: 380svh; }
  .ikr-xp-live .ikr-sheet-copy { position: static; padding-top: clamp(3rem, 10vw, 5rem); }
  .ikr-xp-live .ikr-plate-fig { padding-top: 0.8rem; }
  .ikr-xp-live .ik-stage { aspect-ratio: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .ikr-ghost { animation: none; }
  .ikr-dock-wheel, .ikr-dial-wheel { transition-duration: 0.15s; transition-delay: 0s; }
  .ikr-dock.seen .ikr-dock-gear, .ikr-dial-wheel.on .ikr-wheel-gear { animation: none; }
}

/* the site's name for it: the iKaru Project (Ludovic, 2026-11-18: "name it iKaru Project (not just iKaru)"); the app's own
   name stays iKaru */
.ikr-wordmark-sub { display: block; margin-top: 0.15em; font-family: var(--ik-serif); font-style: normal; font-weight: 400; font-size: 0.24em; letter-spacing: 0.42em; text-transform: uppercase; line-height: 1; color: var(--ik-gilt-hi); }

/* The cabin chapter on a wide screen (Ludovic, 2026-11-18: the card hid the jars and the labyrinth; "I prefered more the
   description of the cabin part being on the cabin picture. find another way"): the room keeps the whole screen; the
   things' names stand on the things as small engraved tags; the card, without its list, stays over the windows (left
   lights) while the chapter lasts, clear of the shelves, the wall chart and the table. */
.ikr-tag { position: absolute; z-index: 6; transform: translate(-50%, calc(-100% - 0.35rem)); padding: 0.18rem 0.55rem 0.22rem; border: 1px solid rgb(201 162 74 / 0.85); border-radius: 2px; background: rgb(28 18 10 / 0.82); color: #F3E3BE; font-family: var(--ik-serif); font-variant: small-caps; letter-spacing: 0.05em; font-size: clamp(0.7rem, 0.62rem + 0.25vw, 0.86rem); line-height: 1.1; white-space: nowrap; cursor: pointer; box-shadow: 0 0.2rem 0.6rem rgb(0 0 0 / 0.45); transition: opacity 0.25s, transform 0.3s; }
.ikr-tag::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1px; height: 0.35rem; background: rgb(201 162 74 / 0.85); }
.ikr-tag:hover, .ikr-tag:focus-visible { color: #fff; border-color: #EDD185; outline: none; }
.ikr-tag.on { opacity: 0; }
.ikr-room:not(.awake) .ikr-tag { opacity: 0; pointer-events: none; }
html:not(.ikr-live) .ikr-tag { display: none; }
@media (min-width: 861px) {
  .ikr-live .ikr-territory .ikr-things, .ikr-live .ikr-territory .ikr-things-intro { display: none; }
  .ikr-live .ikr-territory .ikr-card { position: sticky; top: max(5.5rem, 12vh); margin-left: calc(20vw - var(--ik-pad)); width: min(25rem, 29vw); max-width: none; font-size: clamp(0.84rem, 0.55rem + 0.9vh, 1.02rem); background: var(--ik-fibre), radial-gradient(120% 90% at 30% 10%, rgb(251 243 220 / 0.94), rgb(241 227 191 / 0.93) 70%, rgb(231 212 166 / 0.92)); }
  .ikr-live .ikr-territory .ikr-card .ikr-h { font-size: 2.6em; }
}
.ikr-tag.below { transform: translate(-50%, 0.35rem); }
.ikr-tag.below::after { top: auto; bottom: 100%; }
@media (min-width: 861px) and (max-height: 820px) {
  .ikr-live .ikr-territory .ikr-card { top: max(4.6rem, 9vh); width: min(26rem, 33vw); margin-left: calc(19vw - var(--ik-pad)); padding: 1.1rem 1.3rem; }
  .ikr-live .ikr-territory .ikr-card .ikr-note { display: none; }
  .ikr-live .ikr-territory .ikr-card .ikr-h { font-size: 2.2em; }
}
@media (min-width: 861px) and (max-height: 660px) { .ikr-live .ikr-territory .ikr-card p:nth-of-type(2) { display: none; } }

/* Fourth round (2026-11-19), for phones first: Ludovic found the phone page too dense and its ways in unclear. Short
   leads with the rest opening in place; the chapters on their own plate and at the screen's edge at any time; the era
   dial's chevron and its one name; the objects as beads on a thread wound on a spool; the app's ring of molten metal
   wherever something opens, and a ghost hand showing the movement once; the cabin shown when one of its things is
   chosen; the corridor browsed left and right; the current through the 1N4007; the cue that more lies below. -------- */

/* Text that opens in place (scripts/ikaru.js fold()) */
.ikr-fold { display: flex; flex-direction: column; }
.ikr-fold-rest { order: 1; }
.ikr-more-btn { order: 2; align-self: flex-start; display: inline-flex; align-items: center; gap: 0.35em; min-height: 2.6rem; margin: -0.2rem 0 -0.5rem; padding: 0.3em 0.3em 0.3em 0; border: 0; background: none; font: italic 600 0.98em/1.1 var(--ik-serif); color: var(--ik-sanguine); cursor: var(--hand, pointer); -webkit-tap-highlight-color: transparent; }
.ikr-more-btn[hidden] { display: none; }
.ikr-more-btn span { padding-bottom: 0.08em; border-bottom: 1px solid currentColor; }
.ikr-more-btn svg { width: 1.1em; height: 1.1em; transition: transform 0.3s; }
.ikr-more-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.ikr-js .ikr-fold-rest { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 0.45s cubic-bezier(0.19, 1, 0.22, 1), visibility 0s 0.45s; }
.ikr-js .ikr-fold-rest > div { min-height: 0; overflow: hidden; }
.ikr-js .ikr-fold.open > .ikr-fold-rest { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.ikr-fold-rest > div > :last-child { margin-bottom: 0.7em; }
.ikr-js .ikr-fold[data-replace].open > .ikr-fold-lead, html:not(.ikr-js) .ikr-fold[data-replace] > .ikr-fold-lead { display: none; }
/* the About card: the app's three questions */
.ikr-ask { margin: 0 0 0.45em !important; font-style: italic; color: var(--ik-ink-2); }
.ikr-asks { display: grid; gap: 0.18rem; margin: 0 0 0.9rem; counter-reset: ask; }
.ikr-asks li { position: relative; padding-left: 1.5em; font: italic 400 clamp(1.3rem, 1.05rem + 1.3vw, 1.75rem)/1.15 var(--ik-display); text-wrap: balance; }
.ikr-asks li::before { counter-increment: ask; content: counter(ask); position: absolute; left: 0.1em; top: 0.2em; font: italic 0.62em/1 var(--ik-serif); color: var(--ik-sanguine); }

/* The chapters on their own plate: eight brass wheels, the four levels on the rule */
.ikr-wheel-num { font-family: var(--ik-display); font-weight: 700; fill: #FBF0D3; }
.ikr-chapters { position: relative; grid-column: 1; max-width: 36rem; margin-top: 1.1rem; padding: 0.95rem 1.1rem 1rem; border-radius: 14px; color: var(--ik-cream); background: linear-gradient(rgb(9 16 38 / 0.88), rgb(6 11 28 / 0.94)); border: 1px solid rgb(201 162 74 / 0.65); box-shadow: inset 0 0 0 3px rgb(6 13 34 / 0.9), inset 0 0 0 4px rgb(201 162 74 / 0.28), 0 1.4rem 3rem -1.4rem #000; }
.ikr-chapters-h { display: flex; align-items: center; gap: 0.8rem; margin: 0 0 0.6rem; font-size: 0.95rem; line-height: 1; font-variant: small-caps; letter-spacing: 0.22em; color: var(--ik-gilt-hi); }
.ikr-chapters-h::before, .ikr-chapters-h::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgb(201 162 74 / 0), rgb(201 162 74 / 0.75)); }
.ikr-chapters-h::after { transform: scaleX(-1); }
.ikr-chapters-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 0.8rem; }
.ikr-chapters ol { position: relative; display: grid; gap: 0.15rem; align-content: start; }
.ikr-chapters ol::before { content: ""; position: absolute; left: 1.3rem; top: 1.5rem; bottom: 1.5rem; width: 2px; margin-left: -1px; background: repeating-linear-gradient(rgb(237 209 133 / 0.7) 0 4px, transparent 4px 9px); }
.ikr-chapters .ikr-chapters-levels::before { width: 3px; margin-left: -1.5px; background: linear-gradient(90deg, #8E6E25, var(--ik-gilt-hi) 45%, #A9872F); }
.ikr-chapters a { position: relative; display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); column-gap: 0.6rem; align-items: center; min-height: 3rem; padding: 0.2rem 0; text-decoration: none; color: var(--ik-cream); -webkit-tap-highlight-color: transparent; }
.ikr-chapters a .ikr-wheel { grid-row: 1 / span 2; width: 2.6rem; filter: drop-shadow(0 2px 3px rgb(0 0 0 / 0.65)); }
.ikr-chapters a b { align-self: end; font-weight: 600; font-variant: small-caps; letter-spacing: 0.06em; line-height: 1.05; }
.ikr-chapters a em { align-self: start; font-size: 0.78em; font-style: italic; line-height: 1.15; color: rgb(246 235 207 / 0.7); }
.ikr-chapters a:hover b, .ikr-chapters a:focus-visible b { color: var(--ik-gilt-hi); }
.ikr-chapters a:hover .ikr-wheel-gear, .ikr-chapters a:active .ikr-wheel-gear, .ikr-chapters a:focus-visible .ikr-wheel-gear { animation: ikr-turn 5s linear infinite; }
.ikr-chapters-note { margin: 0.6rem 0 0 !important; font-size: 0.82em; font-style: italic; color: rgb(246 235 207 / 0.66); }

/* The chapters at the screen's edge (the app's depth gauge), the sound switch, the cue that more lies below */
.ikr-gauge, .ikr-sound, .ikr-cue { display: none; }
.ikr-nav-live .ikr-gauge { display: block; position: fixed; z-index: 5; right: clamp(0.5rem, 1.6vw, 1.6rem); top: 50%; height: min(52vh, 25rem); transform: translateY(-50%); padding-right: 0.9rem; isolation: isolate; font-family: var(--ik-serif); transition: opacity 0.35s; }
.ikr-gauge::after { content: ""; position: absolute; z-index: -1; inset: -1.3rem -0.5rem -1.3rem -0.6rem; border-radius: 1.2rem; background: rgb(6 13 34 / 0.62); box-shadow: inset 0 0 0 1px rgb(201 162 74 / 0.35); pointer-events: none; }
.ikr-gauge::before { content: ""; position: absolute; z-index: 1; right: 0.3rem; top: 0; bottom: 0; width: 3px; border-radius: 2px; background: linear-gradient(90deg, #8E6E25, var(--ik-gilt-hi) 45%, #A9872F); box-shadow: 0 0 0 1px rgb(6 13 34 / 0.7), 0 0 0.6rem rgb(0 0 0 / 0.5); pointer-events: none; }
.ikr-gauge ol { height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
.ikr-gauge li { position: relative; height: 0; display: flex; align-items: center; justify-content: flex-end; }
.ikr-gauge li::after { content: ""; position: absolute; right: -0.9rem; width: 0.9rem; height: 1.5px; background: var(--ik-gilt-hi); }
.ikr-gauge a { padding: 0.42em 0.5em 0.42em 0.6em; font-style: italic; font-size: 0.92rem; line-height: 1; white-space: nowrap; color: rgb(246 235 207 / 0.66); text-decoration: none; transition: color 0.25s; }
.ikr-gauge a .ikr-wheel { display: none; }
.ikr-gauge a:hover, .ikr-gauge a.here { color: var(--ik-gilt-hi); }
.ikr-gauge-thumb { position: absolute; z-index: 2; right: -0.02rem; top: -0.45rem; width: 0.9rem; height: 0.9rem; padding: 0; border: 0; background: none; pointer-events: none; will-change: transform; -webkit-tap-highlight-color: transparent; }
.ikr-gauge-thumb i { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFF2C2, var(--ik-brass) 55%, #8E6E25); box-shadow: 0 0 0 1px #3d2c08, 0 0 0.7rem rgb(237 209 133 / 0.7); }
.ikr-gauge-fire, .ikr-gauge-flash { display: none; }
.ikr-live .ikr-sound:not([hidden]) { display: inline-flex; align-items: center; gap: 0.45em; position: fixed; z-index: 5; right: clamp(0.5rem, 1.6vw, 1.6rem); bottom: 1rem; padding: 0.3em 0.9em 0.36em; background: rgb(6 13 34 / 0.72); color: rgb(246 235 207 / 0.85); border: 1px solid rgb(201 162 74 / 0.6); border-radius: 99px; font: italic 0.88rem/1 var(--ik-serif); cursor: var(--hand, pointer); transition: opacity 0.4s; }
.ikr-sound span { width: 0.55em; height: 0.55em; border-radius: 50%; border: 1px solid currentColor; }
.ikr-sound[aria-pressed="true"] { color: var(--ik-gilt-hi); }
.ikr-sound[aria-pressed="true"] span { background: var(--ik-gilt-hi); box-shadow: 0 0 0.5em var(--ik-gilt-hi); }
.ikr-sound.away { opacity: 0; pointer-events: none; }
.ikr-nav-live .ikr-cue { display: grid; place-items: center; position: fixed; z-index: 4; left: 50%; bottom: calc(0.55rem + env(safe-area-inset-bottom, 0px)); width: 2.3rem; height: 2.3rem; margin-left: -1.15rem; border-radius: 50%; color: var(--ik-gilt-hi); background: rgb(6 13 34 / 0.62); box-shadow: inset 0 0 0 1px rgb(201 162 74 / 0.55), 0 0.3rem 0.8rem rgb(0 0 0 / 0.4); pointer-events: none; opacity: 0; transition: opacity 0.35s; }
.ikr-cue.on { opacity: 1; }
.ikr-cue svg { width: 1.3rem; height: 1.3rem; animation: ikr-cue 1.7s ease-in-out infinite; }
@keyframes ikr-cue { 0%, 100% { transform: translateY(-2px); opacity: 0.6; } 50% { transform: translateY(3px); opacity: 1; } }
.ikr-dialing .ikr-cue, .ikr-nav-open .ikr-cue, .ikr-peek .ikr-cue { opacity: 0; }

/* Where the app's ring of molten metal burns, something opens (assets/js/ikaru-ring.js) */
.ikr-ringbtn { position: relative; flex: none; width: 3.4rem; height: 3.4rem; padding: 0; border: 0; border-radius: 50%; background: none; cursor: var(--hand, pointer); -webkit-tap-highlight-color: transparent; transition: transform 0.2s; }
.ikr-ringbtn:active { transform: scale(1.1); }
.ikr-ringbtn canvas { position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; max-width: none; pointer-events: none; }
.ikr-ringbtn-gear { position: absolute; left: 50%; top: 50%; width: 24px; height: 24px; margin: -12px 0 0 -12px; overflow: visible; animation: ikr-turn 18s linear infinite; filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.6)); pointer-events: none; }
.ikr-live .ikr-coach { gap: 0.2rem; padding: 0.1rem 0.5rem; }
/* the ghost hand (the app's, decision 213): a translucent hand, its fingertip lit, the movement drawn first */
.ikr-gh-layer { position: fixed; inset: 0; z-index: 6; pointer-events: none; }
.ikr-gh { position: absolute; inset: 0; z-index: 300; pointer-events: none; opacity: 0; }
.ikr-gh-guide { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; overflow: visible; }
.ikr-gh-path { fill: none; stroke: rgb(226 189 98 / 0.8); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 1.5 7; }
.ikr-gh-lit { fill: none; stroke: rgb(255 184 77 / 0.92); stroke-width: 3.6; stroke-linecap: round; stroke-dasharray: 0 1; }
.ikr-gh-head { fill: none; stroke: rgb(226 189 98 / 0.95); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.ikr-gh-hold-track { fill: none; stroke: rgb(255 255 255 / 0.25); stroke-width: 2; opacity: 0; }
.ikr-gh-hold { fill: none; stroke: rgb(255 184 77 / 0.95); stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 0 1; opacity: 0; transform-box: fill-box; transform-origin: center; transform: rotate(-90deg); }
.ikr-gh-ripple { fill: none; stroke: rgb(255 184 77 / 0.9); stroke-width: 2.2; opacity: 0; }
.ikr-gh-tip { fill: rgb(255 184 77 / 0.4); stroke: rgb(255 255 255 / 0.85); stroke-width: 1.5; }
.ikr-gh-hand { position: absolute; left: 0; top: 0; width: 56px; height: 56px; max-width: none; overflow: visible; transform-origin: 0 0; will-change: transform; filter: drop-shadow(2px 5px 5px rgb(0 0 0 / 0.5)); }
.ikr-gh-hand path { fill: rgb(255 255 255 / 0.93); stroke: rgb(20 14 6 / 0.55); stroke-width: 1.2; stroke-linejoin: round; }

/* The era dial: its chevron (the app's own painted piece), the one name that rides it, the caption */
.ikr-clamp { position: absolute; left: 0; top: 0; z-index: 2; aspect-ratio: 400 / 354; transform-origin: 50.01% 48.88%; pointer-events: none; will-change: transform; filter: drop-shadow(0 2px 4px rgb(0 0 0 / 0.55)); }
.ikr-clamp img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; }
.ikr-clamp-lit { opacity: 0; }
.ikr-clamp::after { content: ""; position: absolute; inset: -22%; border-radius: 50%; background: radial-gradient(closest-side, rgb(255 168 64 / 0) 52%, rgb(255 168 64 / 0.3) 68%, rgb(255 168 64 / 0)); opacity: 0; }
.ikr-clamp.locked::after { animation: ikr-breath 2.6s 0.9s ease-in-out infinite; }
@keyframes ikr-breath { 0%, 100% { opacity: 0.25; } 50% { opacity: 0.9; } }
.ikr-clamp-glass { position: absolute; left: 29.38%; top: 25.6%; width: 41.26%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; opacity: 0; background: radial-gradient(circle, rgb(255 255 255 / 0) 38%, color-mix(in srgb, var(--tint, #C9A24A) 55%, transparent) 100%); box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / 0.3); }
.ikr-clamp-glass i { position: absolute; left: -40%; top: -20%; width: 24%; height: 140%; background: linear-gradient(90deg, rgb(255 255 255 / 0), rgb(255 255 255 / 0.6), rgb(255 255 255 / 0)); transform: rotate(25deg); opacity: 0; }
.ikr-clamp.locked .ikr-clamp-glass i { animation: ikr-glint 0.55s 0.26s ease-out 1 both; }
@keyframes ikr-glint { 0% { opacity: 1; transform: translateX(0) rotate(25deg); } 90% { opacity: 1; } 100% { opacity: 0; transform: translateX(640%) rotate(25deg); } }
.ikr-dial.out .ikr-dial-wheel.on { transform: translate3d(var(--x), var(--y), 0) scale(0.95); opacity: 1; filter: none; transition-delay: 0s; }
.ikr-dial-name { font: 600 15px var(--ik-serif); letter-spacing: 0.16em; fill: #FFEDBF; paint-order: stroke; stroke: rgb(4 8 20 / 0.92); stroke-width: 3.5px; stroke-linejoin: round; }
.ikr-dial-cap { position: absolute; left: 50%; top: 0; z-index: 3; display: grid; justify-items: center; gap: 0.55rem; width: min(22rem, 92vw); transform: translateX(-50%); text-align: center; opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.ikr-dial.out .ikr-dial-cap { opacity: 1; }
.ikr-dial-cap.side { transform: translateY(-50%); justify-items: start; text-align: left; }
.ikr-dial-help { margin: 0; max-width: none !important; }
.ikr-dial-help b { display: block; font: 700 italic clamp(1.5rem, 6vw, 2rem)/1.05 var(--ik-display); color: #FFEDBF; text-shadow: 0 1px 10px rgb(4 8 20 / 0.95); }
.ikr-dial-help span { display: block; margin-top: 0.3rem; font-style: italic; font-size: 0.92rem; line-height: 1.3; color: rgb(246 235 207 / 0.9); text-shadow: 0 1px 8px rgb(4 8 20 / 0.95), 0 0 2px rgb(4 8 20 / 0.9); text-wrap: balance; }
.ikr-dial-close { display: none; padding: 0.3em 1em 0.36em; border: 1px solid #7C5E1B; border-radius: 99px; background: linear-gradient(#F6DC8E, var(--ik-brass) 60%, #C79A3C); color: var(--ik-ink); font: 600 0.86rem/1 var(--ik-serif); cursor: var(--hand, pointer); pointer-events: auto; }
.ikr-dial.latched .ikr-dial-close { display: inline-flex; }
:where(.ikr-live .ikr-ch > *) { transition: opacity 0.35s; }
.ikr-territory .ikr-card { transition: opacity 0.35s, transform 0.45s cubic-bezier(0.19, 1, 0.22, 1); }
@media (max-width: 880px) { .ikr-live .ikr-foot { transition: opacity 0.35s; } }

/* The eras' card: the era shown, its line, its objects on the thread */
.ikr-eras-lead { margin-bottom: 0.5em !important; }
.ikr-era-open { flex: none; width: 3rem; padding: 0; border: 0; border-radius: 50%; background: none; cursor: var(--hand, pointer); -webkit-tap-highlight-color: transparent; }
html:not(.ikr-eras-live) .ikr-era-open { pointer-events: none; }
html:not(.ikr-eras-live) [data-ikr-eras]:not(.ikr-spool-foot):not(.ikr-era-open) { display: none; }
.ikr-card-eras[data-era-picked] .ikr-era:not(.here) { display: none; }
.ikr-card-eras[data-era-picked] .ikr-era.here { animation: ikr-rise 0.45s cubic-bezier(0.19, 1, 0.22, 1); }
.ikr-era-count { margin-bottom: 0 !important; }
.ikr-eralist-more { margin-top: 0.4rem; }

/* The spool: the objects as beads on a golden thread (assets/js/ikaru-spool.js) */
.ikr-spool { position: relative; margin: 0.3rem 0 0.2rem; }
.ikr-spool-list { max-height: 60vh; overflow: auto; padding: 0.6rem 0.7rem; columns: 2 9rem; column-gap: 1rem; font-size: 0.9em; line-height: 1.2; border: 1px dashed rgb(46 32 20 / 0.6); border-radius: 3px; }
.ikr-spool-list li { break-inside: avoid; margin-bottom: 0.4rem; }
.ikr-spool-list b { display: block; font-variant: small-caps; letter-spacing: 0.05em; }
.ikr-spool-list i, .ikr-spool-list span { font-size: 0.86em; color: var(--ik-ink-2); }
.ikr-spool-list span::before { content: " · "; }
.ikr-spool.live .ikr-spool-list, .ikr-spool-eras[hidden] { display: none; }
.ikr-spool-stage { position: relative; width: 100%; max-width: 25rem; margin: 0 auto; border-radius: 12px; outline-offset: 4px; touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; cursor: grab; }
.ikr-spool-stage.grabbing { cursor: grabbing; }
.ikr-spool-svg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; overflow: visible; pointer-events: none; }
.ikr-spool-track { fill: none; stroke: #B58E3A; stroke-width: 4.5; }
.ikr-spool-ticks { fill: none; stroke: #3A2A10; stroke-width: 1.2; opacity: 0.75; }
.ikr-spool-wound { fill: none; stroke: #C9982F; stroke-dasharray: 1.6 1.1; opacity: 0.9; }
.ikr-spool-thread { fill: none; stroke: #B07A12; stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 7 6; }
.ikr-spool-thread.taut { stroke-dasharray: none; stroke: #8E3B26; }
.ikr-spool-thread-glow { fill: none; stroke: rgb(255 196 84 / 0.55); stroke-width: 9; stroke-linecap: round; filter: blur(3px); }
.ikr-spool-pointer { fill: var(--ik-sanguine); stroke: #2A1C0A; stroke-width: 1; stroke-linejoin: round; }
.ikr-spool-beads { position: absolute; inset: 0; transition: opacity 0.3s; }
.ikr-bead { position: absolute; left: 0; top: 0; padding: 0; border: 0; border-radius: 50%; background: none; cursor: inherit; will-change: transform; -webkit-tap-highlight-color: transparent; }
.ikr-bead img { display: block; width: 100%; height: 100%; max-width: none; border-radius: 50%; filter: drop-shadow(0 0.2rem 0.25rem rgb(30 18 6 / 0.45)); pointer-events: none; }
.ikr-bead.front img { filter: drop-shadow(0 0 7px rgb(255 176 64 / 0.95)) drop-shadow(0 0.25rem 0.3rem rgb(30 18 6 / 0.5)); }
.ikr-spool-hub { position: absolute; display: grid; justify-items: center; gap: 0.14rem; transform: translateY(-50%); text-align: center; line-height: 1.12; pointer-events: none; transition: opacity 0.3s; }
.ikr-spool-hub-era { display: inline-flex; align-items: center; gap: 0.35em; font-size: 0.76rem; font-style: italic; letter-spacing: 0.03em; color: var(--ik-sanguine); }
.ikr-spool-hub-era .ikr-wheel { width: 1.5rem; flex: none; }
.ikr-spool-hub b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; font-variant: small-caps; letter-spacing: 0.05em; font-weight: 600; font-size: 1.02rem; text-wrap: balance; }
.ikr-spool-hub i { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 0.8rem; color: var(--ik-ink-2); text-wrap: balance; }
.ikr-spool-hub output { margin-top: 0.2rem; padding: 0.1em 0.75em 0.16em; border-radius: 99px; background: #1A120A; color: #F4E9CF; border: 1px solid var(--ik-gilt); font: 600 0.8rem/1.2 var(--ik-serif); letter-spacing: 0.06em; }
.ikr-spool-turn { position: absolute; display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; border: 1px solid #7C5E1B; background: linear-gradient(#F6DC8E, var(--ik-brass) 60%, #C79A3C); color: var(--ik-ink); box-shadow: inset 0 1px 0 rgb(255 250 225 / 0.75), 0 0.3rem 0.7rem -0.3rem rgb(0 0 0 / 0.6); cursor: var(--hand, pointer); transition: opacity 0.3s; -webkit-tap-highlight-color: transparent; }
.ikr-spool-turn svg { width: 1.2rem; height: 1.2rem; }
.ikr-spool-turn:disabled { opacity: 0.35; }
/* the ring at its foot, in its dark well: the thread's source, the way to the eras */
.ikr-spool-foot { position: absolute; z-index: 201; width: 96px; height: 48px; border-radius: 0; overflow: hidden; }
.ikr-spool-foot::before { content: ""; position: absolute; left: 50%; bottom: -36px; width: 72px; height: 72px; margin-left: -36px; border-radius: 50%; background: radial-gradient(closest-side, #0B1838 72%, rgb(11 24 56 / 0)); }
.ikr-spool-foot canvas { left: 0; top: 0; width: 96px; height: 48px; margin: 0; }
.ikr-spool-foot .ikr-ringbtn-gear { top: auto; bottom: -11px; width: 22px; height: 22px; margin: 0 0 0 -11px; }
.ikr-spool-eras { position: absolute; inset: 0; z-index: 200; margin: 0; padding: 0; list-style: none; pointer-events: none; }
.ikr-spool-era { position: absolute; left: 0; top: 0; padding: 0; border: 0; border-radius: 50%; background: none; color: #F4E9CF; font-family: var(--ik-serif); cursor: var(--hand, pointer); transform: translate3d(var(--x0, 0), var(--y0, 0), 0) scale(0.2); opacity: 0; pointer-events: none; transition: transform 0.45s cubic-bezier(0.2, 1.3, 0.4, 1) var(--delay, 0ms), opacity 0.2s var(--delay, 0ms); -webkit-tap-highlight-color: transparent; }
.ikr-spool-stage.fan .ikr-spool-era { transform: translate3d(var(--x), var(--y), 0); opacity: 1; pointer-events: auto; }
.ikr-spool-era .ikr-wheel { filter: drop-shadow(0 0.2rem 0.3rem rgb(0 0 0 / 0.55)); }
.ikr-spool-era > span { position: absolute; left: 50%; top: 100%; width: max-content; max-width: 3.5rem; margin-top: 1px; padding: 0.12em 0.4em 0.16em; border-radius: 6px; background: rgb(8 12 26 / 0.9); font-weight: 600; font-size: 0.62rem; line-height: 1.1; text-align: center; transform: translateX(-50%); }
.ikr-spool-era[aria-pressed="true"] .ikr-wheel { filter: drop-shadow(0 0 8px rgb(255 158 51 / 0.95)); }
.ikr-spool-era[aria-pressed="true"] > span { color: var(--ik-gilt-hi); box-shadow: 0 0 0 1px var(--ik-gilt); }
.ikr-spool-era:hover .ikr-wheel-gear, .ikr-spool-era:focus-visible .ikr-wheel-gear { animation: ikr-turn 6s linear infinite; }
.ikr-spool-stage.fan .ikr-spool-beads, .ikr-spool-stage.fan .ikr-spool-hub, .ikr-spool-stage.fan .ikr-spool-turn { opacity: 0.14; }

/* The object's chapter: the registry on the chart table, one screen */
.ikr-object { padding-top: 9vh; padding-bottom: 12vh; align-items: center; }
.ikr-live .ikr-object { min-height: 100vh; min-height: 100svh; }
.ikr-card-chart { max-width: min(31rem, 100%); }
.ikr-chart { position: relative; grid-column: 2; justify-self: center; width: 100%; max-width: 29rem; padding: 1rem 0.5rem 0.5rem; color: var(--ik-ink); background:
    linear-gradient(105deg, rgb(142 59 38 / 0.12) 0 1px, transparent 1px) 0 0 / 190px 100%,
    linear-gradient(75deg, rgb(46 32 20 / 0.1) 0 1px, transparent 1px) 40px 0 / 260px 100%,
    var(--ik-fibre), linear-gradient(#EADBB6, var(--ik-paper) 12%, #F3E8CB 50%, var(--ik-paper) 88%, #DCC79C);
  box-shadow: 0 0 0 1px rgb(46 32 20 / 0.55), 0 1.6rem 3rem -1rem rgb(0 0 0 / 0.75), inset 0 0 0 5px rgb(239 227 200 / 0.9), inset 0 0 0 6px rgb(46 32 20 / 0.4); }

/* The territory: its things as engraved tags; on a phone a thing chosen shows the room itself */
.ikr-things { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0 0 0.75em; }
.ikr-things-intro { margin-bottom: 0.45em !important; }
.ikr-thing-btn { width: auto; padding: 0.28em 0.7em 0.34em; }
.ikr-thing-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ikr-peek .ikr-territory .ikr-card { opacity: 0; transform: translateY(3rem); pointer-events: none; }
.ikr-peekbar { position: fixed; z-index: 5; left: 50%; bottom: calc(0.8rem + env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 0.4rem; width: min(100% - 1.4rem, 24rem); padding: 0.4rem 0.45rem; border-radius: 99px; background: rgb(8 12 26 / 0.93); border: 1px solid rgb(201 162 74 / 0.7); box-shadow: 0 0.8rem 2rem rgb(0 0 0 / 0.6); color: #F4E9CF; font-family: var(--ik-serif); transform: translate(-50%, 150%); opacity: 0; visibility: hidden; transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1), opacity 0.3s, visibility 0s 0.4s; }
.ikr-peek .ikr-peekbar { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition-delay: 0s; }
.ikr-peekbar p { min-width: 0; margin: 0; text-align: center; line-height: 1.15; }
.ikr-peekbar b { display: block; font-variant: small-caps; letter-spacing: 0.08em; font-weight: 600; }
.ikr-peekbar span { font-style: italic; font-size: 0.86em; color: var(--ik-gilt-hi); }
.ikr-peekbar button { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; padding: 0; border-radius: 50%; border: 1px solid rgb(201 162 74 / 0.7); background: rgb(11 24 56 / 0.7); color: var(--ik-gilt-hi); cursor: var(--hand, pointer); -webkit-tap-highlight-color: transparent; }
.ikr-peekbar svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ikr-peek-back { border-style: dashed !important; }

/* The corridor: browsed left and right (chevrons by the name plate, a swipe, the arrow keys), a door at a time */
.ikr-corridor-live .ikr-cabins { height: calc(100vh + 12 * 26vh); height: calc(100svh + 12 * 26svh); }
.ikr-corridor-live .ikr-cabins-pin { touch-action: pan-y; }
.ikr-corr-nav { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.ikr-corr-nav[hidden] { display: none; }
.ikr-corr-nav button { position: absolute; top: var(--plate-y, 62%); display: grid; place-items: center; width: 44px; height: 44px; margin-top: -22px; padding: 0; border-radius: 50%; border: 1px solid #7C5E1B; background: linear-gradient(#F6DC8E, var(--ik-brass) 60%, #C79A3C); color: var(--ik-ink); box-shadow: inset 0 1px 0 rgb(255 250 225 / 0.75), 0 0.4rem 1rem -0.3rem rgb(0 0 0 / 0.8); cursor: var(--hand, pointer); pointer-events: auto; transition: opacity 0.3s; -webkit-tap-highlight-color: transparent; }
.ikr-corr-nav button:first-child { left: max(0.5rem, calc(50% - var(--door-w, 16rem) / 2 - 3.1rem)); }
.ikr-corr-nav button:last-child { right: max(0.5rem, calc(50% - var(--door-w, 16rem) / 2 - 3.1rem)); }
.ikr-corr-nav button:disabled { opacity: 0.3; }
.ikr-corr-nav svg { width: 1.3rem; height: 1.3rem; }
.ikr-corr-nav output { position: absolute; left: 50%; bottom: 3.5rem; transform: translateX(-50%); padding: 0.16em 0.9em 0.22em; border-radius: 99px; background: rgb(12 8 4 / 0.6); border: 1px solid rgb(201 162 74 / 0.5); font: italic 0.92rem/1.2 var(--ik-serif); color: rgb(246 235 207 / 0.9); white-space: nowrap; }
.ikr-corr-nav output b { font-style: normal; color: var(--ik-gilt-hi); }
.ikr-port-fire { position: absolute; left: -44px; top: -44px; z-index: 2; width: calc(100% + 88px); height: calc(100% + 88px); max-width: none; pointer-events: none; }
.ikr-corridor-live .ikr-door.here .ikr-port[data-enter-port] { cursor: var(--hand, pointer); }
.ikr-corridor-live .ikr-door-enter { position: absolute; left: 50%; width: 1px; height: 1px; min-height: 0; padding: 0; overflow: hidden; clip-path: inset(50%); }
.ikr-corridor-live .ikr-door-enter:focus-visible { position: static; width: auto; height: auto; min-height: 2.75rem; padding: 0.3em 1.3em 0.38em; clip-path: none; }

/* The 1N4007's current while it is whole: on the drawing a glow along the legs, a light running in it */
.ikr-current { position: absolute; left: 0; top: 0; z-index: 1; overflow: hidden; border-radius: 99px; opacity: 0; pointer-events: none; background: linear-gradient(90deg, rgb(70 160 255 / 0.25), rgb(120 200 255 / 0.6) 50%, rgb(70 160 255 / 0.25)); box-shadow: 0 0 0.6rem rgb(60 150 255 / 0.75), 0 0 1.4rem rgb(60 150 255 / 0.4); transition: opacity 0.4s; }
.ikr-current.on { opacity: 1; }
.ikr-current i { position: absolute; left: 0; top: -50%; width: 16%; height: 200%; background: radial-gradient(closest-side, #FFFFFF, rgb(170 225 255 / 0.95) 35%, rgb(60 150 255 / 0) 100%); transform: translate3d(625%, 0, 0); }
.ikr-current.on i { animation: ikr-flow 1.15s linear infinite; }
.ikr-current.steady i { animation: none; opacity: 0; }
@keyframes ikr-flow { from { transform: translate3d(625%, 0, 0); } to { transform: translate3d(-100%, 0, 0); } }
.ik-lure { position: absolute; left: 50%; top: 50%; z-index: 3; width: 170px; height: 170px; margin: -85px 0 0 -85px; max-width: none; pointer-events: none; }

@media (max-width: 880px) {
  /* less to scroll */
  .ikr-preface { padding-bottom: 5vh; }
  .ikr-live .ikr-slot-side { height: 52vh; height: 52svh; }
  .ikr-live .ikr-territory { padding-bottom: 36vh; }
  .ikr-live .ikr-slot-room { height: 72vh; height: 72svh; }
  .ikr-live .ikr-foot { margin: 0 auto 12vh; }
  .ikr-dock { height: 8rem; }
  .ikr-card-eras { margin-top: 1.2rem; }
  .ikr-cabins-more { display: none; }
  .ikr-xp-live .ikr-xp::after { height: 330vh; height: 330svh; }
  .ikr-object { padding-top: 6vh; padding-bottom: 8vh; }
  .ikr-chart { grid-column: 1; margin-top: 1rem; }
  .ikr-chapters { margin-top: 0.9rem; padding: 0.85rem 0.8rem 0.9rem; }
  .ikr-chapters a em { font-size: 0.74em; }
  /* the dial has the screen: what it would stand on gives way */
  .ikr-dialing .ikr-ch > :not(.ikr-slot), .ikr-dialing .ikr-foot { opacity: 0.08; }
  .ikr-dial-stand .ikr-ch > :not(.ikr-slot), .ikr-dial-stand .ikr-foot { opacity: 0; pointer-events: none; }
  .ikr-dial-stand .ikr-gauge, .ikr-peek .ikr-gauge { opacity: 0; pointer-events: none; }
  /* the chapters: the rule keeps to the margin, its thumb a brass bead in the ring of molten metal; a tap opens the
     eight chapters as wheels on a half ring standing on the screen's edge */
  .ikr-nav-live .ikr-gauge { right: 0; width: 34px; height: 36vh; padding-right: 0; }
  .ikr-gauge::after { inset: -0.5rem 13px; border-radius: 0.5rem; }
  .ikr-gauge::before { right: 15.5px; }
  .ikr-gauge li { position: static; }
  .ikr-gauge li::after { display: none; }
  .ikr-gauge ol::before { content: ""; position: absolute; z-index: -1; right: -17rem; top: 50%; width: 34rem; height: 34rem; margin-top: -17rem; border-radius: 50%; background: radial-gradient(closest-side, rgb(3 6 16 / 0.94), rgb(3 6 16 / 0.82) 62%, rgb(3 6 16 / 0)); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
  .ikr-gauge.open ol::before { opacity: 1; }
  .ikr-gauge-thumb { right: -5px; top: -22px; width: 44px; height: 44px; pointer-events: auto; cursor: var(--hand, pointer); }
  .ikr-gauge-thumb i { inset: 12px; }
  .ikr-gauge-fire { display: block; position: absolute; left: -10px; top: -10px; width: 64px; height: 64px; max-width: none; pointer-events: none; }
  .ikr-gauge a { position: absolute; left: 0; top: 0; width: var(--w, 46px); height: var(--w, 46px); padding: 0; transform: translate3d(0, calc(var(--y, 0px) - var(--w, 46px) / 2), 0) scale(0.2); opacity: 0; pointer-events: none; transition: transform 0.45s cubic-bezier(0.2, 1.3, 0.4, 1) var(--delay, 0ms), opacity 0.25s var(--delay, 0ms); -webkit-tap-highlight-color: transparent; }
  .ikr-gauge.open a { transform: translate3d(calc(var(--x) - var(--w, 46px) / 2), calc(var(--y) - var(--w, 46px) / 2), 0); opacity: 1; pointer-events: auto; }
  .ikr-gauge a .ikr-wheel { display: block; width: 100%; filter: drop-shadow(0 3px 5px rgb(0 0 0 / 0.6)); }
  .ikr-gauge a span { position: absolute; right: calc(50% + var(--dx, 30px)); top: calc(50% + var(--dy, 0px)); padding: 0.26em 0.7em 0.32em; border-radius: 9px; background: rgb(8 12 26 / 0.92); border: 0.6px solid rgb(201 162 74 / 0.55); font: 600 0.92rem/1 var(--ik-serif); font-variant: small-caps; letter-spacing: 0.06em; color: #F4E9CF; white-space: nowrap; transform: translateY(-50%); }
  .ikr-gauge a.here span { color: var(--ik-gilt-hi); border-color: var(--ik-gilt-hi); }
  .ikr-gauge a.here .ikr-wheel { filter: drop-shadow(0 0 9px rgb(255 158 51 / 0.95)); }
  .ikr-gauge-flash { display: block; position: absolute; right: 38px; top: -0.85rem; margin: 0; padding: 0.28em 0.75em 0.34em; border-radius: 99px; background: rgb(6 13 34 / 0.82); border: 1px solid rgb(201 162 74 / 0.5); font: italic 0.82rem/1 var(--ik-serif); color: var(--ik-gilt-hi); white-space: nowrap; max-width: none !important; opacity: 0; transition: opacity 0.4s; pointer-events: none; will-change: transform; }
  .ikr-gauge.flash .ikr-gauge-flash { opacity: 1; }
  .ikr-live .ikr-ch { padding-right: calc(var(--ik-pad) + 12px); }
  .ikr-corridor-live .ikr-cabins-head h2 { font-size: 1.9rem; }
  .ikr-corridor-live .ikr-cabins-head p { font-size: 0.88em; margin-bottom: 0.4rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ikr-cue svg, .ikr-ringbtn-gear, .ikr-clamp.locked::after, .ikr-current.on i { animation: none; }
  .ikr-js .ikr-fold-rest, .ikr-gauge a, .ikr-spool-era, .ikr-peekbar, .ikr-live .ikr-ch > *, .ikr-territory .ikr-card { transition-duration: 0.01s; transition-delay: 0s; }
}
.ikr-js-only { display: none; } .ikr-js .ikr-js-only { display: inline; }
.ik-stage[data-callouts="rows"] .ik-hint { display: none; }
/* on a phone the ring that opens the dial stands right under the globe, before the choice of world */
@media (max-width: 880px) { .ikr-live .ikr-front-foot { order: 1; } .ikr-live .ikr-coach { margin-top: 0.2rem; margin-bottom: 0.6rem; } }
.ikr-nav-open .ikr-sound, .ikr-peek .ikr-sound, .ikr-dial-stand .ikr-sound { opacity: 0; pointer-events: none; }
.ikr-dialing .ikr-gauge { opacity: 0; pointer-events: none; }
@media (min-width: 881px) { .ikr-live.ikr-dialing .ikr-foot { opacity: 0; visibility: hidden; } }

/* the corridor: the ring of molten metal round the centred porthole runs under the territory's plate, never across its
   lettering (Ludovic, 2026-11-19: "the strange rings should sit under the territory banner in section II") */
.ikr-door .ikr-door-plate { position: relative; z-index: 4; }
.ikr-door .ikr-port-fire { z-index: 2; }

/* The Crossing (2026-11-20): the app's opening ceremony, the key, one answer of each question, the sea */
.ikr-intro { margin: 0 0 0.9rem; }
.ikr-crossing figure { margin: 1rem auto; max-width: 22rem; }
.ikr-crossing figure img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--ik-brass); box-shadow: 0 0.8rem 1.8rem -0.9rem rgb(0 0 0 / 0.7); }
.ikr-crossing-answers { list-style: none; margin: 1rem 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem 0.7rem; }
.ikr-crossing-answers li { display: flex; flex-direction: column; align-items: center; gap: 0.35rem; text-align: center; font-size: 0.86em; line-height: 1.25; color: var(--ik-ink-2); }
.ikr-crossing-answers img { width: 100%; max-width: 7rem; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 50%; background: radial-gradient(circle, #1d2650, #0b1838); padding: 0.45rem; }
@media (max-width: 30rem) { .ikr-crossing-answers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
