  :root {
    --page-bg: #111111;
    --panel-bg: #1c1a22;
    --panel-line: #ff85c0;
    --text-main: #ffffff;
    --text-muted: #ff85c0;
    --valorant-red: #ff85c0;
    --valorant-red-dark: #e0006e;
    --valorant-cream: #ffffff;
    --valorant-ink: #111111;
    --doodle-pink: #ff85c0;
    --doodle-hot: #ff85c0;
    --shadow-tactical: 0 4px 24px rgba(0, 0, 0, 0.55);
  }

  * {
    box-sizing: border-box;
  }

  body {
    margin: 0;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans SC", sans-serif;
    color: var(--text-main);
    background:
      var(--page-bg);
    isolation: isolate;
  }

  body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
      radial-gradient(rgba(255, 133, 192, 0.10) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.20), rgba(0,0,0,0.03));
  }

  .app-view {
    display: none;
  }

  .app-view.is-active {
    display: flex;
    opacity: 1;
    transform: translateY(0) scale(1);
    transition:
      opacity 360ms ease,
      transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: 50% 50%;
  }

  body.page-entering .app-view.is-active {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }

  body.page-leaving .app-view.is-active {
    opacity: 0;
    transform: translateY(-10px) scale(1.015);
    transition:
      opacity 260ms ease,
      transform 360ms cubic-bezier(0.7, 0, 0.84, 0);
  }

  .page-transition-layer {
    position: fixed;
    inset: 0;
    z-index: 999;
    display: block;
    pointer-events: none;
    opacity: 0;
    background:
      linear-gradient(135deg, rgba(255, 133, 192, 0.22), transparent 28%),
      radial-gradient(rgba(255, 133, 192, 0.18) 1.5px, transparent 1.5px),
      #111111;
    background-size: auto, 22px 22px;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition:
      opacity 420ms ease,
      clip-path 420ms cubic-bezier(0.76, 0, 0.24, 1);
  }

  .page-transition-layer::before,
  .page-transition-layer::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
  }

  .page-transition-layer::before {
    background:
      linear-gradient(90deg, transparent 0 28%, rgba(255, 133, 192, 0.42) 28% 29%, transparent 29% 100%),
      linear-gradient(90deg, transparent 0 70%, rgba(255, 255, 255, 0.24) 70% 70.6%, transparent 70.6% 100%);
    transform: skewX(-14deg) translateX(-10%);
  }

  .page-transition-layer::after {
    border-top: 4px solid rgba(255, 133, 192, 0.88);
    border-bottom: 4px solid rgba(255, 133, 192, 0.88);
    opacity: 0.7;
    transform: scaleY(0.96);
  }

  .page-transition-layer.is-entering {
    opacity: 1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  .page-transition-layer.is-exiting {
    opacity: 1;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }

  @media (prefers-reduced-motion: reduce) {
    .app-view.is-active,
    .page-transition-layer {
      transition: none;
    }
  }

  .landing-page {
    position: relative;
    flex-direction: column;
    width: 100%;
    min-height: 100svh;
    margin: 0;
    padding: 24px;
  }

  .jump-page {
    position: relative;
    flex-direction: column;
    width: 100%;
    min-height: 100svh;
    margin: 0;
    padding: 24px;
  }

  .jump-image-card {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    width: 100%;
    background:
      linear-gradient(135deg, rgba(249, 168, 212, 0.14), transparent 30%),
      linear-gradient(315deg, rgba(196, 181, 253, 0.1), transparent 32%),
      radial-gradient(rgba(244, 114, 182, 0.20) 1.5px, transparent 1.5px),
      #0f0c14;
    background-size: 18px 18px, auto;
  }

  .jump-image-placeholder {
    display: grid;
    flex: 1 1 auto;
    place-items: center;
    width: 100%;
    min-height: 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.16em;
  }

  .jump-image-placeholder.has-managed-image {
    display: block;
  }

  .jump-image-placeholder span {
    position: relative;
    padding: 12px 18px;
    border: 1px dashed rgba(249, 168, 212, 0.28);
    background: rgba(17,17,17,0.70);
    border-radius: 10px;
  }

  .jump-image-placeholder span::before,
  .jump-image-placeholder span::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-color: var(--valorant-red);
    border-style: solid;
  }

  .jump-image-placeholder span::before {
    top: -1px;
    left: -1px;
    border-width: 2px 0 0 2px;
  }

  .jump-image-placeholder span::after {
    right: -1px;
    bottom: -1px;
    border-width: 0 2px 2px 0;
  }

  .back-cluster {
    position: fixed;
    right: max(18px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    z-index: 30;
    pointer-events: auto;
  }

  .back-button {
    position: relative;
    z-index: 33;
    display: block;
    width: 84px;
    min-width: 84px;
    height: 84px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    transform-origin: 50% 50%;
    -webkit-tap-highlight-color: transparent;
    transition: opacity 220ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .back-button:active {
    transform: scale(0.94);
  }

  .sci-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.55);
  }

  .sci-frame::before,
  .sci-frame::after {
    content: none;
  }

  /* ── corner decoration SVG overlays ─────────────────────────────── */
  .corner-deco {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: visible;
  }
  .corner-deco .c-outer {
    fill: none;
    stroke: var(--doodle-pink);
    stroke-width: 2;
    stroke-linecap: round;
  }
  .corner-deco .c-inner {
    fill: none;
    stroke: rgba(255, 255, 255, 0.85);
    stroke-width: 1.2;
    stroke-linecap: round;
  }

  [data-background-key],
  [data-border-key] {
    position: relative;
  }

  .cms-background-layer,
  .cms-border-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }

  body > .cms-background-layer {
    position: fixed;
    z-index: 0;
  }

  .cms-background-layer {
    z-index: 0;
    background-position: center;
    background-size: cover;
  }

  [data-background-key] > :not(.cms-background-layer):not(.cms-border-layer) {
    position: relative;
    z-index: 1;
  }

  .cms-border-layer {
    z-index: 10;
  }

  .cms-background-asset,
  .cms-border-asset,
  .managed-image {
    display: block;
    width: 100%;
    height: 100%;
  }

  .cms-background-asset,
  .cms-border-asset,
  .managed-image {
    object-fit: cover;
  }

  .cms-background-layer.is-stretch .cms-background-asset,
  .cms-border-layer.is-stretch .cms-border-asset {
    object-fit: fill;
  }

  .cms-background-layer.is-contain .cms-background-asset,
  .cms-border-layer.is-contain .cms-border-asset {
    object-fit: contain;
  }

  .cms-background-layer.is-cover .cms-background-asset,
  .cms-border-layer.is-cover .cms-border-asset {
    object-fit: cover;
  }

  .cms-background-layer.is-repeat,
  .cms-border-layer.is-repeat {
    background-repeat: repeat;
    background-position: 0 0;
    background-size: auto;
  }

  .has-cms-border > .corner-deco,
  .is-cms-border-disabled > .corner-deco {
    display: none;
  }

  .has-managed-image {
    position: relative;
    overflow: hidden;
  }

  .carousel-section .corner-deco .c-outer,
  .notice-image-area .corner-deco .c-outer,
  .jump-image-card .corner-deco .c-outer,
  .service-popover .corner-deco .c-outer,
  .matrix-panel .corner-deco .c-outer { stroke-width: 1.3; }

  .carousel-section .corner-deco .c-inner,
  .notice-image-area .corner-deco .c-inner,
  .jump-image-card .corner-deco .c-inner,
  .service-popover .corner-deco .c-inner,
  .matrix-panel .corner-deco .c-inner { stroke-width: 0.75; }

  /* ── doodle circular button (carousel nav & matrix close) ─────── */
  .doodle-circle-btn {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    pointer-events: auto;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform 180ms ease;
  }
  .doodle-circle-btn:active {
    transform: scale(0.90);
  }
  .doodle-circle-btn svg {
    width: 100%;
    height: 100%;
    display: block;
  }
  .doodle-circle-fill {
    fill: rgba(255, 133, 192, 0.35);
  }
  .doodle-circle-outer {
    fill: none;
    stroke: var(--doodle-pink);
    stroke-width: 2.5;
    stroke-linecap: round;
  }
  .doodle-circle-inner {
    fill: none;
    stroke: rgba(255, 255, 255, 0.75);
    stroke-width: 1.5;
    stroke-dasharray: 8 4;
  }
  .doodle-circle-arrow {
    fill: none;
    stroke: #ffffff;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .doodle-circle-x {
    stroke: #ffffff;
    stroke-width: 2.5;
    stroke-linecap: round;
  }

  .css-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #1a1820;
    isolation: isolate;
    touch-action: pan-y;
  }

  .carousel-viewport {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: 0;
    background: #1a1820;
  }

  .carousel-viewport::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    content: none;
    display: none;
  }

  .carousel-track {
    display: flex;
    width: 300%;
    height: 100%;
    transform: translateX(0);
    transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
  }

  .css-carousel.is-dragging .carousel-track {
    transition: none;
  }

  .carousel-slide {
    position: relative;
    flex: 0 0 33.3333%;
    height: 100%;
    overflow: hidden;
    background: #1a1820;
  }

  .carousel-slide:nth-child(2) {
    background: #180e1e;
  }

  .carousel-slide:nth-child(3) {
    background: #130f18;
  }

  .image-placeholder {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.18em;
  }

  .image-placeholder::before {
    content: none;
  }

  .image-placeholder::after {
    content: "跳拉电竞";
    position: relative;
    z-index: 1;
    color: #ffffff;
    font-size: 22px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-shadow: 4px 4px 0 var(--doodle-pink), 5px 5px 0 rgba(255, 133, 192, 0.40);
  }

  .image-placeholder.has-managed-image::after {
    content: none;
  }

  .slide-caption {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    z-index: 3;
    margin: 0;
    min-height: 64px;
    padding: 14px 16px 46px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: 0.04em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.80);
    background: linear-gradient(180deg, rgba(17,17,17,0.96) 0%, rgba(17,17,17,0.55) 50%, rgba(17,17,17,0) 100%);
  }

  .slide-caption span {
    color: var(--valorant-red);
  }

  .carousel-dots {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 7;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px;
    background: none;
    border-radius: 0;
  }

  .carousel-dots button {
    width: auto;
    height: auto;
    padding: 2px;
    border: 0;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    transition: transform 180ms ease;
  }

  .carousel-dots button .dot-svg {
    display: block;
    width: 22px;
    height: 22px;
    overflow: visible;
    transition: none;
  }


  .carousel-dots button .dot-circle-svg { display: block; }
  .carousel-dots button .dot-pill-svg   { display: none; }
  .carousel-dots button.is-active .dot-circle-svg { display: none; }
  .carousel-dots button.is-active .dot-pill-svg   { display: block; }
  .dot-pill-path {
    fill: #ff85c0;
    stroke: none;
  }

  .dot-circle {
    fill: rgba(255, 255, 255, 0.15);
    stroke: rgba(255, 255, 255, 0.55);
    stroke-width: 1.3;
    stroke-linecap: round;
    transition: fill 220ms ease, stroke 220ms ease;
  }

  .carousel-dots button.is-active .dot-circle {
    fill: #ff85c0;
    stroke: #ff85c0;
  }

  .carousel-nav {
    position: absolute;
    inset: 0;
    z-index: 6;
    pointer-events: none;
  }

  .carousel-nav button {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    pointer-events: auto;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transform: translateY(-50%);
    transition: transform 180ms ease;
  }
  .carousel-nav button:active {
    transform: translateY(-50%) scale(0.90);
  }

  .carousel-nav .prev {
    left: 9px;
  }

  .carousel-nav .next {
    right: 9px;
  }

  .notice-image-area {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    margin-top: 12px;
    overflow: hidden;
    background: #111111;
  }

  .notice-tag {
    display: none;
  }

  .notice-placeholder {
    position: relative;
    z-index: 1;
    display: grid;
    flex: 1 1 auto;
    place-items: center;
    width: 100%;
    min-height: 0;
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.16em;
    background: transparent;
  }

  .notice-placeholder span {
    position: relative;
    padding: 12px 18px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.16em;
  }

  .notice-placeholder span::before,
  .notice-placeholder span::after {
    content: none;
  }

  .notice-placeholder.has-managed-image {
    display: block;
  }

  .floating-actions {
    position: fixed;
    inset: auto 0 max(18px, env(safe-area-inset-bottom)) 0;
    z-index: 20;
    pointer-events: none;
  }

  .menu-cluster {
    position: fixed;
    left: max(18px, env(safe-area-inset-left));
    bottom: max(18px, env(safe-area-inset-bottom));
    pointer-events: auto;
  }

  .service-cluster {
    position: fixed;
    right: max(18px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    pointer-events: auto;
  }

  .tactical-button {
    display: grid;
    place-items: center;
    min-width: 68px;
    height: 56px;
    padding: 0 18px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.1em;
    border: 3px solid var(--doodle-pink);
    border-radius: 14px;
    background:
      #1c1a22;
    box-shadow:
      0 0 18px rgba(244, 114, 182, 0.18),
      0 10px 26px rgba(0, 0, 0, 0.42);
    cursor: pointer;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
  }

  .tactical-button:active {
    transform: scale(0.95);
    background:
      #261424;
  }

  .menu-toggle {
    position: relative;
    z-index: 33;
    display: block;
    width: 84px;
    min-width: 84px;
    height: 84px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    transform-origin: 50% 50%;
    -webkit-tap-highlight-color: transparent;
    transition:
      opacity 520ms ease,
      transform 640ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .menu-toggle-svg {
    display: block;
    width: 100%;
    height: 100%;
    filter:
      drop-shadow(0 0 8px rgba(255, 133, 192, 0.55))
      drop-shadow(0 4px 14px rgba(0,0,0,0.55));
  }

  /* 涂鸦风：深色填充，配合粉+白复合边框 */
  .hex-fill {
    fill: rgba(17,17,17,0.92);
  }

  .button-image,
  .ring-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
  }

  .button-image {
    clip-path: polygon(50% 4%, 88% 26%, 88% 74%, 50% 96%, 12% 74%, 12% 26%);
  }

  .ring-image {
    z-index: 0;
  }

  .has-image .button-image,
  .has-image .ring-image {
    opacity: 1;
  }

  .has-image .hex-fill {
    fill: rgba(17,17,17,0.50);
  }

  .has-image .menu-toggle-label,
  .has-image .ring-label {
    opacity: 0;
  }

  /* 涂鸦边框外层 */
  .hex-stroke-main {
    fill: none;
    stroke: var(--doodle-pink);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 34 10;
    stroke-dashoffset: 0;
    paint-order: stroke fill;
  }

  /* 涂鸦边框内层 */
  .hex-stroke-sub {
    fill: none;
    stroke: rgba(255, 255, 255, 0.88);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 28 16;
    stroke-dashoffset: -34;
  }

  .menu-toggle-label {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--doodle-pink);
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-shadow: 0 0 10px rgba(244, 114, 182, 0.60), 0 1px 2px rgba(0, 0, 0, 0.80);
    pointer-events: none;
  }

  .menu-toggle.is-hidden {
    opacity: 0.42;
    transform: translate(-42px, 42px) scale(0.64);
    pointer-events: auto;
  }

  .menu-panel {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 31;
    width: 242px;
    height: 242px;
    pointer-events: none;
  }

  .menu-panel.is-open {
    pointer-events: auto;
  }

  .ring-btn {
    position: absolute;
    inset: 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform-origin: 18px calc(100% - 18px);
    -webkit-tap-highlight-color: transparent;
    transition:
      opacity 280ms ease,
      transform 480ms cubic-bezier(0.18, 1.28, 0.28, 1);
  }

  .ring-btn.inner {
    transform: rotate(-34deg) scale(0.84);
  }

  .ring-btn.outer {
    transform: rotate(34deg) scale(0.84);
  }

  .menu-panel.is-open .ring-btn {
    opacity: 1;
    pointer-events: auto;
    transform: rotate(0deg) scale(1);
  }

  .menu-panel.is-open .ring-btn:active {
    transform: rotate(0deg) scale(0.96);
  }

  .ring-btn svg {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    filter:
      drop-shadow(0 0 8px rgba(255, 133, 192, 0.50))
      drop-shadow(0 4px 14px rgba(0,0,0,0.55));
  }

  /* 涂鸦风弧形：深色填充 */
  .seg-fill {
    fill: rgba(17,17,17,0.92);
  }

  /* 子菜单外轮廓：粗粉虚线，段数少 */
  .seg-main {
    fill: none;
    stroke: var(--doodle-pink);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 28 10;
    stroke-dashoffset: 0;
  }

  .ring-btn.has-image .seg-fill {
    fill: rgba(17,17,17,0.40);
  }

  .ring-label {
    position: absolute;
    left: var(--label-x);
    bottom: var(--label-y);
    color: #ffffff;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.06em;
    white-space: nowrap;
    pointer-events: none;
    text-shadow: 0 0 12px rgba(244, 114, 182, 0.40);
    transform: translate(-50%, 50%);
  }

  .service-toggle {
    position: relative;
    z-index: 33;
    display: block;
    width: 84px;
    min-width: 84px;
    height: 84px;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    transform-origin: 50% 50%;
    -webkit-tap-highlight-color: transparent;
    transition:
      opacity 520ms ease,
      transform 640ms cubic-bezier(0.16, 1, 0.3, 1);
  }

  .service-toggle.is-hidden {
    opacity: 0.42;
    transform: translate(42px, 42px) scale(0.64);
    pointer-events: auto;
  }

  .service-toggle .menu-toggle-label {
    font-size: 16px;
  }

  .matrix-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    background:
      rgba(17, 17, 17, 0.88);
    backdrop-filter: blur(10px);
    transition: opacity 240ms ease;
  }

  .matrix-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .matrix-panel {
    position: relative;
    width: min(100%, 720px);
    max-height: min(76svh, 720px);
    padding: 62px 52px 56px;
    overflow: hidden;
    background:
      #1c1a22;
    transform: translateY(14px) scale(0.98);
    transition: transform 280ms cubic-bezier(0.18, 1.18, 0.28, 1);
  }

  .matrix-overlay.is-open .matrix-panel {
    transform: translateY(0) scale(1);
  }

  .matrix-header {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
  }

  .matrix-close {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform 180ms ease;
    flex-shrink: 0;
  }
  .matrix-close:active {
    transform: scale(0.90);
  }
  .matrix-close svg {
    width: 100%;
    height: 100%;
    display: block;
    filter: drop-shadow(0 0 10px rgba(244, 114, 182, 0.22));
  }

  .matrix-grid {
    display: grid;
    position: relative;
    z-index: 2;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 16px;
    max-height: calc(min(76svh, 720px) - 118px);
    overflow: auto;
    padding: 12px 6px 22px;
    scrollbar-width: thin;
  }

  .matrix-item {
    display: grid;
    justify-items: center;
    gap: 7px;
    min-width: 0;
    color: #ffffff;
    background: transparent;
    border: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }

  .matrix-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: clamp(62px, 16vw, 84px);
    aspect-ratio: 1;
    border-radius: 999px;
    background: #1c1a22;
    box-shadow: 0 4px 16px rgba(0,0,0,0.50);
  }

  .matrix-item-image {
    position: absolute;
    inset: 12%;
    z-index: 1;
    display: block;
    width: 76%;
    height: 76%;
    object-fit: cover;
    border-radius: 999px;
  }

  .matrix-icon:has(.matrix-item-image) .matrix-icon-text {
    opacity: 0;
  }

  .matrix-icon-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    filter: drop-shadow(0 0 10px rgba(244, 114, 182, 0.22));
  }

  .matrix-icon-fill {
    fill: #1c1a22;
  }

  .matrix-icon-main,
  .matrix-icon-sub {
    fill: none;
    stroke-linecap: round;
  }

  .matrix-icon-main {
    stroke: var(--doodle-pink);
    stroke-width: 5;
    stroke-linecap: round;
    stroke-dasharray: 30 12;
    stroke-dashoffset: 0;
  }

  .matrix-icon-sub {
    stroke: rgba(255, 255, 255, 0.75);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 24 18;
    stroke-dashoffset: -30;
  }

  .matrix-icon-text {
    position: relative;
    z-index: 1;
    color: rgba(244, 114, 182, 0.92);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.04em;
  }

  .matrix-label {
    max-width: 100%;
    color: rgba(255, 255, 255, 0.88);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  @media (min-width: 560px) {
    /* keep 3 cols for readability */
  }

  .service-popover {
    position: fixed;
    right: max(18px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    z-index: 30;
    width: 194px;
    padding: 14px;
    opacity: 0;
    transform: translate(16px, 16px) scale(0.88);
    transform-origin: right bottom;
    pointer-events: none;
    border-radius: 12px;
    background: #1c1a22;
    box-shadow: 0 4px 20px rgba(0,0,0,0.55);
    transition:
      opacity 280ms ease,
      transform 420ms cubic-bezier(0.18, 1.18, 0.28, 1);
  }

  .qr-frame {
    position: relative;
    padding: 10px;
  }

  .service-popover::before,
  .service-popover::after {
    content: none;
  }

  .service-popover.is-open {
    opacity: 1;
    transform: translate(0, 0) scale(1);
    pointer-events: auto;
  }

  .qr-placeholder {
    display: grid;
    place-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
    aspect-ratio: 1;
    color: rgba(255, 255, 255, 0.88);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-align: center;
    border: none;
    background: transparent;
  }

  .qr-placeholder.has-managed-image {
    display: block;
  }

  .service-tip {
    margin: 8px 0 0;
    position: relative;
    z-index: 2;
    color: var(--valorant-red);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.35;
    text-align: center;
    letter-spacing: 0.06em;
  }

  @media (min-width: 768px) {
    .back-cluster {
      right: max(28px, env(safe-area-inset-right));
      bottom: max(28px, env(safe-area-inset-bottom));
    }

    .menu-cluster {
      left: max(28px, env(safe-area-inset-left));
      bottom: max(28px, env(safe-area-inset-bottom));
    }

    .service-cluster {
      right: max(28px, env(safe-area-inset-right));
      bottom: max(28px, env(safe-area-inset-bottom));
    }

    .landing-page,
    .jump-page {
      width: 100%;
      padding: 24px;
    }

    .slide-caption {
      min-height: 86px;
      padding: 22px 24px 72px;
      font-size: 20px;
    }

    .carousel-dots {
      right: 22px;
      bottom: 22px;
    }

    .notice-image-area {
      margin-top: 12px;
    }
  }
