/* Parcours arcade : décor local statique, composants partagés, variantes mobiles. */
body.journey {
  display:block;
  min-height:100dvh;
  background:#101622;
  color:var(--ink);
  font-size:14px;
  line-height:1.45;
  --play-height:380px
}
.journey h1,.journey h2,.journey h3 {
  line-height:1.05
}
.journey h1 {
  font-size:50px;
  font-family:Impact,'Arial Narrow',sans-serif;
  font-weight:900;
  letter-spacing:.6px
}
.journey h1 em,.journey h2 em {
  font-style:normal;
  color:var(--gold)
}
.journey p {
  margin-bottom:14px
}
.journey button {
  font-family:inherit
}
.journey button:disabled {
  cursor:default;
  opacity:.45
}
.journey [hidden] {
  display:none!important
}
.review-bar {
  position:relative;
  z-index:5;
  background:#ffe071;
  color:#1b2230;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  padding:4px 24px;
  font-size:9px;
  font-weight:900;
  letter-spacing:1px;
  min-height:48px
}
.review-bar>span>b {
  font-size:8px;
  letter-spacing:.4px;
  font-weight:600
}
.review-bar>div {
  display:flex;
  gap:6px;
  align-items:center
}
.review-bar label {
  font-size:9px
}
.review-bar select,.review-bar button {
  min-height:36px;
  border:1px solid #8f7d45;
  border-radius:5px;
  background:#fff2b9;
  color:#202636;
  font-size:10px;
  padding:5px 8px;
  max-width:190px
}
.review-bar button {
  font-weight:700
}
.review-bar :focus-visible {
  outline-color:#111b2e
}
.scene-decoration {
  position:fixed;
  inset:0;
  overflow:hidden;
  pointer-events:none;
  z-index:0;
  background:radial-gradient(ellipse at 55% 25%,#39425866,transparent 55%),linear-gradient(180deg,#121928 0%,#101622 70%,#171d2e 100%)
}
.spotlight {
  position:absolute;
  top:-20%;
  height:100%;
  width:33%;
  background:linear-gradient(180deg,#ffe07112,#ffe07100);
  clip-path:polygon(45% 0,55% 0,100% 100%,0 100%)
}
.spot-left {
  left:3%;
  transform:rotate(28deg);
  transform-origin:top
}
.spot-right {
  right:3%;
  transform:rotate(-28deg);
  transform-origin:top;
  background:linear-gradient(180deg,#4ce7e418,#4ce7e400)
}
.stadium {
  position:absolute;
  inset:auto 0 0;
  width:100%;
  height:88%;
  opacity:.48
}
.stage-grid {
  position:absolute;
  bottom:-150px;
  left:-30%;
  width:160%;
  height:380px;
  background:repeating-linear-gradient(90deg,transparent 0 65px,#8894b31a 66px 67px),repeating-linear-gradient(0deg,transparent 0 65px,#8894b31a 66px 67px);
  transform:perspective(350px) rotateX(52deg);
  transform-origin:center bottom;
  mask-image:linear-gradient(transparent,#000)
}
.scene-word {
  position:absolute;
  bottom:5%;
  left:50%;
  transform:translateX(-50%);
  font:230px Impact,sans-serif;
  letter-spacing:30px;
  color:#0000;
  -webkit-text-stroke:1px #8190b013;
  white-space:nowrap
}
.journey-shell {
  position:relative;
  z-index:1;
  max-width:1240px;
  margin:auto;
  padding:0 28px
}
.journey-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  min-height:88px;
  border-bottom:1px solid #8294b32e
}
.journey-brand {
  background:none;
  border:0;
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--gold);
  cursor:pointer;
  min-height:48px
}
.journey-brand>svg {
  width:35px;
  height:40px;
  transform:rotate(-8deg)
}
.journey-brand>span {
  font-size:21px;
  font-weight:1000;
  font-style:italic;
  line-height:.9;
  text-align:left;
  letter-spacing:-1px;
  color:var(--ink)
}
.journey-brand b {
  display:block;
  color:var(--gold);
  font-size:14px;
  letter-spacing:4px;
  margin-top:5px
}
.header-trail {
  font:10px Consolas,monospace;
  letter-spacing:2px;
  color:#a6b1c9
}
.header-actions {
  display:flex;
  align-items:center;
  gap:10px
}
.icon-button {
  width:44px;
  height:44px;
  background:#1d2636;
  border:1px solid #46536b;
  border-radius:8px;
  color:var(--ink);
  padding:10px
}
.icon-button svg {
  width:22px;
  height:22px
}
.profile-button {
  background:none;
  color:var(--ink);
  display:flex;
  align-items:center;
  gap:9px;
  min-height:44px;
  border:0;
  text-align:left;
  font-size:12px;
  font-weight:900
}
.player-avatar {
  background:#303c52;
  color:var(--gold);
  border:1px solid #7c849b;
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border-radius:50%
}
.profile-button small {
  display:block;
  font-size:9px;
  color:var(--muted);
  font-weight:500;
  margin-top:2px;
  letter-spacing:.6px
}
#journey-view {
  min-height:570px;
  outline:none
}
.journey-screen {
  padding:28px 0 30px
}
.journey-footer {
  min-height:50px;
  border-top:1px solid #8294b32e;
  padding:15px 0;
  display:flex;
  align-items:center;
  gap:24px;
  font-size:9px;
  color:#a1acc1
}
.journey-footer>span {
  margin-right:auto;
  letter-spacing:1px
}
.journey-footer a {
  font-size:9px;
  color:#bdc7da
}
.journey .eyebrow {
  font-size:9px;
  letter-spacing:2px;
  color:#bdc6d9;
  margin-bottom:12px
}
.ui-icon {
  width:22px;
  height:22px;
  flex-shrink:0;
  vertical-align:middle
}
.action-button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:46px;
  border:1px solid #57657e;
  border-radius:7px;
  padding:12px 18px;
  color:var(--ink);
  background:#222d42;
  font-size:12px;
  font-weight:900;
  letter-spacing:.5px;
  text-decoration:none;
  box-shadow:0 3px 0 #080e19
}
.action-button.primary {
  color:#1a2231;
  background:var(--gold);
  border:2px solid #f5d367;
  box-shadow:0 4px 0 #897335
}
.action-button.quiet {
  background:#1d2637
}
.action-button.text-button {
  background:none;
  border-color:transparent;
  box-shadow:none;
  color:#c0cadd
}
.action-button.selected-button {
  border-color:var(--gold);
  color:var(--gold);
  background:#3c3825
}
.action-button.paper-ghost {
  background:none;
  color:#2d3645;
  border:0;
  box-shadow:none;
  font-size:11px;
  padding-left:0;
  justify-content:flex-start
}
.action-button:active {
  translate:0 2px;
  box-shadow:none
}
.action-button kbd {
  border:1px solid currentColor;
  font-size:10px;
  line-height:1;
  padding:4px;
  border-radius:3px
}
.back-icon {
  display:grid;
  place-items:center;
  width:46px;
  height:46px;
  border:1px solid #57657e;
  border-radius:50%;
  background:#202a3b;
  color:var(--ink);
  flex-shrink:0
}
.journey-heading {
  display:flex;
  align-items:center;
  gap:18px;
  margin-bottom:28px
}
.journey-heading h1 {
  font-size:42px;
  margin-bottom:8px
}
.journey-heading .eyebrow {
  margin-bottom:7px
}
.heading-description {
  font-size:12px;
  color:#bbc4d6;
  line-height:1.7;
  margin:0!important
}
.status-tag {
  display:inline-flex;
  justify-content:center;
  align-items:center;
  min-height:26px;
  border:1px solid #69758d;
  background:#202b3e;
  border-radius:4px;
  font:9px Consolas,monospace;
  padding:4px 8px;
  letter-spacing:.6px
}
.status-tag.good {
  color:#a8edb1;
  border-color:#50765f;
  background:#1c332c
}
.journey-art {
  position:relative;
  z-index:1;
  min-width:0
}
.journey-art .fighter-svg {
  max-height:100%;
  overflow:visible
}
.journey .fighter-svg .figure {
  animation:none
}
.field-label {
  font-size:9px;
  letter-spacing:1.6px;
  color:#b5c1d5;
  font-weight:900;
  margin-bottom:10px
}
.muted-copy {
  font-size:12px;
  color:#bdc6d9
}
.room-note {
  font-size:11px;
  line-height:1.7;
  color:#aebbd1;
  margin-top:20px;
  margin-bottom:0
}
.inline-notice {
  border-left:3px solid var(--gold);
  background:#423d26;
  padding:12px 14px;
  color:#f5e1a2;
  font-size:12px;
  line-height:1.65;
  margin:14px 0
}
.journey-toast {
  position:fixed;
  z-index:20;
  bottom:20px;
  left:50%;
  transform:translateX(-50%);
  width:max-content;
  max-width:calc(100vw - 32px);
  background:#f8e8b5;
  color:#1a2536;
  border:2px solid #fff3cb;
  border-radius:8px;
  box-shadow:0 6px 30px #0008;
  font-size:13px;
  font-weight:700;
  padding:14px 20px
}
.journey dialog {
  color:var(--ink);
  background:#202b3f;
  border:2px solid #8290aa;
  border-radius:12px;
  padding:30px;
  max-width:460px;
  width:calc(100% - 32px);
  margin:auto;
  box-shadow:10px 10px 0 #050b17
}
.journey dialog::backdrop {
  background:#040a16cb
}
.journey dialog h2 {
  font:32px Impact,sans-serif
}
.journey dialog p {
  font-size:13px;
  line-height:1.7;
  color:#c7cede
}
.journey dialog>div {
  display:flex;
  justify-content:flex-end;
  gap:10px;
  margin-top:22px
}
/* Entrée et grande affiche de menu. */
.arrival-layout {
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(320px,.9fr);
  gap:60px;
  align-items:center;
  padding:18px 32px 0
}
.arrival-story h1 {
  font-size:62px;
  margin-bottom:18px
}
.arrival-story>p:not(.eyebrow) {
  color:#c2cbda;
  font-size:15px;
  line-height:1.7
}
.hero-lineup {
  position:relative;
  height:320px;
  isolation:isolate
}
.hero-lineup>.journey-art {
  position:absolute;
  bottom:12px;
  width:210px
}
.lineup-titan {
  left:0;
  z-index:1!important;
  bottom:20px!important;
  transform:rotate(-5deg)
}
.lineup-spectre {
  right:0;
  z-index:2!important;
  bottom:38px!important;
  transform:rotate(5deg)
}
.lineup-volt {
  left:50%;
  transform:translateX(-50%);
  width:245px!important;
  z-index:3!important
}
.lineup-platform {
  position:absolute;
  z-index:0;
  bottom:8px;
  left:0;
  right:0;
  height:55px;
  border:1px solid #7a88a854;
  background:#18243c;
  box-shadow:0 12px 0 #0c1424;
  border-radius:50%
}
.arrival-form {
  position:relative;
  background:#f8efda;
  color:#1f2b3d;
  border:3px solid #152032;
  border-radius:12px;
  padding:36px;
  box-shadow:9px 10px 0 #0005;
  transform:rotate(1deg)
}
.arrival-form h2 {
  font:37px Impact,sans-serif;
  letter-spacing:.4px;
  margin-bottom:14px
}
.arrival-form>p {
  font-size:13px;
  color:#556075;
  max-width:280px;
  line-height:1.7
}
.paper-corner {
  position:absolute;
  top:-12px;
  right:20px;
  padding:7px 14px;
  background:#18283f;
  color:#ffe071;
  font:10px Consolas,monospace;
  letter-spacing:2px;
  transform:rotate(4deg)
}
.journey form>label {
  display:block;
  font-size:10px;
  letter-spacing:1.6px;
  font-weight:900;
  margin-bottom:8px
}
.journey form>input {
  width:100%;
  min-height:54px;
  background:#fffaf0;
  color:#1b273b;
  border:2px solid #617087;
  border-radius:5px;
  padding:12px 14px;
  font-size:18px;
  font-weight:900;
  letter-spacing:1px
}
.journey form>input[aria-invalid=true] {
  border-color:#ae253d
}
.journey form>small {
  display:block;
  font-size:10px;
  margin-top:8px;
  line-height:1.6;
  color:#596477
}
.journey form>.action-button {
  width:100%
}
.form-error {
  color:#ab243c;
  font-size:12px;
  line-height:1.5;
  min-height:20px;
  margin:8px 0 10px
}
.welcome-foot {
  display:flex;
  gap:22px;
  border-top:1px solid #c9c0ab;
  padding-top:16px;
  margin-top:15px;
  font:9px Consolas,monospace;
  letter-spacing:1px
}
.menu-hero {
  display:grid;
  grid-template-columns:1.05fr 1fr;
  align-items:center;
  gap:20px;
  min-height:360px;
  padding:20px 28px 12px
}
.menu-copy h1 {
  font-size:78px;
  line-height:.96;
  margin-bottom:20px
}
.menu-copy>p:not(.eyebrow) {
  color:#bdc8dc;
  font-size:14px;
  line-height:1.8
}
.menu-hero .hero-lineup {
  height:345px
}
.menu-hero .lineup-volt {
  width:275px!important
}
.menu-hero .lineup-titan,.menu-hero .lineup-spectre {
  width:235px
}
.hero-cta {
  font-size:19px!important;
  min-width:355px;
  min-height:66px;
  justify-content:flex-start!important;
  border-radius:8px!important;
  margin-top:10px;
  padding:16px 20px!important
}
.hero-cta>span {
  font-size:9px;
  letter-spacing:1.3px;
  margin-left:10px
}
.hero-cta>.ui-icon:last-child {
  margin-left:auto
}
.hero-meta {
  display:flex;
  align-items:center;
  gap:11px;
  font:9px Consolas,monospace;
  letter-spacing:.6px;
  color:#a8b5cd;
  margin-top:20px
}
.hero-meta i {
  width:3px;
  height:3px;
  background:var(--gold)
}
.menu-links {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  margin-top:24px
}
.menu-tile {
  display:flex;
  align-items:center;
  gap:16px;
  min-height:94px;
  text-align:left;
  padding:19px 20px;
  border:1px solid #5f6d865c;
  background:#263247dd;
  border-radius:9px;
  color:var(--ink);
  box-shadow:0 4px 0 #080e19
}
.menu-tile small {
  display:block;
  font-size:8px;
  color:#c0c9da;
  letter-spacing:1.1px;
  margin-bottom:5px
}
.menu-tile b {
  font-size:13px;
  letter-spacing:.8px
}
.menu-tile>.ui-icon {
  margin-left:auto;
  width:18px
}
.tile-icon {
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border:1px solid #667189;
  border-radius:6px;
  color:var(--gold);
  flex-shrink:0
}
.journey-tip {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin-top:25px;
  font-size:11px;
  color:#b3c0d6
}
.journey-tip>span {
  font:9px Consolas,monospace;
  color:var(--gold);
  letter-spacing:1px
}
.journey-tip p {
  margin:0
}
/* Modes. */
.mode-posters {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px
}
.mode-poster {
  --poster-color:var(--gold);
  position:relative;
  overflow:hidden;
  min-height:470px;
  background:linear-gradient(145deg,#26344a,#192334);
  border:1px solid #73809a;
  border-top:4px solid var(--poster-color);
  border-radius:10px;
  color:var(--ink);
  text-align:left;
  padding:24px 26px;
  box-shadow:0 8px 0 #091120;
  display:flex;
  flex-direction:column
}
.mode-poster:hover {
  background:linear-gradient(145deg,#33425a,#1e293c);
  border-color:var(--poster-color)
}
.cpu-poster {
  --poster-color:var(--titan)
}
.pvp-poster {
  --poster-color:var(--spectre)
}
.poster-index {
  font:10px Consolas,monospace;
  letter-spacing:1.6px;
  color:var(--poster-color)
}
.poster-illustration {
  height:190px;
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  margin:8px -10px
}
.poster-illustration>.journey-art {
  width:180px
}
.pvp-poster .poster-illustration>.journey-art {
  width:150px;
  margin:0 -18px
}
.solo-illustration>span {
  font:140px Impact,sans-serif;
  color:#ffe071;
  line-height:1;
  transform:rotate(-8deg);
  position:relative;
  z-index:1
}
.poster-block {
  position:absolute;
  display:block;
  width:54px;
  height:54px;
  border:3px solid #091628;
  box-shadow:inset 5px 5px 0 #fff5,4px 5px 0 #0004;
  transform:rotate(-10deg)
}
.poster-block.p1 {
  background:#bc9aff;
  top:24px;
  left:14%
}
.poster-block.p2 {
  background:#4ce7e4;
  bottom:16px;
  right:10%
}
.poster-block.p3 {
  background:#ffad60;
  right:12%;
  top:30px;
  width:32px;
  height:32px
}
.mode-poster h2 {
  font:38px Impact,sans-serif;
  letter-spacing:.6px;
  line-height:1.02;
  margin:8px 0 16px
}
.mode-poster h2 em {
  color:var(--poster-color)
}
.mode-poster>p {
  font-size:12px;
  color:#c4cddd;
  line-height:1.8
}
.poster-cta {
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-top:1px solid #8190a74a;
  margin-top:auto;
  padding-top:18px;
  font-size:10px;
  font-weight:900;
  letter-spacing:.6px;
  color:var(--poster-color)
}
/* Préparation et cartes de compétence. */
.pick-layout {
  display:grid;
  grid-template-columns:minmax(180px,.85fr) minmax(360px,1.6fr) minmax(160px,.65fr);
  gap:28px;
  align-items:start
}
.pick-portrait {
  text-align:center;
  position:relative;
  padding:18px 10px;
  background:radial-gradient(ellipse at center 45%,#4ce7e41a,transparent 70%);
  border-bottom:2px solid var(--fighter-accent)
}
.portrait-stamp {
  display:inline-block;
  font:9px Consolas,monospace;
  letter-spacing:2px;
  color:#aab6cf
}
.pick-portrait>.journey-art {
  height:260px;
  max-width:250px;
  margin:12px auto
}
.pick-portrait h2 {
  font:48px Impact,sans-serif;
  color:var(--fighter-accent);
  margin-bottom:8px
}
.pick-portrait>p {
  font-size:11px;
  color:#c0cbde
}
.power-summary {
  margin-top:24px;
  border-top:1px solid #8593ad4a;
  padding-top:16px
}
.power-summary small {
  font-size:10px;
  letter-spacing:1px;
  color:var(--fighter-accent);
  font-weight:900
}
.power-summary p {
  font-size:11px;
  color:#b2c0d5;
  line-height:1.6;
  margin-top:8px
}
.character-choices {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:8px;
  margin-bottom:22px
}
.character-choice {
  position:relative;
  min-width:0;
  min-height:100px;
  border:1px solid #626f87;
  border-radius:8px;
  background:#243149;
  color:var(--ink);
  padding:4px 6px 9px
}
.character-choice>.journey-art {
  height:72px;
  width:72px;
  margin:auto
}
.character-choice>span {
  font-size:10px;
  font-weight:900;
  letter-spacing:1px
}
.character-choice>b {
  position:absolute;
  right:6px;
  top:4px;
  color:var(--gold);
  font-size:13px
}
.character-choice.chosen {
  border:2px solid var(--gold);
  background:#3f3b29
}
.branch-choices {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-bottom:24px
}
.skill-choice {
  min-height:86px;
  display:flex;
  gap:10px;
  align-items:center;
  border:1px solid #66728a;
  border-radius:7px;
  background:#202e43;
  color:var(--ink);
  padding:12px;
  text-align:left;
  min-width:0
}
.skill-choice.chosen {
  border:2px solid var(--gold);
  background:#3c3928
}
.skill-choice.locked {
  background:#1b2538
}
.skill-mark {
  width:24px;
  height:26px;
  display:grid;
  place-items:center;
  background:#3a4860;
  border-radius:3px;
  flex-shrink:0;
  font:900 12px Consolas,monospace;
  color:var(--gold)
}
.skill-choice b {
  display:block;
  font-size:10px;
  letter-spacing:.3px
}
.skill-choice small {
  display:block;
  color:#c0cadd;
  font-size:9px;
  line-height:1.6;
  margin-top:4px
}
.skill-choice .lock-label {
  color:#f2d99b;
  font-size:8px
}
.difficulty-control {
  border:0;
  padding:0;
  margin:0 0 22px;
  min-width:0
}
.difficulty-control legend {
  font-size:9px;
  color:#b5c1d5;
  letter-spacing:1.6px;
  font-weight:900;
  margin-bottom:10px
}
.difficulty-control>div {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:6px
}
.difficulty-control button {
  min-height:66px;
  background:#202e43;
  color:var(--ink);
  border:1px solid #65728b;
  border-radius:6px;
  padding:9px 4px
}
.difficulty-control button b {
  font-size:11px;
  letter-spacing:.5px
}
.difficulty-control button small {
  display:block;
  font-size:8px;
  color:#b7c3d8;
  margin-top:5px;
  line-height:1.3
}
.difficulty-control button.chosen {
  border-color:var(--titan);
  background:#294035;
  color:var(--titan)
}
.ready-line {
  display:flex;
  align-items:center;
  gap:18px;
  padding-top:15px;
  border-top:1px solid #7d8ca74a
}
.ready-line>.action-button {
  min-width:170px
}
.ready-line>p {
  font-size:10px;
  line-height:1.7;
  color:#bec8db;
  margin:0
}
.random-opponent {
  margin-top:12px;
  text-align:center;
  padding:16px 10px;
  border-left:1px solid #74849f4a
}
.random-opponent>span {
  font:9px Consolas,monospace;
  letter-spacing:1px;
  color:#c1ccde
}
.mystery-card {
  height:190px;
  width:130px;
  margin:24px auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  border:2px dashed #74829a;
  border-radius:10px;
  background:repeating-linear-gradient(135deg,#28364e,#28364e 10px,#253148 10px,#253148 20px);
  transform:rotate(5deg)
}
.mystery-card>b {
  font:100px Impact,sans-serif;
  color:#b9c5df
}
.mystery-card>i {
  font:11px Consolas,monospace;
  letter-spacing:4px;
  color:var(--gold)
}
.random-opponent h3 {
  font:23px Impact,sans-serif;
  line-height:1.2;
  color:#e4e8f1
}
.random-opponent p {
  font-size:10px;
  line-height:1.8;
  color:#b1bfd6
}
.pvp-preparation {
  display:grid;
  grid-template-columns:minmax(0,1fr) 100px minmax(0,1fr);
  gap:30px;
  max-width:960px;
  margin:auto
}
.pvp-local,.pvp-peer {
  background:#243149d9;
  border:1px solid #6a78945c;
  border-radius:10px;
  padding:22px
}
.pvp-player-title {
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
  font-size:13px
}
.pvp-local-hero {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px
}
.pvp-local-hero>.journey-art {
  height:130px;
  width:130px
}
.pvp-local-hero h2 {
  font:35px Impact,sans-serif;
  color:var(--volt);
  margin-bottom:7px
}
.pvp-local-hero p {
  font-size:9px;
  color:#b9c5da;
  margin:0
}
.pvp-local .branch-choices {
  grid-template-columns:1fr;
  margin-bottom:18px
}
.pvp-local .skill-choice {
  min-height:62px
}
.pvp-local>.action-button {
  width:100%
}
.pvp-peer {
  text-align:center
}
.pvp-peer>.journey-art {
  height:220px;
  max-width:220px;
  margin:12px auto
}
.pvp-peer>h2 {
  font:36px Impact,sans-serif;
  color:var(--spectre);
  margin-bottom:8px
}
.pvp-peer>p {
  font-size:11px;
  color:#c1cadd
}
.versus-divider {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  color:var(--gold);
  font:45px Impact,sans-serif;
  gap:18px
}
.versus-divider>span {
  font:9px Consolas,monospace;
  line-height:1.8;
  text-align:center;
  color:#b6c2d8
}
.blind-skill {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  border:1px dashed #8a83a8;
  background:#35334c;
  padding:13px;
  margin-top:20px
}
.blind-skill>b {
  font:30px Impact,sans-serif;
  color:var(--spectre)
}
.blind-skill span {
  font-size:10px;
  letter-spacing:.8px;
  text-align:left
}
.blind-skill small {
  display:block;
  margin-top:6px;
  font-size:9px;
  color:#b9c2d7;
  letter-spacing:0
}
.fairness-box {
  text-align:left;
  background:#4b4229;
  border-left:3px solid var(--gold);
  padding:13px;
  margin-top:15px;
  color:#f2dfa9
}
.fairness-box>b {
  font-size:10px;
  letter-spacing:.5px
}
.fairness-box>p {
  font-size:10px;
  line-height:1.7;
  margin:8px 0
}
.fairness-box>label {
  font-size:11px;
  display:flex;
  align-items:center;
  gap:8px;
  min-height:40px
}
.fairness-box input {
  accent-color:var(--gold);
  width:18px;
  height:18px
}
.peer-wait {
  font-size:10px!important;
  margin:14px 0 0
}
/* Salons et admission. */
.rooms-layout {
  display:grid;
  grid-template-columns:290px minmax(0,1fr);
  gap:32px
}
.host-poster {
  background:linear-gradient(145deg,#30435a,#222f45);
  border:1px solid #71819a;
  border-radius:10px;
  padding:20px 24px;
  box-shadow:0 6px 0 #080e19
}
.host-poster-art {
  height:165px;
  max-width:180px;
  margin:-5px auto 10px
}
.host-poster>span {
  font:8px Consolas,monospace;
  letter-spacing:1.2px;
  color:#d8e0ee
}
.host-poster h2 {
  font:44px Impact,sans-serif;
  margin:14px 0
}
.host-poster>p {
  font-size:12px;
  line-height:1.8;
  color:#c5cfdf
}
.host-poster>.action-button {
  width:100%;
  font-size:10px;
  margin-top:8px;
  padding:12px
}
.rooms-panel {
  min-width:0
}
.rooms-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  border-bottom:1px solid #7b8aa74a;
  padding-bottom:16px;
  margin-bottom:10px
}
.rooms-heading>div {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:10px;
  letter-spacing:.8px
}
.status-dot {
  display:inline-block;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--titan)
}
.rooms-heading .action-button {
  min-height:44px;
  font-size:9px;
  padding:9px 12px
}
.room-row {
  display:flex;
  align-items:center;
  gap:16px;
  border-bottom:1px solid #7685a14a;
  padding:18px 0
}
.room-row>.journey-art {
  height:74px;
  width:70px;
  flex-shrink:0;
  background:#2d3b52;
  border-radius:8px;
  padding:2px
}
.room-row>div:nth-child(2) {
  flex:1;
  min-width:0
}
.room-row b {
  font-size:13px;
  letter-spacing:.7px
}
.room-row span:not(.status-tag) {
  display:block;
  color:#b3c0d6;
  font-size:10px;
  margin-top:5px
}
.room-row>.action-button {
  min-height:44px;
  font-size:9px;
  padding:10px 12px
}
.empty-state {
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  text-align:center;
  min-height:330px;
  gap:10px;
  padding:30px
}
.empty-state>.ui-icon {
  width:48px;
  height:48px;
  color:var(--gold);
  margin-bottom:10px
}
.empty-state h2 {
  font:30px Impact,sans-serif;
  margin:0
}
.empty-state>p {
  font-size:12px;
  color:#c0cadd;
  line-height:1.8;
  max-width:340px
}
.waiting-layout {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);
  gap:60px;
  max-width:980px;
  margin:auto
}
.room-code-panel {
  padding:25px 20px
}
.room-code-panel>span {
  font:9px Consolas,monospace;
  letter-spacing:1.5px;
  color:#b9c5d9
}
.room-code-panel>h2 {
  font:62px Impact,sans-serif;
  letter-spacing:2px;
  line-height:1;
  margin:25px 0
}
.room-code-panel>p {
  max-width:330px;
  font-size:13px;
  color:#c0cbde;
  line-height:1.8
}
.host-id {
  display:flex;
  align-items:center;
  gap:16px;
  border-top:1px solid #8190ab4a;
  margin-top:30px;
  padding-top:18px
}
.host-id>.journey-art {
  width:72px;
  height:80px
}
.host-id b {
  display:block;
  font-size:18px
}
.host-id span {
  display:block;
  font:9px Consolas,monospace;
  letter-spacing:1px;
  color:#b6c2d8;
  margin-top:6px
}
.admission-panel {
  background:#233148db;
  border:1px solid #6b7d9a;
  border-radius:12px;
  padding:24px;
  text-align:center;
  box-shadow:0 8px 0 #07101f
}
.empty-seat {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:15px;
  height:190px;
  max-width:230px;
  margin:10px auto 28px;
  border:2px dashed #6d7e9b;
  border-radius:9px;
  background:#1b283c
}
.empty-seat>.ui-icon {
  height:55px;
  width:55px;
  color:#9cadc9
}
.empty-seat>span {
  font:10px Consolas,monospace;
  letter-spacing:2px;
  color:#aebed7
}
.admission-panel>h2 {
  font:32px Impact,sans-serif;
  margin-bottom:15px
}
.admission-panel>p {
  font-size:12px;
  line-height:1.8;
  color:#c5cfe0
}
.admission-panel>.text-button {
  margin-top:20px;
  display:flex;
  width:100%
}
.request-label {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:8px;
  color:var(--gold);
  font:10px Consolas,monospace;
  letter-spacing:1px
}
.candidate-portrait {
  height:150px;
  width:150px;
  margin:12px auto
}
.admission-panel .inline-notice {
  text-align:left;
  font-size:10px
}
.admission-actions {
  display:flex;
  gap:10px
}
.admission-actions>.action-button {
  flex:1
}
.guest-wait {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  align-items:center;
  max-width:980px;
  margin:auto;
  padding:30px 0
}
.waiting-duel {
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative
}
.waiting-duel>.journey-art {
  width:210px;
  margin:0 -12px
}
.waiting-duel>span {
  font:40px Impact,sans-serif;
  color:var(--gold);
  z-index:2
}
.pending-ticket {
  border:1px solid #6e7d98;
  background:#28374edd;
  border-radius:10px;
  text-align:center;
  padding:34px 28px;
  box-shadow:0 7px 0 #081122
}
.pending-ticket h2 {
  font:30px Impact,sans-serif;
  letter-spacing:1px;
  margin:24px 0 14px
}
.pending-ticket>p {
  font-size:13px;
  color:#c5cee0;
  line-height:1.8
}
.pending-ticket .action-button {
  margin-top:18px
}
/* Vues de jeu : le plateau reste prioritaire. */
.game-topline {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:16px;
  gap:15px
}
.game-topline h1 {
  font-size:30px;
  margin:0
}
.game-topline .eyebrow {
  margin-bottom:5px;
  font-size:8px
}
.game-actions {
  display:flex;
  gap:8px;
  align-items:center
}
.game-actions>.action-button {
  min-height:44px;
  padding:9px 12px;
  font-size:9px
}
.game-actions .ui-icon {
  width:16px;
  height:16px
}
.solo-layout {
  display:grid;
  grid-template-columns:minmax(0,220px) minmax(0,190px) minmax(0,150px);
  justify-content:center;
  gap:24px;
  align-items:start
}
.local-board-wrap,.battle-grid-holder {
  position:relative;
  min-width:0
}
.journey .journey-playfield {
  width:min(100%,calc(var(--play-height)/2));
  height:var(--play-height);
  margin:auto;
  aspect-ratio:1/2;
  min-width:0;
  grid-template-rows:repeat(20,minmax(0,1fr));
  border-top-color:var(--gold);
  box-shadow:0 5px 0 #040913
}
.journey .journey-playfield.board-danger {
  border-color:var(--danger)
}
.score-plaque {
  border-top:3px solid var(--gold);
  background:#26344be6;
  padding:20px 18px;
  margin-bottom:14px
}
.score-plaque small {
  display:block;
  font-size:9px;
  letter-spacing:2px;
  color:#c7d0e1
}
.score-plaque strong {
  display:block;
  font:900 31px Consolas,monospace;
  color:var(--gold);
  margin:9px 0
}
.score-plaque>span {
  font-size:9px;
  color:#b2c0d7
}
.stat-pair {
  display:flex;
  gap:10px
}
.stat-pair>div {
  background:#24324ae6;
  padding:12px 16px;
  flex:1
}
.stat-pair small {
  display:block;
  font-size:8px;
  letter-spacing:1px;
  color:#b9c6dc
}
.stat-pair b {
  font:30px Impact,sans-serif;
  display:block;
  margin-top:5px
}
.pace-card {
  margin-top:18px;
  font-size:9px;
  color:#c1cce0
}
.pace-card>span {
  letter-spacing:1px
}
.pace-card>b {
  display:block;
  margin:8px 0;
  font-size:11px
}
.pace-card p {
  font-size:10px;
  line-height:1.7;
  margin-top:10px
}
.energy-track {
  height:7px;
  background:#0a1121;
  border:1px solid #52627e;
  padding:1px
}
.energy-track>i {
  display:block;
  height:100%;
  background:var(--gold)
}
.solo-emblem {
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:12px
}
.solo-emblem>.journey-art {
  height:74px;
  width:74px
}
.solo-emblem>span {
  font-weight:900;
  font-size:13px
}
.solo-emblem small {
  display:block;
  color:#afbdd6;
  font-size:8px;
  letter-spacing:1px;
  margin-top:5px
}
.piece-rail {
  background:#22314ae8;
  border:1px solid #60708d74;
  padding:12px;
  border-radius:7px
}
.rail-section h2 {
  font:9px Consolas,monospace;
  letter-spacing:1px;
  color:#c0cde2;
  margin:0 0 5px;
  text-align:center
}
.rail-section kbd {
  font-size:8px;
  color:#99a9c4
}
.rail-section {
  margin-bottom:12px
}
.piece-preview {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  grid-template-rows:repeat(2,1fr);
  width:64px;
  height:32px;
  margin:8px auto;
  gap:1px
}
.piece-preview>i {
  background:var(--piece);
  box-shadow:inset 2px 2px 0 #fff5,inset -2px -2px 0 #0005;
  border:1px solid #0b1120;
  min-width:0
}
.battle-power {
  margin-top:12px
}
.battle-power>span {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  font-size:8px;
  letter-spacing:.3px;
  color:var(--gold);
  font-weight:900;
  flex-wrap:wrap
}
.battle-power>span>b {
  font:8px Consolas,monospace;
  color:#bac8df
}
.battle-power .energy-track {
  margin-top:7px;
  margin-bottom:8px
}
.battle-power>.action-button {
  width:100%;
  padding:8px 5px;
  font-size:8px;
  min-height:44px;
  gap:5px;
  letter-spacing:0
}
.battle-power>.action-button>.ui-icon {
  width:16px;
  height:16px
}
.battle-power .power-wait {
  background:#20293b;
  opacity:1;
  color:#a6b3ca;
  border-color:#55637e;
  box-shadow:none
}
.battle-power .power-ready {
  background:var(--gold);
  color:#1a2336;
  border-color:var(--gold)
}
.journey-touch {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  max-width:520px;
  margin:16px auto 0;
  padding-bottom:env(safe-area-inset-bottom)
}
.journey-touch button {
  min-height:44px;
  min-width:44px;
  border:1px solid #5d708e;
  background:#263952;
  color:var(--ink);
  border-radius:5px;
  font-size:11px;
  font-weight:900
}
.journey-touch .touch-drop {
  background:#ffe071;
  color:#172437;
  border-color:#ffe071
}
.game-hint {
  text-align:center;
  font-size:9px;
  color:#acbad2;
  margin:12px 0 0
}
.board-state {
  position:absolute;
  inset:0;
  background:#0a1229dd;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  z-index:3;
  text-align:center;
  padding:12px
}
.board-state>span {
  font:36px Impact,sans-serif;
  color:var(--gold)
}
.board-state>p {
  font-size:11px;
  line-height:1.7;
  margin:12px 0
}
.board-state .action-button {
  font-size:10px;
  padding:10px
}
.journey-battle {
  display:grid;
  grid-template-columns:minmax(110px,1fr) minmax(0,190px) 72px minmax(0,165px) minmax(110px,1fr);
  gap:18px;
  align-items:center;
  background:radial-gradient(ellipse at center bottom,#47577844,transparent 70%);
  padding:4px 15px 15px
}
.battle-wing {
  text-align:center;
  align-self:center;
  max-width:220px;
  margin:auto
}
.battle-wing>.journey-art {
  height:230px
}
.battle-wing>h2 {
  font:32px Impact,sans-serif;
  color:var(--volt);
  margin:10px 0 5px
}
.battle-wing>p {
  font-size:9px;
  letter-spacing:1px;
  color:#b5c3d9;
  margin:0
}
.foe-wing>h2 {
  color:var(--spectre)
}
.player-score {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:6px;
  margin-bottom:8px
}
.player-score>span {
  font-size:9px;
  font-weight:900;
  max-width:55%;
  overflow-wrap:anywhere
}
.player-score>b {
  font:900 14px Consolas,monospace;
  white-space:nowrap
}
.battle-foe {
  align-self:start
}
.battle-foe .journey-playfield {
  --play-height:330px;
  border-top-color:var(--spectre)
}
.foe-power {
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:8px;
  font-size:8px;
  color:var(--spectre);
  margin-top:14px;
  border-bottom:4px solid #6b589a;
  padding-bottom:8px
}
.foe-power b {
  font:8px Consolas,monospace
}
.battle-central {
  text-align:center
}
.battle-central>b {
  font:32px Impact,sans-serif;
  color:var(--gold);
  display:block;
  margin-bottom:24px
}
.battle-central>span {
  font:8px Consolas,monospace;
  color:var(--gold)
}
.battle-central .piece-preview {
  width:48px;
  height:24px
}
.countdown-stage {
  text-align:center;
  padding:24px 0 12px
}
.matchup {
  display:grid;
  grid-template-columns:1fr 210px 1fr;
  align-items:center;
  max-width:1000px;
  margin:auto;
  gap:20px
}
.matchup>div>.journey-art {
  max-width:300px;
  height:310px;
  margin:auto
}
.matchup h2 {
  font:44px Impact,sans-serif;
  color:var(--volt);
  margin:12px 0 8px
}
.matchup>div:last-child h2 {
  color:var(--spectre)
}
.matchup p {
  font-size:12px;
  letter-spacing:1px;
  margin-bottom:7px
}
.matchup small {
  font-size:10px;
  color:#b6c2d9;
  letter-spacing:1px
}
.round-number>span {
  font-size:9px;
  color:var(--gold);
  letter-spacing:1px
}
.round-number>b {
  font:180px Impact,sans-serif;
  display:block;
  color:var(--gold);
  line-height:1.15;
  text-shadow:6px 7px 0 #060b15
}
.round-number>p {
  font:8px Consolas,monospace;
  letter-spacing:1px
}
.countdown-note {
  font-size:11px;
  color:#bcc8dc;
  margin-top:25px
}
/* Résultat, fiches et pages secondaires. */
.result-scene {
  display:grid;
  grid-template-columns:.85fr 1.15fr;
  gap:60px;
  align-items:center;
  max-width:1000px;
  margin:25px auto
}
.result-art {
  position:relative
}
.result-art>.journey-art {
  max-width:340px;
  margin:auto
}
.result-art:after {
  content:'';
  position:absolute;
  bottom:-8px;
  left:0;
  right:0;
  height:60px;
  border-radius:50%;
  background:#20304c;
  border:1px solid #7484a458;
  z-index:0
}
.result-panel h1 {
  font-size:53px;
  line-height:1
}
.result-panel>p:not(.eyebrow) {
  font-size:12px;
  color:#bfcbde;
  line-height:1.8
}
.result-stats {
  display:flex;
  gap:25px;
  border-top:1px solid #8393af52;
  border-bottom:1px solid #8393af52;
  padding:17px 0;
  margin:22px 0
}
.result-stats>div {
  flex:1
}
.result-stats span {
  display:block;
  font-size:8px;
  letter-spacing:1.5px;
  color:#bccae0
}
.result-stats b {
  display:block;
  font:900 24px Consolas,monospace;
  margin-top:8px;
  white-space:nowrap
}
.xp-receipt {
  background:#243749c7;
  border-left:3px solid var(--gold);
  padding:14px 16px
}
.xp-receipt>span {
  display:flex;
  justify-content:space-between;
  font-size:10px;
  margin:5px 0;
  color:#d0dbea
}
.xp-receipt b {
  color:var(--gold)
}
.xp-receipt small {
  display:block;
  font-size:9px;
  color:#adbed5;
  margin-top:10px
}
.result-actions {
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:20px
}
.result-actions>.primary {
  flex-basis:100%
}
.result-actions>.status-tag {
  flex-basis:100%;
  min-height:46px
}
.result-actions>.text-button {
  margin-left:auto
}
.result-actions[data-result-hold] {
  position:relative;
  pointer-events:none
}
.result-actions[data-result-hold]>:not(.result-hold) {
  visibility:hidden
}
.result-hold {
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0;
  padding:12px;
  text-align:center;
  font:700 10px/1.5 Consolas,monospace;
  letter-spacing:1.2px;
  color:#d8e4f5;
  pointer-events:none
}
.result-live {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0
}
.fighter-state-buttons {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:-5px 0 22px
}
.fighter-state-buttons>.action-button {
  font-size:10px;
  min-width:80px
}
.guide-roster {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px
}
.guide-fighter {
  background:#26344bdb;
  border:1px solid #7c8aa574;
  border-top:3px solid var(--fighter-accent);
  border-radius:9px;
  padding:20px
}
.guide-fighter>span {
  font:9px Consolas,monospace;
  letter-spacing:1.5px;
  color:#c1cee0
}
.guide-fighter>.journey-art {
  height:200px;
  max-width:200px;
  margin:8px auto
}
.guide-fighter>h2 {
  font:44px Impact,sans-serif;
  color:var(--fighter-accent);
  margin-bottom:8px
}
.guide-fighter>p {
  font-size:12px;
  color:#bfcbdf
}
.kit-description {
  border-top:1px solid #8b9ab34a;
  padding-top:14px;
  margin-top:20px
}
.kit-description>b {
  font-size:11px;
  letter-spacing:1px;
  color:var(--fighter-accent)
}
.kit-description>p {
  font-size:11px;
  line-height:1.7;
  min-height:38px;
  margin:7px 0 10px;
  color:#c3cfe1
}
.kit-description>small {
  font:8px Consolas,monospace;
  letter-spacing:.5px;
  color:#becce1
}
.guide-branches {
  margin:20px 0
}
.guide-branches p {
  background:#1d2b41;
  padding:9px 10px;
  margin-bottom:5px
}
.guide-branches b {
  display:block;
  font-size:9px;
  color:#d8e1ef
}
.guide-branches small {
  display:block;
  font-size:9px;
  color:#b4c5dd;
  margin-top:4px;
  line-height:1.5
}
.guide-fighter>.action-button {
  width:100%;
  font-size:9px;
  letter-spacing:0
}
.rank-layout {
  display:grid;
  grid-template-columns:300px minmax(0,1fr);
  gap:42px
}
.ranking-poster {
  padding:30px 25px;
  background:linear-gradient(140deg,#554a2e,#27334a);
  border:1px solid #9d956c;
  border-radius:10px
}
.ranking-poster>.ui-icon {
  width:80px;
  height:80px;
  display:block;
  color:var(--gold);
  margin:0 auto 28px
}
.ranking-poster h2 {
  font:40px Impact,sans-serif;
  margin-bottom:20px
}
.ranking-poster p {
  font-size:13px;
  line-height:1.8;
  color:#d4d9e1
}
.ranking-poster>div {
  border-top:1px solid #a5a99269;
  margin-top:25px;
  padding-top:20px
}
.ranking-poster span {
  display:block;
  font-size:9px;
  letter-spacing:1.3px
}
.ranking-poster b {
  display:block;
  font:900 30px Consolas,monospace;
  color:var(--gold);
  margin-top:10px
}
.ranking-tabs {
  display:flex;
  gap:8px;
  margin-bottom:20px
}
.ranking-tabs button {
  font-size:10px
}
.rank-labels {
  display:flex;
  justify-content:space-between;
  padding:10px 12px;
  font:8px Consolas,monospace;
  letter-spacing:1px;
  color:#b0c0d9
}
.ranking-row {
  display:flex;
  align-items:center;
  gap:20px;
  padding:17px 12px;
  border-bottom:1px solid #8b9bb54a;
  background:#26354c88
}
.ranking-row>span {
  font:28px Impact,sans-serif;
  color:#aabbd3;
  min-width:40px
}
.ranking-row>div:nth-child(2) {
  flex:1;
  min-width:0
}
.ranking-row>div:last-child {
  text-align:right
}
.ranking-row b {
  display:block;
  font-size:14px;
  overflow-wrap:anywhere
}
.ranking-row small {
  display:block;
  font:8px Consolas,monospace;
  color:#aebfd8;
  margin-top:6px;
  letter-spacing:.7px
}
.ranking-row.is-me {
  border:1px solid #bdac68;
  background:#4a4229
}
.ranking-row.is-me>span {
  color:var(--gold)
}
.help-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px
}
.help-grid>article {
  background:#26354ada;
  border:1px solid #7085a052;
  border-radius:9px;
  padding:26px
}
.help-grid h2 {
  font:24px Impact,sans-serif;
  letter-spacing:.5px;
  margin-bottom:18px
}
.help-grid p {
  font-size:12px;
  line-height:1.9;
  color:#c9d4e4
}
.help-hero {
  background:linear-gradient(140deg,#334450,#2c3343)!important
}
.help-hero>span {
  font:9px Consolas,monospace;
  letter-spacing:1.5px;
  color:#bfcde0
}
.help-hero h2 {
  font-size:33px;
  margin-top:20px
}
.help-pieces {
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:15px;
  padding:15px 0
}
.help-pieces .piece-preview {
  margin:0
}
.key-guide {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px
}
.key-guide p {
  margin:0;
  display:flex;
  align-items:center;
  gap:10px;
  font-size:11px
}
.key-guide kbd {
  display:inline-block;
  min-width:44px;
  min-height:27px;
  background:#172338;
  border:1px solid #63799a;
  border-bottom:3px solid #63799a;
  border-radius:4px;
  font:9px Consolas,monospace;
  padding:5px;
  text-align:center;
  white-space:nowrap
}
.help-card>.key-guide+p {
  font-size:10px;
  margin-top:15px
}
.settings-layout,.profile-layout {
  display:grid;
  grid-template-columns:320px minmax(0,1fr);
  gap:60px;
  align-items:center;
  max-width:1000px;
  margin:auto
}
.settings-art {
  text-align:center
}
.settings-art>.journey-art {
  height:260px;
  max-width:260px;
  margin:auto
}
.settings-art h2 {
  font:40px Impact,sans-serif;
  line-height:1.05;
  margin:15px 0
}
.settings-panel {
  background:#26364ddb;
  border:1px solid #748aa574;
  border-radius:10px;
  padding:14px 28px 28px
}
.setting-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  min-height:110px;
  padding:22px 0;
  border-bottom:1px solid #8a9cb64a
}
.setting-row>span {
  flex:1;
  min-width:0
}
.setting-row b {
  display:block;
  font-size:12px;
  letter-spacing:.5px
}
.setting-row small {
  display:block;
  font-size:11px;
  line-height:1.8;
  color:#bfcee1;
  margin-top:8px
}
.setting-row>input {
  width:44px;
  height:25px;
  accent-color:var(--gold);
  flex-shrink:0;
  cursor:pointer
}
.settings-panel>.action-button {
  margin-top:25px;
  width:100%
}
.profile-medallion {
  text-align:center
}
.profile-medallion>.journey-art {
  height:270px;
  max-width:270px;
  margin:auto
}
.profile-medallion>h2 {
  font:44px Impact,sans-serif;
  color:var(--gold);
  margin:20px 0 12px;
  overflow-wrap:anywhere
}
.profile-medallion>.status-tag {
  margin-right:10px
}
.profile-medallion>span:last-child {
  font:11px Consolas,monospace;
  color:#c5d4e8
}
.profile-panel {
  background:#f6eedc;
  color:#1c2c42;
  border:3px solid #152139;
  box-shadow:8px 8px 0 #0004;
  border-radius:10px;
  padding:32px
}
.profile-panel form>input {
  background:#fff9ed
}
.profile-panel .room-note {
  color:#5a677b
}
.profile-metrics {
  display:flex;
  gap:15px;
  margin:24px 0;
  padding:20px 0;
  border-top:1px solid #bcc0ba;
  border-bottom:1px solid #bcc0ba
}
.profile-metrics>span {
  font-size:8px;
  flex:1;
  letter-spacing:.5px
}
.profile-metrics b {
  display:block;
  font:30px Impact,sans-serif;
  margin-bottom:6px
}
@media(min-width:900px) and (prefers-reduced-motion:no-preference) {
  body.journey:not(.motion-reduced) .menu-hero .lineup-volt {
    animation:hero-float 3.5s ease-in-out infinite alternate
  }
  @keyframes hero-float {
    to {
      translate:0 -5px
    }
  }
}
@media(max-width:1050px) {
  .review-bar>span>b {
    display:inline;
    font-size:7px
  }
  .journey-shell {
    padding:0 22px
  }
  .header-trail {
    display:none
  }
  .arrival-layout {
    gap:30px;
    padding:20px 0 0
  }
  .arrival-story h1 {
    font-size:52px
  }
  .arrival-form {
    padding:28px
  }
  .menu-copy h1 {
    font-size:65px
  }
  .menu-hero {
    padding:18px 0;
    gap:5px
  }
  .menu-hero .hero-lineup {
    height:310px
  }
  .menu-hero .lineup-titan,.menu-hero .lineup-spectre {
    width:190px
  }
  .menu-hero .lineup-volt {
    width:225px!important
  }
  .menu-tile {
    gap:10px;
    padding:14px
  }
  .menu-tile b {
    font-size:11px
  }
  .mode-poster {
    padding:20px;
    min-height:440px
  }
  .mode-poster h2 {
    font-size:32px
  }
  .poster-illustration {
    height:170px
  }
  .pvp-poster .poster-illustration>.journey-art {
    width:125px
  }
  .pick-layout {
    grid-template-columns:180px minmax(0,1fr);
    gap:22px
  }
  .random-opponent {
    grid-column:1/-1;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    border-left:0;
    border-top:1px solid #7a8ea54a;
    padding:12px 0;
    margin:0;
    text-align:left
  }
  .mystery-card {
    width:55px;
    height:65px;
    margin:0;
    flex-shrink:0
  }
  .mystery-card>b {
    font-size:38px
  }
  .mystery-card>i {
    font-size:7px
  }
  .random-opponent h3 {
    font-size:17px;
    margin:0
  }
  .random-opponent p {
    margin:0
  }
  .journey-battle {
    grid-template-columns:minmax(80px,1fr) minmax(0,180px) 60px minmax(0,145px) minmax(80px,1fr);
    gap:12px;
    padding:0
  }
  .battle-wing>.journey-art {
    height:180px
  }
  .battle-wing>h2 {
    font-size:25px
  }
  .battle-foe .journey-playfield {
    --play-height:290px
  }
  .rooms-layout {
    grid-template-columns:250px minmax(0,1fr);
    gap:25px
  }
  .room-row {
    gap:10px
  }
  .room-row>.status-tag {
    font-size:8px;
    padding:4px
  }
  .room-row b {
    font-size:11px
  }
  .room-row>.journey-art {
    width:54px;
    height:60px
  }
  .waiting-layout {
    gap:30px
  }
  .room-code-panel h2 {
    font-size:52px
  }
  .pvp-preparation {
    gap:15px;
    grid-template-columns:minmax(0,1fr) 60px minmax(0,1fr)
  }
  .pvp-local,.pvp-peer {
    padding:16px
  }
  .pvp-player-title {
    font-size:11px
  }
  .result-scene {
    gap:30px
  }
  .result-panel h1 {
    font-size:46px
  }
  .guide-roster {
    gap:14px
  }
  .guide-fighter {
    padding:16px
  }
  .guide-fighter>h2 {
    font-size:35px
  }
  .settings-layout,.profile-layout {
    gap:30px;
    grid-template-columns:260px minmax(0,1fr)
  }
}
@media(max-width:760px) {
  .review-bar {
    padding:5px 12px;
    flex-wrap:wrap;
    gap:3px
  }
  .review-bar>span {
    font-size:8px;
    letter-spacing:.5px;
    width:100%
  }
  .review-bar>div {
    width:100%;
    justify-content:space-between;
    gap:5px
  }
  .review-bar label {
    display:none
  }
  .review-bar select {
    max-width:none;
    min-width:0;
    flex:1;
    min-height:32px;
    font-size:9px;
    padding:4px;
    max-height:34px
  }
  .review-bar button {
    font-size:8px;
    min-height:32px;
    padding:5px;
    flex-shrink:0
  }
  .journey-shell {
    padding:0 16px
  }
  .journey-header {
    min-height:68px;
    gap:10px
  }
  .journey-brand {
    gap:7px
  }
  .journey-brand>svg {
    width:28px;
    height:32px
  }
  .journey-brand>span {
    font-size:18px
  }
  .journey-brand b {
    font-size:11px;
    letter-spacing:3.5px
  }
  .profile-button {
    font-size:10px;
    gap:6px
  }
  .profile-button small {
    font-size:8px
  }
  .player-avatar {
    width:29px;
    height:29px;
    font-size:11px
  }
  .header-actions {
    gap:4px
  }
  .icon-button {
    width:44px;
    min-height:44px;
    padding:9px
  }
  #journey-view {
    min-height:500px
  }
  .journey-screen {
    padding:24px 0
  }
  .journey-heading {
    gap:12px;
    align-items:flex-start;
    margin-bottom:22px
  }
  .journey-heading h1 {
    font-size:31px;
    line-height:1.05
  }
  .journey .eyebrow {
    font-size:8px;
    letter-spacing:1.1px
  }
  .heading-description {
    font-size:11px;
    line-height:1.6
  }
  .back-icon {
    width:40px;
    height:44px;
    border-radius:7px
  }
  .journey-footer {
    flex-wrap:wrap;
    gap:8px 16px;
    padding:14px 0;
    font-size:8px
  }
  .journey-footer>span {
    flex-basis:100%;
    font-size:8px
  }
  .journey-footer>a {
    font-size:9px;
    min-height:24px;
    display:flex;
    align-items:center
  }
  /* UX-007d : sur téléphone, le pied global ajoute 93 px sous le résultat
     (dépassement 28 px à 390×844 et 72 px à 360×800) et son bouton reste une
     cible dans la zone de pouce. Le résultat garde ses actions et l'aide reste
     accessible depuis le menu. */
  body[data-scene="result"] .journey-footer {
    display:none
  }
  .scene-word {
    font-size:120px;
    letter-spacing:10px;
    bottom:15%
  }
  .stadium {
    width:180%;
    left:-40%;
    max-width:none;
    height:80%;
    opacity:.3
  }
  .stage-grid {
    height:220px;
    bottom:-110px
  }
  .spotlight {
    width:55%;
    opacity:.6
  }
  .arrival-layout {
    display:flex;
    flex-direction:column;
    gap:14px;
    padding:0 6px
  }
  .arrival-story {
    width:100%;
    text-align:center
  }
  .arrival-story .eyebrow {
    font-size:8px;
    margin-bottom:10px
  }
  .arrival-story h1 {
    font-size:41px;
    margin-bottom:0
  }
  .arrival-story>p:not(.eyebrow) {
    display:none
  }
  .arrival-story .hero-lineup {
    height:190px;
    max-width:330px;
    margin:auto
  }
  .arrival-story .hero-lineup>.journey-art {
    width:140px;
    bottom:0!important
  }
  .arrival-story .lineup-volt {
    width:162px!important
  }
  .arrival-story .lineup-platform {
    height:30px;
    bottom:0
  }
  .arrival-form {
    transform:none;
    width:100%;
    padding:25px 22px;
    border-width:2px;
    box-shadow:5px 5px 0 #0005
  }
  .arrival-form h2 {
    font-size:31px
  }
  .arrival-form>p {
    font-size:12px;
    line-height:1.7;
    max-width:none
  }
  .paper-corner {
    right:15px;
    top:-11px;
    font-size:8px;
    padding:6px 11px
  }
  .arrival-form form>input {
    min-height:48px;
    font-size:16px
  }
  .arrival-form form>small {
    font-size:9px
  }
  .welcome-foot {
    justify-content:space-between;
    font-size:8px;
    gap:12px
  }
  .menu-hero {
    display:flex;
    flex-direction:column;
    gap:0;
    padding:4px 0
  }
  .menu-copy {
    width:100%
  }
  .menu-copy h1 {
    font-size:52px;
    line-height:.98;
    margin-bottom:14px
  }
  .menu-copy>p:not(.eyebrow) {
    font-size:12px;
    line-height:1.7
  }
  .hero-cta {
    width:100%;
    min-width:0;
    font-size:18px!important;
    min-height:58px
  }
  .hero-cta>span {
    font-size:8px;
    margin-left:auto
  }
  .hero-cta>.ui-icon:last-child {
    margin-left:4px
  }
  .hero-meta {
    font-size:8px;
    justify-content:center;
    gap:10px;
    margin-top:16px
  }
  .menu-hero .hero-lineup {
    height:230px;
    width:100%;
    max-width:400px;
    margin:16px auto 4px
  }
  .menu-hero .lineup-volt {
    width:205px!important
  }
  .menu-hero .lineup-titan,.menu-hero .lineup-spectre {
    width:170px;
    bottom:20px!important
  }
  .menu-hero .lineup-platform {
    bottom:0;
    height:35px
  }
  .menu-links {
    grid-template-columns:1fr;
    gap:9px;
    margin-top:14px
  }
  .menu-tile {
    min-height:70px;
    padding:12px 14px;
    gap:14px
  }
  .menu-tile small {
    font-size:8px;
    margin-bottom:4px
  }
  .menu-tile b {
    font-size:12px
  }
  .menu-tile>.ui-icon {
    width:18px
  }
  .tile-icon {
    height:35px;
    width:35px
  }
  .journey-tip {
    align-items:flex-start;
    flex-direction:column;
    gap:7px;
    margin-top:20px;
    padding:0 3px;
    font-size:10px
  }
  .journey-tip>span {
    font-size:8px
  }
  .mode-posters {
    grid-template-columns:1fr;
    gap:16px
  }
  .mode-poster {
    display:grid;
    grid-template-columns:minmax(0,1fr) 110px;
    grid-template-rows:auto auto auto auto;
    gap:0 8px;
    padding:20px;
    min-height:240px
  }
  .poster-index {
    font-size:9px;
    grid-column:1
  }
  .poster-illustration {
    grid-column:2;
    grid-row:1/4;
    height:145px;
    align-self:center;
    margin:0 -8px;
    max-width:126px
  }
  .poster-illustration>.journey-art {
    width:125px
  }
  .pvp-poster .poster-illustration>.journey-art {
    width:90px;
    margin:0 -20px
  }
  .mode-poster h2 {
    font-size:29px;
    grid-column:1;
    margin:14px 0 12px
  }
  .mode-poster>p {
    font-size:10px;
    line-height:1.7;
    grid-column:1;
    margin:0 0 12px
  }
  .mode-poster>p br {
    display:none
  }
  .poster-cta {
    grid-column:1/-1;
    font-size:9px;
    min-height:38px;
    padding-top:12px;
    margin-top:8px
  }
  .solo-illustration>span {
    font-size:95px
  }
  .poster-block.p1 {
    width:30px;
    height:30px;
    left:0;
    top:10px
  }
  .poster-block.p2 {
    width:30px;
    height:30px;
    right:0;
    bottom:5px
  }
  .poster-block.p3 {
    width:20px;
    height:20px;
    right:0;
    top:20px
  }
  .pick-layout {
    display:flex;
    flex-direction:column;
    gap:18px
  }
  .pick-portrait {
    display:grid;
    grid-template-columns:100px minmax(0,1fr);
    width:100%;
    padding:6px 5px 12px;
    text-align:left;
    column-gap:16px
  }
  .pick-portrait>.journey-art {
    grid-column:1;
    grid-row:1/5;
    width:100px;
    height:120px;
    margin:0
  }
  .portrait-stamp {
    grid-column:2;
    align-self:end;
    font-size:8px
  }
  .pick-portrait>h2 {
    grid-column:2;
    font-size:36px;
    align-self:center;
    margin:5px 0
  }
  .pick-portrait>p {
    grid-column:2;
    font-size:10px;
    margin:0
  }
  .pick-portrait .power-summary {
    grid-column:1/-1;
    padding-top:10px;
    margin-top:10px;
    display:flex;
    gap:12px;
    align-items:center
  }
  .power-summary small {
    font-size:9px;
    white-space:nowrap
  }
  .power-summary p {
    font-size:10px;
    margin:0
  }
  .pick-controls {
    width:100%
  }
  .character-choices {
    gap:6px;
    margin-bottom:19px
  }
  .character-choice {
    min-height:90px
  }
  .character-choice>.journey-art {
    width:65px;
    height:65px
  }
  .character-choice>span {
    font-size:9px
  }
  .branch-choices {
    grid-template-columns:1fr;
    gap:7px;
    margin-bottom:20px
  }
  .skill-choice {
    min-height:65px;
    padding:10px 12px;
    gap:12px
  }
  .skill-choice b {
    font-size:10px
  }
  .skill-choice small {
    font-size:10px;
    line-height:1.5
  }
  .skill-choice .lock-label {
    font-size:9px
  }
  .difficulty-control>div {
    gap:4px
  }
  .difficulty-control button {
    min-height:63px;
    padding:8px 3px
  }
  .difficulty-control button b {
    font-size:10px
  }
  .difficulty-control button small {
    font-size:8px
  }
  .ready-line {
    flex-direction:column;
    gap:10px;
    padding-top:15px
  }
  .ready-line>.action-button {
    width:100%
  }
  .ready-line>p {
    font-size:10px
  }
  .random-opponent {
    width:100%;
    gap:10px;
    justify-content:space-between;
    padding-top:16px
  }
  .random-opponent>span {
    font-size:8px;
    max-width:70px
  }
  .random-opponent h3 {
    font-size:14px;
    line-height:1.2
  }
  .random-opponent>p {
    display:none
  }
  .random-opponent>.status-tag {
    font-size:8px;
    padding:4px 6px
  }
  .mystery-card {
    width:40px;
    height:50px
  }
  .mystery-card>b {
    font-size:30px
  }
  .mystery-card>i {
    font-size:6px;
    letter-spacing:1px
  }
  .pvp-preparation {
    grid-template-columns:1fr;
    gap:15px
  }
  .pvp-local,.pvp-peer {
    padding:18px
  }
  .pvp-local-hero {
    justify-content:flex-start;
    gap:15px
  }
  .pvp-local-hero>.journey-art {
    width:110px;
    height:110px
  }
  .versus-divider {
    font-size:28px;
    flex-direction:row;
    gap:14px
  }
  .versus-divider>span {
    font-size:8px;
    line-height:1.4
  }
  .versus-divider>span br {
    display:none
  }
  .pvp-peer {
    display:grid;
    grid-template-columns:100px minmax(0,1fr);
    gap:5px 12px;
    text-align:left
  }
  .pvp-peer .pvp-player-title {
    grid-column:1/-1
  }
  .pvp-peer>.journey-art {
    grid-column:1;
    grid-row:2/5;
    height:115px;
    margin:8px 0
  }
  .pvp-peer>h2 {
    grid-column:2;
    font-size:27px;
    margin:20px 0 0
  }
  .pvp-peer>p {
    grid-column:2;
    font-size:9px;
    margin:0
  }
  .pvp-peer .blind-skill,.pvp-peer .fairness-box,.pvp-peer .peer-wait {
    grid-column:1/-1
  }
  .fairness-box>label {
    min-height:44px
  }
  .blind-skill {
    margin-top:8px
  }
  .rooms-layout {
    display:flex;
    flex-direction:column;
    gap:24px
  }
  .host-poster {
    display:grid;
    grid-template-columns:minmax(0,1fr) 100px;
    padding:18px;
    column-gap:10px
  }
  .host-poster-art {
    grid-column:2;
    grid-row:1/4;
    height:130px;
    width:110px;
    margin:0 -10px 0 0;
    align-self:center
  }
  .host-poster>span {
    grid-column:1;
    font-size:7px;
    letter-spacing:.7px
  }
  .host-poster h2 {
    grid-column:1;
    font-size:32px;
    margin:12px 0
  }
  .host-poster>p {
    grid-column:1;
    font-size:10px;
    line-height:1.6;
    margin-bottom:12px
  }
  .host-poster>.action-button {
    grid-column:1/-1;
    min-height:46px;
    margin-top:5px;
    font-size:11px
  }
  .room-row {
    flex-wrap:wrap;
    gap:9px;
    padding:15px 0
  }
  .room-row>.journey-art {
    width:44px;
    height:52px
  }
  .room-row>div:nth-child(2) {
    flex-basis:calc(100% - 140px)
  }
  .room-row>.status-tag {
    font-size:7px;
    min-height:25px;
    padding:4px
  }
  .room-row>.action-button {
    margin-left:53px;
    min-height:44px;
    width:calc(100% - 53px);
    font-size:10px
  }
  .room-row b {
    font-size:12px
  }
  .rooms-heading>div {
    font-size:9px;
    letter-spacing:.3px
  }
  .rooms-heading .action-button {
    font-size:8px;
    min-height:44px
  }
  .room-note {
    font-size:10px
  }
  .empty-state {
    padding:25px 15px;
    min-height:300px
  }
  .empty-state h2 {
    font-size:28px
  }
  .empty-state>p {
    font-size:11px
  }
  .waiting-layout {
    grid-template-columns:1fr;
    gap:20px
  }
  .room-code-panel {
    padding:5px 6px
  }
  .room-code-panel>span {
    font-size:8px
  }
  .room-code-panel>h2 {
    font-size:44px;
    line-height:1;
    letter-spacing:2px;
    margin:18px 0
  }
  .room-code-panel>h2 br {
    display:none
  }
  .room-code-panel>p {
    font-size:11px;
    max-width:none
  }
  .host-id {
    display:none
  }
  .admission-panel {
    padding:20px
  }
  .empty-seat {
    height:145px;
    margin:0 auto 22px
  }
  .admission-panel>h2 {
    font-size:29px
  }
  .admission-panel>p {
    font-size:11px
  }
  .candidate-portrait {
    height:145px;
    width:145px
  }
  .admission-actions {
    gap:7px
  }
  .admission-actions>.action-button {
    font-size:10px;
    padding:11px
  }
  .guest-wait {
    display:flex;
    flex-direction:column;
    gap:20px;
    padding:0
  }
  .waiting-duel {
    max-width:340px;
    width:100%
  }
  .waiting-duel>.journey-art {
    width:155px;
    height:170px
  }
  .waiting-duel>span {
    font-size:30px
  }
  .pending-ticket {
    padding:26px 20px;
    width:100%
  }
  .pending-ticket h2 {
    font-size:27px
  }
  .pending-ticket>p {
    font-size:11px
  }
  .request-label {
    font-size:9px;
    letter-spacing:.6px
  }
  .countdown-stage {
    padding:25px 0
  }
  .matchup {
    grid-template-columns:minmax(0,1fr) 85px minmax(0,1fr);
    gap:6px;
    margin-top:35px
  }
  .matchup>div>.journey-art {
    height:145px;
    width:130px;
    margin:0 -12px
  }
  .matchup>div:last-child>.journey-art {
    margin:0 -12px
  }
  .matchup h2 {
    font-size:23px;
    margin:8px 0
  }
  .matchup p {
    font-size:8px;
    letter-spacing:0;
    line-height:1.5
  }
  .matchup small {
    font-size:8px
  }
  .round-number>span {
    font-size:7px;
    line-height:1.5;
    display:block
  }
  .round-number>b {
    font-size:100px
  }
  .round-number>p {
    font-size:7px;
    letter-spacing:0
  }
  .countdown-note {
    font-size:10px;
    line-height:1.7;
    margin-top:35px
  }
  .journey.game-screen {
    --play-height:clamp(240px,calc(100dvh - 480px),370px)
  }
  .game-screen .journey-screen {
    padding:14px 0 15px
  }
  .game-screen .journey-header {
    min-height:60px
  }
  .game-screen .journey-footer {
    display:none
  }
  .game-screen #journey-view {
    min-height:0
  }
  .game-topline {
    gap:8px;
    margin-bottom:12px
  }
  .game-topline h1 {
    font-size:21px
  }
  .game-topline .eyebrow {
    font-size:7px;
    margin-bottom:5px;
    letter-spacing:.8px
  }
  .game-actions {
    gap:5px
  }
  .game-actions>.action-button {
    font-size:8px;
    padding:8px;
    min-height:44px;
    gap:4px
  }
  .game-actions .ui-icon {
    width:13px;
    height:13px
  }
  .game-actions>.status-tag {
    font-size:8px;
    padding:4px
  }
  .solo-layout {
    grid-template-columns:minmax(0,1fr) 76px;
    gap:12px;
    align-items:start
  }
  .solo-stats {
    grid-column:1/-1;
    display:flex;
    gap:8px;
    align-items:stretch
  }
  .score-plaque {
    padding:8px 10px;
    flex:1;
    margin:0;
    min-width:0;
    border-top-width:2px
  }
  .score-plaque small {
    font-size:7px;
    letter-spacing:1px
  }
  .score-plaque strong {
    font-size:22px;
    margin:2px 0
  }
  .score-plaque>span {
    display:none
  }
  .stat-pair {
    gap:5px;
    flex:1
  }
  .stat-pair>div {
    padding:9px 10px
  }
  .stat-pair b {
    font-size:23px;
    margin-top:1px
  }
  .stat-pair small {
    font-size:7px
  }
  .pace-card,.solo-emblem {
    display:none
  }
  .local-board-wrap {
    grid-column:1
  }
  .piece-rail {
    grid-column:2;
    padding:8px 5px
  }
  .rail-section h2 {
    font-size:8px
  }
  .rail-section {
    margin-bottom:7px
  }
  .piece-preview {
    width:48px;
    height:24px;
    margin:6px auto
  }
  .piece-rail .battle-power {
    margin-top:8px
  }
  .piece-rail .battle-power>span {
    font-size:7px;
    gap:4px;
    letter-spacing:0
  }
  .piece-rail .battle-power>span>b {
    font-size:7px
  }
  .piece-rail .battle-power>.action-button {
    font-size:7px;
    line-height:1.5;
    padding:5px 2px;
    min-height:44px
  }
  .journey-touch {
    margin-top:13px;
    gap:4px
  }
  .journey-touch button {
    min-width:0;
    min-height:44px;
    font-size:10px
  }
  .game-hint {
    font-size:8px;
    line-height:1.5;
    margin-top:10px
  }
  .journey-battle {
    display:grid;
    grid-template-columns:minmax(0,1fr) 76px;
    grid-template-rows:70px auto;
    gap:10px 12px;
    padding:0;
    align-items:start
  }
  .battle-wing {
    display:flex;
    align-items:center;
    justify-content:center;
    max-width:none;
    gap:4px;
    min-width:0;
    width:100%;
    margin:0;
    align-self:center
  }
  .battle-wing>.journey-art {
    width:70px;
    height:70px;
    flex-shrink:0
  }
  .battle-wing>h2 {
    font-size:23px;
    margin:0
  }
  .battle-wing>p {
    display:none
  }
  .local-wing {
    grid-column:1;
    grid-row:1
  }
  .foe-wing {
    grid-column:2;
    grid-row:1;
    flex-direction:column;
    gap:0
  }
  .foe-wing>.journey-art {
    height:58px;
    width:58px
  }
  .foe-wing>h2 {
    font-size:12px
  }
  .battle-local {
    grid-column:1;
    grid-row:2;
    min-width:0
  }
  .battle-foe {
    grid-column:2;
    grid-row:2;
    min-width:0
  }
  .battle-foe .journey-playfield {
    --play-height:146px;
    border-width:2px;
    padding:1px
  }
  .player-score>span {
    font-size:8px;
    max-width:48%
  }
  .player-score>b {
    font-size:12px
  }
  .battle-foe .player-score {
    flex-wrap:wrap;
    margin-bottom:7px;
    gap:2px
  }
  .battle-foe .player-score>span {
    font-size:7px;
    max-width:100%;
    width:100%
  }
  .battle-foe .player-score>b {
    font-size:9px
  }
  .foe-power {
    font-size:6px;
    gap:4px;
    margin-top:8px;
    padding-bottom:5px
  }
  .foe-power>b {
    font-size:7px
  }
  .battle-central {
    grid-column:2;
    grid-row:2;
    align-self:end;
    padding-bottom:8px
  }
  .battle-central>b {
    display:none
  }
  .battle-central .rail-section {
    margin:8px 0
  }
  .battle-central .rail-section h2 {
    font-size:7px
  }
  .battle-central .piece-preview {
    width:40px;
    height:20px
  }
  .battle-central>span {
    font-size:7px
  }
  .battle-local .battle-power {
    margin-top:10px
  }
  .battle-local .battle-power>.action-button {
    min-height:44px;
    font-size:9px
  }
  .battle-local .battle-power>span {
    font-size:8px
  }
  .result-scene {
    display:flex;
    flex-direction:column;
    gap:15px;
    margin:5px 0
  }
  .result-art {
    width:100%;
    max-width:220px
  }
  .result-art>.journey-art {
    height:200px;
    margin:auto
  }
  .result-art:after {
    height:35px;
    bottom:-1px
  }
  .result-panel {
    width:100%
  }
  .result-panel h1 {
    font-size:39px;
    margin-bottom:15px
  }
  .result-panel>.eyebrow {
    font-size:8px
  }
  .result-panel>p:not(.eyebrow) {
    font-size:11px
  }
  .result-stats {
    gap:12px;
    padding:16px 0;
    margin:18px 0
  }
  .result-stats b {
    font-size:20px;
    margin-top:5px
  }
  .result-stats span {
    font-size:7px
  }
  .result-actions {
    gap:8px
  }
  .result-actions>.action-button {
    font-size:10px;
    padding:11px 12px;
    flex-grow:1
  }
  .result-actions>.text-button {
    margin:0
  }
  .xp-receipt>span {
    font-size:9px
  }
  .guide-roster {
    grid-template-columns:1fr;
    gap:16px
  }
  .guide-fighter {
    display:grid;
    grid-template-columns:105px minmax(0,1fr);
    gap:0 14px;
    padding:18px
  }
  .guide-fighter>span {
    grid-column:1/-1;
    font-size:8px
  }
  .guide-fighter>.journey-art {
    grid-column:1;
    grid-row:2/5;
    height:135px;
    margin:15px 0 0
  }
  .guide-fighter>h2 {
    grid-column:2;
    font-size:33px;
    margin:18px 0 7px
  }
  .guide-fighter>p {
    grid-column:2;
    font-size:10px;
    line-height:1.7;
    margin:0
  }
  .guide-fighter>.kit-description {
    grid-column:2;
    margin-top:12px;
    padding-top:10px
  }
  .kit-description>b {
    font-size:10px
  }
  .kit-description>p {
    font-size:10px;
    line-height:1.6;
    margin:6px 0;
    min-height:0
  }
  .kit-description>small {
    font-size:7px;
    line-height:1.7;
    display:block
  }
  .guide-branches {
    grid-column:1/-1;
    margin:16px 0 12px
  }
  .guide-fighter>.action-button {
    grid-column:1/-1;
    min-height:44px;
    font-size:10px
  }
  .fighter-state-buttons {
    gap:4px;
    margin-top:0
  }
  .fighter-state-buttons>.action-button {
    font-size:9px;
    min-width:0;
    flex:1;
    padding:10px 4px;
    min-height:44px
  }
  .rank-layout {
    display:flex;
    flex-direction:column;
    gap:24px
  }
  .ranking-poster {
    display:grid;
    grid-template-columns:minmax(0,1fr) 80px;
    padding:20px;
    gap:12px
  }
  .ranking-poster>.ui-icon {
    grid-column:2;
    grid-row:1/3;
    width:65px;
    height:65px;
    margin:auto
  }
  .ranking-poster>h2 {
    grid-column:1;
    font-size:29px;
    margin:0
  }
  .ranking-poster>p {
    grid-column:1;
    font-size:10px;
    line-height:1.7;
    margin:0
  }
  .ranking-poster>div {
    grid-column:1/-1;
    margin-top:4px;
    padding-top:12px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px
  }
  .ranking-poster span {
    font-size:8px;
    letter-spacing:.7px
  }
  .ranking-poster b {
    font-size:23px;
    margin:0;
    white-space:nowrap
  }
  .ranking-tabs>.action-button {
    flex:1;
    font-size:9px;
    padding:10px
  }
  .ranking-row {
    gap:12px;
    padding:15px 10px
  }
  .ranking-row>span {
    font-size:23px;
    min-width:26px
  }
  .ranking-row b {
    font-size:12px
  }
  .ranking-row small {
    font-size:7px;
    letter-spacing:.4px
  }
  .rank-labels {
    font-size:7px;
    letter-spacing:.6px
  }
  .help-grid {
    grid-template-columns:1fr;
    gap:16px
  }
  .help-grid>article {
    padding:21px
  }
  .help-hero h2 {
    font-size:29px
  }
  .help-grid p {
    font-size:11px;
    line-height:1.8
  }
  .key-guide {
    grid-template-columns:1fr;
    gap:8px
  }
  .key-guide p {
    font-size:11px
  }
  .help-grid h2 {
    font-size:24px
  }
  .settings-layout,.profile-layout {
    display:flex;
    flex-direction:column;
    gap:15px
  }
  .settings-art {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:15px;
    width:100%;
    text-align:left
  }
  .settings-art>.journey-art {
    height:140px;
    width:140px;
    margin:0
  }
  .settings-art>h2 {
    font-size:32px;
    margin:0
  }
  .settings-panel {
    padding:5px 20px 22px;
    width:100%
  }
  .setting-row {
    gap:16px;
    padding:20px 0;
    min-height:105px
  }
  .setting-row b {
    font-size:11px
  }
  .setting-row small {
    font-size:10px;
    line-height:1.7
  }
  .setting-row>input {
    width:36px;
    min-height:30px
  }
  .setting-row>.action-button {
    font-size:9px;
    padding:9px 12px;
    min-height:44px
  }
  .settings-panel>.action-button {
    width:100%;
    margin-top:20px
  }
  .profile-medallion {
    width:100%;
    display:grid;
    grid-template-columns:115px minmax(0,1fr);
    gap:3px 20px;
    text-align:left;
    padding:0 12px
  }
  .profile-medallion>.journey-art {
    height:145px;
    width:125px;
    grid-column:1;
    grid-row:1/4;
    margin:0
  }
  .profile-medallion>h2 {
    grid-column:2;
    font-size:36px;
    margin:22px 0 0;
    align-self:end
  }
  .profile-medallion>.status-tag {
    grid-column:2;
    justify-self:start;
    min-height:23px;
    font-size:8px;
    align-self:center
  }
  .profile-medallion>span:last-child {
    grid-column:2;
    font-size:10px;
    align-self:start
  }
  .profile-panel {
    width:100%;
    padding:25px 20px;
    border-width:2px;
    box-shadow:5px 5px 0 #0004
  }
  .profile-panel form>input {
    font-size:16px;
    min-height:48px
  }
  .profile-metrics {
    gap:10px;
    margin:20px 0;
    padding:18px 0
  }
  .profile-metrics>span {
    font-size:7px;
    line-height:1.7
  }
  .profile-metrics b {
    font-size:26px
  }
  .journey dialog {
    padding:24px 20px
  }
  .journey dialog>div {
    flex-wrap:wrap
  }
  .journey dialog .action-button {
    flex:1;
    font-size:10px;
    min-height:44px
  }
}
@media(prefers-reduced-motion:reduce) {
  .journey *,.journey *:before,.journey *:after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important
  }
}
.journey.motion-reduced *,.journey.motion-reduced *:before,.journey.motion-reduced *:after {
  animation:none!important;
  transition:none!important;
  scroll-behavior:auto!important
}
@media(max-width:760px) {
  .game-screen .game-hint {
    display:none
  }
}
body[data-scene=onboard] .header-actions {
  visibility:hidden
}
/* Deux zones de pouce : navigation à gauche, actions à droite. */
.touch-move {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:5px;
  align-content:center;
  touch-action:none
}
.touch-move button {
  min-height:66px;
  font-size:17px
}
.touch-move>span {
  grid-column:1/-1;
  font:8px var(--font-data);
  letter-spacing:1px;
  text-align:center;
  color:var(--muted);
  margin-top:4px
}
.touch-actions {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
  touch-action:none
}
.touch-actions button {
  min-height:48px
}
.touch-actions small {
  font-size:8px
}
.touch-drop {
  grid-column:1/-1
}
.journey-touch button {
  user-select:none;
  -webkit-user-select:none
}
.game-screen .journey-footer {
  display:none
}
@media(max-width:760px) {
  .journey.game-screen {
    --play-height:clamp(220px,calc(100dvh - 510px),360px)
  }
  .game-topline h1 {
    display:none
  }
  .game-topline {
    min-height:44px;
    margin-bottom:10px
  }
  .journey-battle {
    grid-template-rows:54px auto;
    row-gap:8px
  }
  .battle-wing>.journey-art {
    width:54px;
    height:54px
  }
  .foe-wing>.journey-art {
    height:42px;
    width:42px
  }
  .journey-touch {
    gap:12px;
    margin-top:12px
  }
  .journey-touch button {
    font-size:12px;
    min-height:48px
  }
  .touch-move button {
    min-height:66px;
    font-size:17px
  }
  .touch-actions small {
    font-size:8px
  }
}
@media(min-width:761px) and (max-height:850px) {
  .journey.game-screen {
    --play-height:clamp(260px,calc(100dvh - 390px),380px)
  }
  .game-screen #journey-view {
    min-height:0
  }
  .game-screen .journey-screen {
    padding-top:16px
  }
  .game-screen .game-hint {
    display:none
  }
}
/* Les aides à lire ne sont pas des micro-étiquettes décoratives. */
.heading-description,.muted-copy,.room-note,.skill-choice small,.setting-row small,.help-grid p,.guide-fighter>p,.kit-description>p,.ready-line>p,.room-code-panel>p,.pending-ticket>p {
  font-size:12px
}
@media(max-width:760px) {
  .heading-description,.room-note,.skill-choice small,.setting-row small,.help-grid p,.guide-fighter>p,.kit-description>p,.ready-line>p,.room-code-panel>p,.pending-ticket>p {
    font-size:12px
  }
  .difficulty-control button small {
    font-size:10px
  }
  .skill-choice b {
    font-size:12px
  }
  .skill-choice .lock-label {
    font-size:11px
  }
  .journey .eyebrow {
    font-size:10px
  }
  .game-topline .eyebrow {
    font-size:10px
  }
  .menu-tile b {
    font-size:13px
  }
  .journey-shell {
    padding-bottom:env(safe-area-inset-bottom)
  }
}
/* Téléphone horizontal : grille à gauche, commandes accessibles à droite. */
@media(orientation:landscape) and (max-height:600px) and (min-width:600px) {
  .journey.game-screen {
    --play-height:clamp(180px,calc(100dvh - 146px),280px)
  }
  .game-screen .review-bar {
    min-height:28px;
    padding:4px 16px
  }
  .game-screen .review-bar>div {
    display:none
  }
  .game-screen .review-bar>span>b {
    display:inline
  }
  .game-screen .journey-header {
    min-height:44px
  }
  .game-screen .journey-brand>svg {
    height:28px;
    width:25px
  }
  .game-screen .journey-brand>span {
    font-size:14px
  }
  .game-screen .journey-brand b {
    font-size:10px
  }
  .game-screen .header-trail {
    display:none
  }
  .game-screen .journey-screen {
    position:relative;
    padding:8px 244px 8px 0
  }
  .game-screen #journey-view {
    min-height:0
  }
  .game-screen .journey-footer,.game-screen .game-hint {
    display:none
  }
  .game-topline {
    min-height:44px;
    margin-bottom:8px
  }
  .game-topline h1 {
    display:none
  }
  .game-topline .eyebrow {
    font-size:10px;
    margin:0
  }
  .game-actions>.action-button {
    min-height:44px;
    padding:8px;
    font-size:10px
  }
  .solo-layout {
    grid-template-columns:115px calc(var(--play-height)/2) 70px;
    gap:12px;
    justify-content:center
  }
  .solo-stats {
    grid-column:1;
    display:block
  }
  .score-plaque {
    padding:9px;
    margin-bottom:8px
  }
  .score-plaque strong {
    font-size:24px
  }
  .score-plaque small {
    font-size:9px
  }
  .score-plaque>span,.pace-card,.solo-emblem {
    display:none
  }
  .stat-pair {
    gap:6px
  }
  .stat-pair>div {
    padding:8px
  }
  .stat-pair b {
    font-size:22px
  }
  .stat-pair small {
    font-size:8px
  }
  .local-board-wrap {
    grid-column:2
  }
  .piece-rail {
    grid-column:3;
    padding:7px 4px
  }
  .piece-rail .rail-section {
    margin:0
  }
  .piece-rail .rail-section h2 {
    font-size:9px
  }
  .piece-rail .piece-preview {
    width:40px;
    height:20px;
    margin:5px auto
  }
  .journey-battle {
    grid-template-columns:calc(var(--play-height)/2) 58px 80px;
    grid-template-rows:auto;
    gap:10px;
    justify-content:center;
    padding:0
  }
  .battle-wing {
    display:none
  }
  .battle-local {
    grid-column:1;
    grid-row:1
  }
  .battle-central {
    grid-column:2;
    grid-row:1;
    align-self:center;
    padding:0
  }
  .battle-central>b {
    display:none
  }
  .battle-central .rail-section h2 {
    font-size:9px
  }
  .battle-foe {
    grid-column:3;
    grid-row:1
  }
  .battle-foe .journey-playfield {
    --play-height:160px
  }
  .player-score>span {
    font-size:9px
  }
  .player-score>b {
    font-size:11px
  }
  .battle-foe .player-score {
    flex-wrap:wrap;
    gap:0
  }
  .battle-foe .player-score>span {
    font-size:8px
  }
  .battle-foe .player-score>b {
    font-size:10px
  }
  .foe-power {
    font-size:8px
  }
  .journey-touch {
    position:absolute;
    right:0;
    top:70px;
    width:228px;
    margin:0;
    grid-template-columns:1fr 1fr;
    gap:12px
  }
  .journey-touch button {
    font-size:11px;
    min-width:0;
    min-height:48px
  }
  .touch-move button {
    min-height:66px;
    font-size:14px
  }
  .touch-actions small {
    font-size:8px
  }
  .battle-local .battle-power,.piece-rail .battle-power {
    position:absolute;
    right:0;
    top:190px;
    width:228px;
    margin:0
  }
  .battle-power>.action-button {
    min-height:44px;
    font-size:11px
  }
  .battle-power>span {
    font-size:10px
  }
}
/* La visite des écrans est séparée du menu de jeu. */
.review-bar {
  min-height:28px;
  justify-content:center;
  padding:5px 12px;
  font-size:9px;
  background:#192438;
  color:#c8d0df;
  letter-spacing:1px;
  border-bottom:1px solid #3c4b63
}
.review-bar>span>b {
  font-size:8px
}
/* Duel : deux grilles strictement de même hauteur dans chaque format. */
.battle-local .journey-playfield,.battle-foe .journey-playfield {
  height:var(--play-height);
  width:calc(var(--play-height)/2)
}
@media(max-width:760px) {
  .journey-battle {
    grid-template-columns:1fr 1fr;
    gap:8px 12px
  }
  .battle-local,.battle-foe {
    width:100%;
    justify-self:center
  }
  .battle-local .journey-playfield,.battle-foe .journey-playfield {
    --play-height:clamp(220px,calc(100dvh - 430px),calc(100vw - 48px));
    margin:auto;
    border-width:3px;
    padding:2px
  }
  .journey.game-screen:has(.journey-battle) {
    --play-height:clamp(220px,calc(100dvh - 430px),calc(100vw - 48px))
  }
  .battle-foe .player-score {
    flex-wrap:nowrap;
    margin-bottom:7px;
    gap:2px
  }
  .battle-foe .player-score>span {
    font-size:8px;
    width:auto;
    max-width:48%
  }
  .battle-foe .player-score>b {
    font-size:12px
  }
  .battle-central {
    grid-column:2;
    grid-row:3;
    align-self:start;
    display:flex;
    gap:10px;
    align-items:center;
    padding:0;
    justify-content:center
  }
  .battle-central .rail-section {
    margin:0
  }
  .battle-central>span {
    display:none
  }
  .battle-local .battle-power {
    margin-top:10px
  }
  .battle-local {
    grid-row:2/4
  }
  .battle-foe {
    grid-row:2
  }
  .local-wing {
    grid-column:1
  }
  .foe-wing {
    grid-column:2;
    flex-direction:row
  }
  .foe-wing>.journey-art {
    height:54px;
    width:54px
  }
  .foe-wing>h2 {
    font-size:19px
  }
  .foe-power {
    display:none
  }
}
@media(orientation:landscape) and (max-height:600px) and (min-width:600px) {
  .journey.game-screen:has(.journey-battle) {
    --play-height:clamp(180px,calc(100dvh - 146px),280px)
  }
  .journey-battle {
    grid-template-columns:calc(var(--play-height)/2) 58px calc(var(--play-height)/2);
    grid-template-rows:auto
  }
  .battle-local,.battle-foe,.battle-central {
    grid-row:1
  }
  .battle-foe {
    grid-column:3
  }
  .battle-central {
    grid-column:2;
    display:block
  }
  .battle-local .journey-playfield,.battle-foe .journey-playfield {
    --play-height:inherit
  }
  .battle-local .battle-power {
    margin:0
  }
  .battle-local {
    width:auto
  }
}
.journey-battle .journey-playfield {
  --play-height:inherit
}
@media(min-width:761px) {
  .journey-battle {
    grid-template-columns:minmax(70px,1fr) calc(var(--play-height)/2) 58px calc(var(--play-height)/2) minmax(70px,1fr);
    align-items:start
  }
  .battle-wing {
    align-self:center
  }
}
@media(min-width:761px) and (max-height:850px) {
  .journey.game-screen:has(#game-battle) {
    --play-height:clamp(250px,calc(100dvh - 480px),380px)
  }
}
@media(orientation:landscape) and (max-height:600px) and (min-width:600px) {
  .journey.game-screen:has(#game-battle) {
    --play-height:clamp(180px,calc(100dvh - 146px),280px)
  }
  .journey-battle {
    grid-template-columns:calc(var(--play-height)/2) 58px calc(var(--play-height)/2);
    align-items:start
  }
  .player-score {
    height:20px;
    margin-bottom:0;
    align-items:center
  }
  .player-score>span {
    max-width:none;
    font-size:9px
  }
  .player-score>b {
    font-size:10px
  }
  .battle-foe .player-score {
    margin:0;
    height:20px;
    flex-wrap:nowrap
  }
  .battle-local .battle-power {
    margin:0
  }
  .game-screen .journey-screen {
    padding-bottom:0
  }
}
@media(max-width:760px) {
  .player-score,.battle-foe .player-score {
    height:22px;
    align-items:center;
    margin-bottom:8px
  }
}
@media(orientation:landscape) and (max-height:600px) and (min-width:600px) {
  .journey.game-screen,.journey.game-screen:has(#game-battle) {
    --play-height:clamp(170px,calc(100dvh - 170px),260px)
  }
  .foe-power {
    display:none
  }
  .player-score,.battle-foe .player-score {
    height:20px;
    margin:0
  }
}
@media(min-width:761px) and (min-height:601px) {
  .battle-wing {
    width:100%;
    max-width:260px
  }
  .battle-wing>.journey-art {
    width:100%;
    height:230px;
    display:grid;
    place-items:center
  }
  .battle-wing .fighter-svg {
    width:auto;
    height:100%;
    max-width:100%
  }
}

/* Adaptation par usage : dernière demande utilisateur du 17 octobre.
   Bureau : deux grandes grilles ; téléphone : joueur local + aperçu adverse. */
.keyboard-guide{display:none}
@media(min-width:1051px) and (pointer:fine){
 .journey.game-screen{--play-height:clamp(360px,calc(100dvh - 320px),600px)}
 .journey.game-screen:has(#game-battle){--play-height:clamp(360px,calc(100dvh - 320px),600px)}
 .game-screen .journey-header{min-height:64px}.game-screen .journey-screen{padding:16px 0 14px}
 .game-screen .journey-touch{display:none}
 .keyboard-guide{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:7px;font-size:11px;color:var(--muted);margin:14px 0 0}
 .keyboard-guide kbd{border:1px solid #64738e;border-bottom-width:2px;border-radius:4px;padding:4px 7px;background:#1d2b40;color:var(--ink);font:10px var(--font-data)}
 .game-screen .game-hint{display:none}.journey-battle{gap:14px;padding:0}.battle-wing>.journey-art{height:260px}
}
@media(max-width:760px) and (orientation:portrait){
 .journey.game-screen,.journey.game-screen:has(#game-battle){--play-height:clamp(280px,calc(100dvh - 430px),440px)}
 .game-screen .journey-header{min-height:56px}.game-screen .journey-screen{padding-top:8px;padding-bottom:8px}.game-topline{margin-bottom:6px}
 .journey-battle{grid-template-columns:minmax(0,1fr) 72px;grid-template-rows:40px auto;gap:6px 12px}
 .battle-wing>.journey-art,.foe-wing>.journey-art{height:40px;width:40px}.battle-wing>h2{font-size:20px}.foe-wing{flex-direction:column;gap:0}.foe-wing>h2{font-size:11px}
 .battle-local{grid-column:1;grid-row:2}.battle-foe{grid-column:2;grid-row:2;width:72px}.battle-local .journey-playfield{width:calc(var(--play-height)/2);height:var(--play-height)}
 .journey-battle .battle-foe .journey-playfield{--play-height:140px;width:70px;height:140px;border-width:2px;padding:1px}
 .battle-foe .player-score{height:30px;align-items:start;flex-direction:column;gap:0;margin-bottom:0}.battle-foe .player-score>span{font-size:8px;max-width:100%}.battle-foe .player-score>b{font-size:10px}
 .battle-local .player-score{height:30px;align-items:center;margin-bottom:0}.battle-local .battle-power{margin-top:8px}
 .battle-central{grid-column:2;grid-row:2;align-self:end;display:flex;flex-direction:column;gap:5px;padding-bottom:12px}.battle-central .rail-section h2{font-size:9px}.battle-central .piece-preview{width:44px;height:22px;margin:4px auto}.battle-central>span{display:block;font-size:8px}.foe-power{display:none}
 .journey-touch{margin-top:10px}
}
@media(min-width:761px) and (max-width:1050px) and (orientation:portrait){
 .journey.game-screen:has(#game-battle){--play-height:clamp(380px,calc(100dvh - 460px),560px)}
 .journey-battle{grid-template-columns:minmax(80px,1fr) calc(var(--play-height)/2) 64px 100px;gap:14px}
 .local-wing{grid-column:1;grid-row:1}.battle-local{grid-column:2;grid-row:1}.battle-central{grid-column:3;grid-row:1}.battle-foe{grid-column:4;grid-row:1}
 .foe-wing{display:none}.journey-battle .battle-foe .journey-playfield{--play-height:200px;height:200px;width:100px}.battle-foe .player-score{flex-wrap:wrap;height:38px;align-content:start;gap:2px}.battle-local .player-score{height:38px;align-items:center}.battle-local .battle-power{margin-top:10px}
 .game-screen .journey-header{min-height:64px}.game-screen .journey-screen{padding-top:14px}.game-topline h1{font-size:27px}.game-topline{margin-bottom:14px}.game-screen .game-hint{display:none}
}
/* La miniature reste seulement un aperçu : informations adverses nommées. */
@media(orientation:landscape) and (max-height:600px) and (min-width:600px){.journey-battle{grid-template-columns:calc(var(--play-height)/2) 58px 72px}.journey-battle .battle-foe .journey-playfield{--play-height:144px;height:144px;width:72px}}

@media(min-width:1051px) and (pointer:fine){
 .journey.game-screen,.journey.game-screen:has(#game-battle){--play-height:clamp(340px,calc(100dvh - 340px),600px)}
 .keyboard-guide{margin:8px 0 0}.solo-layout{grid-template-columns:220px calc(var(--play-height)/2) 150px;gap:30px;justify-content:center}
}

@media(min-width:1051px) and (pointer:fine){.game-screen .journey-screen{padding-bottom:4px}.keyboard-guide{margin-top:6px}}
