@font-face {
  font-family: 'Pixelify Sans';
  src: url('/fonts/pixelify-sans-latin-wght-normal.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('/fonts/space-grotesk-latin-wght-normal.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/fonts/ibm-plex-mono-latin-500-normal.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url('/fonts/ibm-plex-mono-latin-600-normal.woff2') format('woff2');
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --page: #101910;
  --panel: #1b291d;
  --inset: #111d13;
  --text: #f8f7ed;
  --muted: #c0ccb7;
  --lime: #c3f36b;
  --lime-light: #ddff9c;
  --amber: #ebc487;
  --border: #354730;
  --border-bright: #54744c;
  --pixel: 'Pixelify Sans', system-ui, sans-serif;
  --mono: 'IBM Plex Mono', 'Courier New', monospace;
  --sans: 'Space Grotesk', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 300px;
  margin: 0;
  background: radial-gradient(ellipse 850px 510px at 78% 200px, #24371f, transparent 100%), var(--page);
  color: var(--text);
  font: 1rem/1.55 var(--sans);
}
body:has(dialog[open]) { overflow: hidden; }
[hidden] { display: none !important; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}
svg { width: 1.15rem; height: 1.15rem; flex: none; vertical-align: middle; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-weight: 700; line-height: 1.05; }
h1, h2 { font-family: var(--pixel); }
.page-width { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 76px;
  padding: 12px max(48px, calc((100% - 1200px) / 2));
  border-bottom: 1px solid var(--border);
  background: #101910ef;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 1.35rem/1 var(--pixel); white-space: nowrap; }
.brand-accent { color: var(--lime); }
.brand-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex: none;
  background: #2e4628;
  color: var(--lime);
  border: 1px solid #638551;
  border-radius: 6px;
}
.site-header nav { display: flex; align-items: center; gap: clamp(12px, 2vw, 27px); font: 500 .85rem var(--mono); }
.nav-list, .nav-admin { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; color: var(--muted); }
.nav-list:hover, .nav-admin:hover { color: var(--lime); }
.nav-admin { padding: 0 12px; border: 1px solid var(--border-bright); border-radius: 5px; color: var(--text); }
.nav-admin:hover { background: #2e4628; }
.site-header nav svg { width: 16px; height: 16px; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  align-items: center;
  gap: clamp(26px, 5.2vw, 72px);
  padding-block: clamp(36px, 6vw, 77px) clamp(38px, 6vw, 69px);
  isolation: isolate;
}
.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: '';
  pointer-events: none;
  background-image: linear-gradient(#a8c66a18 1px, transparent 1px), linear-gradient(90deg, #a8c66a18 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse at 64% 47%, #000 0%, transparent 76%);
}
.hero-copy { container-type: inline-size; animation: enter .55s both; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 18px;
  color: var(--amber);
  font: 600 .875rem/1.4 var(--mono);
  letter-spacing: .075em;
  text-transform: uppercase;
}
.eyebrow svg { width: 16px; height: 16px; color: var(--lime); }
.hero h1 {
  font-size: clamp(2.9rem, 17.5cqi, 6.3rem);
  letter-spacing: -.075em;
  line-height: .83;
}
.hero h1 em { color: var(--lime); font-style: normal; text-shadow: 0 0 44px #b8f65733; }
.hero-copy > p:not(.eyebrow) { max-width: 36ch; margin-top: 25px; color: var(--muted); font-size: clamp(1rem, 1.42vw, 1.16rem); }
.hero-copy .button { margin-top: 25px; padding-inline: 18px; }
.hero-image {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 8px;
  aspect-ratio: 1.36;
  border: 1px solid #856642;
  background: #312419;
  box-shadow: 0 0 42px #77b84c26, 7px 7px 0 #0a120b;
  animation: enter .65s .07s both;
}
.hero-image::before, .hero-image::after {
  position: absolute;
  z-index: 1;
  inset: -1px;
  content: '';
  pointer-events: none;
  background:
    linear-gradient(var(--amber), var(--amber)) top left / 14px 2px,
    linear-gradient(var(--amber), var(--amber)) top left / 2px 14px,
    linear-gradient(var(--amber), var(--amber)) bottom right / 14px 2px,
    linear-gradient(var(--amber), var(--amber)) bottom right / 2px 14px;
  background-repeat: no-repeat;
}
.hero-image::after { transform: scaleX(-1); opacity: .65; }
.scene {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 0;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(ellipse, #263a22 4%, #14251a 72%);
  border: 1px solid #485441;
}
.scene img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scale: 1.02;
  animation: float 7s ease-in-out infinite;
}
.scene::after {
  position: absolute;
  inset: 0;
  content: '';
  pointer-events: none;
  background: repeating-linear-gradient(transparent 0 4px, #0b140b23 4px 5px);
  opacity: .65;
}
.scene-spark {
  position: absolute;
  z-index: 1;
  width: 12px;
  height: 12px;
  color: var(--amber);
  background: currentColor;
  clip-path: polygon(33% 0, 66% 0, 66% 33%, 100% 33%, 100% 66%, 66% 66%, 66% 100%, 33% 100%, 33% 66%, 0 66%, 0 33%, 33% 33%);
  animation: twinkle 3.8s ease-in-out infinite;
}
.spark-one { top: 22%; left: 16%; color: var(--lime); }
.spark-two { top: 31%; right: 13%; animation-delay: 1.15s; }
.spark-three { bottom: 16%; left: 24%; width: 8px; height: 8px; animation-delay: 2.2s; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 44px;
  padding: .65rem 1rem;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.18;
  text-align: center;
  transition: background-color .17s, color .17s, border-color .17s, transform .17s, box-shadow .17s;
}
.primary { background: var(--lime); color: #17200c; border-color: #d2fa8a; box-shadow: 0 3px 0 #688534; }
.primary:hover:not(:disabled) { background: var(--lime-light); box-shadow: 0 5px 0 #688534, 0 0 22px #c3f36b30; transform: translateY(-2px); }
.button:active:not(:disabled) { transform: translateY(1px); box-shadow: none; }
.secondary { background: #283b27; color: var(--text); border-color: var(--border-bright); }
.secondary:hover:not(:disabled) { background: #354d31; border-color: #7fa36d; }
.muted, .primary:disabled { background: #293329; color: var(--muted); border-color: #47563c; box-shadow: none; }
.danger { color: #ffb7a8; background: #30201b; border-color: #77493e; }
.danger:hover { background: #4b2d24; }

.catalog { padding-block: 35px 82px; border-top: 1px solid var(--border); scroll-margin-top: 10px; }
.catalog-heading, .admin-heading, .admin-controls, .catalog-controls {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
}
.catalog h2, .admin h1 { font-size: clamp(2.25rem, 4.35vw, 3.8rem); letter-spacing: -.045em; }
.catalog h2 { display: flex; align-items: center; gap: .25em; }
.catalog h2 svg { width: .72em; height: .72em; color: var(--amber); }
.catalog-heading p, .admin-heading p { margin-top: 8px; color: var(--muted); }
.gift-progress { display: grid; gap: 6px; min-width: min(100%, 190px); color: var(--amber); font-family: var(--mono); font-size: .875rem; }
.gift-progress label { color: inherit; font-weight: 500; }
.gift-progress progress {
  appearance: none;
  width: 100%;
  height: 8px;
  overflow: hidden;
  border: 0;
  border-radius: 2px;
  background: #334b29;
  color: var(--lime);
}
.gift-progress progress::-webkit-progress-bar { background: #334b29; }
.gift-progress progress::-webkit-progress-value { background: var(--lime); transition: width .32s ease; }
.gift-progress progress::-moz-progress-bar { background: var(--lime); }
.catalog-controls { align-items: center; flex-wrap: wrap; margin-block: 14px; }
.filters {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--inset);
}
.filters button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 5px 12px;
  border: 1px solid transparent;
  border-radius: 4px;
  background: transparent;
  color: var(--muted);
  font: 600 .875rem/1.3 var(--mono);
}
.filters button:hover { color: var(--text); }
.filters button[aria-pressed="true"] { color: var(--text); background: #2a4428; border-color: #5c824e; }
.invite-banner {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 15px;
  margin: 22px 0 15px;
  background: #202f20;
  border: 1px solid #476545;
  border-left: 3px solid var(--amber);
  border-radius: 5px;
}
.invite-banner.identified { border-color: #5b7038; border-left-color: var(--lime); background: #1d2b17; }
.invite-icon { display: grid; place-items: center; width: 41px; height: 41px; flex: none; color: var(--amber); background: #2b4129; border-radius: 5px; }
.invite-banner.identified .invite-icon { color: var(--lime); background: #303e21; }
.invite-banner strong { display: block; line-height: 1.3; font-size: .98rem; overflow-wrap: anywhere; }
.invite-banner p, .demo-label { color: var(--muted); font-size: .875rem; }
.invite-banner .button { margin-left: auto; white-space: nowrap; }
.demo-label { font-family: var(--mono); }
.notice { padding: 25px; border-radius: 6px; background: var(--panel); border: 1px solid var(--border); color: var(--muted); }
.text-button { background: none; border: none; color: var(--lime); padding: 0; font-weight: 700; text-decoration: underline; }
.gift-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.gift-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--panel);
  animation: enter .32s var(--entry-delay, 0ms) backwards;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.gift-card:focus-within { border-color: #88ac71; }
@media (hover: hover) {
  .gift-card:hover { transform: translateY(-4px); border-color: #88ac71; box-shadow: 0 9px 28px #080e0880; }
}
.gift-cover { position: relative; }
.gift-image {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1.8;
  overflow: hidden;
  background: radial-gradient(ellipse at center, #30482a, #17261b 68%);
  border-bottom: 1px solid var(--border);
}
.gift-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.attached-image .gift-photo { object-fit: contain; }
.attached-image:has(.gift-photo:not([hidden])) .image-fallback { visibility: hidden; }
.voxel-image { background: radial-gradient(ellipse at center, #273a21, #142318 75%); }
.voxel-image .gift-photo {
  left: 50%;
  width: auto;
  max-width: 100%;
  translate: -50% 0;
  object-fit: contain;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.voxel-image:has(.gift-photo:not([hidden])) .image-fallback { visibility: hidden; }
.image-fallback { display: grid; place-items: center; width: 62px; height: 62px; border: 1px dashed #658454; border-radius: 7px; color: var(--amber); }
.image-fallback svg { width: 27px; height: 27px; }
.status-badge {
  position: absolute;
  top: 11px;
  left: 11px;
  display: flex;
  align-items: center;
  gap: 7px;
  background: #1b2d1b;
  color: #ddffad;
  border: 1px solid #537747;
  padding: 4px 8px;
  border-radius: 4px;
  font: 600 .82rem/1.35 var(--mono);
}
.status-badge i { width: 6px; height: 6px; background: var(--lime); flex: none; }
.status-badge.chosen { background: #3c3120; color: #f9dca7; border-color: #8a6d43; }
.status-badge.chosen i { background: var(--amber); }
.gift-card.is-chosen .gift-image { filter: saturate(.72); }
.gift-body { display: flex; flex: 1; flex-direction: column; padding: 17px; }
.gift-body h3 { margin-bottom: 7px; font-size: 1.22rem; overflow-wrap: anywhere; }
.gift-body > p { color: var(--muted); font-size: .945rem; margin-bottom: 13px; overflow-wrap: anywhere; }
.price { display: block; font: 600 1.08rem/1.3 var(--mono); color: var(--lime); margin: auto 0 15px; }
.gift-actions { display: grid; gap: 10px; }
.store-links { display: flex; justify-content: center; gap: .55rem 1rem; flex-wrap: wrap; }
.store-link { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; color: var(--amber); font-size: .91rem; font-weight: 700; }
.store-link:hover { text-decoration: underline; text-underline-offset: .25em; }
.store-link svg { width: 16px; height: 16px; }
.site-footer { border-top: 1px solid var(--border); background: #0c150e; }
.site-footer .page-width { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; min-height: 90px; padding-block: 16px; color: var(--muted); }
.site-footer .brand { color: var(--text); }
.footer-heart { color: var(--amber); }

.admin { min-height: 70vh; padding-block: 50px 80px; }
.admin-heading { margin-bottom: 22px; }
.admin-controls { align-items: center; margin-block: 17px; }
.admin-rows { list-style: none; margin: 0; padding: 0; background: var(--panel); border: 1px solid var(--border); border-radius: 7px; }
.admin-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px; }
.admin-row + .admin-row { border-top: 1px solid var(--border); }
.admin-item { display: flex; align-items: center; gap: 11px; min-width: 0; overflow-wrap: anywhere; }
.admin-item p { color: var(--muted); font-size: .9rem; }
.admin-item .gift-image { width: 59px; height: 50px; flex: none; border-radius: 5px; }
.admin-item .image-fallback { width: auto; height: auto; border: 0; }
.admin-item .image-fallback svg { width: 20px; height: 20px; }
.row-actions { display: flex; flex-wrap: wrap; gap: 6px; }
.row-actions .button { min-height: 40px; padding-inline: 10px; }
.login-card { max-width: 480px; margin-inline: auto; padding: 25px; border: 1px solid var(--border-bright); border-radius: 7px; background: var(--panel); box-shadow: 6px 6px 0 #090f09; }
.login-card h1 { margin: 11px 0 5px; font-size: clamp(2.3rem, 4vw, 3rem); }
.login-card p { color: var(--muted); }
.login-card form { margin-top: 19px; }
.stack-form { display: grid; gap: 13px; }
label { display: grid; gap: 5px; color: var(--text); font-size: .92rem; font-weight: 700; }
input, textarea { width: 100%; border: 1px solid var(--border-bright); border-radius: 4px; padding: .57rem .7rem; background: var(--inset); color: var(--text); font-size: 1rem; font-weight: 400; }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #a4b79a; }
.field-hint { color: var(--muted); font-size: .875rem; font-weight: 400; }
.gift-image-field { display: grid; gap: 5px; }
.gift-image-field input { min-width: 0; }
.gift-image-field input::file-selector-button {
  margin-inline-end: 8px;
  padding: .3rem .55rem;
  border: 1px solid var(--border-bright);
  border-radius: 4px;
  background: var(--panel);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}
.gift-preview { display: flex; align-items: center; gap: 10px; }
.gift-preview .gift-image { width: 104px; border: 1px solid var(--border); border-radius: 5px; }
.gift-preview .gift-photo { object-fit: contain; }
.gift-preview .image-fallback { width: auto; height: auto; border: 0; }
.form-error, .login-card .form-error { color: #ffb5a6; font-size: .92rem; }
dialog {
  width: min(100% - 26px, 510px);
  max-height: calc(100% - 26px);
  padding: 27px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--border-bright);
  border-radius: 7px;
  box-shadow: 7px 7px 0 #080e08, 0 0 60px #85bd5728;
}
dialog[open] { animation: enter .22s both; }
dialog::backdrop { background: #0a140cc9; }
dialog h2 { margin: 0 35px 13px 0; font-size: clamp(2rem, 5vw, 2.45rem); overflow-wrap: anywhere; }
dialog form > p:not(.form-error) { margin-bottom: 13px; color: var(--muted); overflow-wrap: anywhere; }
dialog .form-error { margin-top: 12px; }
.dialog-actions { display: flex; justify-content: end; flex-wrap: wrap; gap: 8px; margin-top: 19px; }
.dialog-stores { justify-content: start; }
.reservation-options { display: grid; gap: 9px; min-width: 0; margin: 0; padding: 0; border: 0; }
.reservation-options label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--border-bright);
  border-radius: 5px;
  background: var(--inset);
  cursor: pointer;
}
.reservation-options label:has(input:checked) { border-color: var(--lime); background: #253721; }
.reservation-options input { width: 17px; height: 17px; margin: 0; accent-color: var(--lime); }
.reservation-options small { display: block; color: var(--muted); font: 400 .875rem/1.4 var(--sans); }
.pix-details { display: grid; align-items: start; gap: 8px; max-width: 350px; margin-inline: auto; text-align: start; }
.pix-details button { justify-self: start; }
.pix-details [role="status"]:empty { display: none; }
.gift-list-dialog { width: min(100% - 26px, 740px); }
.gift-list-rows { list-style: none; margin: 0; padding: 0; border-block: 1px solid var(--border); }
.gift-list-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) minmax(105px, auto);
  align-items: center;
  gap: 12px;
  padding-block: 9px;
}
.gift-list-row + .gift-list-row { border-top: 1px solid var(--border); }
.gift-list-row img { display: block; width: 64px; height: 46px; object-fit: contain; background: var(--inset); border-radius: 4px; }
.gift-list-row strong { display: block; line-height: 1.25; }
.gift-list-row .store-link { min-height: 30px; font-size: .83rem; }
.gift-list-price { min-width: 0; }
.gift-list-price label { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.gift-list-price input { width: 86px; }
.gift-list-registered, .gift-list-progress { color: var(--muted); font-size: .89rem; }
dialog form > .gift-list-progress { margin: 10px 0 0; }
.gift-list-dialog .dialog-actions { position: sticky; bottom: -1px; padding-block: 8px 4px; background: var(--panel); }
.icon-button { width: 38px; height: 38px; border: 0; border-radius: 4px; background: transparent; color: var(--muted); }
.icon-button:hover { background: #2a4428; }
.dialog-close { position: absolute; top: 13px; right: 13px; }
.toast { position: fixed; z-index: 2; bottom: 18px; right: 18px; max-width: min(420px, calc(100vw - 36px)); padding: 12px 16px; border: 1px solid #678950; border-radius: 5px; background: #253623; color: var(--text); box-shadow: 5px 5px 0 #090f09; animation: enter .2s both; }

dialog.celebration { text-align: center; border-color: #839c40; }
.celebration h2 { margin: 0 0 12px; color: var(--lime); }
.celebration :is(.dialog-stores, .dialog-actions) { justify-content: center; }
.reservation-award { position: relative; display: grid; place-items: center; width: 120px; height: 97px; margin: 0 auto 8px; }
.reservation-award span { display: grid; place-items: center; width: 64px; height: 64px; background: #34481e; border: 1px solid #7c9e43; color: var(--lime); box-shadow: 0 0 26px #c3f36b35; border-radius: 6px; animation: unlock .5s cubic-bezier(.24, .85, .38, 1.5) both; }
.reservation-award svg { width: 31px; height: 31px; }
.reservation-award i {
  position: absolute;
  width: 5px;
  height: 5px;
  background: var(--lime);
  box-shadow: -51px 9px var(--amber), -42px -27px #9dc45a, -14px -38px var(--lime), 21px -36px var(--amber), 44px -22px var(--lime), 53px 5px var(--amber), 44px 28px #9dc45a, -35px 32px var(--lime);
  animation: burst .75s ease-out both;
}

@keyframes enter {
  from { opacity: 0; translate: 0 9px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes float {
  0%, 100% { translate: 0 1px; }
  50% { translate: 0 -7px; }
}
@keyframes twinkle {
  0%, 100% { scale: .7; opacity: .25; }
  48% { scale: 1.12; opacity: .9; }
}
@keyframes unlock {
  from { scale: .67; rotate: -13deg; }
  to { scale: 1; rotate: 0deg; }
}
@keyframes burst {
  from { opacity: 0; scale: .38; rotate: -16deg; }
  35% { opacity: 1; }
  to { opacity: .75; scale: 1; rotate: 0deg; }
}

@media (max-width: 960px) {
  .page-width { width: calc(100% - 48px); }
  .site-header { padding-inline: 24px; }
  .hero { gap: 24px; }
  .gift-grid { gap: 12px; }
  .gift-body { padding: 13px; }
}

@media (max-width: 680px) {
  .page-width { width: calc(100% - 32px); }
  .site-header { min-height: 64px; padding-inline: 16px; }
  .brand { font-size: 1.15rem; gap: 7px; }
  .site-header .brand { white-space: normal; }
  .brand-icon { width: 33px; height: 33px; }
  .nav-list { display: none; }
  .hero { grid-template-columns: 1fr; gap: 25px; padding-block: 32px; }
  .eyebrow { margin-bottom: 12px; }
  .hero-copy > p:not(.eyebrow) { margin-top: 15px; }
  .hero-copy .button { margin-top: 18px; }
  .hero-image { width: min(100%, 460px); aspect-ratio: 1.28; }
  .catalog { padding-block: 28px 49px; }
  .catalog-heading, .admin-controls { flex-wrap: wrap; align-items: start; gap: 13px; }
  .gift-progress { min-width: min(100%, 155px); }
  .invite-banner { align-items: start; flex-wrap: wrap; margin-top: 17px; }
  .invite-banner > div:nth-child(2) { flex: 1; min-width: 160px; }
  .invite-banner .button { margin-left: 54px; }
  .gift-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin { padding-block: 34px 55px; }
  .admin-row { align-items: start; flex-direction: column; }
}

@media (max-width: 465px) {
  .gift-grid { grid-template-columns: 1fr; gap: 13px; }
  .gift-body { padding: 16px; }
  .admin-heading { align-items: start; }
  dialog { padding: 22px 19px; }
  .gift-list-row { grid-template-columns: 42px minmax(0, 1fr) 91px; gap: 8px; }
  .gift-list-row img { width: 42px; height: 34px; }
  .gift-list-price input { width: 66px; padding-inline: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .button:hover:not(:disabled), .button:active:not(:disabled), .gift-card:hover { transform: none; }
}
