/* U.C.M phone homepage skin (2026-11-15): cyan/pink bars, bigger store badges and the language button, so the phone page matches the PC site.
   HARD RULE (Sagi): the artwork poster (.art: picture, halo, petals, hotspots) is never touched. Both bars keep their exact height (var(--barh), plus the
   bottom safe-area) and the new dock is position:fixed, so the picture keeps its exact size and position. The top bar keeps the five social icons.
   Loaded only below 760 px. */
@media (max-width: 759px) {
  :root { --pv-cyan: #46e0d9; --pv-pink: #ff5fa8; --pv-violet: #8b6cff; --pv-grad: linear-gradient(100deg, #46e0d9 0%, #8b6cff 52%, #ff5fa8 100%);
          --pv-display: "Segoe UI Variable Display", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
          --pv-bh: 46px;      /* height of the store badges (about 1.35x the ones drawn in the picture) */
          --pv-btn: 46px;     /* speaker + language buttons */ }
  @media (max-width: 359px) { :root { --pv-bh: 38px; --pv-btn: 42px; } }

  /* ---- top bar: same content as before (menu button, logo, five social icons); only the colours are the cyan/pink of the PC site ---- */
  .bar.top { background: linear-gradient(90deg, rgba(8, 6, 18, .97), rgba(14, 9, 30, .97) 55%, rgba(6, 8, 20, .97)); }
  .bar.top::after, .bar.bottom::before { height: 2px; background: linear-gradient(90deg, rgba(70, 224, 217, 0), #46e0d9 22%, #8b6cff 50%, #ff5fa8 78%, rgba(255, 95, 168, 0)); box-shadow: 0 0 14px rgba(139, 108, 255, .55); }
  .bar.top .sep { background: linear-gradient(180deg, transparent, var(--pv-cyan), var(--pv-pink), transparent); }
  .bar.top .tag { color: #9ff4ef; }
  .socials a:hover, .socials a:focus-visible { background: radial-gradient(circle, rgba(139, 108, 255, .35), rgba(139, 108, 255, 0) 70%); }
  .stage > .ucm-menu-btn { background: linear-gradient(#0b0818, #0b0818) padding-box, var(--pv-grad) border-box; border-color: transparent;
    box-shadow: 0 0 0 4px rgba(139, 108, 255, .10), 0 6px 18px rgba(0, 0, 0, .5), 0 0 18px rgba(70, 224, 217, .18); }
  .stage > .ucm-menu-btn:hover { background: linear-gradient(#150f2c, #150f2c) padding-box, var(--pv-grad) border-box; }
  .stage > .ucm-menu-btn span, .stage > .ucm-menu-btn span::before, .stage > .ucm-menu-btn span::after { background: var(--pv-grad); }
  .ucm-menu-toggle:focus-visible ~ .stage .ucm-menu-btn { outline: 2px solid var(--pv-cyan); outline-offset: 2px; }

  /* ---- bottom bar ---- */
  .bar.bottom { background: linear-gradient(90deg, rgba(8, 6, 18, .97), rgba(14, 9, 30, .97) 55%, rgba(6, 8, 20, .97)); font-family: var(--pv-display); font-weight: 700; color: #d9d6e8;
    /* the translated words can be longer than the old English ones: let the line wrap inside the same bar height instead of being cut off */
    flex-wrap: wrap; align-content: center; row-gap: 1px; text-align: center; white-space: normal; font-size: 12px; line-height: 1.3; letter-spacing: 0; }
  .bar.bottom b { margin: 0 7px; font-size: 11px; color: var(--pv-pink); }
  .bar.bottom b:nth-of-type(even) { color: var(--pv-cyan); }
  .bar.bottom a.faq { color: #e9fffe; }
  .bar.bottom a.faq:hover, .bar.bottom a.faq:focus-visible { color: var(--pv-cyan); text-shadow: 0 0 12px rgba(70, 224, 217, .6); }

  /* ---- dock above the bottom bar: official store badges (bigger), language button bottom right, speaker bottom left on the same line ---- */
  /* only ONE Google Play + ONE App Store image on the phone: the small badges drawn into the poster are covered with the poster's own dark ground; the big real badges live in .pdock */
  .hotcover { position: absolute; z-index: 3; pointer-events: none; background: #010813;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent), linear-gradient(180deg, transparent, #000 5%, #000 92%, transparent);
    -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent), linear-gradient(180deg, transparent, #000 5%, #000 92%, transparent); mask-composite: intersect; }
  .hot.store { display: none; }
  .pdock { position: fixed; left: 50%; transform: translateX(-50%); width: min(100%, 640px); z-index: 40; pointer-events: none;
           bottom: calc(var(--barh) + env(safe-area-inset-bottom, 0px)); height: calc(var(--pv-bh) + var(--pv-btn) + 22px); }
  /* a soft dark backing under the badges so that, on short phones, the small badges drawn in the picture do not show through behind them */
  .pdock::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: calc(var(--pv-bh) + 18px); background: linear-gradient(180deg, rgba(6, 9, 24, 0), rgba(6, 9, 24, .94) 42%); pointer-events: none; }
  .pstores { position: absolute; left: 50%; transform: translateX(-50%); bottom: 8px; display: flex; gap: 10px; pointer-events: auto; white-space: nowrap; }
  .pstore { display: block; line-height: 0; border-radius: 9px; outline: none; -webkit-tap-highlight-color: transparent; transition: transform .2s ease, box-shadow .2s ease; }
  .pstore img { display: block; height: var(--pv-bh); width: auto; max-width: none; border-radius: 9px; box-shadow: 0 0 0 1px rgba(139, 108, 255, .6), 0 6px 22px rgba(0, 0, 0, .55); }
  .pstore:hover, .pstore:active { transform: translateY(-2px); }
  .pstore:hover img, .pstore:focus-visible img { box-shadow: 0 0 0 1.5px var(--pv-cyan), 0 8px 26px rgba(70, 224, 217, .4); }
  .plang { position: absolute; right: max(14px, env(safe-area-inset-right)); bottom: calc(8px + var(--pv-bh) + 8px); pointer-events: auto; }
  html[dir="rtl"] .plang { right: auto; left: max(14px, env(safe-area-inset-left)); }
  .plang details.lang > summary { width: var(--pv-btn); height: var(--pv-btn); padding: 0; justify-content: center; border-radius: 50%; border: 1px solid transparent; color: #e9fffe;
    background: linear-gradient(rgba(11, 8, 24, .88), rgba(11, 8, 24, .88)) padding-box, var(--pv-grad) border-box; box-shadow: 0 6px 20px rgba(0, 0, 0, .5), 0 0 18px rgba(139, 108, 255, .3);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  .plang details.lang > summary svg { width: 24px; height: 24px; }
  .plang details.lang > summary .lc { display: none; }
  .plang details.lang[open] > summary { background: linear-gradient(rgba(27, 18, 56, .95), rgba(27, 18, 56, .95)) padding-box, var(--pv-grad) border-box; }
  .plang .lang-pop { top: auto; bottom: calc(100% + 12px); inset-inline-end: 0; width: min(380px, calc(100vw - 24px)); max-height: min(62vh, 460px); }
  html[dir="rtl"] .plang .lang-pop { inset-inline-end: auto; inset-inline-start: 0; }
  /* the speaker button (injected by ucm-v3.js) sits on the same line as the language button */
  body:has(.pdock) .v3-voice { bottom: calc(var(--barh) + env(safe-area-inset-bottom, 0px) + 8px + var(--pv-bh) + 8px) !important; }
  body:has(.pdock) .v3-voice-btn { width: var(--pv-btn); height: var(--pv-btn); }
  .toast { bottom: calc(var(--barh) + var(--pv-bh) + var(--pv-btn) + 40px); border-color: rgba(70, 224, 217, .6); box-shadow: 0 10px 30px rgba(0, 0, 0, .5), 0 0 24px rgba(139, 108, 255, .3); }

  /* ---- stage glow and the intro band under the picture ---- */
  .stage { box-shadow: 0 0 80px rgba(139, 108, 255, .25), 0 0 0 1px rgba(70, 224, 217, .16); }
  .aboutband { margin: 18px 14px 0; padding: 22px 20px 26px; max-width: none; border-radius: 22px; color: #c9c5da; font-family: var(--pv-display); font-size: 15px; line-height: 1.65;
    background: linear-gradient(160deg, rgba(26, 20, 48, .72), rgba(10, 8, 22, .8)); border: 1px solid rgba(139, 108, 255, .4); box-shadow: 0 10px 40px rgba(0, 0, 0, .45), 0 0 30px rgba(139, 108, 255, .12); }
  .aboutband h2 { font-family: var(--pv-display); font-weight: 800; letter-spacing: .02em; font-size: 20px; color: transparent; background: var(--pv-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
  .aboutband a { color: #9ff4ef; text-decoration-color: rgba(70, 224, 217, .5); }
  .aboutband a:hover, .aboutband a:focus-visible { color: #fff; }
  .aboutband-links { font-size: 13px; color: #9a96ad; }
  .aboutband-more { font-size: 13px; color: #9a96ad; margin: 0 0 10px; }
  .aboutband-aka { font-size: 12.5px; color: #9a96ad; margin: 0 0 10px; }
}
