:root {
      --bg: oklch(0.145 0.005 145);
      --surface: oklch(0.20 0.008 145);
      --fg: oklch(0.94 0.004 145);
      --muted: oklch(0.58 0.01 145);
      --border: oklch(0.72 0.06 150 / 0.14);
      --accent: oklch(0.72 0.06 150);
      --whatsapp: #25d366;
      --whatsapp-hover: #1ca14f;
      --panel: oklch(0.18 0.01 145);
      --shadow-soft: 0 12px 40px oklch(0 0 0 / 0.42);
      --radius: 22px;
      --font-display: "DM Sans", "Plus Jakarta Sans", system-ui, sans-serif;
      --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
      --font-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
      --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    }

    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      min-height: 100dvh;
      font-family: var(--font-body);
      font-size: 16px;
      line-height: 1.55;
      color: var(--fg);
      background:
        radial-gradient(ellipse 80% 50% at 50% -8%, oklch(0.72 0.06 150 / 0.14), transparent 55%),
        radial-gradient(ellipse 50% 40% at 100% 100%, oklch(0.70 0.03 250 / 0.06), transparent),
        var(--bg);
      -webkit-font-smoothing: antialiased;
    }
    img { max-width: 100%; display: block; }
    a { color: inherit; text-decoration: none; }
    button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

    .shell {
      width: min(1120px, calc(100% - 2rem));
      margin-inline: auto;
    }

    /* Header */
    .site-header {
      position: sticky;
      top: 0;
      z-index: 40;
      backdrop-filter: blur(18px) saturate(1.1);
      -webkit-backdrop-filter: blur(18px) saturate(1.1);
      background: oklch(0.145 0.005 145 / 0.82);
      border-bottom: 1px solid var(--border);
    }
    .site-header-inner {
      display: flex;
      flex-wrap: nowrap;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem 1rem;
      min-height: 56px;
      padding-block: 0.45rem;
    }
    .brand {
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 0.1rem;
      min-width: 0;
      text-align: left;
    }
    .brand-name {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 1.05rem;
      letter-spacing: -0.01em;
      line-height: 1.15;
    }
    .brand-sub {
      font-size: 0.72rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--muted);
      line-height: 1.35;
    }
    .header-nav {
      display: none;
      gap: 0.25rem;
      align-items: center;
    }
    .header-nav button {
      min-height: 44px;
      padding: 0.55rem 1.05rem;
      border-radius: 999px;
      border: 1px solid transparent;
      background: oklch(1 0 0 / 0.04);
      font-size: 0.88rem;
      font-weight: 600;
      letter-spacing: 0.02em;
      color: var(--muted);
      transition:
        color 0.2s var(--ease-out),
        background 0.2s var(--ease-out),
        border-color 0.2s var(--ease-out),
        box-shadow 0.2s var(--ease-out);
    }
    .header-nav button:hover {
      color: var(--fg);
      background: oklch(1 0 0 / 0.08);
      border-color: var(--border);
    }
    .header-nav button:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 2px;
    }
    .btn-wa {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      min-height: 44px;
      padding: 0.7rem 1.15rem;
      border-radius: 999px;
      background: var(--whatsapp);
      color: #06140a;
      font-weight: 700;
      font-size: 0.9rem;
      letter-spacing: 0.02em;
      box-shadow:
        0 1px 0 oklch(1 0 0 / 0.22) inset,
        0 10px 28px oklch(0.55 0.16 145 / 0.32);
      transition:
        background 0.2s var(--ease-out),
        transform 0.15s var(--ease-out),
        box-shadow 0.2s var(--ease-out);
    }
    .btn-wa:hover {
      background: var(--whatsapp-hover);
      transform: translateY(-1px);
      box-shadow:
        0 1px 0 oklch(1 0 0 / 0.18) inset,
        0 14px 32px oklch(0.55 0.16 145 / 0.4);
    }
    .btn-wa:active { transform: translateY(1px); }
    .btn-wa:focus-visible {
      outline: 2px solid var(--fg);
      outline-offset: 3px;
    }
    .btn-wa svg { width: 1.15rem; height: 1.15rem; flex-shrink: 0; }
    .header-actions {
      display: flex;
      align-items: center;
      gap: 0.55rem;
      flex-shrink: 0;
      margin-left: auto;
      min-height: 44px;
    }
    .btn-wa-fab { display: none !important; }

    /* Hero */
    .hero {
      padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(2.5rem, 6vw, 4.5rem);
      text-align: center;
    }
    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      margin: 0 0 1rem;
      padding: 0.4rem 0.85rem;
      border-radius: 999px;
      border: 1px solid var(--border);
      background: oklch(1 0 0 / 0.03);
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--accent);
    }
    .eyebrow-dot {
      width: 0.45rem;
      height: 0.45rem;
      border-radius: 50%;
      background: var(--accent);
      box-shadow: 0 0 12px var(--accent);
    }
    .hero-title {
      margin: 0 auto 0.85rem;
      max-width: 16ch;
      font-family: var(--font-display);
      font-weight: 800;
      font-size: clamp(2.1rem, 6.5vw, 3.75rem);
      line-height: 1.05;
      letter-spacing: -0.03em;
    }
    .hero-lead {
      margin: 0 auto 1.75rem;
      max-width: 42ch;
      font-size: clamp(1rem, 2.2vw, 1.15rem);
      color: var(--muted);
      line-height: 1.55;
    }

    .vehicle-stage {
      position: relative;
      margin: 0 auto 1.25rem;
      max-width: min(960px, 100%);
      min-height: clamp(260px, 44vh, 440px);
      background: transparent;
      overflow: visible;
    }
    .vehicle-stage::before {
      content: "";
      position: absolute;
      inset: 8% 6% 18%;
      z-index: 0;
      border-radius: 50%;
      background: radial-gradient(ellipse at center, oklch(0.72 0.06 150 / 0.18), transparent 70%);
      pointer-events: none;
    }
    .vehicle-ground {
      position: absolute;
      left: 12%;
      right: 12%;
      bottom: 6%;
      height: 18%;
      z-index: 0;
      border-radius: 50%;
      background: radial-gradient(ellipse at center, oklch(0 0 0 / 0.45), transparent 72%);
      pointer-events: none;
    }
    .vehicle-rotator {
      position: relative;
      z-index: 1;
      width: 100%;
      height: clamp(260px, 44vh, 440px);
      display: grid;
      place-items: center;
      animation: vehicleFloat 5s ease-in-out infinite;
    }
    .vehicle-rotator img {
      grid-area: 1 / 1;
      width: min(100%, 920px);
      height: 100%;
      max-height: clamp(260px, 44vh, 440px);
      object-fit: contain;
      object-position: center center;
      opacity: 0;
      transition: opacity 0.45s ease;
      pointer-events: none;
      filter:
        drop-shadow(0 18px 28px oklch(0 0 0 / 0.55))
        drop-shadow(0 4px 10px oklch(0 0 0 / 0.35));
    }
    .vehicle-rotator img.is-active {
      opacity: 1;
      pointer-events: auto;
    }
    @keyframes vehicleFloat {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-10px); }
    }
    @media (prefers-reduced-motion: reduce) {
      .vehicle-rotator { animation: none; }
    }

    .chip-row {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 0.55rem;
      margin: 0 auto 2rem;
      max-width: 720px;
    }
    .chip {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      padding: 0.45rem 0.8rem;
      border-radius: 999px;
      border: 1px solid var(--border);
      background: oklch(1 0 0 / 0.025);
      font-size: 0.8rem;
      font-weight: 550;
      letter-spacing: 0.02em;
      color: var(--muted);
    }
    .chip svg {
      width: 0.95rem;
      height: 0.95rem;
      color: var(--fg);
      opacity: 0.85;
    }

    /* Hub */
    .hub {
      display: grid;
      gap: 1rem;
      grid-template-columns: 1fr;
      margin-bottom: clamp(2.5rem, 6vw, 4rem);
    }
    .hub-btn {
      position: relative;
      display: grid;
      grid-template-columns: 5.5rem 1fr auto;
      align-items: stretch;
      gap: 0;
      min-height: 96px;
      padding: 0;
      overflow: hidden;
      border-radius: calc(var(--radius) + 2px);
      border: 1px solid var(--border);
      background: linear-gradient(165deg, oklch(0.22 0.012 145), oklch(0.16 0.008 145));
      box-shadow: 0 12px 32px oklch(0 0 0 / 0.32);
      text-align: left;
      isolation: isolate;
      transition:
        border-color 0.22s var(--ease-out),
        transform 0.22s var(--ease-out),
        box-shadow 0.22s var(--ease-out);
    }
    .hub-btn::after {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      pointer-events: none;
      box-shadow: inset 0 1px 0 oklch(1 0 0 / 0.06);
    }
    .hub-btn:hover {
      border-color: oklch(0.72 0.06 150 / 0.42);
      transform: translateY(-3px);
      box-shadow:
        0 0 0 1px oklch(0.72 0.06 150 / 0.12),
        0 20px 44px oklch(0 0 0 / 0.42);
    }
    .hub-btn:hover .hub-media img { transform: scale(1.06); }
    .hub-btn:hover .hub-arrow {
      background: var(--accent);
      color: var(--bg);
      opacity: 1;
      transform: translateX(2px);
    }
    .hub-btn:active { transform: translateY(-1px); }
    .hub-btn:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 3px;
    }
    .hub-media {
      position: relative;
      overflow: hidden;
      background: oklch(0.12 0.01 145);
    }
    .hub-media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      transition: transform 0.45s var(--ease-out);
    }
    .hub-media::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, transparent 40%, oklch(0.16 0.008 145 / 0.55));
      pointer-events: none;
    }
    .hub-body {
      display: grid;
      grid-template-columns: auto 1fr;
      align-items: center;
      gap: 0.85rem 0.9rem;
      padding: 1rem 0.85rem 1rem 1rem;
      min-width: 0;
    }
    .hub-icon {
      width: 2.65rem;
      height: 2.65rem;
      border-radius: 999px;
      display: grid;
      place-items: center;
      background: oklch(0.72 0.06 150 / 0.12);
      border: 1px solid oklch(0.72 0.06 150 / 0.28);
      color: var(--accent);
      box-shadow: 0 0 20px oklch(0.72 0.06 150 / 0.12);
    }
    .hub-btn--contacto .hub-icon {
      background: oklch(0.62 0.17 145 / 0.16);
      border-color: oklch(0.62 0.17 145 / 0.35);
      color: var(--whatsapp);
      box-shadow: 0 0 20px oklch(0.55 0.16 145 / 0.18);
    }
    .hub-btn--contacto .hub-media img {
      object-position: center 18%;
    }
    .hub-icon svg { width: 1.25rem; height: 1.25rem; }
    .hub-copy {
      min-width: 0;
      grid-column: 2;
    }
    .hub-copy strong {
      display: block;
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 1.15rem;
      letter-spacing: -0.02em;
      margin-bottom: 0.2rem;
      line-height: 1.15;
    }
    .hub-copy span {
      display: block;
      font-size: 0.86rem;
      color: var(--muted);
      line-height: 1.4;
    }
    .hub-arrow-wrap {
      display: grid;
      place-items: center;
      padding-inline: 0.85rem 1rem;
      align-self: center;
    }
    .hub-arrow {
      width: 2.5rem;
      height: 2.5rem;
      padding: 0.55rem;
      border-radius: 999px;
      background: oklch(1 0 0 / 0.06);
      border: 1px solid var(--border);
      color: var(--fg);
      opacity: 0.85;
      transition:
        background 0.2s var(--ease-out),
        color 0.2s var(--ease-out),
        opacity 0.2s var(--ease-out),
        transform 0.2s var(--ease-out),
        border-color 0.2s var(--ease-out);
    }

    /* Full-screen panels — one view at a time; closed = not in layout */
    .screens {
      position: fixed;
      inset: 0;
      z-index: 60;
      pointer-events: none;
    }
    .screens:has(.screen.is-open) {
      pointer-events: auto;
    }
    .screen {
      position: absolute;
      inset: 0;
      display: none;
      flex-direction: column;
      background:
        radial-gradient(ellipse 80% 45% at 50% -6%, oklch(0.72 0.06 150 / 0.12), transparent 55%),
        var(--bg);
      overflow: hidden;
      animation: none;
    }
    .screen.is-open {
      display: flex;
      pointer-events: auto;
      animation: screen-in 0.22s var(--ease-out);
    }
    @keyframes screen-in {
      from { opacity: 0; transform: translateY(10px) scale(0.985); }
      to { opacity: 1; transform: translateY(0) scale(1); }
    }
    body.screen-open {
      overflow: hidden;
    }
    body.screen-open .home,
    body.screen-open .site-header,
    body.screen-open footer {
      display: none;
    }

    .screen-bar {
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      min-height: 64px;
      padding: 0.65rem clamp(1rem, 3vw, 1.5rem);
      border-bottom: 1px solid var(--border);
      background: oklch(0.145 0.005 145 / 0.92);
      backdrop-filter: blur(16px) saturate(1.1);
      -webkit-backdrop-filter: blur(16px) saturate(1.1);
    }
    .screen-back {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      min-height: 44px;
      padding: 0.55rem 1.05rem;
      border-radius: 999px;
      border: 1px solid var(--border);
      background: oklch(1 0 0 / 0.05);
      font-weight: 600;
      font-size: 0.9rem;
      letter-spacing: 0.02em;
      color: var(--fg);
      box-shadow: 0 1px 0 oklch(1 0 0 / 0.04) inset;
      transition:
        background 0.2s var(--ease-out),
        border-color 0.2s var(--ease-out),
        transform 0.15s var(--ease-out);
    }
    .screen-back:hover {
      background: oklch(1 0 0 / 0.1);
      border-color: oklch(0.72 0.06 150 / 0.35);
    }
    .screen-back:active { transform: translateY(1px); }
    .screen-back:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 2px;
    }
    .screen-back svg {
      width: 1.1rem;
      height: 1.1rem;
    }
    .screen-bar-title {
      font-family: var(--font-display);
      font-weight: 700;
      font-size: 1.05rem;
      letter-spacing: -0.015em;
      line-height: 1.15;
      text-align: right;
    }
    .screen-body {
      flex: 1;
      overflow-y: auto;
      overflow-x: hidden;
      padding: clamp(1.25rem, 3vw, 2rem) 0 clamp(2rem, 5vw, 3rem);
      -webkit-overflow-scrolling: touch;
    }

    .section-head {
      display: flex;
      flex-wrap: wrap;
      align-items: end;
      justify-content: space-between;
      gap: 1rem;
      margin-bottom: 1.5rem;
    }
    .section-kicker {
      margin: 0 0 0.4rem;
      font-size: 0.72rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: var(--muted);
    }
    .section-title {
      margin: 0;
      font-family: var(--font-display);
      font-weight: 800;
      font-size: clamp(1.65rem, 3.5vw, 2.35rem);
      letter-spacing: -0.025em;
      line-height: 1.1;
    }
    .section-intro {
      margin: 0.65rem 0 0;
      max-width: 48ch;
      color: var(--muted);
      font-size: 0.98rem;
    }

    .gallery {
      display: grid;
      gap: 1rem;
      grid-template-columns: 1fr;
    }
    .gallery-item {
      display: flex;
      flex-direction: column;
      gap: 0.65rem;
    }
    .gallery-card {
      position: relative;
      display: block;
      width: 100%;
      padding: 0;
      border-radius: var(--radius);
      overflow: hidden;
      border: 1px solid var(--border);
      background: var(--panel);
      min-height: 220px;
      isolation: isolate;
      text-align: left;
      cursor: pointer;
      transition: border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
    }
    .gallery-card:hover {
      border-color: oklch(0.72 0.06 150 / 0.35);
      transform: translateY(-2px);
    }
    .gallery-card:focus-visible {
      outline: 2px solid var(--accent);
      outline-offset: 3px;
    }
    .gallery-card img {
      width: 100%;
      height: 100%;
      min-height: 220px;
      object-fit: cover;
      transform: scale(1.02);
      transition: transform 0.55s var(--ease-out);
    }
    .gallery-card:hover img { transform: scale(1.06); }
    .gallery-caption {
      position: absolute;
      left: 0.85rem;
      right: 0.85rem;
      bottom: 0.85rem;
      padding: 0.85rem 1rem;
      border-radius: 14px;
      background: oklch(0.14 0.01 145 / 0.78);
      backdrop-filter: blur(14px);
      border: 1px solid oklch(1 0 0 / 0.08);
      box-shadow: 0 8px 24px oklch(0 0 0 / 0.35);
      display: grid;
      gap: 0.35rem;
    }
    .gallery-caption h3 {
      margin: 0;
      font-family: var(--font-display);
      font-size: 1.15rem;
      font-weight: 700;
      letter-spacing: -0.015em;
      line-height: 1.15;
    }
    .gallery-caption p {
      margin: 0;
      font-size: 0.82rem;
      color: var(--muted);
      line-height: 1.45;
      letter-spacing: 0.01em;
    }
    .gallery-open {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      margin-top: 0.15rem;
      font-size: 0.78rem;
      font-weight: 600;
      letter-spacing: 0.02em;
      color: var(--accent);
    }
    .gallery-open svg { width: 0.95rem; height: 0.95rem; }

    /* Nested paseo detail overlay (inside screen-paseos only) */
    .paseo-detail {
      position: absolute;
      inset: 0;
      z-index: 5;
      display: none;
      flex-direction: column;
      background:
        radial-gradient(ellipse 80% 45% at 50% -6%, oklch(0.72 0.06 150 / 0.12), transparent 55%),
        var(--bg);
      overflow: hidden;
      animation: none;
    }
    .paseo-detail.is-open {
      display: flex;
      animation: screen-in 0.22s var(--ease-out);
    }
    .screen-paseos-main[aria-hidden="true"] {
      display: none;
    }
    .spot-grid {
      display: grid;
      gap: 1rem;
      grid-template-columns: 1fr;
    }
    .spot-card {
      border-radius: var(--radius);
      overflow: hidden;
      border: 1px solid var(--border);
      background: var(--surface);
    }
    .spot-card img {
      width: 100%;
      aspect-ratio: 16 / 10;
      object-fit: cover;
    }
    .spot-body {
      padding: 1rem 1.1rem 1.15rem;
    }
    .spot-body h3 {
      margin: 0 0 0.4rem;
      font-family: var(--font-display);
      font-size: 1.1rem;
      font-weight: 700;
      letter-spacing: -0.015em;
      line-height: 1.2;
    }
    .spot-body p {
      margin: 0;
      font-size: 0.88rem;
      color: var(--muted);
      line-height: 1.5;
      max-width: 48ch;
    }
    .spot-body .dest-qr {
      margin-top: 0.75rem;
    }

    .dest-grid {
      display: grid;
      gap: 1rem;
      grid-template-columns: 1fr;
    }
    .dest-card {
      display: grid;
      grid-template-rows: auto 1fr;
      border-radius: var(--radius);
      overflow: hidden;
      border: 1px solid var(--border);
      background: var(--surface);
      transition: border-color 0.2s var(--ease-out), transform 0.2s var(--ease-out);
    }
    .dest-card:hover {
      border-color: oklch(0.72 0.06 150 / 0.3);
      transform: translateY(-2px);
    }
    .dest-card img {
      width: 100%;
      aspect-ratio: 16 / 10;
      object-fit: cover;
    }
    .dest-body {
      padding: 1.1rem 1.15rem 1.25rem;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
    }
    .dest-body h3 {
      margin: 0 0 0.55rem;
      font-family: var(--font-display);
      font-size: 1.2rem;
      font-weight: 700;
      letter-spacing: -0.015em;
    }
    .dest-spots {
      margin: 0;
      padding: 0;
      list-style: none;
      display: flex;
      flex-wrap: wrap;
      gap: 0.4rem;
    }
    .dest-spots li {
      padding: 0.28rem 0.6rem;
      border-radius: 999px;
      background: oklch(1 0 0 / 0.04);
      border: 1px solid var(--border);
      font-size: 0.78rem;
      color: var(--muted);
      letter-spacing: 0.01em;
    }

    /* Contact */
    .contact-panel {
      display: grid;
      gap: 1.25rem;
      padding: clamp(1.25rem, 3vw, 1.75rem);
      border-radius: calc(var(--radius) + 4px);
      border: 1px solid var(--border);
      background:
        linear-gradient(160deg, oklch(0.22 0.012 145), oklch(0.16 0.008 145));
      box-shadow: var(--shadow-soft);
    }
    .profile {
      display: flex;
      align-items: center;
      gap: 1rem;
    }
    .profile-photo {
      width: 88px;
      height: 88px;
      border-radius: 50%;
      border: 2px dashed oklch(0.72 0.06 150 / 0.35);
      background: oklch(1 0 0 / 0.03);
      flex-shrink: 0;
      display: grid;
      place-items: center;
      overflow: hidden;
      color: var(--muted);
    }
    .profile-photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 50%;
      display: block;
    }
    .profile-photo:not(:has(img)) .photo-slot-label {
      display: grid;
      place-items: center;
      gap: 0.2rem;
      text-align: center;
      font-size: 0.65rem;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      line-height: 1.2;
      padding: 0.35rem;
      color: var(--muted);
    }
    .profile-photo:not(:has(img)) .photo-slot-label svg {
      width: 1.25rem;
      height: 1.25rem;
      opacity: 0.7;
    }
    .profile-photo:has(img) .photo-slot-label { display: none; }
    .profile-photo:has(img) {
      border-style: solid;
      border-color: var(--border);
    }
    .profile h2 {
      margin: 0 0 0.25rem;
      font-family: var(--font-display);
      font-size: 1.55rem;
      font-weight: 800;
      letter-spacing: -0.02em;
      line-height: 1.1;
    }
    .profile p {
      margin: 0;
      color: var(--muted);
      font-size: 0.95rem;
    }
    .info-list {
      margin: 0;
      padding: 0;
      list-style: none;
      display: grid;
      gap: 0.55rem;
    }
    .info-list li {
      display: flex;
      align-items: flex-start;
      gap: 0.65rem;
      padding: 0.75rem 0.9rem;
      border-radius: 14px;
      background: oklch(1 0 0 / 0.03);
      border: 1px solid var(--border);
      font-size: 0.92rem;
      color: var(--muted);
      line-height: 1.45;
    }
    .info-list svg {
      width: 1.15rem;
      height: 1.15rem;
      flex-shrink: 0;
      margin-top: 0.15rem;
      color: var(--fg);
      opacity: 0.8;
    }
    .qr-block {
      display: grid;
      justify-items: center;
      gap: 0.75rem;
      padding: 1.25rem;
      border-radius: 18px;
      background: oklch(0 0 0 / 0.28);
      border: 1px solid var(--border);
      text-align: center;
    }
    .qr-block p {
      margin: 0;
      font-size: 0.85rem;
      color: var(--muted);
      letter-spacing: 0.01em;
    }
    .qr-block img {
      width: 148px;
      height: 148px;
      border-radius: 12px;
      background: #0a0a0a;
    }
    .phone {
      font-family: var(--font-mono);
      font-size: 1.05rem;
      font-weight: 600;
      letter-spacing: 0.02em;
      color: var(--fg);
    }
    .btn-wa-lg {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.55rem;
      width: 100%;
      max-width: 320px;
      min-height: 52px;
      padding: 0.95rem 1.35rem;
      border-radius: 999px;
      background: var(--whatsapp);
      color: #06140a;
      font-weight: 700;
      letter-spacing: 0.02em;
      box-shadow:
        0 1px 0 oklch(1 0 0 / 0.22) inset,
        0 12px 32px oklch(0.55 0.16 145 / 0.34);
      transition:
        background 0.2s var(--ease-out),
        transform 0.15s var(--ease-out),
        box-shadow 0.2s var(--ease-out);
    }
    .btn-wa-lg:hover {
      background: var(--whatsapp-hover);
      transform: translateY(-1px);
      box-shadow:
        0 1px 0 oklch(1 0 0 / 0.18) inset,
        0 16px 36px oklch(0.55 0.16 145 / 0.42);
    }
    .btn-wa-lg:active { transform: translateY(1px); }
    .btn-wa-lg:focus-visible {
      outline: 2px solid var(--fg);
      outline-offset: 3px;
    }
    .btn-wa-lg svg { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }

    .note {
      margin: 1rem 0 0;
      font-size: 0.85rem;
      color: var(--muted);
      text-align: center;
    }

    footer {
      padding: 2rem 0 2.75rem;
      border-top: 1px solid var(--border);
      text-align: center;
      color: var(--muted);
      font-size: 0.82rem;
      letter-spacing: 0.01em;
    }
    .footer-inner {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.35rem;
    }
    .footer-version {
      font-size: 0.75rem;
      font-weight: 600;
      color: var(--muted);
      opacity: 0.85;
      letter-spacing: 0.04em;
    }

    @media (min-width: 640px) {
      .hub { grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
      .hub-btn {
        grid-template-columns: 1fr;
        grid-template-rows: 9rem 1fr auto;
        min-height: 272px;
      }
      .hub-media { min-height: 9rem; }
      .hub-media::after {
        background: linear-gradient(180deg, transparent 30%, oklch(0.16 0.008 145 / 0.88));
      }
      .hub-body {
        grid-template-columns: 1fr;
        align-content: start;
        gap: 0.75rem;
        padding: 1.05rem 1.15rem 0.25rem;
      }
      .hub-copy { grid-column: 1; }
      .hub-copy span { max-width: 22ch; }
      .hub-arrow-wrap {
        justify-self: end;
        padding: 0.35rem 1rem 1.05rem;
      }
      .gallery { grid-template-columns: repeat(2, 1fr); }
      .gallery-item:first-child { grid-column: 1 / -1; }
      .gallery-item:first-child .gallery-card { min-height: 300px; }
      .gallery-item:first-child .gallery-card img { min-height: 300px; }
      .dest-grid { grid-template-columns: repeat(3, 1fr); }
      .spot-grid { grid-template-columns: repeat(2, 1fr); }
      .contact-panel {
        grid-template-columns: 1.2fr 0.8fr;
        align-items: center;
      }
      .qr-block { grid-column: 2; grid-row: 1 / span 3; align-self: stretch; align-content: center; }
    }

    @media (min-width: 900px) {
      .site-header-inner {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        min-height: 72px;
        gap: 1rem;
      }
      .brand { justify-self: start; }
      .header-nav {
        display: flex;
        justify-self: center;
      }
      .header-actions {
        justify-self: end;
        margin-left: 0;
      }
      .gallery { grid-template-columns: repeat(4, 1fr); }
      .gallery-item:first-child {
        grid-column: span 2;
        grid-row: span 2;
      }
      .gallery-item:first-child .gallery-card { min-height: 100%; height: 100%; }
      .gallery-item:first-child .gallery-card img { min-height: 100%; height: 100%; }
      .spot-grid { grid-template-columns: repeat(2, 1fr); }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after {
        transition: none !important;
        animation: none !important;
      }
      .screen.is-open { animation: none; }
    }

/* PWA update gate */
.update-gate {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(0,0,0,0.92); backdrop-filter: blur(6px);
}
.update-gate[hidden] { display: none !important; }
.update-gate-card {
  width: min(420px, 100%); background: var(--panel);
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 20px; text-align: center; box-shadow: var(--shadow-soft);
}
.update-gate-title { margin: 0; font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; }
.update-gate-text { margin: 12px 0 0; color: var(--muted); font-size: 0.9rem; line-height: 1.45; }
.update-gate-btn {
  margin-top: 18px; width: 100%; border: 0; border-radius: 12px; padding: 12px 16px;
  background: var(--accent); color: var(--bg); font-size: 0.95rem; font-weight: 800; cursor: pointer;
}
body.update-blocked { overflow: hidden; }

/* Language switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: oklch(0.18 0.01 145 / 0.92);
  box-shadow: 0 8px 24px oklch(0 0 0 / 0.35);
}
.lang-btn {
  width: 36px; height: 36px; border-radius: 10px; padding: 4px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: background 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.lang-btn[aria-pressed="true"] {
  background: oklch(0.72 0.06 150 / 0.2);
  box-shadow: 0 0 0 1px var(--accent), 0 0 12px oklch(0.72 0.06 150 / 0.28);
}
.lang-flag { width: 24px; height: 18px; border-radius: 2px; display: block; box-shadow: 0 1px 2px rgba(0,0,0,0.35); }

@media (max-width: 899px) {
  .lang-btn { width: 32px; height: 32px; }
  .lang-flag { width: 20px; height: 15px; }
  .brand-name { font-size: 0.98rem; }
  .site-header-inner {
    justify-content: space-between;
  }
  .header-actions {
    margin-left: 0;
  }
}

.dest-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 0.3rem;
  margin-top: 0.45rem;
  text-align: center;
}
.dest-qr-canvas {
  width: 72px;
  height: 72px;
  padding: 6px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-sizing: content-box;
  line-height: 0;
  overflow: hidden;
}
.dest-qr-canvas canvas {
  display: block;
  width: 72px;
  height: 72px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
.dest-qr-label {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.01em;
  text-align: center;
}
.dest-card .dest-qr {
  margin-top: 0.5rem;
}
.contact-wa-link {
  display: inline-grid;
  justify-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}
.contact-qr-canvas {
  display: block;
  width: 148px;
  height: 148px;
  padding: 12px;
  border-radius: 14px;
  background: #0a0a0a;
  border: 3px solid var(--whatsapp);
  box-sizing: content-box;
  line-height: 0;
  overflow: hidden;
  box-shadow: 0 0 0 4px oklch(0.72 0.14 145 / 0.2);
}
.contact-qr-canvas canvas {
  display: block;
  width: 148px;
  height: 148px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}
.contact-wa-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #06140a;
  box-shadow: 0 8px 20px oklch(0.55 0.16 145 / 0.35);
}
.btn-wa-lg { display: none !important; }

.btn-switch-driver { display: none !important; }

.pin-gate {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, oklch(0.72 0.06 150 / 0.16), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 100%, oklch(0.70 0.03 250 / 0.06), transparent),
    var(--bg);
}
.pin-gate[hidden] { display: none !important; }
body.auth-resolving .pin-gate-card .auth-view:not([data-auth-view="boot"]) {
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.auth-boot-text {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.pin-gate-card {
  position: relative;
  width: min(420px, 100%);
  padding: 2rem 1.5rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
  text-align: center;
  overflow: hidden;
}
.pin-gate-brand {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-transform: none;
  color: var(--fg);
  animation: pin-gate-enter 0.35s var(--ease-out) both;
}
.pin-gate-title {
  margin: 0.7rem 0 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.pin-gate-text { display: none; }
.pin-form { display: grid; gap: 0.75rem; margin-top: 1.25rem; }
.pin-honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.pin-input {
  width: 100%;
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: oklch(0.14 0.005 145);
  color: var(--fg);
  font-size: 1.35rem;
  letter-spacing: 0.35em;
  text-align: center;
  font-weight: 700;
  -webkit-text-security: disc;
}
.pin-input:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.pin-submit {
  min-height: 48px;
  border-radius: 14px;
  border: 0;
  background: var(--accent);
  color: var(--bg);
  font-weight: 800;
  cursor: pointer;
}
.google-signin-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 50px;
  margin-top: 0.15rem;
  padding: 0 18px;
  border-radius: 14px;
  border: 1px solid oklch(1 0 0 / 0.12);
  background: #fff;
  color: #1f1f1f;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 8px 24px oklch(0 0 0 / 0.28);
  transition: background 0.2s var(--ease-out), transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
  animation: pin-gate-enter 0.4s var(--ease-out) 0.06s both;
}
.google-signin-btn:hover {
  background: #f3f4f5;
  box-shadow: 0 10px 28px oklch(0 0 0 / 0.34);
  transform: translateY(-1px);
}
.google-signin-btn:active {
  background: #e8eaed;
  transform: translateY(0);
}
.google-signin-btn__icon {
  display: inline-flex;
  flex-shrink: 0;
}
.google-signin-btn__label {
  line-height: 1;
}
@keyframes pin-gate-enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.pin-error { margin: 0.75rem 0 0; color: #f07178; font-size: 0.88rem; }
.pin-error[hidden] { display: none !important; }
.auth-view[hidden] { display: none !important; }
.auth-view-text {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}
.auth-label {
  display: grid;
  gap: 0.3rem;
  text-align: left;
  font-size: 0.82rem;
  color: var(--muted);
}
.auth-label input {
  min-height: 44px;
  padding: 0.5rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: oklch(0.14 0.005 145);
  color: var(--fg);
  font-size: 1rem;
}
.auth-pin-reveal {
  margin: 1.25rem 0;
  font-family: var(--font-display);
  font-size: 2.4rem;
  letter-spacing: 0.35em;
  font-weight: 800;
  color: var(--accent);
}
.pin-submit--ghost {
  margin-top: 1rem;
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}
.auth-switch-account {
  margin-top: 0.85rem;
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 0.82rem;
  cursor: pointer;
  text-decoration: underline;
}
.admin-request-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: flex-end;
  margin-top: 0.75rem;
}
.admin-request-pin-label {
  display: grid;
  gap: 0.25rem;
  font-size: 0.72rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.admin-request-pin {
  width: 6rem;
  min-height: 40px;
  padding: 0.35rem 0.55rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: oklch(0.14 0.005 145);
  color: var(--fg);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.06em;
}

.logout-confirm {
  position: fixed; inset: 0; z-index: 210;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}
.logout-confirm[hidden] { display: none !important; }
.logout-confirm-card {
  width: min(380px, 100%);
  padding: 1.5rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
  text-align: center;
}
.logout-confirm-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 800;
}
.logout-confirm-text {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}
.logout-confirm-actions {
  display: flex; gap: 0.6rem; justify-content: center; margin-top: 1.2rem;
}
.logout-cancel, .logout-ok {
  min-height: 44px; min-width: 110px; padding: 0.5rem 1rem;
  border-radius: 12px; cursor: pointer; font-weight: 700;
}
.logout-cancel {
  border: 1px solid var(--border); background: transparent; color: var(--fg);
}
.logout-ok {
  border: 0; background: var(--accent); color: var(--bg);
}

body.pin-locked .site-header,
body.pin-locked .home,
body.pin-locked .screens,
body.pin-locked footer { visibility: hidden; pointer-events: none; }

.admin-panel {
  position: fixed; inset: 0; z-index: 190;
  overflow: hidden;
  background: var(--bg);
  padding: 0;
}
.admin-panel[hidden] { display: none !important; }
.admin-layout {
  display: grid;
  grid-template-columns: minmax(200px, 240px) 1fr;
  min-height: 100%;
  height: 100%;
}
.admin-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem 1rem 1.5rem;
  border-right: 1px solid var(--border);
  background: oklch(0.13 0.006 145);
}
.admin-sidebar-top h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
}
.admin-auth-note {
  margin: 0.4rem 0 0;
  font-size: 0.72rem;
  color: var(--accent);
  word-break: break-all;
}
.admin-nav {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}
.admin-nav-btn {
  text-align: left;
  min-height: 44px;
  padding: 0.55rem 0.85rem;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.admin-nav-btn:hover { background: oklch(0.18 0.008 145); }
.admin-nav-btn.is-active {
  border-color: var(--border);
  background: var(--surface);
  color: var(--accent);
  font-weight: 700;
}
.admin-nav-badge {
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.35rem;
  text-align: center;
}
.admin-nav-badge[hidden] { display: none !important; }
.admin-exit, .admin-clear, .admin-generate {
  min-height: 42px; padding: 0.45rem 0.9rem; border-radius: 12px;
  border: 1px solid var(--border); background: transparent; color: var(--fg); cursor: pointer;
}
.admin-sidebar .admin-exit { width: 100%; }
.admin-main {
  overflow: auto;
  padding: 1.25rem 1.35rem 3rem;
}
.admin-view[hidden] { display: none !important; }
.admin-view-head { margin-bottom: 1rem; }
.admin-view-head h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.admin-view-head p {
  margin: 0.35rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}
.admin-generate {
  border-color: oklch(0.72 0.06 150 / 0.4);
  color: var(--accent);
}
.admin-form {
  display: grid; gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.admin-form label { display: grid; gap: 0.3rem; text-align: left; font-size: 0.82rem; color: var(--muted); }
.admin-form input {
  min-height: 44px; padding: 0.5rem 0.75rem; border-radius: 10px;
  border: 1px solid var(--border); background: oklch(0.14 0.005 145); color: var(--fg);
}
.admin-form-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.admin-save {
  min-height: 44px; padding: 0.5rem 1rem; border: 0; border-radius: 12px;
  background: var(--accent); color: var(--bg); font-weight: 800; cursor: pointer;
}
.admin-msg { margin: 0.85rem 0 0; font-size: 0.88rem; color: var(--accent); }
.admin-msg.is-error { color: #f07178; }
.admin-list { margin-top: 1.1rem; display: grid; gap: 0.75rem; }
.admin-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.05rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.admin-card.is-disabled {
  opacity: 0.78;
  border-style: dashed;
}
.admin-card-request {
  flex-direction: column;
  align-items: stretch;
}
.admin-card-main { min-width: 0; flex: 1; }
.admin-card-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
}
.admin-card-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.admin-status {
  display: inline-flex;
  align-items: center;
  min-height: 1.4rem;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid transparent;
}
.admin-status.is-active {
  color: oklch(0.78 0.1 145);
  background: oklch(0.78 0.1 145 / 0.12);
  border-color: oklch(0.78 0.1 145 / 0.28);
}
.admin-status.is-disabled {
  color: #f0a0a4;
  background: oklch(0.55 0.12 20 / 0.14);
  border-color: oklch(0.55 0.12 20 / 0.28);
}
.admin-status.is-pending {
  color: oklch(0.82 0.1 85);
  background: oklch(0.82 0.1 85 / 0.12);
  border-color: oklch(0.82 0.1 85 / 0.3);
}
.admin-status.is-trial {
  color: oklch(0.82 0.1 85);
  background: oklch(0.82 0.1 85 / 0.12);
  border-color: oklch(0.82 0.1 85 / 0.3);
}
.admin-status.is-subscribed {
  color: oklch(0.78 0.1 145);
  background: oklch(0.78 0.1 145 / 0.12);
  border-color: oklch(0.78 0.1 145 / 0.28);
}
.admin-status.is-expired {
  color: #f0a0a4;
  background: oklch(0.55 0.12 20 / 0.14);
  border-color: oklch(0.55 0.12 20 / 0.28);
}
.admin-card-billing-note {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  color: var(--muted);
}
.admin-access-panel {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.55rem;
}
.admin-access-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.admin-access-preset {
  appearance: none;
  border: 1px solid var(--border);
  background: oklch(0.2 0.01 145);
  color: var(--fg);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  cursor: pointer;
}
.admin-access-preset:hover {
  border-color: oklch(0.72 0.12 145 / 0.55);
  color: oklch(0.86 0.08 145);
}
.admin-access-custom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.admin-access-amount,
.admin-access-unit {
  appearance: none;
  border: 1px solid var(--border);
  background: oklch(0.16 0.008 145);
  color: var(--fg);
  font: inherit;
  font-size: 0.85rem;
  border-radius: 10px;
  padding: 0.4rem 0.55rem;
  min-height: 2.2rem;
}
.admin-access-amount {
  width: 4.5rem;
}
.admin-access-unit {
  min-width: 7rem;
}
.admin-card-access {
  flex-wrap: wrap;
}
.admin-form textarea {
  min-height: 96px;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: oklch(0.14 0.005 145);
  color: var(--fg);
  resize: vertical;
  font: inherit;
}
.admin-changelog-body {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  line-height: 1.45;
  white-space: pre-wrap;
  color: var(--fg);
}
.admin-card-pin-row { margin-top: 0.55rem; }
.admin-pin-chip {
  display: inline-flex;
  align-items: center;
  min-height: 1.7rem;
  padding: 0.2rem 0.65rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  border: 1px solid var(--border);
  background: oklch(0.16 0.006 145);
}
.admin-pin-chip.has-pin {
  color: var(--accent);
  border-color: oklch(0.72 0.06 150 / 0.45);
  background: oklch(0.72 0.06 150 / 0.1);
}
.admin-pin-chip.no-pin {
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: 0.8rem;
}
.admin-card-meta {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
  word-break: break-word;
}
.admin-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex-shrink: 0;
}
.admin-btn {
  min-height: 38px;
  padding: 0.35rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--fg);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}
.admin-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.admin-btn:hover:not(:disabled) {
  background: oklch(0.18 0.008 145);
}
.admin-btn-primary {
  border: 0;
  background: var(--accent);
  color: var(--bg);
  font-weight: 800;
}
.admin-btn-primary:hover:not(:disabled) {
  filter: brightness(1.06);
  background: var(--accent);
}
.admin-btn-ok {
  border-color: oklch(0.72 0.06 150 / 0.45);
  color: var(--accent);
}
.admin-btn-warn {
  border-color: oklch(0.55 0.12 20 / 0.4);
  color: #f0a0a4;
}
.admin-logs-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 0.75rem;
}
.admin-logs-head h3 { margin: 0; }
.admin-logs-hint { margin: 0.35rem 0 0; color: var(--muted); font-size: 0.85rem; }
.admin-logs { display: grid; gap: 0.55rem; margin-top: 0.85rem; }
.admin-log {
  display: grid;
  gap: 0.25rem;
  padding: 0.8rem 0.95rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  text-align: left;
}
.admin-log-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: baseline;
}
.admin-log strong { font-size: 0.95rem; }
.admin-log-meta { color: var(--muted); font-size: 0.8rem; }
.admin-log em { font-style: normal; color: var(--accent); font-size: 0.78rem; white-space: nowrap; }
.admin-logs-empty { margin: 0; color: var(--muted); font-size: 0.88rem; }
.admin-logs-empty.is-error { color: #f07178; }

@media (max-width: 720px) {
  .admin-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }
  .admin-sidebar {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding: 0.85rem 0.9rem 1rem;
    gap: 0.75rem;
  }
  .admin-nav {
    flex-direction: row;
    flex-wrap: wrap;
    flex: 0;
  }
  .admin-nav-btn {
    flex: 1 1 auto;
    text-align: center;
    justify-content: center;
    min-height: 40px;
    font-size: 0.85rem;
  }
  .admin-sidebar .admin-exit {
    width: auto;
    align-self: stretch;
  }
  .admin-main { padding: 1rem 0.9rem 2.5rem; }
  .admin-card {
    flex-direction: column;
  }
  .admin-card-actions {
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
  }
  .admin-card-actions .admin-btn {
    flex: 1 1 auto;
  }
}
