/* ============ base ============ */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin:0; height:100%; overflow:hidden; overscroll-behavior:none;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background:#1A0B2E; color:#fff; user-select:none; -webkit-user-select:none; }
button { font-family:inherit; }
/* l'attribut hidden doit gagner sur nos display:flex */
[hidden] { display:none !important; }

/* ============ portail 18+ ============ */
/* ---- couches plein écran ----
   Pas de `inset:0` / `bottom:0` : sous Firefox Android (barre d'adresse en
   bas), la boîte des éléments fixes garde la hauteur « barre masquée », et
   comme la page ne défile pas, tout ce qui est ancré en bas reste caché
   derrière la barre. On dimensionne donc depuis le haut avec 100dvh, qui
   suit la barre dynamique (Firefox 101+, Chrome 108+, Safari 15.4+). */
.layer { position:fixed; top:0; left:0; right:0; height:100%; }
@supports (height:100dvh) { .layer { height:100dvh; } }

#gate { z-index:100; display:flex; flex-direction:column;
  align-items:center; justify-content:center; gap:14px; text-align:center; padding:24px;
  background:radial-gradient(circle at 50% 30%, #2D1650, #12081F); }
#gate h1 { margin:0; font-size:26px; color:#FF7BD5; letter-spacing:1px; }
.gate-sub { margin:0; font-size:15px; line-height:1.5; color:#d9c9ea; }
#gateEnter { margin-top:8px; padding:14px 26px; font-size:17px; font-weight:800;
  color:#12081F; background:linear-gradient(90deg,#FF7BD5,#B06BFF); border:none;
  border-radius:14px; cursor:pointer; box-shadow:0 4px 18px rgba(255,123,213,.4); }
#gateEnter:active { transform:scale(.97); }
.gate-out { color:#8a7aa0; font-size:13px; }
#langSwitch { display:flex; gap:8px; }
#langSwitch button { padding:6px 12px; font-size:13px; border-radius:10px; cursor:pointer;
  background:rgba(255,255,255,.08); color:#d9c9ea; border:1px solid rgba(255,255,255,.18); }
#langSwitch button.sel { background:rgba(255,123,213,.25); border-color:#FF7BD5; color:#fff; }
.nav-item i { font-style:normal; }
.gate-note { font-size:12px; color:#a894c2; line-height:1.6; max-width:420px; }
.gate-apk { font-size:11px; color:#6f5f88; }

/* ============ pages & canvas ============ */
#app { display:flex; flex-direction:column; }
.page { position:relative; flex:1; overflow:hidden; }
canvas { position:absolute; inset:0; width:100%; height:100%; display:block;
  touch-action:none; }

/* ============ HUD Monsieur ============ */
.hud { position:absolute; top:0; left:0; right:0; pointer-events:none;
  padding:calc(10px + env(safe-area-inset-top)) 100px 0 14px; }
.hud-title-d { font-size:20px; font-weight:bold; color:#FF7BD5; letter-spacing:1px;
  text-shadow:2px 2px 0 #000; }
.stats-d { margin-top:4px; display:flex; flex-wrap:wrap; gap:2px 18px; font-size:14px;
  text-shadow:2px 2px 0 #000; }
.stats-d b { font-weight:bold; }
.bar-d-wrap { margin-top:8px; width:min(420px, 80%); height:18px; background:#2D1650;
  border:3px solid #fff; border-radius:12px; overflow:hidden; }
.bar-d { height:100%; width:0%; background:linear-gradient(90deg,#FF5DB1,#FF2E2E); }
.bar-d-label { font-size:12px; color:#FFB3E2; text-shadow:2px 2px 0 #000; }
.line-d { position:absolute; left:16px; right:16px; bottom:26px; text-align:center;
  font-size:22px; font-weight:bold; font-style:italic; color:#FFE14D;
  text-shadow:2px 2px 0 #000; pointer-events:none; }

/* ============ HUD Madame ============ */
.hud-card-c { display:inline-block; background:rgba(255,255,255,.55); border-radius:16px;
  padding:8px 14px 10px; }
.hud-title-c { font-size:17px; font-weight:800; color:#FF6FA5; letter-spacing:1px; }
.stats-c { margin-top:4px; display:flex; flex-wrap:wrap; gap:2px 16px; font-size:13px;
  color:#9A6072; }
.stats-c b { color:#7A3B52; }
.bottom-c { position:absolute; left:16px; right:16px; bottom:14px; pointer-events:none; }
.line-c { text-align:center; font-size:20px; font-weight:700; font-style:italic;
  color:#C2185B; text-shadow:1px 1px 0 #fff; margin-bottom:10px; }
.panel-c { background:rgba(255,255,255,.6); border-radius:16px; padding:10px 16px 12px;
  display:flex; flex-direction:column; align-items:center; gap:8px; }
.wish-c { font-size:12.5px; color:#B5683A; font-weight:600; text-align:center; }
.bar-c-wrap { width:min(360px,100%); height:12px; background:#F3D9D0; border-radius:8px;
  overflow:hidden; }
.bar-c { height:100%; width:0%; background:#FF6FA5; }
.bar-c-label { font-size:9px; letter-spacing:2px; color:#9A6072; align-self:flex-start; }

/* capteurs bloqués (Brave, Firefox...) : petite fenêtre dans le ton de l'app */
.sensor-dlg { position:absolute; inset:0; z-index:6; display:flex;
  align-items:center; justify-content:center; padding:20px;
  background:rgba(15,5,25,.35); }
.sensor-card { width:min(380px,92vw); text-align:center; padding:18px 20px;
  background:rgba(30,12,42,.94); border:1.5px solid #FF7BD5; border-radius:20px;
  backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
  box-shadow:0 10px 36px rgba(0,0,0,.5); }
.sensor-card h3 { margin:0 0 10px; font-size:17px; color:#FF7BD5; }
.sensor-card p { margin:0 0 10px; font-size:13.5px; line-height:1.55; color:#e6d6f2; }
.sensor-card .sensor-diva { font-size:15px; font-weight:700; font-style:italic;
  color:#FFE14D; }
.sensor-card button { width:100%; padding:11px 0; border:none; border-radius:12px;
  font-size:15px; font-weight:800; color:#12081F; cursor:pointer;
  background:linear-gradient(90deg,#FF7BD5,#B06BFF); }

/* ============ boutons flottants ============ */
.fab { position:absolute; top:calc(6px + env(safe-area-inset-top)); z-index:5;
  width:44px; height:44px; border:none; background:transparent; font-size:26px;
  cursor:pointer; filter:drop-shadow(1px 1px 0 rgba(0,0,0,.5)); }
.fab-gear { right:6px; }
.fab-snd { right:52px; }
.fab.off { opacity:.45; }

/* ============ nav ============ */
#nav { display:flex; flex-shrink:0; align-items:center; justify-content:space-between; gap:4px;
  padding:8px 10px calc(14px + env(safe-area-inset-bottom)); background:#1A0B2E; }
.nav-item { flex:0 0 64px; padding:4px 0; background:none; border:none; color:rgba(255,255,255,.54);
  font-size:11px; font-weight:700; cursor:pointer; display:flex; flex-direction:column; align-items:center; gap:2px; }
.nav-item span { font-size:26px; }
.nav-item.active { color:#FF7BD5; }
/* pilule du mode en cours : un seul bouton, quel que soit le nombre de modes */
.mode-pill { position:relative; flex:1; min-width:0; height:48px; display:flex; align-items:center;
  justify-content:center; gap:8px; border-radius:16px; background:#2D1650; border:1.5px solid #FF7BD5;
  color:#fff; font-size:15px; font-weight:800; cursor:pointer; padding:0 10px; }
.mode-pill .mp-emo { font-size:18px; }
.mode-pill .mp-name { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.mode-pill svg { flex:none; color:#FF7BD5; }
.mp-count { position:absolute; top:-9px; right:-6px; min-width:26px; height:22px; padding:0 7px; border-radius:11px;
  background:#FFE14D; color:#1A0B2E; font-size:12px; font-weight:800; display:flex; align-items:center;
  justify-content:center; box-shadow:0 0 0 2px #1A0B2E; }
.mbadge { font-size:11px; font-weight:700; padding:2px 7px; border-radius:99px; white-space:nowrap; vertical-align:middle; }
.mbadge.never { background:#FFE14D; color:#1A0B2E; }
.mbadge.tried { background:#77FF88; color:#1A0B2E; }
.mbadge.cur { background:#FF7BD5; color:#1A0B2E; }

/* ---- feuille « Changer de jeu » ---- */
.msheet { background:#2D1650; display:flex; flex-direction:column; gap:12px; padding:10px 16px calc(24px + env(safe-area-inset-bottom));
  transition:transform .35s cubic-bezier(.2,.8,.2,1); }
.msheet.hide { transform:translateY(105%); }
/* coup d'œil : seuls le titre et les premières lignes dépassent */
.msheet.peek { transform:translateY(calc(100% - 176px)); max-height:none; overflow:hidden; cursor:pointer; }
.ms-handle { width:40px; height:4px; border-radius:2px; background:#6b5588; align-self:center; }
.ms-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.msheet h2 { margin:0; font-size:19px; text-align:left; color:#FF7BD5; }
.ms-all { border:none; background:none; color:#FF7BD5; font-size:13px; font-weight:800; cursor:pointer; padding:6px 0; }
.ms-swipe { font-size:12px; color:#d9c9ea; }
.ms-who { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:8px 10px; border-radius:14px; background:#241233; font-size:13px; color:#d9c9ea; }
.ms-seg { display:flex; padding:3px; border-radius:11px; background:#1A0B2E; }
.ms-seg button { border:none; border-radius:9px; padding:8px 12px; font-size:13px; font-weight:700; background:none; color:#d9c9ea; cursor:pointer; white-space:nowrap; }
.ms-seg button.on { background:#FF7BD5; color:#1A0B2E; }
.ms-list { display:flex; flex-direction:column; gap:8px; }
.ms-row { display:flex; align-items:center; gap:12px; width:100%; padding:11px 12px; border-radius:16px; text-align:left;
  background:#241233; border:1.5px solid #3d2a57; color:#fff; cursor:pointer; min-height:58px; }
.ms-row.cur { border-color:#FF7BD5; }
.ms-row.off .ms-t { opacity:.6; }
.ms-emo { font-size:28px; width:36px; text-align:center; flex:none; }
.ms-t { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
.ms-t b { font-size:16px; font-weight:800; }
.ms-t small { font-size:12.5px; line-height:1.3; color:#d9c9ea; }
.ms-r { display:flex; flex-direction:column; align-items:flex-end; gap:3px; font-size:11px; color:#a894c2; flex:none; }
.ms-cur { font-size:18px; font-weight:900; color:#77FF88; }

/* ---- Hall de la Branlette ---- */
.hall { z-index:85; background:#1A0B2E; color:#fff; overflow-y:auto; overscroll-behavior:contain;
  padding:calc(18px + env(safe-area-inset-top)) 16px calc(28px + env(safe-area-inset-bottom));
  display:flex; flex-direction:column; gap:14px; }
.hall-close { position:absolute; top:calc(10px + env(safe-area-inset-top)); right:10px; width:44px; height:44px; border:none;
  border-radius:12px; background:#241233; color:#d9c9ea; font-size:18px; cursor:pointer; }
.hall-eyebrow { font-size:12px; font-weight:800; letter-spacing:2px; color:#FF7BD5; }
.hall h1 { margin:0; font-size:28px; font-weight:800; line-height:1.1; padding-right:52px; }
.hall-sub { margin:0; font-size:14px; line-height:1.45; color:#d9c9ea; }
.hall-sub b { color:#fff; }
.hall-progress { display:flex; align-items:center; justify-content:space-between; padding:10px 14px; border-radius:14px; background:#241233; font-size:13px; color:#d9c9ea; }
.hall-dots { display:flex; gap:6px; }
.hall-dots i { display:block; width:10px; height:10px; border-radius:50%; background:#3d2a57; }
.hall-dots i.on { background:#FF7BD5; }
.hall-cards { display:flex; flex-direction:column; gap:12px; }
.hcard { display:flex; flex-direction:column; gap:10px; padding:14px 14px 12px; border-radius:18px; background:#241233; border:1.5px solid #3d2a57; }
.hcard.cur { border-color:#FF7BD5; }
.hc-row { display:flex; align-items:flex-start; gap:12px; }
.hc-emo { font-size:34px; line-height:1; width:40px; text-align:center; flex:none; }
.hc-t { flex:1; min-width:0; display:flex; flex-direction:column; gap:3px; }
.hc-ttl { font-size:18px; font-weight:800; display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
.hc-hook { font-size:13px; line-height:1.4; color:#d9c9ea; }
.hc-plays { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.hc-play { flex:1; min-width:120px; display:flex; align-items:center; justify-content:center; gap:8px; height:44px; border-radius:12px;
  border:1.5px solid #FF7BD5; background:rgba(255,123,213,.12); color:#fff; font-size:14px; font-weight:800; cursor:pointer; }
.hc-play small { font-size:12px; font-weight:700; color:#FFE14D; }
.hc-only { font-size:12px; color:#a894c2; }

/* ---- fin de partie : « Et maintenant ? » ---- */
.dlg .next { margin-top:16px; padding-top:12px; border-top:1px solid rgba(255,255,255,.1); display:flex; flex-direction:column; gap:8px; text-align:left; }
.next-head { display:flex; align-items:baseline; justify-content:space-between; gap:8px; }
.next-head span { font-size:17px; font-weight:800; }
.next-head small { font-size:11.5px; color:rgba(255,255,255,.55); }
.dlg .next-card { margin:0; width:100%; display:flex; align-items:center; gap:10px; padding:10px 10px; border-radius:14px; text-align:left;
  background:rgba(255,255,255,.06); border:1.5px solid rgba(255,255,255,.14); color:#fff; font-size:14px; font-weight:400; cursor:pointer; }
.dlg .next-card.hot { border-color:#FF5B2E; }
.nc-emo { font-size:26px; width:34px; text-align:center; flex:none; }
.nc-t { flex:1; min-width:0; display:flex; flex-direction:column; gap:2px; }
.nc-ttl { font-size:15px; font-weight:800; display:flex; align-items:center; gap:6px; flex-wrap:wrap; }
.nc-t small { font-size:12.5px; line-height:1.3; color:rgba(255,255,255,.7); }
.nc-chev { font-size:22px; color:#FF7BD5; flex:none; }
.dlg .next-all { margin:0; width:auto; align-self:center; padding:6px 10px; background:none; color:#FF7BD5; font-size:13px; }

/* ============ feuille d'options (bottom sheet) ============ */
/* les feuilles vivent dans #sheetHost, une couche plein écran transparente
   aux touches : leur `bottom:0` se cale ainsi sur le bas réellement visible */
#sheetHost { z-index:80; pointer-events:none; }
#sheetHost > * { pointer-events:auto; }
.sheet-barrier { position:absolute; inset:0; z-index:60; background:rgba(0,0,0,.5); }
.sheet { position:absolute; left:0; right:0; bottom:0; z-index:61; max-height:78%;
  overflow-y:auto; border-radius:24px 24px 0 0; padding:14px 20px calc(20px + env(safe-area-inset-bottom)); }
.sheet h2 { margin:0 0 10px; text-align:center; font-size:18px; }
.sheet label.sl { display:block; font-size:14px; margin-top:8px; }
.sheet input[type=range] { width:100%; margin:6px 0 2px; }
.sheet .tones { display:flex; gap:12px; margin:8px 0 6px; }
.sheet .tone { width:38px; height:38px; border-radius:50%; border:3px solid transparent; cursor:pointer; }
.sheet .tone.sel { border-color:#fff; }
.sheet .tg { display:flex; justify-content:space-between; align-items:center;
  font-size:14px; padding:7px 0; }
.sheet .tg input { width:40px; height:22px; appearance:none; background:#555; border-radius:12px;
  position:relative; cursor:pointer; transition:background .15s; flex-shrink:0; }
.sheet .tg input::after { content:''; position:absolute; top:2px; left:2px; width:18px; height:18px;
  border-radius:50%; background:#ddd; transition:left .15s; }
.sheet .tg input:checked::after { left:20px; background:#fff; }

/* ============ mode turbo ============ */
@media (max-width:370px) {
  .nav-item { flex:0 0 54px; }
  .mode-pill { font-size:14px; gap:6px; }
}

/* carte d'armement : légère, le personnage reste visible derrière */
#turbo { z-index:60; display:flex; align-items:center;
  justify-content:center; touch-action:none; user-select:none;
  background:rgba(15,5,25,.45); }
#turbo.tb-clear { background:none; pointer-events:none; }
.tb-card { text-align:center; padding:20px 22px; width:min(400px,92vw);
  background:rgba(25,10,35,.82); border:1.5px solid rgba(255,123,61,.5);
  border-radius:22px; backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
  box-shadow:0 10px 40px rgba(0,0,0,.5); }
.tb-card h2 { font-size:26px; margin:0 0 10px; color:#FFB36B;
  text-shadow:0 0 22px rgba(255,120,60,.6); }
.tb-explain { font-size:17px; line-height:1.5; color:#ffe9d6; }
.tb-warn { font-size:12.5px; color:#c9a5b8; }
.tb-defi { margin:14px auto; padding:10px 16px; border-radius:12px; font-weight:800;
  background:rgba(255,225,77,.14); border:1.5px solid #FFE14D; color:#FFE14D; }
.tb-defi.win { background:rgba(73,201,107,.15); border-color:#49C96B; color:#8affc0; }
.tb-defi.lose { background:rgba(255,77,77,.13); border-color:#ff6b6b; color:#ff9d9d; }
.tb-best { margin:8px 0 4px; color:#d9b9ce; font-size:14px; }
.tb-best b { color:#fff; }
.tb-go { display:block; width:100%; margin:16px 0 10px; padding:16px 0; font-size:20px;
  font-weight:900; color:#12081F; border:none; border-radius:16px; cursor:pointer;
  background:linear-gradient(90deg,#FFE14D,#FF5B2E); box-shadow:0 4px 20px rgba(255,91,46,.5); }
.tb-cancel { background:none; border:none; color:#a98cc0; font-size:14px; cursor:pointer;
  padding:8px; }
.tb-again { display:block; width:100%; padding:12px 0; margin-bottom:4px; font-size:16px;
  font-weight:800; color:#fff; background:rgba(255,255,255,.12); border:1px solid
  rgba(255,255,255,.3); border-radius:14px; cursor:pointer; }
.tb-count { font-size:150px; font-weight:900; color:#FFE14D;
  text-shadow:0 0 40px rgba(255,225,77,.8), 2px 2px 0 rgba(0,0,0,.6);
  animation:tbPulse .95s infinite; }
@keyframes tbPulse { 0% { transform:scale(.6); opacity:.4 } 25% { transform:scale(1.15);
  opacity:1 } 100% { transform:scale(1) } }

/* pendant la course : widgets légers PAR-DESSUS le jeu qui continue de vivre */
.tb-run { position:absolute; inset:0; pointer-events:none; z-index:4; }
.tb-timerwrap { position:absolute; top:calc(8px + env(safe-area-inset-top)); left:14px;
  right:148px; height:9px; border-radius:6px; background:rgba(0,0,0,.25); overflow:hidden; }
.tb-timer { height:100%; background:linear-gradient(90deg,#FFE14D,#FF5B2E); }
.tb-sec { position:absolute; top:calc(0px + env(safe-area-inset-top)); right:104px;
  font-size:26px; font-weight:900; color:#fff; text-shadow:2px 2px 0 rgba(0,0,0,.55);
  font-variant-numeric:tabular-nums; }
.tb-sec.hot { color:#FF5B2E; animation:tbPulse .5s infinite; }
.tb-runscore { position:absolute; top:calc(40px + env(safe-area-inset-top)); left:0;
  right:0; text-align:center; font-size:76px; font-weight:900; color:#fff; line-height:1;
  font-variant-numeric:tabular-nums;
  text-shadow:0 0 26px rgba(255,123,213,.75), 2px 2px 0 rgba(0,0,0,.45); }
.tb-rununit { position:absolute; top:calc(118px + env(safe-area-inset-top)); left:0;
  right:0; text-align:center; font-size:13px; letter-spacing:4px; color:#FFB36B;
  text-shadow:1px 1px 0 rgba(0,0,0,.6); }
/* en turbo, on masque le HUD technique — le personnage et la bulle restent */
.turbo-on .stats-d, .turbo-on .bar-d-wrap, .turbo-on .bar-d-label,
.turbo-on .hud-card-c, .turbo-on .panel-c { display:none; }
/* pendant la course, le titre laisse toute la place au compteur */
.page:has(.tb-run) .hud { display:none; }
#toastHost { z-index:99; pointer-events:none; }
.toast { position:absolute; left:50%; bottom:90px; transform:translateX(-50%);
  background:#241233; color:#fff; padding:12px 20px; border-radius:12px; font-size:14px;
  border:1px solid #FF7BD5; box-shadow:0 6px 20px rgba(0,0,0,.6); }

/* ============ dialog résultats ============ */
/* la couche défile quand le dialog dépasse l'écran (rang + partage sur un
   petit téléphone) ; `margin:auto` centre le dialog s'il tient, et le cale en
   haut sinon — contrairement à align-items:center qui coupe le haut */
.dlg-barrier { z-index:70; background:rgba(0,0,0,.8); display:flex; padding:24px;
  overflow-y:auto; overscroll-behavior:contain; -webkit-overflow-scrolling:touch; }
.dlg { margin:auto; flex-shrink:0; background:#241233; border-radius:22px; padding:24px 22px 18px;
  width:min(340px,100%); text-align:center; }
.dlg .emo { font-size:50px; }
.dlg h2 { margin:6px 0; font-size:22px; font-weight:800; }
.dlg .msg { font-size:14px; font-style:italic; color:rgba(255,255,255,.7); }
.dlg .record { display:inline-block; margin-top:12px; padding:6px 14px; border-radius:99px;
  font-weight:bold; letter-spacing:.5px; border:1px solid; }
.dlg .rows { margin-top:16px; text-align:left; }
.dlg .row { display:flex; justify-content:space-between; padding:7px 0; font-size:14px;
  border-top:1px solid rgba(255,255,255,.08); }
.dlg .row:first-child { border-top:none; }
.dlg .row span { color:rgba(255,255,255,.6); }
.dlg .row b { font-size:15px; }
.dlg button { margin-top:18px; width:100%; padding:13px 0; border:none; border-radius:12px;
  font-size:16px; font-weight:800; color:#000; cursor:pointer; }

/* menu de partage maison (navigateurs sans Web Share API) */
.share-barrier { z-index:74; }
.share-sheet { z-index:75; background:#2D1650; text-align:center; }
.share-sheet h2 { color:#FF7BD5; }
.share-app { display:flex; align-items:center; justify-content:center; gap:10px;
  width:100%; padding:13px 0; margin:7px 0; border-radius:13px; font-size:15px;
  font-weight:700; color:#fff; text-decoration:none; cursor:pointer;
  background:rgba(255,255,255,.09); border:1px solid rgba(255,255,255,.16); }
/* repli quand la copie automatique échoue : le texte à sélectionner à la main */
.share-manual { display:block; width:100%; margin:8px 0 2px; padding:10px 12px; font:inherit;
  font-size:13.5px; line-height:1.4; color:#fff; background:rgba(0,0,0,.35); border:1px solid #FF7BD5;
  border-radius:12px; resize:none; user-select:text; -webkit-user-select:text; }
.share-note { margin:8px 0 0; font-size:12.5px; line-height:1.45; color:#c9b5dc; }

/* ============ mode gloryhole ============ */
/* plaque du client épinglée au mur, en haut à gauche (le manche dressé penche à droite) */
.gh-plate { position:absolute; top:calc(150px + env(safe-area-inset-top)); left:12px; width:150px;
  transform:rotate(-2deg); background:#E9D7B5; color:#3A1F2B; border:3px solid #7A5A3A;
  border-radius:6px; padding:6px 12px 7px; font-size:15px; font-weight:800; line-height:1.2;
  box-shadow:0 4px 0 #5A3A22, 0 8px 18px rgba(0,0,0,.5); }
.gh-pin { position:absolute; top:-9px; left:50%; width:14px; height:14px; margin-left:-7px;
  border-radius:50%; background:radial-gradient(circle at 35% 35%, #ff9a9a, #b3121b);
  box-shadow:0 2px 3px rgba(0,0,0,.6); }
.gh-plateno { display:block; font-size:10px; font-weight:700; color:#7A5A3A; letter-spacing:1.5px;
  text-transform:uppercase; }
.gh-platename { display:block; font-size:19px; color:#B33A1E; overflow:hidden; text-overflow:ellipsis;
  white-space:nowrap; }
.gh-platewant { display:block; font-size:13px; font-weight:700; }
.gh-barwrap { margin-top:6px; height:7px; border-radius:5px; background:rgba(58,31,43,.2);
  overflow:hidden; }
.gh-bar { width:0; height:100%; background:linear-gradient(90deg,#FF5DB1,#FF2E2E); }

.dlg .rank { margin-top:14px; padding:12px 14px 10px; border-radius:16px; text-align:left;
  background:rgba(255,255,255,.06); border:1.5px solid rgba(255,255,255,.12); }
.dlg .rank .lbl { font-size:10px; letter-spacing:2px; color:rgba(255,255,255,.5); }
.dlg .rank .wait { margin-top:6px; font-size:13px; font-style:italic; color:rgba(255,255,255,.45); }
.dlg .rank .ttl { display:flex; align-items:center; gap:10px; margin-top:4px; font-size:19px; font-weight:800; line-height:1.15; }
.dlg .rank .ttl .em { font-size:30px; }
.dlg .rank .pct { margin-top:6px; font-size:13.5px; color:rgba(255,255,255,.85); }
.dlg .rank .pct b { font-size:16px; }
.dlg .rank .ladder { position:relative; margin-top:10px; height:10px; display:flex; gap:2px; }
.dlg .rank .ladder i { display:block; height:100%; border-radius:3px; opacity:.45; }
.dlg .rank .ladder .me { position:absolute; top:-5px; width:4px; height:20px; border-radius:2px; background:#fff; box-shadow:0 0 0 2px #241233; }
.dlg .rank .nxt { margin-top:8px; font-size:11.5px; color:rgba(255,255,255,.5); display:flex; justify-content:space-between; gap:8px; }
.dlg .share-hint { margin-top:14px; font-size:12.5px; font-style:italic; color:rgba(255,255,255,.6); }

