:root {
  --black: #020805;
  --panel: rgba(3, 15, 9, 0.94);
  --panel-solid: #04120a;
  --green: #00ff66;
  --green-bright: #9dffbd;
  --green-dim: #17883f;
  --green-dark: #082e18;
  --danger: #ff3c55;
  --line: rgba(0, 255, 102, 0.28);
  --muted: #60966f;
  --mono: "Courier New", "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--green-bright);
  background: var(--black);
  font-family: var(--mono);
  -webkit-font-smoothing: antialiased;
}

button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
[hidden] { display: none !important; }

#matrix-rain {
  position: fixed;
  z-index: -3;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.32;
}

.screen-grid {
  position: fixed;
  z-index: -2;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(0, 255, 102, 0.024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 102, 0.024) 1px, transparent 1px),
    radial-gradient(circle at 50% 20%, rgba(0, 255, 102, 0.09), transparent 42%);
  background-size: 44px 44px, 44px 44px, 100% 100%;
}

.scanlines {
  position: fixed;
  z-index: 20;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(to bottom, transparent 0, transparent 3px, rgba(0, 0, 0, 0.13) 4px);
}

.site-header, main, footer {
  width: min(1220px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  height: 96px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-shadow: 0 0 15px rgba(0, 255, 102, 0.5);
}

.brand-glyph {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--green);
  box-shadow: inset 0 0 18px rgba(0, 255, 102, 0.14), 0 0 18px rgba(0, 255, 102, 0.12);
  clip-path: polygon(0 0, 82% 0, 100% 18%, 100% 100%, 18% 100%, 0 82%);
}

.brand-copy { display: flex; flex-direction: column; gap: 4px; }
.brand-copy small { color: var(--muted); font-size: 8px; font-weight: 400; letter-spacing: 0.18em; }
.header-status { display: flex; align-items: center; gap: 16px; }

.access-state {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.access-state i, .system-line i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 11px var(--green);
  animation: pulse 1.8s infinite;
}

@keyframes pulse { 50% { opacity: 0.25; } }

.terminal-button {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--green);
  color: var(--black);
  background: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  box-shadow: 0 0 22px rgba(0, 255, 102, 0.16);
  transition: color 150ms, background 150ms, box-shadow 150ms;
}

.terminal-button:hover, .terminal-button:focus-visible {
  color: var(--green);
  background: transparent;
  box-shadow: inset 0 0 18px rgba(0, 255, 102, 0.12), 0 0 25px rgba(0, 255, 102, 0.2);
}

.terminal-button.secondary { color: var(--green); background: transparent; }
.terminal-button.secondary:hover { color: var(--black); background: var(--green); }
.terminal-button.danger { color: white; background: var(--danger); border-color: var(--danger); }
.terminal-button:disabled { opacity: 0.45; cursor: wait; }

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.icon-button:hover, .icon-button.is-active { color: var(--green); border-color: var(--green); background: var(--green-dark); }
.icon-button svg { width: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }

.hero {
  display: grid;
  min-height: 600px;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 70px;
}

.system-line {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.system-line span { color: var(--green); }

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 26px;
  color: #d9ffe5;
  font-size: clamp(48px, 6.4vw, 82px);
  line-height: 0.98;
  letter-spacing: -0.07em;
  text-shadow: 2px 0 rgba(0, 255, 102, 0.25), -2px 0 rgba(255, 0, 64, 0.12);
}

h1 em { position: relative; color: var(--green); font-style: normal; }
h1 em::after {
  position: absolute;
  right: 0;
  bottom: -10px;
  left: 0;
  height: 3px;
  content: "";
  background: var(--green);
  box-shadow: 0 0 13px var(--green);
}

.hero-text { max-width: 570px; margin-bottom: 32px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.text-link { color: var(--green); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-decoration: none; }
.text-link:hover { text-shadow: 0 0 10px var(--green); }

.terminal-window {
  position: relative;
  border: 1px solid var(--green-dim);
  background: rgba(0, 8, 4, 0.88);
  box-shadow: 20px 20px 0 rgba(0, 255, 102, 0.035), 0 0 70px rgba(0, 255, 102, 0.1);
  transform: perspective(900px) rotateY(-4deg);
}

.terminal-window::before {
  position: absolute;
  z-index: -1;
  inset: -13px 13px 13px -13px;
  content: "";
  border: 1px solid rgba(0, 255, 102, 0.12);
}

.terminal-bar { display: flex; justify-content: space-between; padding: 11px 14px; color: var(--black); background: var(--green-dim); font-size: 10px; font-weight: 700; }
.terminal-content { min-height: 330px; padding: 30px; font-size: 12px; line-height: 1.75; }
.terminal-content p { margin-bottom: 12px; }
.terminal-content b { color: var(--green); }
.terminal-content .dim { color: var(--muted); }
.code-rain { margin: 28px 0; padding: 18px; overflow: hidden; border-left: 2px solid var(--green); color: var(--green-dim); background: rgba(0, 255, 102, 0.035); line-height: 2; white-space: nowrap; }
.inverted { padding: 3px 6px; color: var(--black); background: var(--green); font-weight: 700; }
.cursor { color: var(--green); animation: pulse 0.8s steps(2) infinite; }
.terminal-stamp { position: absolute; right: 20px; bottom: 18px; color: rgba(0, 255, 102, 0.14); font-size: 19px; font-weight: 700; line-height: 1.05; text-align: right; transform: rotate(-8deg); }

.wishlist-section { padding: 90px 0 130px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-heading h2, .dialog-heading h2, .login-dialog h2, .confirm-dialog h2 { margin: 0; color: #d9ffe5; font-size: clamp(30px, 4vw, 48px); line-height: 1.05; letter-spacing: -0.055em; }
.section-heading h2 sup { margin-left: 9px; color: var(--green); font-size: 14px; letter-spacing: 0; vertical-align: top; }
.view-controls { display: flex; gap: 7px; }
.filter-row { display: flex; gap: 8px; margin: 20px 0 30px; overflow-x: auto; scrollbar-width: none; }
.filter-row::-webkit-scrollbar { display: none; }

.booking-terminal {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
  padding: 17px 19px;
  border: 1px solid var(--green-dim);
  background: linear-gradient(90deg, rgba(0, 255, 102, 0.09), rgba(0, 8, 4, 0.82));
  box-shadow: inset 3px 0 var(--green);
}

.booking-symbol { display: grid; width: 37px; height: 37px; place-items: center; border: 1px solid var(--green); color: var(--green); font-size: 18px; font-weight: 700; }
.booking-terminal p { margin: 0; color: var(--green-bright); font-size: 12px; line-height: 1.5; }
.booking-terminal p span { display: block; margin-bottom: 3px; color: var(--muted); font-size: 9px; letter-spacing: 0.09em; }
.booking-terminal a { padding: 8px 10px; color: var(--green); font-size: 11px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.booking-terminal a:hover { color: var(--black); background: var(--green); }

.filter-chip {
  flex: 0 0 auto;
  padding: 11px 15px;
  border: 1px solid var(--line);
  color: var(--muted);
  background: rgba(0, 8, 4, 0.72);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  cursor: pointer;
}

.filter-chip:hover, .filter-chip.is-active { color: var(--black); border-color: var(--green); background: var(--green); }
.wishlist-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

.wish-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
  clip-path: polygon(0 0, calc(100% - 19px) 0, 100% 19px, 100% 100%, 0 100%);
  animation: card-in 350ms both;
  transition: border-color 180ms, transform 180ms, box-shadow 180ms;
}

.wish-card:hover { border-color: var(--green); transform: translateY(-4px); box-shadow: 0 0 35px rgba(0, 255, 102, 0.12); }
@keyframes card-in { from { opacity: 0; transform: translateY(15px); } }
.wish-media { position: relative; aspect-ratio: 1.28; overflow: hidden; border-bottom: 1px solid var(--line); background: #020b06; }
.image-stage, .image-stage img { width: 100%; height: 100%; }
.image-stage img { display: block; object-fit: cover; filter: saturate(0.68) contrast(1.08); transition: filter 200ms, transform 300ms; }
.wish-card:hover .image-stage img { filter: saturate(1) contrast(1); transform: scale(1.025); }

.image-placeholder { display: grid; width: 100%; height: 100%; place-items: center; align-content: center; color: var(--green-dim); background: repeating-linear-gradient(135deg, transparent 0 12px, rgba(0, 255, 102, 0.025) 12px 13px); }
.image-placeholder span, .image-placeholder small { font-size: 9px; letter-spacing: 0.18em; }
.image-placeholder b { margin: 5px; color: var(--green); font-size: 50px; line-height: 1; text-shadow: 0 0 25px rgba(0, 255, 102, 0.4); }
.status-badge { position: absolute; top: 13px; left: 13px; padding: 7px 9px; border: 1px solid var(--green); color: var(--green); background: rgba(0, 8, 4, 0.86); font-size: 9px; font-weight: 700; letter-spacing: 0.05em; }
.status-badge[data-status="bought"] { color: var(--black); background: var(--green); }
.reservation-badge { position: absolute; top: 46px; left: 13px; padding: 7px 9px; border: 1px solid #ffd166; color: #ffd166; background: rgba(12, 9, 0, 0.9); box-shadow: 0 0 14px rgba(255, 209, 102, 0.16); font-size: 9px; font-weight: 700; letter-spacing: 0.05em; }
.wish-card.is-reserved { border-color: rgba(255, 209, 102, 0.45); }
.wish-card.is-reserved .image-stage img { filter: saturate(0.35) contrast(1.05); }
.card-index { position: absolute; right: 13px; bottom: 11px; color: rgba(157, 255, 189, 0.75); font-size: 9px; text-shadow: 0 1px 3px black; }
.card-actions { position: absolute; top: 11px; right: 11px; display: flex; gap: 5px; }
.card-action { display: grid; width: 34px; height: 34px; place-items: center; padding: 0; border: 1px solid var(--green); color: var(--green); background: rgba(0, 8, 4, 0.9); cursor: pointer; }
.card-action:hover { color: var(--black); background: var(--green); }
.card-action svg { width: 16px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.image-dots { position: absolute; bottom: 12px; left: 12px; display: flex; gap: 5px; }
.image-dot { width: 7px; height: 7px; padding: 0; border: 1px solid var(--green); background: var(--black); cursor: pointer; }
.image-dot.is-active { background: var(--green); box-shadow: 0 0 8px var(--green); }
.wish-content { padding: 22px 20px 24px; }
.wish-title-row { display: flex; align-items: start; justify-content: space-between; gap: 15px; }
.wish-title-row h3 { margin-bottom: 11px; color: #d9ffe5; font-size: 17px; line-height: 1.35; letter-spacing: -0.03em; }
.wish-price { flex: 0 0 auto; color: var(--green); font-size: 12px; font-weight: 700; white-space: nowrap; }
.wish-description { display: -webkit-box; min-height: 42px; margin-bottom: 17px; overflow: hidden; color: var(--muted); font-size: 12px; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.wish-link { color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-decoration: none; }
.wish-link:hover { text-shadow: 0 0 9px var(--green); }
.wishlist-grid.list-view { grid-template-columns: 1fr; }
.list-view .wish-card { display: grid; grid-template-columns: 300px 1fr; }
.list-view .wish-media { min-height: 220px; height: 100%; aspect-ratio: auto; border-right: 1px solid var(--line); border-bottom: 0; }
.list-view .wish-content { display: flex; flex-direction: column; justify-content: center; padding: 30px; }
.list-view .wish-description { display: block; min-height: 0; max-width: 680px; }

.empty-state { padding: 80px 20px 30px; text-align: center; }
.empty-code { color: var(--green-dark); font-size: 90px; font-weight: 700; letter-spacing: -0.1em; line-height: 1; text-shadow: 0 0 30px rgba(0, 255, 102, 0.1); }
.empty-state h3 { margin: 12px 0; color: var(--green); font-size: 16px; letter-spacing: 0.08em; }
.empty-state p { margin-bottom: 25px; color: var(--muted); font-size: 12px; }

footer { display: flex; justify-content: space-between; padding: 25px 0 35px; border-top: 1px solid var(--line); color: var(--muted); font-size: 9px; letter-spacing: 0.1em; }

dialog { max-width: none; padding: 0; border: 0; color: var(--green-bright); background: transparent; }
dialog::backdrop { background: rgba(0, 5, 2, 0.83); backdrop-filter: blur(5px); }
.panel-dialog { border: 1px solid var(--green-dim); background: var(--panel-solid); box-shadow: 0 0 70px rgba(0, 255, 102, 0.14); clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%); }
.panel-dialog[open] { animation: dialog-in 180ms ease both; }
@keyframes dialog-in { from { opacity: 0; transform: scale(0.98) translateY(10px); } }
.wish-dialog { width: min(680px, calc(100% - 28px)); max-height: min(92vh, 900px); overflow: auto; }
.wish-form { padding: 38px; }
.dialog-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.dialog-heading h2 { font-size: clamp(25px, 4vw, 34px); }
.dialog-heading .system-line { margin-bottom: 10px; }
.dialog-close { width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); color: var(--green); background: transparent; font-size: 25px; cursor: pointer; }
.dialog-close:hover { color: var(--black); background: var(--green); }
.field { position: relative; display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.field > span { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; }
.field > span b { color: var(--green); }
.field > span i { font-style: normal; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); border-radius: 0; outline: 0; color: var(--green-bright); background: rgba(0, 5, 2, 0.82); caret-color: var(--green); transition: border-color 150ms, box-shadow 150ms; }
.field input, .field select { height: 50px; padding: 0 14px; }
.field textarea { min-height: 115px; padding: 14px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #31593c; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--green); box-shadow: inset 3px 0 var(--green), 0 0 16px rgba(0, 255, 102, 0.08); }
.field select option { color: var(--green-bright); background: var(--black); }
.field small { position: absolute; right: 9px; bottom: 8px; color: var(--muted); background: var(--black); font-size: 9px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.reserve-toggle { display: flex; align-items: center; gap: 13px; margin: 0 0 20px; padding: 15px; border: 1px solid var(--line); background: rgba(0, 255, 102, 0.025); cursor: pointer; }
.reserve-toggle input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.toggle-box { position: relative; width: 42px; height: 22px; flex: 0 0 auto; border: 1px solid var(--green-dim); background: var(--black); transition: border-color 150ms, background 150ms; }
.toggle-box::after { position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; content: ""; background: var(--green-dim); transition: transform 150ms, background 150ms; }
.reserve-toggle input:checked + .toggle-box { border-color: #ffd166; background: rgba(255, 209, 102, 0.08); }
.reserve-toggle input:checked + .toggle-box::after { background: #ffd166; box-shadow: 0 0 9px rgba(255, 209, 102, 0.55); transform: translateX(19px); }
.reserve-toggle input:focus-visible + .toggle-box { outline: 2px solid var(--green); outline-offset: 3px; }
.reserve-toggle > span:last-child { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.reserve-toggle b { color: var(--green-bright); font-size: 10px; letter-spacing: 0.06em; }
.reserve-toggle small { color: var(--muted); font-size: 9px; line-height: 1.4; }
.image-dropzone { position: relative; display: flex; min-height: 210px; align-items: center; justify-content: center; flex-direction: column; padding: 28px 20px; overflow: hidden; border: 1px dashed rgba(0, 255, 102, 0.38); outline: 0; color: var(--green); background: linear-gradient(145deg, rgba(0, 255, 102, 0.06), rgba(0, 8, 4, 0.52)); cursor: text; transition: border-color 160ms, background 160ms, box-shadow 160ms; }
.image-dropzone::before, .image-dropzone::after { position: absolute; width: 22px; height: 22px; content: ""; pointer-events: none; }
.image-dropzone::before { top: -1px; left: -1px; border-top: 2px solid var(--green); border-left: 2px solid var(--green); }
.image-dropzone::after { right: -1px; bottom: -1px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green); }
.image-dropzone:hover, .image-dropzone:focus, .image-dropzone:focus-within, .image-dropzone.is-dragging { border-color: var(--green); background: linear-gradient(145deg, rgba(0, 255, 102, 0.1), rgba(0, 8, 4, 0.66)); box-shadow: inset 0 0 45px rgba(0, 255, 102, 0.06), 0 0 22px rgba(0, 255, 102, 0.08); }
.image-dropzone input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-icon { display: grid; width: 52px; height: 52px; place-items: center; margin-bottom: 17px; border: 1px solid var(--green-dim); background: rgba(0, 255, 102, 0.06); box-shadow: 0 0 25px rgba(0, 255, 102, 0.08); }
.upload-icon svg { width: 25px; fill: none; stroke: var(--green); stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.image-dropzone strong { margin-bottom: 7px; color: var(--green-bright); font-size: 12px; letter-spacing: 0.1em; }
.image-dropzone > span { margin-bottom: 18px; color: var(--muted); font-size: 10px; }
.image-picker { z-index: 1; min-height: 36px; padding: 0 14px; border: 1px solid var(--green-dim); color: var(--green); background: rgba(0, 8, 4, 0.8); font: 700 9px/1 var(--mono); letter-spacing: 0.08em; cursor: pointer; }
.image-picker:hover { color: var(--black); border-color: var(--green); background: var(--green); }
.paste-capture { position: absolute; width: 1px; height: 1px; overflow: hidden; outline: 0; opacity: 0; caret-color: transparent; }
.image-note { margin: 8px 0 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.image-previews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.image-previews:not(:empty) { margin-top: 4px; padding: 10px; border: 1px solid var(--line); background: rgba(0, 8, 4, 0.5); }
.preview-item { position: relative; aspect-ratio: 1.22; overflow: hidden; border: 1px solid var(--line); background: var(--black); transition: border-color 150ms, transform 150ms; }
.preview-item:first-child { border-color: var(--green); box-shadow: 0 0 16px rgba(0, 255, 102, 0.1); }
.preview-item img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cover-label, .make-cover { position: absolute; bottom: 6px; left: 6px; padding: 5px 7px; border: 1px solid var(--green); color: var(--black); background: var(--green); font: 700 8px/1 var(--mono); letter-spacing: 0.05em; }
.make-cover { color: var(--green); background: rgba(0, 8, 4, 0.9); opacity: 0; cursor: pointer; transition: opacity 150ms, color 150ms, background 150ms; }
.preview-item:hover .make-cover, .make-cover:focus-visible { opacity: 1; }
.make-cover:hover { color: var(--black); background: var(--green); }
.remove-image { position: absolute; top: 6px; right: 6px; width: 27px; height: 27px; padding: 0; border: 1px solid rgba(255, 255, 255, 0.55); color: white; background: rgba(0, 8, 4, 0.82); font-size: 16px; cursor: pointer; }
.remove-image:hover { border-color: var(--danger); color: white; background: var(--danger); }
.form-error { min-height: 17px; margin: -2px 0 0; color: var(--danger); font-size: 10px; line-height: 1.5; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 9px; margin-top: 10px; }

.login-dialog { width: min(470px, calc(100% - 28px)); }
.login-dialog form { padding: 42px; }
.login-dialog .system-line { justify-content: center; margin-bottom: 12px; }
.login-dialog h2 { font-size: 26px; text-align: center; }
.lock-glyph { display: grid; width: 68px; height: 68px; place-items: center; margin: 0 auto 24px; border: 1px solid var(--green); color: var(--green); font-size: 35px; font-weight: 700; box-shadow: inset 0 0 25px rgba(0, 255, 102, 0.1), 0 0 25px rgba(0, 255, 102, 0.1); transform: rotate(45deg); }
.lock-glyph::first-letter { transform: rotate(-45deg); }
.login-copy { margin: 15px 0 27px; color: var(--muted); font-size: 11px; line-height: 1.6; text-align: center; }
.confirm-dialog { width: min(430px, calc(100% - 28px)); }
.confirm-content { padding: 42px; text-align: center; }
.confirm-content .system-line { justify-content: center; margin-bottom: 10px; }
.confirm-content h2 { margin-bottom: 12px; font-size: 25px; }
.confirm-content > p:not(.system-line) { color: var(--muted); font-size: 12px; }
.confirm-content .dialog-actions { justify-content: center; margin-top: 28px; }
.warning-glyph { display: grid; width: 60px; height: 60px; place-items: center; margin: 0 auto 22px; border: 1px solid var(--danger); color: var(--danger); font-size: 30px; font-weight: 700; }

.toast { position: fixed; z-index: 30; right: 24px; bottom: 24px; max-width: calc(100% - 48px); padding: 14px 18px; border: 1px solid var(--green); color: var(--green); background: rgba(0, 8, 4, 0.95); box-shadow: 0 0 25px rgba(0, 255, 102, 0.15); font-size: 11px; opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity 160ms, transform 160ms; }
.toast.is-visible { opacity: 1; transform: none; }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr 0.8fr; gap: 35px; }
  .terminal-content { padding: 23px; font-size: 10px; }
  .wishlist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .access-state { display: none; }
}

@media (max-width: 680px) {
  .site-header, main, footer { width: min(100% - 28px, 1220px); }
  .site-header { height: 76px; }
  .brand-glyph { width: 38px; height: 38px; }
  .brand-copy { font-size: 12px; }
  .brand-copy small { display: none; }
  .login-button { min-height: 38px; padding: 0 10px; font-size: 10px; }
  .add-button { width: 40px; min-height: 40px; padding: 0; overflow: hidden; color: transparent; font-size: 0; }
  .add-button::after { content: "+"; color: var(--black); font-size: 22px; }
  .add-button:hover::after { color: var(--green); }
  .header-status { gap: 7px; }
  .logout-button { width: 40px; height: 40px; }
  .hero { display: block; min-height: 0; padding: 85px 0 80px; }
  h1 { font-size: clamp(42px, 13.3vw, 64px); }
  .hero-text { font-size: 14px; }
  .terminal-window { display: none; }
  .wishlist-section { padding: 65px 0 90px; }
  .view-controls { display: none; }
  .filter-row { width: calc(100% + 14px); margin-top: 28px; padding-right: 14px; }
  .booking-terminal { grid-template-columns: auto 1fr; gap: 13px; padding: 15px; }
  .booking-terminal a { grid-column: 1 / -1; padding: 10px 0 0; border-top: 1px solid var(--line); }
  .wishlist-grid { grid-template-columns: 1fr; }
  .wish-card:hover { transform: none; }
  .list-view .wish-card { display: block; }
  .list-view .wish-media { min-height: 0; aspect-ratio: 1.28; border-right: 0; border-bottom: 1px solid var(--line); }
  footer { align-items: start; flex-direction: column; gap: 9px; }
  .wish-dialog { width: 100%; max-height: 94vh; margin: auto 0 0; clip-path: none; }
  .wish-form { padding: 28px 18px max(23px, env(safe-area-inset-bottom)); }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .image-previews { grid-template-columns: repeat(3, 1fr); }
  .dialog-actions .terminal-button { flex: 1; padding-inline: 10px; }
  .login-dialog form, .confirm-content { padding: 32px 22px; }
  .toast { right: 14px; bottom: 14px; max-width: calc(100% - 28px); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
