    :root {
      --bg-dark: #050816;
      --bg-card: rgba(15, 23, 42, 0.95);
      --accent: #22c55e;
      --accent-soft: rgba(34, 197, 94, 0.1);
      --accent-strong: #4ade80;
      --text-main: #e5e7eb;
      --text-muted: #9ca3af;
      --danger: #f97373;
    }
      html, body {
      background: #000;
    }
    html { scroll-behavior: smooth; }
    html, body { overflow-x: hidden; }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      overflow-x: hidden;
      font-family: 'Chakra Petch', system-ui, -apple-system, BlinkMacSystemFont, 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
      background: radial-gradient(circle at top, #0f172a, #020617 55%, #000 100%);
      color: var(--text-main);
      min-height: 100vh;
      line-height: 1.5;
    }
    a { color: inherit; text-decoration: none; }
    .container {
      width: 100%;
      max-width: 1120px;
      margin: 0 auto;
      padding: 0 1.5rem;
    }
    .nav {
      position: sticky;
      top: 0;
      z-index: 50;
      backdrop-filter: blur(18px);
      background: linear-gradient(to right, rgba(15,23,42,0.9), rgba(6,78,59,0.3));
      border-bottom: 1px solid rgba(148,163,184,0.25);
    }
    .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.75rem 0;
    }
    .nav-left {
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }
    .nav-left:hover { opacity: 0.9; }
    .logo {
      width: 55px;
      height: 55px;
    }
    .logo img { width: 100%; height: 100%; object-fit: contain; }
    .brand { display: flex; flex-direction: column; }
    .brand-name {
      font-family: 'Chakra Petch', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      font-size: 0.9rem;
    }
    .brand-sub {
      font-family: 'Chakra Petch', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
      font-size: 0.7rem;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.2em;
    }
    .nav-links { display: flex; gap: 1.4rem; font-size: 0.9rem; }
    .nav-link {
      color: var(--text-muted);
      position: relative;
      padding-bottom: 2px;
    }
    .nav-link:hover { color: var(--accent-strong); }
    .nav-link::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: -2px;
      width: 0;
      height: 2px;
      background: linear-gradient(to right, var(--accent), var(--accent-strong));
      transition: width 0.2s ease-out;
    }
    .nav-link:hover::after { width: 100%; }
    @media (max-width: 600px) {
      .nav-inner { padding-left: 1rem; padding-right: 1rem; }
      .nav-left { gap: 0.8rem; }
      .logo { margin-left: 0.2rem; }
    }
    .hero { padding: 4rem 0 3rem; }
    .hero-inner {
      display: grid;
      grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
      gap: 2.5rem;
      align-items: center;
    }
    @media (max-width: 900px) {
      .hero-inner { grid-template-columns: 1fr; }
    }
    .hero-label {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.2rem 0.7rem;
      border-radius: 999px;
      background: rgba(15,23,42,0.85);
      border: 1px solid rgba(148,163,184,0.35);
      font-size: 0.75rem;
      color: var(--text-muted);
      margin-bottom: 1rem;
    }
    .hero-label span.badge-dot {
      width: 8px;
      height: 8px;
      border-radius: 999px;
      background: #22c55e;
      box-shadow: 0 0 12px rgba(34,197,94,0.9);
    }
    .hero-title {
      font-size: clamp(2.3rem, 3vw + 1.4rem, 3.4rem);
      font-weight: 700;
      letter-spacing: 0.02em;
      margin-bottom: 0.75rem;
    }
    .hero-title span {
      color: var(--accent-strong);
      text-shadow: 0 0 12px rgba(34,197,94,0.6);
    }
    .hero-subtitle {
      font-size: 1rem;
      color: var(--text-muted);
      max-width: 32rem;
      margin-bottom: 1.7rem;
    }
    .hero-cta-row {
      display: flex;
      flex-wrap: wrap;
      gap: 0.85rem;
      margin-bottom: 1.2rem;
    }
    .btn-main {
      border-radius: 999px;
      padding: 0.7rem 1.4rem;
      font-weight: 700;
      font-size: 0.95rem;
      cursor: pointer;
      border: none;
      background: radial-gradient(circle at 30% 30%, #4ade80, #22c55e, #16a34a);
      box-shadow: 0 0 18px rgba(34,197,94,0.7);
      color: #022c22;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      line-height: 1;
    }
    .btn-main:hover {
      filter: brightness(1.08);
      transform: translateY(-1px);
    }
    .btn-ghost {
      border-radius: 999px;
      padding: 0.7rem 1.3rem;
      font-weight: 600;
      font-size: 0.9rem;
      cursor: pointer;
      border: 1px solid rgba(148,163,184,0.5);
      background: rgba(15,23,42,0.8);
      color: var(--text-main);
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
    }
    .btn-ghost:hover {
      border-color: var(--accent);
      color: var(--accent-strong);
    }
    .btn-main:disabled,
    .btn-ghost:disabled,
    .hp-modal-close:disabled {
      opacity: 0.4;
      cursor: not-allowed;
      pointer-events: none;
    }
    .hero-contract {
      font-size: 0.75rem;
      color: var(--text-muted);
      margin-top: 0.8rem;
      word-break: break-all;
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 0.55rem;
    }
    .hero-contract-label{
      color: var(--text-muted);
      letter-spacing: 0.08em;
      text-transform: uppercase;
      font-weight: 700;
      font-size: 0.7rem;
    }
    .hero-contract .ca-value{
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
      color: var(--text-main);
      background: rgba(15,23,42,0.65);
      border: 1px solid rgba(148,163,184,0.35);
      padding: 0.22rem 0.55rem;
      border-radius: 999px;
      line-height: 1.2;
    }
    .btn-ca-copy{
      border-radius: 999px;
      padding: 0.38rem 0.8rem;
      font-weight: 700;
      font-size: 0.75rem;
      cursor: pointer;
      border: 1px solid rgba(148,163,184,0.5);
      background: rgba(15,23,42,0.8);
      color: var(--text-main);
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      transition: transform 120ms ease, filter 120ms ease, border-color 120ms ease, color 120ms ease;
      user-select: none;
      -webkit-tap-highlight-color: transparent;
    }
    .btn-ca-copy:hover{
      border-color: var(--accent);
      color: var(--accent-strong);
      transform: translateY(-1px);
    }
    .btn-ca-copy:active{
      transform: translateY(0px);
      filter: brightness(0.98);
    }
    @media (max-width: 520px){
      .hero-contract{
        gap: 0.45rem;
      }
      .btn-ca-copy{
        padding: 0.34rem 0.72rem;
      }
    }
    .hero-contract span { color: var(--accent-strong); }
    .hero-right { display: flex; justify-content: center; }
    .hero-card {
      width: 100%;
      max-width: 360px;
      aspect-ratio: 3 / 4;
      border-radius: 1.5rem;
      padding: 1.2rem;
      background:
        radial-gradient(circle at 10% 0, rgba(34,197,94,0.2), transparent 55%),
        radial-gradient(circle at 90% 100%, rgba(34,197,94,0.18), transparent 55%),
        var(--bg-card);
      border: 1px solid rgba(148,163,184,0.6);
      box-shadow:
        0 0 30px rgba(15,23,42,0.9),
        0 0 45px rgba(22,163,74,0.5);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      position: relative;
      overflow: hidden;
    }
    .hero-card-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 0.5rem;
      font-size: 0.8rem;
      color: var(--text-muted);
      gap: 0.4rem;
    }
    .hero-card-badge {
      padding: 0.15rem 0.6rem;
      border-radius: 999px;
      background: var(--accent-soft);
      color: var(--accent-strong);
      border: 1px solid rgba(74,222,128,0.6);
      font-size: 0.72rem;
    }
    .hero-card-footer {
      border-top: 1px dashed rgba(148,163,184,0.4);
      padding-top: 0.7rem;
      display: grid;
      grid-template-columns: repeat(3, minmax(0,1fr));
      gap: 0.5rem;
      font-size: 0.75rem;
    }
    .stat { display: flex; flex-direction: column; gap: 0.1rem; }
    .stat-label { color: var(--text-muted); font-size: 0.7rem; }
    .stat-value { font-weight: 600; }
    .stat-tag {
      font-size: 0.65rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--accent-strong);
    }
    section { padding: 3rem 0; }
    .section-title {
      font-size: 1.4rem;
      font-weight: 700;
      margin-bottom: 0.5rem;
    }
    .section-subtitle {
      font-size: 0.9rem;
      color: var(--text-muted);
      margin-bottom: 1.8rem;
      max-width: 32rem;
    }
    .grid { display: grid; gap: 1.4rem; }
    @media (min-width: 768px) {
      .grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
      .grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
    }
    .card {
      background: var(--bg-card);
      border-radius: 1.2rem;
      padding: 1.2rem;
      border: 1px solid rgba(148,163,184,0.45);
      box-shadow: 0 18px 35px rgba(15,23,42,0.85);
    }
    .card h3 { font-size: 1rem; margin-bottom: 0.4rem; }
    .card p { font-size: 0.88rem; color: var(--text-muted); }
    .section-align-left { margin-left: -20px; }
    @media (max-width: 768px) { .section-align-left { margin-left: 0; } }
    .tokenomics-grid { display: grid; gap: 1.4rem; }
    @media (min-width: 900px) {
      .tokenomics-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    }
    .tokenomics-list { list-style: none; font-size: 0.9rem; }
    .tokenomics-item {
      display: flex;
      justify-content: space-between;
      border-bottom: 1px dashed rgba(148,163,184,0.4);
      padding: 0.5rem 0;
    }
    .tokenomics-item span:first-child { color: var(--text-muted); }
    .tokenomics-item span:last-child { font-weight: 600; color: var(--accent-strong); }
    .tokenomics-note { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.7rem; }
    .roadmap {
      position: relative;
      border-left: 2px dashed rgba(148,163,184,0.5);
      margin-left: 0.8rem;
      padding-left: 1.4rem;
    }
    .phase { position: relative; margin-bottom: 1.4rem; }
    .phase::before {
      content: "";
      position: absolute;
      left: -2.03rem;
      top: 0.32rem;
      width: 14px;
      height: 14px;
      border-radius: 999px;
      background: var(--bg-dark);
      border: 2px solid var(--accent-strong);
      box-shadow: 0 0 10px rgba(34,197,94,0.6);
    }
    .roadmap .phase:first-child::before {
      background: var(--accent-strong) !important;
      border-color: var(--accent-strong) !important;
      box-shadow: 0 0 16px rgba(34,197,94,0.95) !important;
      animation: phasePulse 1.6s infinite ease-in-out;
    }
    @keyframes phasePulse {
      0%   { transform: scale(0.9); box-shadow: 0 0 10px rgba(34,197,94,0.6); }
      50%  { transform: scale(1.0); box-shadow: 0 0 18px rgba(34,197,94,1); }
      100% { transform: scale(0.9); box-shadow: 0 0 10px rgba(34,197,94,0.6); }
    }
    .roadmap .phase:first-child::after {
      content: "";
      position: absolute;
      left: -1.53rem;
      top: 1.4rem;
      bottom: -1.4rem;
      width: 2px;
      background: linear-gradient(
        to bottom,
        rgba(34,197,94,1),
        rgba(34,197,94,0.4)
      );
      box-shadow: 0 0 12px rgba(34,197,94,0.9);
      border-radius: 999px;
    }
    .roadmap .phase:nth-child(n+2) {
      opacity: 0.55;
      filter: saturate(0.7);
      transition: opacity 0.25s ease-out, filter 0.25s ease-out;
    }
    .roadmap .phase:nth-child(n+2):hover {
      opacity: 0.9;
      filter: saturate(1);
    }
    .phase-title { font-weight: 600; margin-bottom: 0.2rem; font-size: 0.95rem; }
    .phase-tag {
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--accent-strong);
      margin-bottom: 0.3rem;
    }
    .phase-tag-badge-active {
      display: inline-block;
      margin-right: 0.6rem;
      padding: 0.02rem 0.4rem;
      border-radius: 999px;
      font-size: 0.58rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      background: rgba(34,197,94,0.12);
      border: 1px solid rgba(34,197,94,0.7);
      color: var(--accent-strong);
    }
    .phase ul { list-style: none; font-size: 0.85rem; color: var(--text-muted); }
    .phase ul li::before { content: "• "; color: var(--accent-strong); }
    .steps { list-style: none; counter-reset: step; }
    .steps li {
      position: relative;
      padding-left: 2.2rem;
      margin-bottom: 0.9rem;
      font-size: 0.9rem;
      color: var(--text-muted);
    }
    .steps li::before {
      counter-increment: step;
      content: counter(step);
      position: absolute;
      left: 0;
      top: 0.1rem;
      width: 1.5rem;
      height: 1.5rem;
      border-radius: 999px;
      border: 1px solid rgba(148,163,184,0.7);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.8rem;
      color: var(--accent-strong);
      background: rgba(15,23,42,0.9);
    }
    @media (max-width: 640px) {
      .roadmap .phase:first-child::after { left: -1.5rem; }
    }
    .tag-pill {
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
      padding: 0.15rem 0.6rem;
      border-radius: 999px;
      background: rgba(15,23,42,0.9);
      border: 1px solid rgba(148,163,184,0.6);
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--text-muted);
    }
    .hp-lb-tabs{
      display:flex;
      gap:0.4rem;
      align-items:center;
      margin-left:auto;
      flex-wrap:wrap;
      justify-content:flex-end;
      align-self:center;
    }
    .tag-pill{
      align-self:center;
      margin-left:0.4rem;
    }
    .hp-lb-tabs{
      display:flex;
      gap:0.4rem;
      align-items:center;
      margin-left:auto;
      flex-wrap:wrap;
      justify-content:flex-end;
    }
    .hp-lb-tab{
      border-radius:999px;
      padding:0.35rem 0.8rem;
      font-weight:700;
      font-size:0.72rem;
      cursor:pointer;
      border:1px solid rgba(148,163,184,0.5);
      background: rgba(15,23,42,0.8);
      color: var(--text-main);
      transition: transform 120ms ease, filter 120ms ease, border-color 120ms ease, color 120ms ease;
      user-select:none;
      -webkit-tap-highlight-color: transparent;
    }
    .hp-lb-tab:hover{
      border-color: var(--accent);
      color: var(--accent-strong);
      transform: translateY(-1px);
    }
    .hp-lb-tab:active{
      transform: translateY(0px);
      filter: brightness(0.98);
    }
    .hp-lb-tab[aria-selected="true"]{
      border-color: var(--accent);
      color: var(--accent-strong);
    }
    @media (max-width: 520px){
      .hp-lb-tabs{
        width:100%;
        justify-content:flex-end;
        margin-left:0;
      }
    }
    .hp-lb-tab.hp-active{
      border-color: var(--accent);
      background: rgba(16,185,129,0.12);
      color: var(--accent-strong);
      box-shadow: 0 0 0 2px rgba(16,185,129,0.12) inset;
    }
    @media (max-width: 520px){
      #hp-lb-title{ width:100%; }
      .hp-lb-tabs{
        width:100%;
        justify-content:flex-end;
        margin-left:0;
        margin-top:0.35rem;
      }
    }
    @media (max-width: 520px){
      .hp-lb-tabs{ width:100%; justify-content:flex-start; margin-left:0; margin-top:0.35rem; }
    }
    footer {
      border-top: 1px solid rgba(148,163,184,0.3);
      padding: 1.4rem 0 1.2rem;
      font-size: 0.8rem;
      color: var(--text-muted);
    }
    .footer-inner {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 0.8rem;
    }
    .footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
    .footer-links a { color: var(--text-muted); font-size: 0.8rem; }
    .footer-links a:hover { color: var(--accent-strong); }
    @media (max-width: 600px) {
      .nav-links { display: none; }
      .hero { padding-top: 2.4rem; }
      .hero-card { max-width: 320px; }
    }
    .hp-game-buttons-grid {
      display: flex;
      justify-content: center;
      gap: 1.2rem;
      flex-wrap: wrap;
    }
    .hp-game-btn-col {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.35rem;
    }
    .hp-key-hint {
      font-size: 0.65rem;
      color: var(--text-muted);
      letter-spacing: 0.08em;
      opacity: 0.8;
      user-select: none;
    }
    @media (max-width: 420px) {
      .hp-game-buttons-grid { gap: 0.8rem; }
    }
    @media (max-width: 768px) {
      .hp-key-hint { display: none; }
    }
    .hp-game-layout {
      display: grid;
      gap: 1.5rem;
      align-items: flex-start;
    }
    @media (min-width: 900px) {
      .hp-game-layout { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
    }
    .hp-game-left { display: flex; flex-direction: column; gap: 0.8rem; }
    .hitpepe-wrapper { text-align: center; margin: 0 auto; }
    .hp-scene-wrap {
      position: relative;
      display: inline-block;
      width: min(300px, 100%);
      aspect-ratio: 1 / 1;
      height: auto;
    }
    .hitpepe-scene {
      position: relative;
        z-index:1;
  display: inline-block;
      width: 100%;
      height: 100%;
      overflow: hidden;
      cursor: pointer;
      -webkit-tap-highlight-color: transparent;
      touch-action: pan-y;
      user-select: none;
    }
    .hitpepe-scene:focus-visible {
      outline: 3px solid #00ff88;
      outline-offset: 4px;
    }
    .hp-mute-btn {
      position: absolute;
      top: -12px;
      right: -12px;
      z-index: 30;
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      background: rgba(15,23,42,0.78);
      border: 1px solid rgba(148,163,184,0.55);
      border-radius: 999px;
      cursor: pointer;
      font-size: 1rem;
      line-height: 1;
      color: var(--text-main);
      -webkit-tap-highlight-color: transparent;
      user-select: none;
      backdrop-filter: blur(8px);
      pointer-events: auto;
    }
    .hp-mute-btn:hover {
      border-color: var(--accent-strong);
      color: var(--accent-strong);
      background: rgba(15,23,42,0.88);
    }
    @media (max-width: 420px) {
      .hp-mute-btn {
        top: -8px;
        right: -8px;
      }
    }
    .hitpepe-scene.shake { animation: hp-shake 0.25s ease-in-out; }
    @keyframes hp-shake {
      0% { transform: translate(0, 0); }
      20% { transform: translate(-6px, 3px); }
      40% { transform: translate(6px, -3px); }
      60% { transform: translate(-4px, 2px); }
      80% { transform: translate(4px, -2px); }
      100% { transform: translate(0, 0); }
    }
    .hitpepe-pepe {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: contain;
      transition: opacity 0.1s linear;
      pointer-events: none;
    }
    .hitpepe-pepe-normal { opacity: 1; }
    .hitpepe-pepe-hit { opacity: 0; }
    .hitpepe-pepe-hit2 { opacity: 0; }
        .hitpepe-pepe-hit3 { opacity: 0; }
    .hitpepe-pepe-hit4 { opacity: 0; }
.hitpepe-pepe-strike .hitpepe-pepe-normal { opacity: 0; }
    .hitpepe-pepe-strike .hitpepe-pepe-hit { opacity: 1; }
    .hitpepe-pepe-strike2 .hitpepe-pepe-normal { opacity: 0; }
    .hitpepe-pepe-strike2 .hitpepe-pepe-hit2 { opacity: 1; }
    .hitpepe-pepe-strike3 .hitpepe-pepe-normal { opacity: 0; }
    .hitpepe-pepe-strike3 .hitpepe-pepe-hit3 { opacity: 1; }
    .hitpepe-pepe-strike4 .hitpepe-pepe-normal { opacity: 0; }
    .hitpepe-pepe-strike4 .hitpepe-pepe-hit4 { opacity: 1; }
.hitpepe-hand {
      position: absolute;
      top: 40%;
      left: 110%;
      width: 200px;
      transform-origin: left center;
      pointer-events: none;
    }
    .hp-game-stats {
      display: flex;
      justify-content: center;
      gap: 1rem;
      margin-top: 0.6rem;
      font-size: 0.85rem;
    }
    .hp-stat {
      background: rgba(15,23,42,0.85);
      border-radius: 999px;
      padding: 0.3rem 0.8rem;
      border: 1px solid rgba(148,163,184,0.4);
    }
    .hp-stat-label { color: var(--text-muted); font-size: 0.75rem; }
    .hp-stat-value { font-weight: 600; margin-left: 0.25rem; }
    .hp-combo-glow { animation: hp-combo-pulse 0.35s ease-out; }
    @keyframes hp-combo-pulse {
      0% { color: var(--text-main); text-shadow: none; transform: scale(1); }
      40% { color: var(--accent-strong); text-shadow: 0 0 12px rgba(74,222,128,0.9); transform: scale(1.25); }
      100% { color: var(--text-main); text-shadow: none; transform: scale(1); }
    }
    .hp-combo-break { animation: hp-combo-break-anim 0.25s ease-out; }
    @keyframes hp-combo-break-anim {
      0% { transform: scale(1); color: var(--accent-strong); }
      50% { transform: scale(0.8); color: var(--danger); }
      100% { transform: scale(1); color: var(--text-main); }
    }
    .hp-game-buttons {
      display: flex;
      justify-content: center;
      gap: 0.6rem;
      margin-top: 0.9rem;
      flex-wrap: wrap;
    }
    .hitpepe-btn {
      padding: 0.7rem 1.4rem;
      border-radius: 999px;
      border: none;
      cursor: pointer;
      font-weight: 700;
      font-size: 0.95rem;
      background: rgba(15,23,42,0.9);
      color: var(--text-main);
      border: 1px solid rgba(148,163,184,0.6);
    }
    .hitpepe-btn:disabled { opacity: 0.4; cursor: not-allowed; }
    .hitpepe-btn:not(:disabled):hover { border-color: var(--accent-strong); color: var(--accent-strong); }
    @keyframes hitpepe-hit {
      0% { left: 110%; transform: rotate(0deg); }
      40% { left: 55%; transform: rotate(-15deg); }
      60% { left: 50%; transform: rotate(10deg); }
      100% { left: 110%; transform: rotate(0deg); }
    }
    .hitpepe-animate { animation: hitpepe-hit 0.25s ease-in-out; }
    .hp-game-right { max-height: 420px; display: flex; flex-direction: column; }
    .hp-table-wrapper {
      border-radius: 0.8rem;
      border: 1px solid rgba(148,163,184,0.4);
      overflow: auto;
      max-height: 360px;
    }
    .hp-table { width: 100%; border-collapse: collapse; font-size: 0.8rem; }
    .hp-table thead { background: rgba(15,23,42,0.95); }
    .hp-table th, .hp-table td { padding: 0.35rem 0.5rem; text-align: left; }
    .hp-table th {
      font-weight: 600;
      color: var(--text-muted);
      border-bottom: 1px solid rgba(148,163,184,0.4);
    }
    .hp-table tbody tr:nth-child(even) { background: rgba(15,23,42,0.7); }
    .hp-table tbody tr:nth-child(odd) { background: rgba(15,23,42,0.9); }
    .hp-modal-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(15,23,42,0.85);
      backdrop-filter: blur(10px);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 999;
    }
    .hp-modal-backdrop.hp-show { display: flex; }
    .hp-modal {
      max-width: 420px;
      width: 100%;
      background: var(--bg-card);
      border-radius: 1.2rem;
      padding: 1.2rem 1.4rem;
      border: 1px solid rgba(148,163,184,0.6);
      box-shadow: 0 20px 40px rgba(0,0,0,0.8);
      position: relative;
      overflow: hidden;
    }
    .hp-modal-pepe {
      position: absolute;
      top: 14px;
      right: 14px;
      width: 74px;
      height: 74px;
      object-fit: contain;
      opacity: 0.95;
      filter: drop-shadow(0 0 10px rgba(74,222,128,0.35));
      pointer-events: none;
      user-select: none;
    }
    @media (max-width: 420px) {
      .hp-modal-pepe { width: 62px; height: 62px; top: 12px; right: 12px; }
    }
    .hp-modal-title { font-size: 1.1rem; margin-bottom: 0.4rem; }
    .hp-modal-score { font-size: 0.9rem; margin-bottom: 0.8rem; }
    .hp-modal-score span { font-weight: 700; color: var(--accent-strong); }
    .hp-input-label {
      display: block;
      font-size: 0.8rem;
      color: var(--text-muted);
      margin-bottom: 0.8rem;
    }
    .hp-input-label input {
      width: 100%;
      margin-top: 0.25rem;
      padding: 0.4rem 0.6rem;
      border-radius: 0.6rem;
      border: 1px solid rgba(148,163,184,0.6);
      background: rgba(15,23,42,0.95);
      color: var(--text-main);
      font-size: 0.85rem;
    }
    .hp-modal-buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.8rem; }
    .hp-modal-close {
      width: 100%;
      background: transparent;
      border: none;
      color: var(--text-muted);
      font-size: 0.8rem;
      cursor: pointer;
    }
    .hp-modal-close:hover { color: var(--accent-strong); }
    #hp-orb-logo {
      width: 100%;
      height: 100%;
      object-fit: contain;
      animation: orbPulse 2s infinite ease-in-out, orbShake 6s infinite ease-in-out;
    }
    .hp-hud-logo-wrap {
      position: relative;
      width: 228px;   
      height: 228px;  
      margin: 0.7rem auto 0.6rem;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: visible;
      --hp-glow-scale: 1.1;
      --hp-glow-opacity: 0.78;  
      --hp-glow-blur: 28px;
      --hp-glow-spread: 12px;
    }
    .hp-hud-logo-wrap > #hp-orb-logo {
      width: 100%;
      height: 100%;
      object-fit: contain;
      position: relative;
      z-index: 2;
      pointer-events: none;
      user-select: none;
    }
    .hp-hud-logo-wrap::before {
      content: "";
      position: absolute;
      inset: calc(-26px - var(--hp-glow-spread));
      border-radius: 999px;
      background: radial-gradient(
        circle,
        rgba(34,197,94,0.90) 0%,
        rgba(34,197,94,0.55) 30%,
        rgba(34,197,94,0.22) 56%,
        transparent 74%
      );
      filter: blur(var(--hp-glow-blur));
      opacity: var(--hp-glow-opacity);
      transform: scale(var(--hp-glow-scale));
      z-index: 1; 
      pointer-events: none;
    }
    @keyframes hpHudGlowPulse {
      0%   { transform: scale(calc(var(--hp-glow-scale) * 0.97)); opacity: calc(var(--hp-glow-opacity) * 0.92); }
      50%  { transform: scale(calc(var(--hp-glow-scale) * 1.06)); opacity: calc(var(--hp-glow-opacity) * 1.10); }
      100% { transform: scale(calc(var(--hp-glow-scale) * 0.97)); opacity: calc(var(--hp-glow-opacity) * 0.92); }
    }
    .hp-hud-logo-wrap.hp-glow-active::before {
      animation: hpHudGlowPulse 2.4s infinite ease-in-out;
    }
    @keyframes orbPulse { 0% { transform: scale(1); } 50% { transform: scale(1.04); } 100% { transform: scale(1); } }
    @keyframes orbShake {
      0% { transform: translate(0,0) rotate(0deg); }
      2% { transform: translate(-2px, 1px) rotate(-2deg); }
      4% { transform: translate(2px, -1px) rotate(2deg); }
      6% { transform: translate(0,0) rotate(0deg); }
      100% { transform: translate(0,0) rotate(0deg); }
    }
    .disclaimer-text {
      font-size: 0.8rem;
      color: var(--text-muted);
      margin-top: 1.5rem;
      margin-bottom: 2.5rem;
      text-align: center;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }
.hp-toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  pointer-events: none;
  background: rgba(15,23,42,0.92);
  border: 1px solid rgba(148,163,184,0.45);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  box-shadow: 0 18px 35px rgba(0,0,0,0.55);
  color: var(--text-main);
  font-size: 0.85rem;
  z-index: 2000;
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  transition: opacity .16s ease, transform .16s ease;
}
.hp-toast.hp-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}
.hp-toast-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent-strong);
  box-shadow: 0 0 12px rgba(74,222,128,0.85);
  flex: 0 0 8px;
}
@keyframes hpToastPulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.25); opacity: .75; } }
.hp-toast.hp-loading .hp-toast-dot { animation: hpToastPulse .8s ease-in-out infinite; }
.hp-toast.hp-success { border-color: rgba(74,222,128,0.6); }
.hp-toast.hp-info { border-color: rgba(74,222,128,0.45); }
.hp-toast.hp-error { border-color: rgba(249,115,115,0.55); }
.hp-toast.hp-error .hp-toast-dot {
  background: var(--danger);
  box-shadow: 0 0 12px rgba(249,115,115,0.5);
  animation: none;
}
    #hitpepe-btn,
    #hp-start-btn,
    .hp-mute-btn {
      -webkit-user-select: none;
      user-select: none;
      -webkit-touch-callout: none;
      -webkit-tap-highlight-color: transparent;
      touch-action: none;
    }
    .hitpepe-scene {
      touch-action: pan-y;
    }
#game .hp-scene-wrap,
#game #hitpepe-scene,
#game .hitpepe-scene {
  touch-action: pan-y;
}
#game.hp-round-running .hp-scene-wrap,
#game.hp-round-running #hitpepe-scene,
#game.hp-round-running .hitpepe-scene {
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
#game .hp-mute-btn,
#game #hitpepe-btn,
#game #hp-start-btn {
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
#game.hp-round-running .hp-mute-btn,
#game.hp-round-running #hitpepe-btn,
#game.hp-round-running #hp-start-btn {
  touch-action: none;
}
.hp-modal-title {
  max-width: calc(100% - 88px); 
}
@media (max-width: 480px) {
  .hp-modal-title {
    max-width: calc(100% - 96px);
    line-height: 1.25;
    word-break: break-word;
  }
}
.hp-countdown{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  font-family: "Press Start 2P", system-ui, sans-serif;
  font-size: clamp(28px, 6vw, 64px);
  letter-spacing: 0.06em;
  color:#b9ff3b;
  text-shadow: 0 0 12px rgba(34,197,94,.9), 0 0 32px rgba(34,197,94,.55);
  opacity:0;
  transform: scale(.92);
  transition: opacity .18s ease, transform .18s ease;
  pointer-events:none;
  user-select:none;
  z-index: 6;
}
.hp-countdown.hp-show{
  opacity:1;
  transform: scale(1);
}
.hp-countdown.hp-pop{
  animation: hpPop .22s ease-out;
}
@keyframes hpPop{
  0%{ transform: scale(.92); }
  55%{ transform: scale(1.06); }
  100%{ transform: scale(1); }
}
.hitpepe-scene.hp-tier-1{
  filter: drop-shadow(0 0 12px rgba(34,197,94,.25));
}
.hitpepe-scene.hp-tier-2{
  filter: drop-shadow(0 0 18px rgba(34,197,94,.45)) saturate(1.05);
}
.hitpepe-scene.hp-tier-3{
  filter: drop-shadow(0 0 26px rgba(34,197,94,.8)) saturate(1.12) contrast(1.05);
}
.hitpepe-scene.hp-final-hit{
  animation: hpFinalHit .42s ease-out;
}
@keyframes hpFinalHit{
  0%{ transform: translate3d(0,0,0) scale(1); filter: drop-shadow(0 0 14px rgba(34,197,94,.55)); }
  18%{ transform: translate3d(-6px,4px,0) scale(1.03); }
  36%{ transform: translate3d(7px,-5px,0) scale(1.04); filter: drop-shadow(0 0 34px rgba(34,197,94,.95)); }
  62%{ transform: translate3d(-5px,3px,0) scale(1.02); }
  100%{ transform: translate3d(0,0,0) scale(1); filter: drop-shadow(0 0 16px rgba(34,197,94,.65)); }
}
.hp-fx-text,
.hp-countdown,
.hp-final-hit,
.hp-combo-text {
  font-family: inherit !important;
  color: var(--hud-green, #22c55e) !important;
  text-shadow:
    0 0 8px rgba(34,197,94,0.8),
    0 0 16px rgba(34,197,94,0.6),
    0 0 32px rgba(34,197,94,0.4);
}
.hp-countdown-overlay{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  opacity:0;
  transition: opacity .18s ease;
  pointer-events:none;
  z-index: 5; 
}
.hp-countdown-overlay.hp-show{ opacity:1; }
.hp-countdown{
  font-size: clamp(18px, 4.2vw, 44px) !important;
  text-align: center;
  padding: 0 14px;
  line-height: 1.25;
}
.hp-countdown-sub{
  z-index:9999;
    position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  transform: translateY(44px);
  font-family: inherit;
  font-size: clamp(12px, 2.2vw, 16px);
  color: var(--hud-green, #22c55e);
  text-shadow: 0 0 8px rgba(34,197,94,0.8), 0 0 16px rgba(34,197,94,0.5);
  opacity:0;
  pointer-events:none;
}
.hp-countdown-sub.hp-show{ opacity:1; }
.hp-countdown{
  font-size: clamp(16px, 3.2vw, 34px) !important;
  font-weight: 800 !important;
  white-space: pre-line;
  max-width: 320px;
}
.hp-countdown{
  font-size: clamp(16px, 3.0vw, 32px) !important;
  font-weight: 900 !important;
  letter-spacing: 0.04em !important;
  white-space: pre-line !important;
  text-align: center !important;
  line-height: 1.25 !important;
  max-width: 320px !important;
  margin: 0 auto !important;
}
@keyframes hpHapticPulse {
  0%   { transform: translate3d(0,0,0) scale(1); }
  25%  { transform: translate3d(-1px,0,0) scale(1.01); }
  50%  { transform: translate3d(1px,0,0) scale(1.015); }
  75%  { transform: translate3d(-1px,0,0) scale(1.01); }
  100% { transform: translate3d(0,0,0) scale(1); }
}
#hitpepe-scene.hp-haptic-tick {
  animation: hpHapticPulse 120ms ease-out;
}
    @media (max-width: 520px){
      .hp-lb-tabs{
        padding-right: 0.75rem;
        box-sizing: border-box;
      }
    }
    @media (max-width: 520px) and (orientation: portrait){
      .hp-lb-tabs{
        padding-right: 0.4rem;
      }
    }
    @media (max-width: 520px) and (orientation: portrait){
      .hp-lb-tabs{
        padding-right: 0 !important;
      }
    }
    @media (max-width: 700px){
      #hp-lb-title{
        flex: 1 0 100% !important;
      }
      .hp-lb-tabs{
        flex: 1 0 100% !important;
        width: 100% !important;
        margin-left: 0 !important;
        justify-content: flex-end !important;
        padding-right: 0 !important;
        box-sizing: border-box;
      }
    }
    .hp-lb-header{
      display:flex;
      justify-content:space-between;
      align-items:center;
      gap:0.5rem;
      margin-bottom:0.6rem;
      flex-wrap:wrap; 
    }
    .hp-lb-header h3{
      margin:0;
      flex:1 1 auto;
      min-width:0;
    }
    @media (max-width: 520px){
      .hp-lb-header h3{ flex: 1 1 100%; }
      .hp-lb-tabs{
        width:auto !important;
        flex: 0 0 auto;
        justify-content:flex-start !important;
        margin-top:0.35rem;
        padding-right:0 !important;
      }
      .hp-lb-tab{
        padding:0.4rem 0.65rem; 
      }
    }
.tag-pill.global{
  color:#00ff85;
  border:1px solid #00ff85;
  background: rgba(0, 255, 133, 0.08);
}
    .hp-lb-meta{display:flex;align-items:center;justify-content:space-between;gap:0.75rem;margin-top:0.25rem;font-size:0.72rem;color:var(--text-muted);}
    #hp-lb-status.hp-loading{color:var(--accent-strong);}
    .hp-row-me{background: rgba(34,197,94,0.12);} .hp-row-me td:nth-child(1), .hp-row-me td:nth-child(2), .hp-row-me td:nth-child(3){color: var(--accent-strong); font-weight: 700;}
    .hp-row-me td:first-child{position:relative;}
    .hp-row-me td:first-child::before{content:' ';position:absolute;left:0;top:0;bottom:0;width:3px;background: linear-gradient(to bottom,var(--accent),var(--accent-strong));border-radius:3px;}
@keyframes hpScoreBounce{
  0%{transform: translateY(0) scale(1);}
  30%{transform: translateY(-6px) scale(1.06);}
  60%{transform: translateY(0) scale(0.98);}
  100%{transform: translateY(0) scale(1);}
}
#hp-score.hp-score-levelup{
  color: var(--accent-strong);
  text-shadow: 0 0 14px rgba(34,197,94,0.55);
  animation: hpScoreBounce 420ms ease-out;
}
    .hp-tag-cheater{
      display:inline-block;
      margin-left:6px;
      padding:1px 6px;
      border:1px solid #ff3b3b;
      color:#ff3b3b;
      border-radius:999px;
      font-size:11px;
      line-height:16px;
      font-weight:700;
      letter-spacing:.2px;
      vertical-align:middle;
    }
.hp-modal-share-cta {
  margin-top: 6px;
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 800;
  text-align: left;
  color: #2ecc71;
  letter-spacing: 0.5px;
}
.hp-modal-share-preview{
  margin-top: 10px;
  display: flex;
  justify-content: center;
}
#hp-share-preview-img{
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(148,163,184,0.35);
  box-shadow: 0 14px 28px rgba(0,0,0,0.45);
}
.hp-modal-share-preview{
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

/* Desktop-only keyboard tip */
.hp-desktop-tip { display: block; }
@media (max-width: 768px) { .hp-desktop-tip { display: none; } }
