/* Cinématique d'ouverture : du papier jauni à la tablette. */
.intro { position: fixed; inset: 0; z-index: 100; overflow: hidden; cursor: pointer; color: #222; font-family: Georgia, "Times New Roman", serif; }
.intro .desk { position: absolute; inset: 0; transition: background 1.2s ease, filter 1.2s ease; }
.intro.s0 .desk, .intro.s1 .desk {
  background:
    radial-gradient(ellipse 60% 55% at 50% 45%, rgba(255, 214, 150, .32), transparent 70%),
    repeating-linear-gradient(97deg, rgba(0, 0, 0, .07) 0 2px, transparent 2px 11px),
    linear-gradient(180deg, #2a1b10, #140c06);
}
.intro.s2 .desk {
  background:
    radial-gradient(ellipse 50% 50% at 50% 45%, rgba(190, 200, 210, .16), transparent 70%),
    linear-gradient(180deg, #16181b, #090a0c);
  animation: flicker 4s infinite steps(1);
}
.intro.s3 .desk {
  background:
    radial-gradient(ellipse 55% 55% at 50% 50%, rgba(59, 255, 122, .16), transparent 70%),
    linear-gradient(180deg, #020604, #000);
}
.intro .stage { position: absolute; inset: 0; display: grid; place-items: center; perspective: 1800px; }
.intro .sheet { grid-area: 1 / 1; position: relative; width: min(720px, 92vw); max-height: 86vh; overflow: hidden; padding: 26px 32px 30px;
  transform-origin: left center; box-shadow: 0 30px 70px rgba(0, 0, 0, .65), 0 4px 10px rgba(0, 0, 0, .4); }
.intro .sheet.in { animation: sheetIn .95s cubic-bezier(.2, .8, .2, 1) both, drift 9s 1s ease-in-out infinite alternate; }
.intro .p4.in { animation: sheetIn .95s cubic-bezier(.2, .8, .2, 1) both; }
.intro .sheet.out { animation: pageTurn .95s cubic-bezier(.55, .05, .4, 1) forwards; z-index: 2; }
.intro .sheet::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0)); transition: background .9s; }
.intro .sheet.out::after { background: linear-gradient(90deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .55)); }
.intro .art svg { display: block; width: 100%; height: auto; }

/* --- page 1 : vieux quotidien --- */
.intro .p1 { --tilt: -1.4deg; color: #2b2217; background:
  radial-gradient(circle at 85% 12%, rgba(120, 80, 30, .16), transparent 18%),
  radial-gradient(circle at 10% 90%, rgba(120, 80, 30, .2), transparent 25%),
  radial-gradient(ellipse at 50% 50%, #ecdfbd 40%, #d8c393 100%); }
.intro .mast { text-align: center; border-bottom: 3px double currentColor; padding-bottom: 8px; margin-bottom: 12px; }
.intro .mast-top { display: flex; justify-content: space-between; font-size: .72rem; border-bottom: 1px solid currentColor; padding-bottom: 4px; margin-bottom: 6px; font-style: italic; }
.intro .p1 .mast-title { font: 700 clamp(2rem, 6vw, 3.3rem) / 1 "Times New Roman", Georgia, serif; letter-spacing: .01em; }
.intro .mast-sub { font-size: .72rem; font-style: italic; margin-top: 4px; }
.intro .hl { font: 700 clamp(1.3rem, 3.4vw, 2.05rem) / 1.12 Georgia, serif; margin: 6px 0 8px; letter-spacing: -.01em; color: inherit; }
.intro .deck { font-size: clamp(.86rem, 1.8vw, 1rem); font-style: italic; margin: 0 0 10px; line-height: 1.35; }
.intro .p1 .photo { filter: sepia(.5) contrast(1.05); border: 1px solid #5b4a33; }
.intro .caption { font-size: .72rem; font-style: italic; margin: 4px 0 10px; opacity: .85; }
.intro .cols { columns: 2; column-gap: 22px; column-rule: 1px solid rgba(0, 0, 0, .25); font-size: clamp(.74rem, 1.5vw, .84rem); line-height: 1.4; text-align: justify; hyphens: auto; }
.intro .cols p { margin: 0 0 8px; }
.intro .box { break-inside: avoid; display: flex; flex-direction: column; gap: 3px; border: 1px solid currentColor; padding: 6px 8px; font-size: .74rem; text-align: left; }
.intro .stain { position: absolute; width: 130px; height: 130px; right: 40px; bottom: 30px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, transparent 56%, rgba(110, 70, 25, .28) 60%, rgba(110, 70, 25, .08) 66%, transparent 70%); transform: rotate(20deg) scaleX(1.1); }

/* --- page 2 : édition spéciale --- */
.intro .p2 { --tilt: 1deg; color: #111; background: linear-gradient(180deg, #f6f3ea, #e9e4d6); font-family: Arial, Helvetica, sans-serif; }
.intro .special { margin: -26px -32px 14px; padding: 7px 32px; background: #d81f1b; color: #fff; font: 800 .95rem Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.intro .p2 .mast { border-bottom: 4px solid #111; text-align: left; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.intro .p2 .mast-title { font: 900 clamp(2.2rem, 7vw, 3.6rem) / .9 "Arial Black", Arial, sans-serif; letter-spacing: -.04em; }
.intro .p2 .mast-top { border: none; flex-direction: column; align-items: flex-end; font-style: normal; gap: 2px; margin: 0; }
.intro .p2 .hl { font: 900 clamp(2rem, 6vw, 3.2rem) / .95 "Arial Black", Arial, sans-serif; text-transform: uppercase; letter-spacing: -.03em; }
.intro .p2 .deck { font-style: normal; font-weight: 700; font-family: Georgia, serif; }
.intro .p2 .photo { border: 1px solid #111; filter: grayscale(.2) contrast(1.1); }
.intro .p2 .cols { font-family: Georgia, serif; }
.intro .quote { font-weight: 700; font-style: italic; }
.intro .box.red { border-color: #d81f1b; color: #9c1310; }

/* --- page 3 : bulletin photocopié, brûlé --- */
.intro .p3 { --tilt: -2.2deg; color: #1a1a17; font-family: "Courier New", Courier, monospace; padding-top: 34px; padding-bottom: 74px;
  background:
    radial-gradient(circle at 20% 30%, rgba(0, 0, 0, .06) 0 1px, transparent 1.5px) 0 0 / 7px 7px,
    linear-gradient(180deg, #d7d2c3, #c6c0ae); }
.intro .p3 .mast { border-bottom: 2px solid #1a1a17; }
.intro .p3 .mast-top { font-style: normal; text-transform: uppercase; font-size: .7rem; }
.intro .p3 .mast-title { font: 700 clamp(2.4rem, 8vw, 4rem) / 1 "Courier New", monospace; letter-spacing: -.02em; text-transform: uppercase; }
.intro .p3 .photo { filter: contrast(1.6) grayscale(1); margin-bottom: 10px; }
.intro .p3 p { font-size: clamp(.8rem, 1.7vw, .92rem); line-height: 1.45; margin: 0 0 8px; }
.intro .p3 .lead { font-weight: 700; }
.intro .rules { margin: 6px 0 0; padding-left: 22px; font-weight: 700; font-size: clamp(.8rem, 1.7vw, .92rem); line-height: 1.5; }
.intro .stamp { position: absolute; right: 34px; bottom: 22px; transform: rotate(-12deg); border: 3px solid #b3261e; color: #b3261e; padding: 6px 12px;
  font: 700 .85rem "Courier New", monospace; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.intro .burn { position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 40px 10px rgba(60, 30, 8, .55), inset 0 0 6px 2px #2a1404;
  background: radial-gradient(circle at 100% 0%, #120800 0 30px, rgba(70, 35, 8, .7) 52px, transparent 90px),
              radial-gradient(circle at 0% 100%, #120800 0 22px, rgba(70, 35, 8, .6) 44px, transparent 80px); }
.intro .tape { position: absolute; width: 110px; height: 26px; background: rgba(235, 225, 190, .65); box-shadow: 0 1px 2px rgba(0, 0, 0, .2); z-index: 2; }
.intro .tape.t1 { top: 8px; left: -20px; transform: rotate(-32deg); }
.intro .tape.t2 { top: 10px; right: -24px; transform: rotate(28deg); }

/* --- page 4 : tablette 2036 --- */
.intro .p4 { --tilt: 0deg; padding: 0; background: none; box-shadow: none; overflow: visible; width: min(760px, 94vw); }
.intro .bezel { position: relative; border-radius: 34px; padding: 22px; background: linear-gradient(145deg, #1d2321, #0b0e0d); border: 1px solid #2c3532;
  box-shadow: 0 40px 90px rgba(0, 0, 0, .8), 0 0 60px rgba(59, 255, 122, .12), inset 0 0 0 2px #050706; }
.intro .cam { position: absolute; top: 9px; left: 50%; width: 7px; height: 7px; margin-left: -3px; border-radius: 50%; background: #1b2a22; box-shadow: 0 0 0 2px #0a0d0c; }
.intro .screen4 { position: relative; border-radius: 16px; padding: 18px 20px 20px; min-height: 380px; overflow: hidden; color: #b8ffd0;
  font-family: "JetBrains Mono", Consolas, monospace; background: radial-gradient(ellipse at 50% 0%, #0b2a17, #020a05 70%); animation: screenOn .9s ease-out both; }
.intro .screen4::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .28) 0 1px, transparent 1px 3px); }
.intro .screen4::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(transparent 40%, rgba(59, 255, 122, .06) 50%, transparent 60%); animation: sweep 5s linear infinite; }
.intro .bar4 { display: flex; justify-content: space-between; font-size: .72rem; color: #5fbf82; border-bottom: 1px solid #14502a; padding-bottom: 8px; margin-bottom: 14px; }
.intro .grid4 { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; align-items: start; }
.intro .term4 p { margin: 0 0 9px; font-size: clamp(.78rem, 1.7vw, .92rem); line-height: 1.45; min-height: 1.2em; }
.intro .term4 p::before { content: "> "; color: #3bff7a; }
.intro .term4 p.dim { color: #5fbf82; }
.intro .term4 p.ok { color: #3bff7a; text-shadow: 0 0 8px rgba(59, 255, 122, .6); }
.intro .term4 p.warn { color: #ff6b5e; }
.intro .hubmap { border: 1px solid #14502a; border-radius: 10px; overflow: hidden; background: #02100a; }
.intro .hubmap .ping { transform-box: fill-box; transform-origin: center; animation: ping 2.4s ease-out infinite; }
.intro .go4 { margin-top: 18px; width: 100%; padding: 14px; border-radius: 12px; border: 1px solid #3bff7a; background: #3bff7a; color: #021a0a;
  font: 800 1rem "JetBrains Mono", monospace; letter-spacing: .02em; cursor: pointer; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s, box-shadow .2s; pointer-events: none; }
.intro .go4.on { opacity: 1; transform: none; pointer-events: auto; box-shadow: 0 0 30px rgba(59, 255, 122, .45); }
.intro .go4.on:hover { box-shadow: 0 0 44px rgba(59, 255, 122, .7); }

/* --- interface de la cinématique --- */
.intro .ui { position: absolute; inset: 0; pointer-events: none; z-index: 10; }
.intro .skip { position: absolute; top: 18px; right: 18px; pointer-events: auto; padding: 8px 14px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(0, 0, 0, .45); color: #eee; font: 600 .85rem Manrope, sans-serif; cursor: pointer; }
.intro .skip:hover { background: rgba(0, 0, 0, .7); }
.intro .dots { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.intro .dots span { width: 26px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .22); transition: background .4s; }
.intro .dots span.on { background: #f2e3c0; }
.intro.s3 .dots span.on { background: #3bff7a; }
.intro .hint { position: absolute; bottom: 44px; left: 0; right: 0; text-align: center; font: 600 .82rem Manrope, sans-serif; color: rgba(255, 255, 255, .6); animation: blink 2.4s infinite; }
.intro.leave { animation: introOut .7s ease-in forwards; }

@keyframes sheetIn { from { opacity: 0; transform: translateY(40px) rotateX(22deg) rotate(calc(var(--tilt) - 4deg)) scale(.86); } to { opacity: 1; transform: rotate(var(--tilt)); } }
@keyframes drift { from { transform: rotate(var(--tilt)) scale(1); } to { transform: rotate(calc(var(--tilt) + .4deg)) scale(1.025) translateY(-4px); } }
@keyframes pageTurn { 0% { transform: rotate(var(--tilt)); } 100% { transform: rotate(var(--tilt)) translateX(-6%) rotateY(-112deg); opacity: 0; } }
@keyframes flicker { 0%, 100% { filter: brightness(1); } 47% { filter: brightness(.7); } 49% { filter: brightness(1.05); } 82% { filter: brightness(.85); } }
@keyframes screenOn { 0% { filter: brightness(3) saturate(0); transform: scaleY(.02); } 40% { transform: scaleY(1); filter: brightness(2); } 100% { filter: none; } }
@keyframes sweep { from { transform: translateY(-100%); } to { transform: translateY(100%); } }
@keyframes ping { from { transform: scale(1); opacity: 1; } to { transform: scale(4); opacity: 0; } }
@keyframes introOut { to { opacity: 0; transform: scale(1.06); filter: blur(4px); } }

@media (max-width: 640px) {
  .intro .sheet { padding: 18px 18px 22px; max-height: 80vh; overflow: auto; }
  .intro .cols { columns: 1; }
  .intro .special { margin: -18px -18px 12px; padding: 6px 18px; }
  .intro .grid4 { grid-template-columns: 1fr; }
  .intro .hubmap { display: none; }
  .intro .bezel { padding: 14px; border-radius: 26px; }
  .intro .stamp { position: static; display: inline-block; margin-top: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .intro *, .intro { animation: none !important; transition: none !important; }
  .intro .go4 { opacity: 1; pointer-events: auto; transform: none; }
}

/* ---------- effets de pellicule : vieux film → film couleur → VHS → numérique ---------- */
.intro .grain { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 6; mix-blend-mode: overlay; image-rendering: pixelated; opacity: .9; }
.intro.s3 .grain { display: none; }
.intro .bars { position: absolute; inset: 0; pointer-events: none; z-index: 7; }
.intro .bars span { position: absolute; left: 0; right: 0; height: 7vh; background: #000; transition: height 1.2s ease; }
.intro .bars span:first-child { top: 0; }
.intro .bars span:last-child { bottom: 0; }
.intro.s2 .bars span, .intro.s3 .bars span { height: 0; }

/* noir et blanc qui tremble (1930-like), puis sépia, puis VHS */
.intro.s0 .stage { filter: grayscale(1) sepia(.18) contrast(1.18) brightness(.97); animation: weave .18s steps(2) infinite, projector 3.2s infinite; }
.intro.s1 .stage { filter: sepia(.5) saturate(.85) contrast(1.08); animation: weave .24s steps(2) infinite, projector 4s infinite; }
.intro.s2 .stage { filter: saturate(1.3) contrast(1.12) brightness(1.02); }
.intro.s2 .sheet { text-shadow: 1.6px 0 rgba(255, 0, 60, .45), -1.6px 0 rgba(0, 190, 255, .45); }
.intro.s2 .sheet .photo { filter: contrast(1.6) grayscale(1) drop-shadow(2px 0 rgba(255, 0, 60, .5)) drop-shadow(-2px 0 rgba(0, 190, 255, .5)); }
.intro .vhs { position: absolute; inset: 0; pointer-events: none; z-index: 6; opacity: 0; transition: opacity .6s; }
.intro.s2 .vhs { opacity: 1;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .22) 0 1px, transparent 1px 3px); }
.intro.s2 .vhs::after { content: ""; position: absolute; left: 0; right: 0; height: 9%; background: linear-gradient(transparent, rgba(255, 255, 255, .12), transparent);
  filter: blur(1px); animation: tracking 4.5s linear infinite; }
.intro .osd { position: absolute; top: 22px; left: 26px; z-index: 8; font: 700 1.05rem "JetBrains Mono", "Courier New", monospace; color: #f2f2f2; letter-spacing: .06em;
  text-shadow: 2px 2px 0 #000, 0 0 6px rgba(255, 255, 255, .5); pointer-events: none; }
.intro.s3 .stage { filter: none; }

/* cartons de film muet */
.intro .intertitle { grid-area: 1 / 1; z-index: 3; width: min(760px, 92vw); aspect-ratio: 16 / 9; display: grid; place-items: center; background: #050505;
  animation: itIn .7s ease-out both; box-shadow: 0 0 80px rgba(0, 0, 0, .8); }
.intro .intertitle.gone { animation: itOut .5s ease-in forwards; }
.intro .it-frame { width: 86%; height: 78%; border: 3px double #e9e2cf; outline: 1px solid #e9e2cf; outline-offset: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: #efe8d6; font-family: Georgia, "Times New Roman", serif; text-align: center; padding: 20px; }
.intro .it-date { font-size: clamp(1.6rem, 4.5vw, 2.6rem); letter-spacing: .12em; text-transform: uppercase; }
.intro .it-orn { font-size: 1.6rem; opacity: .8; }
.intro .it-text { font-size: clamp(1rem, 2.6vw, 1.4rem); font-style: italic; max-width: 30ch; line-height: 1.4; }

/* amorce 3-2-1 */
.intro .leader { grid-area: 1 / 1; position: relative; width: min(560px, 80vw); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle, #9c968a, #5d584e 70%); filter: grayscale(1) contrast(1.2); box-shadow: 0 0 0 30vmax #3a362f; }
.intro .ld-ring { position: absolute; inset: 8%; border-radius: 50%; border: 4px solid #1b1a17; box-shadow: inset 0 0 0 10px transparent, inset 0 0 0 14px #1b1a17; }
.intro .ld-cross { position: absolute; inset: 0; background: linear-gradient(#1b1a17, #1b1a17) center / 3px 100% no-repeat, linear-gradient(#1b1a17, #1b1a17) center / 100% 3px no-repeat; }
.intro .ld-sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(rgba(0, 0, 0, .55) 0deg, transparent 0deg); }
.intro .leader.tick .ld-sweep { animation: sweepCone .78s linear forwards; }
.intro .ld-num { position: relative; font: 700 clamp(6rem, 22vw, 13rem) / 1 Georgia, serif; color: #141311; }
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.intro .ld-sweep { background: conic-gradient(rgba(0, 0, 0, .5) var(--a), transparent var(--a)); }
@keyframes sweepCone { from { --a: 0deg; } to { --a: 360deg; } }

/* transitions d'époque */
.intro .fx { position: absolute; inset: 0; pointer-events: none; z-index: 9; opacity: 0; }
.intro .fx.burn { animation: burn 1.1s ease-out forwards;
  background: radial-gradient(circle at 60% 40%, #fff7d6 0%, #ffb347 25%, #b0300a 45%, transparent 70%); mix-blend-mode: screen; }
.intro .fx.static { animation: staticFx 1.1s steps(8) forwards;
  background: repeating-radial-gradient(circle at 17% 33%, #fff 0 1px, #000 1px 2px), repeating-radial-gradient(circle at 71% 61%, #bbb 0 1px, transparent 1px 3px); background-size: 3px 3px, 5px 5px; }

@keyframes weave { 0% { transform: translate(0, 0); } 50% { transform: translate(.6px, -.8px); } 100% { transform: translate(-.5px, .5px); } }
@keyframes projector { 0%, 100% { opacity: 1; } 8% { opacity: .9; } 9% { opacity: 1; } 52% { opacity: .94; } 53% { opacity: 1; } 77% { opacity: .88; } 78% { opacity: 1; } }
@keyframes tracking { from { top: -10%; } to { top: 110%; } }
@keyframes itIn { from { opacity: 0; transform: scale(1.04); } }
@keyframes itOut { to { opacity: 0; } }
@keyframes burn { 0% { opacity: 0; transform: scale(.4); } 35% { opacity: 1; } 100% { opacity: 0; transform: scale(2.2); } }
@keyframes staticFx { 0% { opacity: .9; } 90% { opacity: .6; } 100% { opacity: 0; } }

/* =====================================================================
   Thème Space War : transmissions holographiques reçues par le relais.
   ===================================================================== */
.intro.th-sw { color: #d6ecff; }
.intro.th-sw .desk, .intro.th-sw.s0 .desk, .intro.th-sw.s1 .desk, .intro.th-sw.s2 .desk, .intro.th-sw.s3 .desk {
  animation: none;
  background:
    radial-gradient(1px 1px at 12% 18%, #fff, transparent), radial-gradient(1px 1px at 78% 12%, #cfe6ff, transparent),
    radial-gradient(1.5px 1.5px at 64% 72%, #fff, transparent), radial-gradient(1px 1px at 30% 84%, #bcd6ff, transparent),
    radial-gradient(1px 1px at 90% 58%, #fff, transparent), radial-gradient(1px 1px at 46% 36%, #9fc6ff, transparent),
    radial-gradient(ellipse 70% 40% at 50% 100%, rgba(63, 184, 255, .22), transparent 70%),
    radial-gradient(ellipse 55% 55% at 80% 10%, rgba(143, 124, 255, .18), transparent 70%),
    linear-gradient(180deg, #050816, #02030a);
}
/* projecteur au sol : cône de lumière sous la transmission */
.intro.th-sw .stage::after { content: ""; position: absolute; left: 50%; bottom: 0; width: min(780px, 96vw); height: 46vh; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(ellipse 50% 100% at 50% 100%, rgba(63, 184, 255, .25), transparent 70%); clip-path: polygon(38% 100%, 62% 100%, 100% 0, 0 0); opacity: .55; }
.intro.th-sw .stage, .intro.th-sw.s0 .stage, .intro.th-sw.s1 .stage, .intro.th-sw.s2 .stage { filter: none; animation: none; }
.intro.th-sw .vhs, .intro.th-sw .bars, .intro.th-sw .burn, .intro.th-sw .tape, .intro.th-sw .stain { display: none; }
.intro.th-sw .sheet { --tilt: 0deg; color: #d6ecff; font-family: Inter, Arial, sans-serif; text-shadow: none; padding-top: 40px;
  background:
    repeating-linear-gradient(0deg, rgba(63, 184, 255, .07) 0 1px, transparent 1px 3px),
    linear-gradient(180deg, rgba(14, 40, 78, .78), rgba(6, 18, 40, .82));
  border: 1px solid rgba(63, 184, 255, .55); border-radius: 4px;
  box-shadow: 0 0 0 1px rgba(63, 184, 255, .15), 0 0 40px rgba(63, 184, 255, .28), inset 0 0 60px rgba(63, 184, 255, .12);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.intro.th-sw .sheet::before { content: attr(data-tag); position: absolute; top: 0; left: 0; right: 0; padding: 7px 32px; font: 600 .72rem "Exo 2", Inter, sans-serif;
  letter-spacing: .14em; text-transform: uppercase; color: #8fd2ff; background: linear-gradient(90deg, rgba(63, 184, 255, .22), rgba(143, 124, 255, .12), transparent); border-bottom: 1px solid rgba(63, 184, 255, .4); }
.intro.th-sw .sheet.in { animation: holoIn .9s cubic-bezier(.2, .8, .2, 1) both, holoFlick 6s 1s infinite; }
.intro.th-sw .sheet.out { animation: holoOut .6s ease-in forwards; }
.intro.th-sw .sheet .mast-title, .intro.th-sw .sheet .hl { font-family: "Exo 2", Inter, sans-serif; color: #eaf6ff; text-shadow: 0 0 14px rgba(63, 184, 255, .55); text-transform: none; letter-spacing: 0; }
.intro.th-sw .sheet .mast, .intro.th-sw .sheet .mast-top, .intro.th-sw .p2 .mast, .intro.th-sw .p3 .mast { border-color: rgba(63, 184, 255, .45); }
.intro.th-sw .sheet .cols { column-rule-color: rgba(63, 184, 255, .3); font-family: Inter, Arial, sans-serif; }
.intro.th-sw .sheet .deck, .intro.th-sw .sheet p, .intro.th-sw .sheet .rules { font-family: Inter, Arial, sans-serif; }
.intro.th-sw .sheet .box { border-color: rgba(63, 184, 255, .5); background: rgba(63, 184, 255, .06); }
.intro.th-sw .sheet .box.red, .intro.th-sw .sheet .stamp { color: #ff8a8a; border-color: #ff5a5a; }
.intro.th-sw .sheet .special { background: linear-gradient(90deg, #ff5a5a, #8f7cff); margin-top: -14px; }
.intro.th-sw .sheet .art { border: 1px solid rgba(63, 184, 255, .45); mix-blend-mode: screen;
  filter: grayscale(1) sepia(1) hue-rotate(170deg) saturate(3) brightness(.95) contrast(1.25) !important; }
.intro.th-sw .sheet .art svg { opacity: .92; }
.intro.th-sw .intertitle { background: transparent; box-shadow: none; }
.intro.th-sw .it-frame { border: 1px solid rgba(63, 184, 255, .6); outline-color: rgba(143, 124, 255, .35); color: #dff1ff; font-family: "Exo 2", Inter, sans-serif;
  background: linear-gradient(180deg, rgba(14, 40, 78, .55), rgba(6, 18, 40, .6)); box-shadow: 0 0 50px rgba(63, 184, 255, .25); }
.intro.th-sw .it-date { background: linear-gradient(90deg, #3fb8ff, #8f7cff); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 700; }
.intro.th-sw .it-text { font-style: normal; }
.intro.th-sw .osd { font-family: "Exo 2", Inter, sans-serif; color: #8fd2ff; text-shadow: 0 0 10px rgba(63, 184, 255, .7); }
.intro.th-sw .leader { background: radial-gradient(circle, rgba(63, 184, 255, .18), rgba(5, 8, 22, .2) 70%); filter: none; box-shadow: none; border: 1px solid rgba(63, 184, 255, .5); }
.intro.th-sw .ld-ring { border-color: rgba(63, 184, 255, .8); box-shadow: inset 0 0 0 10px transparent, inset 0 0 0 12px rgba(143, 124, 255, .5), 0 0 30px rgba(63, 184, 255, .4); }
.intro.th-sw .ld-cross { background: linear-gradient(rgba(63, 184, 255, .35), rgba(63, 184, 255, .35)) center / 1px 100% no-repeat, linear-gradient(rgba(63, 184, 255, .35), rgba(63, 184, 255, .35)) center / 100% 1px no-repeat; }
.intro.th-sw .ld-sweep { background: conic-gradient(rgba(63, 184, 255, .35) var(--a), transparent var(--a)); }
.intro.th-sw .ld-num { font-family: "Exo 2", Inter, sans-serif; color: #eaf6ff; text-shadow: 0 0 30px rgba(63, 184, 255, .9); }
.intro .ld-tag { position: absolute; bottom: 16%; left: 0; right: 0; text-align: center; font: 600 .78rem "Exo 2", Inter, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #8fd2ff; }
.intro.th-sw .dots span.on, .intro.th-sw.s3 .dots span.on { background: #3fb8ff; box-shadow: 0 0 8px #3fb8ff; }
.intro.th-sw .bezel { background: linear-gradient(145deg, #1a2236, #0a0e1a); border-color: #2a3a5a; box-shadow: 0 40px 90px rgba(0, 0, 0, .8), 0 0 60px rgba(63, 184, 255, .2), inset 0 0 0 2px #050710; }
.intro.th-sw .screen4 { color: #cfe8ff; background: radial-gradient(ellipse at 50% 0%, #0b2246, #020612 70%); font-family: Inter, Arial, sans-serif; }
.intro.th-sw .screen4::after { background: linear-gradient(transparent 40%, rgba(63, 184, 255, .07) 50%, transparent 60%); }
.intro.th-sw .bar4 { color: #8fd2ff; border-color: #1f3c6a; font-family: "Exo 2", Inter, sans-serif; }
.intro.th-sw .term4 p::before, .intro.th-sw .term4 p.ok { color: #3fb8ff; }
.intro.th-sw .term4 p.ok { text-shadow: 0 0 8px rgba(63, 184, 255, .6); }
.intro.th-sw .term4 p.dim { color: #7a9cc6; }
.intro.th-sw .hubmap { border-color: #1f3c6a; background: #030a1a; }
.intro.th-sw .hubmap svg { filter: hue-rotate(68deg) saturate(1.2); }
.intro.th-sw .go4 { border: none; background: linear-gradient(90deg, #3fb8ff, #8f7cff); color: #04101f; font-family: "Exo 2", Inter, sans-serif; }
.intro.th-sw .go4.on { box-shadow: 0 0 30px rgba(63, 184, 255, .5); }
.intro.th-sw .skip { font-family: "Exo 2", Inter, sans-serif; border-color: rgba(63, 184, 255, .45); background: rgba(5, 12, 30, .7); }
.intro .fx.holo { animation: holoFx .9s steps(6) forwards;
  background: repeating-linear-gradient(0deg, rgba(63, 184, 255, .5) 0 2px, transparent 2px 9px), linear-gradient(90deg, transparent, rgba(143, 124, 255, .35), transparent); mix-blend-mode: screen; }
@keyframes holoIn { 0% { opacity: 0; transform: scaleY(.02) scaleX(1.1); filter: brightness(3); } 45% { opacity: 1; transform: scaleY(1.04); } 60% { opacity: .5; } 70% { opacity: 1; filter: brightness(1.3); } 100% { opacity: 1; transform: none; filter: none; } }
@keyframes holoOut { 0% { opacity: 1; transform: none; } 40% { opacity: .6; transform: skewX(-6deg); } 100% { opacity: 0; transform: scaleY(.02) scaleX(1.15); filter: brightness(3); } }
@keyframes holoFlick { 0%, 100% { opacity: 1; } 31% { opacity: 1; } 32% { opacity: .78; transform: translateX(2px); } 33% { opacity: 1; transform: none; } 74% { opacity: .9; } 75% { opacity: 1; } }
@keyframes holoFx { 0% { opacity: 1; transform: translateY(-20px); } 100% { opacity: 0; transform: translateY(20px); } }

/* =====================================================================
   Thème Table de guerre : un dossier classifié déposé sur la table.
   ===================================================================== */
.intro.th-war { color: #2a2418; }
.intro.th-war .desk, .intro.th-war.s0 .desk, .intro.th-war.s1 .desk, .intro.th-war.s2 .desk, .intro.th-war.s3 .desk {
  animation: none;
  background:
    linear-gradient(rgba(255, 181, 71, .07) 1px, transparent 1px) 0 0 / 46px 46px,
    linear-gradient(90deg, rgba(255, 181, 71, .07) 1px, transparent 1px) 0 0 / 46px 46px,
    radial-gradient(ellipse 60% 55% at 50% 42%, rgba(255, 190, 110, .2), transparent 70%),
    linear-gradient(180deg, #1c1a12, #0b0a06);
}
.intro.th-war .stage, .intro.th-war.s0 .stage, .intro.th-war.s1 .stage, .intro.th-war.s2 .stage { filter: none; animation: none; }
.intro.th-war .vhs, .intro.th-war .bars, .intro.th-war .burn, .intro.th-war .stain { display: none; }
.intro.th-war .sheet { color: #2a2418; text-shadow: none; padding-top: 44px; font-family: "Plex Condensed", Arial, sans-serif;
  background: radial-gradient(ellipse at 30% 20%, #ead8a8, #d4bc84 80%); border-radius: 2px 2px 2px 2px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .7), 8px 8px 0 -2px #c4a86e, 8px 8px 0 -1px rgba(0, 0, 0, .3); }
.intro.th-war .p1 { --tilt: -2deg; } .intro.th-war .p2 { --tilt: 1.6deg; } .intro.th-war .p3 { --tilt: -1deg; }
/* onglet de dossier et bandeau de classification */
.intro.th-war .sheet::before { content: "CLASSIFIÉ · " attr(data-tag); position: absolute; top: 0; left: 0; right: 0; padding: 8px 32px; font: 700 .74rem "Plex Condensed", Arial, sans-serif;
  letter-spacing: .14em; text-transform: uppercase; color: #fff4dc; background: #8a2a1e; border-bottom: 2px solid #5a1a12; }
.intro.th-war .sheet .mast-title, .intro.th-war .sheet .hl { font-family: "Chakra Petch", "Plex Condensed", sans-serif; color: #1e1a10; letter-spacing: 0; }
.intro.th-war .sheet .deck, .intro.th-war .sheet p, .intro.th-war .sheet .cols, .intro.th-war .sheet .rules { font-family: "Plex Condensed", Arial, sans-serif; }
.intro.th-war .sheet .special { background: #2a2418; color: #ffb547; margin-top: -18px; }
.intro.th-war .sheet .art { filter: grayscale(1) sepia(.7) contrast(1.25) !important; border: 1px solid #6a5a3a; box-shadow: 3px 3px 0 rgba(0, 0, 0, .2); transform: rotate(-.6deg); }
.intro.th-war .sheet .stamp { color: #a8281c; border-color: #a8281c; }
.intro.th-war .tape { background: rgba(200, 190, 160, .7); }
.intro.th-war .sheet.out { animation: dossierOut .7s cubic-bezier(.55, .05, .4, 1) forwards; }
.intro.th-war .intertitle { background: #12100a; box-shadow: 0 0 0 1px #3a3220, 0 30px 80px rgba(0, 0, 0, .8); }
.intro.th-war .it-frame { border: 2px solid #ffb547; outline-color: rgba(255, 181, 71, .3); color: #f2e6d0; font-family: "Chakra Petch", sans-serif; }
.intro.th-war .it-date { color: #ffb547; }
.intro.th-war .it-text { font-family: "Plex Condensed", Arial, sans-serif; font-style: normal; }
.intro.th-war .osd { font-family: "Chakra Petch", sans-serif; color: #ffb547; text-shadow: 0 0 8px rgba(255, 181, 71, .5); }
.intro.th-war .leader { background: radial-gradient(circle, #2a2418, #12100a 70%); filter: none; box-shadow: 0 0 0 30vmax rgba(0, 0, 0, .5); border: 2px solid #ffb547; }
.intro.th-war .ld-ring { border-color: #ffb547; box-shadow: inset 0 0 0 10px transparent, inset 0 0 0 12px rgba(255, 181, 71, .4); }
.intro.th-war .ld-cross { background: linear-gradient(rgba(255, 181, 71, .4), rgba(255, 181, 71, .4)) center / 1px 100% no-repeat, linear-gradient(rgba(255, 181, 71, .4), rgba(255, 181, 71, .4)) center / 100% 1px no-repeat; }
.intro.th-war .ld-sweep { background: conic-gradient(rgba(255, 181, 71, .25) var(--a), transparent var(--a)); }
.intro.th-war .ld-num { font-family: "Chakra Petch", sans-serif; color: #ffb547; }
.intro.th-war .ld-tag { color: #ffb547; font-family: "Chakra Petch", sans-serif; }
.intro.th-war .dots span.on, .intro.th-war.s3 .dots span.on { background: #ffb547; }
.intro.th-war .bezel { background: linear-gradient(145deg, #2a2618, #12100a); border-color: #4a3e24; box-shadow: 0 40px 90px rgba(0, 0, 0, .8), 0 0 50px rgba(255, 181, 71, .14), inset 0 0 0 2px #080604; }
.intro.th-war .screen4 { color: #ffe2b0; background: radial-gradient(ellipse at 50% 0%, #2a1e0a, #0a0703 70%); }
.intro.th-war .screen4::after { background: linear-gradient(transparent 40%, rgba(255, 181, 71, .06) 50%, transparent 60%); }
.intro.th-war .bar4 { color: #d49a40; border-color: #4a3412; }
.intro.th-war .term4 p::before, .intro.th-war .term4 p.ok { color: #ffb547; }
.intro.th-war .term4 p.ok { text-shadow: 0 0 8px rgba(255, 181, 71, .5); }
.intro.th-war .term4 p.dim { color: #b08850; }
.intro.th-war .hubmap { border-color: #4a3412; background: #100b04; }
.intro.th-war .hubmap svg { filter: hue-rotate(-100deg) saturate(1.1); }
.intro.th-war .go4 { border-color: #ffb547; background: #ffb547; color: #1a1205; font-family: "Chakra Petch", sans-serif; }
.intro.th-war .go4.on { box-shadow: 0 0 30px rgba(255, 181, 71, .45); }
.intro .fx.shutter { animation: shutterFx .7s ease-in-out forwards; background: linear-gradient(#000, #000) top / 100% 50% no-repeat, linear-gradient(#000, #000) bottom / 100% 50% no-repeat; }
@keyframes dossierOut { to { transform: rotate(calc(var(--tilt) - 8deg)) translate(-70vw, 6vh); opacity: .2; } }
@keyframes shutterFx { 0% { opacity: 0; } 40%, 60% { opacity: .85; } 100% { opacity: 0; } }

@media (max-width: 640px) {
  .intro.th-sw .sheet::before, .intro.th-war .sheet::before { padding: 6px 18px; font-size: .62rem; }
}
/* la tablette garde son propre cadre dans tous les thèmes */
.intro.th-sw .p4, .intro.th-war .p4 { background: none; border: none; box-shadow: none; padding: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
.intro.th-sw .p4::before, .intro.th-war .p4::before { display: none; }
