@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: 220ms; }
}

:root {
  color-scheme: dark;
  --bg: #141415;
  --card: #19191B;
  --raised: #232325;
  --hair: #2A2A2C;
  --text: #EDEDED;
  --secondary: #A1A1A6;
  --muted: #ADADAF;
  --primary: #EDEDED;
  --on-primary: #171717;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --pad: 16px;
  --section: 48px;
  --gap: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}
@media (min-width: 1024px) {
  :root { --pad: 32px; --section: 64px; --gap: 24px; }
}
* { box-sizing: border-box; }
html { scroll-behavior: auto; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, select, input, textarea { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
::selection { background: var(--raised); color: var(--text); }

@view-transition { navigation: auto; }
.detail-icon { view-transition-name: app-icon; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-inline: var(--pad); }
.section { padding-block: var(--section); }
.hairline { height: 1px; background: var(--hair); border: 0; }

/* type */
.h1 { font-size: 2.5rem; font-weight: 500; line-height: 1.08; letter-spacing: -0.03em; }
.h2 { font-size: 1.75rem; font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; }
.h3 { font-size: 1.125rem; font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; }
.label { font: 400 0.75rem/1.3 var(--mono); color: var(--muted); letter-spacing: 0.04em; }
.body { font-size: 1rem; line-height: 1.55; }
.lead { color: var(--secondary); font-size: 1.0625rem; line-height: 1.5; }
.muted { color: var(--muted); }
.secondary { color: var(--secondary); }
@media (min-width: 1024px) { .h1 { font-size: 3.5rem; line-height: 1.05; } }

/* nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  height: 56px; background: var(--bg);
}
.nav::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 1px;
  background: var(--hair); opacity: 0; transition: opacity 160ms var(--ease);
}
.nav.is-scrolled::after { opacity: 1; }
.nav-inner { height: 100%; display: flex; align-items: stretch; gap: 0; }
.nav-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; height: 100%; }
.nav-pill {
  position: absolute; top: 8px; bottom: 8px; left: 0; width: 0;
  border-radius: 8px; background: rgba(237, 237, 237, 0.08);
  border: 1px solid rgba(237, 237, 237, 0.14);
  pointer-events: none; opacity: 0; z-index: 0;
  transition: opacity 180ms var(--ease); will-change: transform, width;
}
.nav-link {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; color: var(--secondary); font-size: 0.875rem;
  background: none; border: 0; cursor: pointer;
  transition: color 160ms var(--ease);
}
.nav-link:hover { color: var(--text); }
.nav-link[aria-current='page'] { color: var(--text); }
.nav-link[aria-current='page']::after {
  content: ''; position: absolute; left: 24%; right: 24%; bottom: 6px;
  height: 2px; background: var(--text);
}
.nav-word { display: none; align-items: center; font-weight: 500; letter-spacing: -0.02em; margin-right: 32px; }
@media (min-width: 1024px) {
  .nav-grid { display: flex; width: auto; gap: 8px; }
  .nav-link { padding-inline: 16px; }
  .nav-link[aria-current='page']::after { left: 16px; right: 16px; }
  .nav-word { display: inline-flex; }
  .nav-signout { margin-left: auto; }
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 12px 20px; border-radius: var(--r-sm);
  border: 1px solid transparent; cursor: pointer; font-size: 0.9375rem;
  transition: background-color 160ms var(--ease), color 160ms var(--ease),
    transform 120ms var(--ease), border-color 160ms var(--ease), opacity 160ms var(--ease);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}
.btn:active { transform: scale(0.97); }
.btn-primary { position: relative; overflow: hidden; background: var(--primary); color: var(--on-primary); }
.btn-primary::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.55) 50%, transparent 75%);
  transform: translateX(-130%);
}
.btn-primary:hover { background: #FFFFFF; color: var(--on-primary); }
.btn-primary:active { background: var(--secondary); }
@media (prefers-reduced-motion: no-preference) {
  .btn-primary::after { animation: raxehub-shimmer 4.2s ease-in-out infinite; }
  .btn-primary:hover::after { animation: raxehub-shimmer 0.85s var(--ease) 1; }
  @keyframes raxehub-shimmer {
    0% { transform: translateX(-130%); }
    35%, 100% { transform: translateX(130%); }
  }
}
.btn-secondary { background: var(--raised); color: var(--text); border-color: var(--hair); }
.btn-secondary:hover { background: #2B2B2E; }
.btn[disabled], .btn[aria-disabled='true'] {
  background: var(--card); color: var(--muted); border-color: var(--hair);
  cursor: not-allowed; box-shadow: none;
}
.btn[disabled]:active, .btn[aria-disabled='true']:active { transform: none; }
.btn:disabled { background: var(--secondary); color: var(--muted); cursor: not-allowed; }
.btn:disabled:hover { background: var(--secondary); color: var(--muted); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* cards */
.card {
  position: relative;
  background: var(--card); border: 1px solid var(--hair); border-radius: var(--r-md);
  padding: 20px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.06);
  transition: background-color 160ms var(--ease), transform 160ms var(--ease), border-color 160ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .card::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.06), transparent 65%);
    opacity: 0; transition: opacity 220ms var(--ease);
  }
  .card:hover::after { opacity: 1; }
}
.card:hover { background: var(--raised); transform: translateY(-4px); border-color: #3A3A3E; }
.card-featured { border-radius: var(--r-lg); padding: 24px; }
.tiles { display: grid; gap: var(--gap); }
@media (min-width: 680px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tilt-scene { perspective: 800px; }
.tile { display: flex; flex-direction: column; gap: 12px; min-height: 200px; }
.tile .tile-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.tile .tile-desc { color: var(--secondary); font-size: 0.9375rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile .tile-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tile-icon {
  width: 44px; height: 44px; border-radius: var(--r-sm); background: var(--raised);
  border: 1px solid var(--hair); display: grid; place-items: center;
  font: 400 0.75rem/1 var(--mono); color: var(--secondary);
}

/* chips + badges */
.chip {
  display: inline-flex; align-items: center; height: 24px; padding: 0 8px;
  border-radius: 6px; background: var(--card); border: 1px solid var(--hair);
  color: var(--muted); font: 400 0.6875rem/1 var(--mono); white-space: nowrap;
}
.badge {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px;
  border-radius: 6px; background: var(--card); border: 1px solid var(--hair);
  color: var(--muted); font: 400 0.6875rem/1 var(--mono); letter-spacing: 0.06em;
}
.badge::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: #6EE7B7; box-shadow: 0 0 8px rgba(110, 231, 183, 0.7);
}
@media (prefers-reduced-motion: no-preference) {
  .badge::before { animation: raxehub-live-dot 2.2s ease-in-out infinite; }
  @keyframes raxehub-live-dot {
    0%, 100% { opacity: 0.45; transform: scale(0.85); }
    50% { opacity: 1; transform: scale(1.2); }
  }
}
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }

/* hero */
.hero {
  position: relative; display: grid; align-items: center;
  overflow: hidden; padding-block: clamp(44px, 7vh, 80px);
}
.page-hero { position: relative; overflow: hidden; }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero:hover .hero-glow { opacity: 1; }
.hero-grid {
  position: absolute; inset: -40px 0; pointer-events: none; opacity: 0.22;
  background-image:
    linear-gradient(to right, rgba(237, 237, 237, 0.07) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(237, 237, 237, 0.07) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 45%, #000 10%, transparent 80%);
  mask-image: radial-gradient(ellipse 70% 65% at 50% 45%, #000 10%, transparent 80%);
}
.hero-sparks { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-spark {
  position: absolute; width: 4px; height: 4px; border-radius: 50%;
  background: rgba(237, 237, 237, 0.55); box-shadow: 0 0 10px rgba(237, 237, 237, 0.45);
  will-change: transform, opacity;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-grid { animation: raxehub-grid-drift 18s linear infinite; will-change: transform; }
  @keyframes raxehub-grid-drift {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(44px, 44px, 0); }
  }
}
.hero-glow {
  position: absolute; top: 0; left: 0; width: 420px; height: 420px;
  border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, rgba(237, 237, 237, 0.12) 0%, rgba(237, 237, 237, 0) 68%);
  transform: translate3d(-50%, -50%, 0); will-change: transform, opacity;
  transition: opacity 320ms var(--ease);
}
.hero:hover .hero-glow { opacity: 1; }
.hero-ghost {
  position: absolute; inset: 0; display: grid; align-content: center; gap: 10px;
  pointer-events: none; user-select: none; overflow: hidden; opacity: 0.065;
  will-change: transform;
}
.ghost-line {
  font: 500 clamp(3.5rem, 13vw, 9rem)/0.92 var(--font); letter-spacing: -0.04em;
  white-space: nowrap; color: var(--text); display: flex; width: max-content;
  will-change: transform;
}
.ghost-seq { display: inline-flex; align-items: center; gap: 0.45em; padding-right: 0.45em; }
.ghost-b { justify-self: start; }
@media (prefers-reduced-motion: no-preference) {
  .ghost-a.is-stream { animation: raxehub-ghost-left 34s linear infinite; }
  .ghost-b.is-stream { animation: raxehub-ghost-right 38s linear infinite; }
  @keyframes raxehub-ghost-left {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
  }
  @keyframes raxehub-ghost-right {
    from { transform: translate3d(-50%, 0, 0); }
    to { transform: translate3d(0, 0, 0); }
  }
}
.constellation-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}
.eyebrow-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.kinetic-role {
  display: inline-flex; align-items: center; gap: 6px;
  height: 24px; padding: 0 10px; border-radius: 999px;
  background: rgba(237, 237, 237, 0.06); border: 1px solid rgba(237, 237, 237, 0.16);
  color: var(--text); font: 400 0.6875rem/1 var(--mono); letter-spacing: 0.04em;
  cursor: pointer; transition: border-color 180ms var(--ease), background-color 180ms var(--ease);
}
.kinetic-role:hover { border-color: rgba(237, 237, 237, 0.4); background: rgba(237, 237, 237, 0.11); }
.kinetic-role::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: #38BDF8; box-shadow: 0 0 8px rgba(56, 189, 248, 0.75);
}
.char-in { cursor: default; }
.hero-tagline, .page-hero .lead {
  transition: color 220ms var(--ease);
}
.hero-tagline.is-lit, .page-hero .lead.is-lit { color: var(--text); }
.scroll-progress {
  position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--text); opacity: 0.65; transform-origin: 0 50%;
  transform: scaleX(0); pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: scroll()) {
    @keyframes raxehub-scroll-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
    .scroll-progress {
      animation: raxehub-scroll-progress auto linear;
      animation-timeline: scroll(root);
    }
  }
}
/* kinetic moving APK shelf on Home: static grid by default, opt-in to motion */
.marquee { overflow: visible; position: relative; padding-block: 10px; }
.marquee-track { display: block; }
.marquee-group { display: grid; gap: var(--gap); }
.marquee-clone { display: none; }
@media (min-width: 680px) { .marquee-group { grid-template-columns: repeat(3, 1fr); } }
@media (prefers-reduced-motion: no-preference) {
  .marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
  }
  .marquee-track {
    display: flex; width: max-content; gap: var(--gap);
    animation: raxehub-marquee 26s linear infinite; will-change: transform;
  }
  .marquee-group { display: flex; gap: var(--gap); }
  .marquee-clone { display: flex; }
  .marquee .tile { flex: 0 0 272px; width: 272px; }
  @media (min-width: 680px) { .marquee .tile { flex: 0 0 320px; width: 320px; } }
  .marquee:hover .marquee-track,
  .marquee:focus-within .marquee-track { animation-play-state: paused; }
  @keyframes raxehub-marquee {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(calc(-50% - (var(--gap) / 2)), 0, 0); }
  }
}

/* selection & picking animations */
.tile-icon, .badge, .web-thumb img, select {
  transition: transform 240ms var(--ease), border-color 220ms var(--ease), color 220ms var(--ease), background-color 220ms var(--ease), opacity 220ms var(--ease), box-shadow 240ms var(--ease);
}
.card:hover, .card:focus-within {
  border-color: rgba(237, 237, 237, 0.36);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(237, 237, 237, 0.14);
}
.card:hover .badge, .card:focus-within .badge {
  color: var(--text);
  border-color: rgba(237, 237, 237, 0.35);
}
@media (prefers-reduced-motion: no-preference) {
  .marquee:has(.card:hover) .card:not(:hover),
  .marquee:has(.card:focus-within) .card:not(:focus-within),
  .tiles:has(.card:hover) .card:not(:hover),
  .web-grid:has(.card:hover) .card:not(:hover) {
    opacity: 0.56;
    transform: scale(0.985);
  }
  .card:hover .tile-icon, .card:focus-within .tile-icon {
    transform: translateY(-2px) scale(1.07);
    border-color: rgba(237, 237, 237, 0.35);
  }
  .web-card:hover .web-thumb img, .web-card:focus-within .web-thumb img {
    transform: scale(1.045);
  }
  .card.is-picking {
    animation: raxehub-pick 320ms var(--ease);
  }
  .nav-link.is-picking, select.is-picking {
    animation: raxehub-pick-ring 340ms var(--ease);
  }
  @keyframes raxehub-pick {
    0% { transform: scale(1); }
    35% { transform: scale(0.97); border-color: var(--text); box-shadow: 0 0 0 2px rgba(237, 237, 237, 0.28); }
    100% { transform: scale(1.01); border-color: rgba(237, 237, 237, 0.5); }
  }
  @keyframes raxehub-pick-ring {
    0% { box-shadow: 0 0 0 0 rgba(237, 237, 237, 0.45); border-color: var(--text); }
    100% { box-shadow: 0 0 0 8px rgba(237, 237, 237, 0); }
  }
}
.char-mask { display: inline-block; overflow: hidden; vertical-align: bottom; }
.char-in { display: inline-block; will-change: transform; }
.plate {
  position: absolute; border: 1px solid var(--hair); border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--card), var(--bg)); opacity: 0.7;
  pointer-events: none;
}
.plate-a { width: 340px; height: 340px; right: -120px; top: 8%; transform: rotate(12deg); }
.plate-b { width: 260px; height: 260px; left: -140px; bottom: 6%; transform: rotate(-9deg); }
.hero-inner { position: relative; display: grid; gap: 32px; }
.hero-mark-host { width: 120px; height: 120px; perspective: 800px; }
.hero-mark-host svg { width: 100%; height: 100%; }
.mark-in { opacity: 0; transform: translateY(24px) rotateX(8deg); }
.mark-in.is-in {
  opacity: 1; transform: translateY(0) rotateX(0);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
}
.mark-in svg > g { opacity: 0; transform: translateY(8px); }
.mark-in.is-in svg > g {
  opacity: 1; transform: translateY(0);
  transition: opacity 640ms var(--ease), transform 640ms var(--ease);
}
.mark-in.is-in svg > #bowl { transition-delay: 80ms; }
.mark-in.is-in svg > #leg { transition-delay: 160ms; }
.hero-type { display: grid; gap: 16px; max-width: 640px; }
.hero-word { font-size: clamp(2.75rem, 9vw, 3.5rem); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
@media (min-width: 1024px) { .hero-word { font-size: 5rem; } }
.hero-tagline { color: var(--secondary); font-size: 1.125rem; max-width: 46ch; }

/* tentang */
.tentang { display: grid; gap: 18px; max-width: 720px; }
.tentang-line {
  height: 1px; width: 64px; background: rgba(237, 237, 237, 0.28);
  transform-origin: 0 50%;
}
.tentang p { color: var(--secondary); font-size: 1.0625rem; }

/* web gallery */
.web-grid { display: grid; gap: var(--gap); }
@media (min-width: 680px) { .web-grid { grid-template-columns: repeat(2, 1fr); } }
.web-card { display: grid; gap: 16px; }
.web-thumb {
  aspect-ratio: 16 / 9; border-radius: var(--r-sm); border: 1px solid var(--hair);
  background: linear-gradient(160deg, var(--raised), var(--card));
  display: grid; place-items: center; color: var(--muted);
  font: 400 0.75rem/1 var(--mono); letter-spacing: 0.08em;
}
.web-body { display: grid; gap: 12px; }
.web-desc { color: var(--secondary); font-size: 0.9375rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* detail */
.detail { display: grid; gap: 40px; }
.detail-head { display: flex; align-items: flex-start; gap: 20px; flex-wrap: wrap; }
.detail-head .tile-icon { width: 64px; height: 64px; font-size: 0.875rem; }
.detail-grid { display: grid; gap: 24px; }
.detail-aside { order: -1; }
@media (min-width: 860px) {
  .detail-grid { grid-template-columns: 1.2fr 0.8fr; align-items: start; }
  .detail-aside { order: 0; position: sticky; top: 80px; }
}
.stack { display: grid; gap: 16px; }
.shot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.shot {
  aspect-ratio: 9 / 16; border-radius: var(--r-sm); border: 1px solid var(--hair);
  background: linear-gradient(180deg, var(--raised), var(--card));
  display: grid; place-items: end start; padding: 10px; color: var(--muted);
  font: 400 0.6875rem/1.2 var(--mono);
}
.version-row {
  display: grid; gap: 10px; padding: 18px 0; border-top: 1px solid var(--hair);
}
.version-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.changelog-block { display: grid; gap: 10px; }
.changelog-heading {
  margin: 4px 0 0; font: 500 0.75rem/1.3 var(--mono); letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
}
.changelog-list {
  margin: 0; padding: 0; list-style: none; display: grid; gap: 8px;
}
.changelog-list li {
  position: relative; padding-left: 16px; color: var(--secondary); font-size: 0.9375rem; line-height: 1.55;
}
.changelog-list li::before {
  content: ""; position: absolute; left: 2px; top: 0.62em;
  width: 5px; height: 5px; border-radius: 50%; background: rgba(237, 237, 237, 0.55);
}
.changelog-lead { color: var(--text); font-weight: 500; }
.changelog-link {
  color: var(--text); text-decoration: underline; text-underline-offset: 3px;
  text-decoration-color: rgba(237, 237, 237, 0.42); word-break: break-word;
  transition: text-decoration-color 160ms var(--ease), opacity 160ms var(--ease);
}
.changelog-link:hover { text-decoration-color: var(--text); opacity: 0.9; }
.changelog-more {
  border: 1px solid var(--hair); border-radius: var(--r-sm); background: var(--card);
  padding: 0 14px;
}
.changelog-more summary {
  cursor: pointer; list-style: none; padding: 12px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font: 500 0.8125rem/1.3 var(--mono); color: var(--secondary);
}
.changelog-more summary::-webkit-details-marker { display: none; }
.changelog-more summary::after {
  content: '+'; font: 500 1rem/1 var(--mono); color: var(--muted); transition: transform 180ms var(--ease);
}
.changelog-more[open] summary { color: var(--text); }
.changelog-more[open] summary::after { content: '−'; }
.changelog-older { padding-bottom: 6px; }
.field-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.notes-preview {
  display: grid; gap: 10px; padding: 14px 16px; border-radius: var(--r-sm);
  border: 1px dashed var(--hair); background: rgba(255, 255, 255, 0.02);
}
.release-list { display: grid; gap: 8px; }
.release-item {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 12px; border-radius: var(--r-sm);
  border: 1px solid var(--hair); background: var(--bg);
}
.release-info { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
.release-snippet {
  color: var(--muted); font-size: 0.8125rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 340px;
}
.drawer-backdrop {
  position: fixed; inset: 0; z-index: 60;
  background: rgba(0, 0, 0, 0.65); backdrop-filter: blur(4px);
  display: flex; justify-content: flex-end;
  opacity: 0; transition: opacity 220ms var(--ease);
}
.drawer-backdrop[hidden] { display: none; }
.drawer-backdrop.is-open { opacity: 1; }
.drawer-panel {
  width: min(520px, 100%); height: 100%; overflow-y: auto;
  background: var(--card); border-left: 1px solid var(--hair);
  padding: 24px; transform: translateX(100%);
  transition: transform 260ms var(--ease);
}
.drawer-backdrop.is-open .drawer-panel { transform: translateX(0); }
.drawer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
@media (prefers-reduced-motion: reduce) {
  .drawer-backdrop, .drawer-panel { transition: none; }
}
.sha-box { display: grid; gap: 8px; }
.sha-value {
  font: 400 0.75rem/1.4 var(--mono); color: var(--secondary);
  word-break: break-all; background: var(--bg); border: 1px solid var(--hair);
  border-radius: var(--r-sm); padding: 10px;
}
.info-box {
  border: 1px solid var(--hair); border-left: 2px solid var(--secondary);
  border-radius: var(--r-sm); padding: 16px; background: var(--card);
  color: var(--secondary); font-size: 0.9375rem; display: grid; gap: 8px;
}
select, input, textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--hair);
  border-radius: var(--r-sm); padding: 12px; min-height: 44px;
}
textarea { min-height: 96px; resize: vertical; }
.field { display: grid; gap: 8px; }
[hidden] { display: none !important; }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 720px) { .form-grid { grid-template-columns: repeat(2, 1fr); } }
.progress { height: 6px; background: var(--card); border-radius: 6px; overflow: hidden; border: 1px solid var(--hair); }
.progress > i { display: block; height: 100%; width: 0; background: var(--text); transition: width 120ms linear; }
.status-line { min-height: 1.5em; color: var(--secondary); font: 400 0.75rem/1.5 var(--mono); }

/* skeleton */
.skeleton { border-radius: var(--r-sm); background: var(--card); border: 1px solid var(--hair); }
.skeleton-card { height: 200px; animation: pulse 1.2s ease-in-out infinite alternate; }
@keyframes pulse { from { opacity: 0.55; } to { opacity: 1; } }

/* footer */
.footer { border-top: 1px solid var(--hair); padding-block: 32px; margin-top: var(--section); }
.footer-grid { display: grid; gap: 8px; color: var(--muted); font-size: 0.875rem; max-width: 62ch; }

/* reject */
.reject { min-height: 72vh; display: grid; align-content: center; gap: 20px; }
.reject .tile-icon { width: 56px; height: 56px; }

@media (prefers-reduced-motion: reduce) {
  .card:hover { transform: none; }
  .btn:active { transform: none; }
  .mark-in { opacity: 0; transform: none; }
  .mark-in.is-in { opacity: 1; transform: none; }
  .mark-in svg > g { opacity: 1; transform: none; transition: none; }
  .plate, .hero-ghost, .hero-glow, .hero-grid, .hero-sparks, .constellation-canvas, .nav-pill, .scroll-progress { display: none; }
}
