:root {
  --bg: #020819;
  --bg-deep: #01030d;
  --surface: rgba(7, 20, 52, 0.72);
  --surface-strong: rgba(8, 24, 63, 0.93);
  --line: rgba(135, 180, 255, 0.16);
  --line-bright: rgba(122, 181, 255, 0.44);
  --text: #f2f7ff;
  --muted: #99afd6;
  --subtle: #5e729c;
  --blue: #2d8cff;
  --blue-2: #0caeff;
  --electric: #65d7ff;
  --danger: #ff668e;
  --success: #67f5c1;
  --warning: #ffcf66;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg-deep); scroll-behavior: smooth; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 75% -10%, rgba(14, 99, 255, 0.17), transparent 33rem),
    radial-gradient(circle at 10% 30%, rgba(22, 102, 233, 0.12), transparent 30rem),
    linear-gradient(155deg, #040b1e 0%, #01040f 58%, #020817 100%);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .28;
  background-image: linear-gradient(rgba(132, 182, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(132, 182, 255, .035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, black, transparent 84%);
}
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.ambient { position: fixed; z-index: -2; border-radius: 999px; filter: blur(14px); pointer-events: none; opacity: .38; }
.ambient-a { width: 26rem; height: 26rem; top: 26%; left: -16rem; background: #0753dd; }
.ambient-b { width: 20rem; height: 20rem; top: 62%; right: -9rem; background: #0d9df4; opacity: .18; }
.ambient-c { width: 14rem; height: 14rem; top: 7rem; right: 16%; background: #194fda; opacity: .17; }

.shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid rgba(137, 175, 255, .10); background: rgba(2, 8, 25, .72); backdrop-filter: blur(18px); }
.header-inner { display: flex; align-items: center; min-height: 72px; gap: 20px; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 800; letter-spacing: -.04em; }
.brand-mark { position: relative; display: inline-grid; place-items: center; width: 28px; height: 28px; overflow: hidden; border: 1px solid rgba(143, 211, 255, .62); border-radius: 10px; background: linear-gradient(135deg, #2a7bff, #10cfff); box-shadow: 0 0 25px rgba(43, 145, 255, .45); }
.brand-mark::before { content: "↻"; color: white; font: 700 20px/1 "DM Mono", monospace; transform: translateY(-1px); }
.brand span { color: var(--electric); }
.header-nav { display: flex; align-items: center; gap: 6px; }
.nav-link { padding: 10px 12px; border-radius: 10px; color: var(--muted); font-size: 13px; font-weight: 700; transition: .2s ease; }
.nav-link:hover, .nav-link.active { color: var(--text); background: rgba(70, 135, 255, .12); }
.header-actions { display: flex; gap: 8px; align-items: center; }

.btn { border: 1px solid transparent; border-radius: 12px; padding: 11px 15px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; color: #fff; font-size: 13px; font-weight: 800; line-height: 1; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--blue-2)); box-shadow: 0 10px 30px rgba(32, 137, 255, .28), inset 0 1px rgba(255,255,255,.3); }
.btn-primary:hover { box-shadow: 0 14px 34px rgba(32, 137, 255, .44), inset 0 1px rgba(255,255,255,.3); }
.btn-secondary { border-color: var(--line); background: rgba(71, 126, 255, .08); color: #dbeaff; }
.btn-secondary:hover { border-color: var(--line-bright); background: rgba(71, 126, 255, .16); }
.btn-ghost { background: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--text); background: rgba(91, 141, 255, .12); }
.btn-danger { border-color: rgba(255, 102, 142, .22); color: #ffb3c8; background: rgba(255, 65, 117, .07); }
.btn-danger:hover { background: rgba(255, 65, 117, .13); border-color: rgba(255, 102, 142, .42); }
.btn-sm { padding: 9px 11px; font-size: 12px; border-radius: 10px; }
.btn-lg { padding: 15px 20px; font-size: 14px; border-radius: 14px; }
.icon { width: 16px; height: 16px; flex: none; }

main { padding: 46px 0 72px; }
.hero { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.32fr .68fr; align-items: end; gap: 24px; min-height: 290px; padding: 40px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: linear-gradient(125deg, rgba(13, 35, 90, .91), rgba(4, 16, 46, .88) 52%, rgba(11, 70, 147, .44)); box-shadow: var(--shadow); }
.hero::before { content: ""; position: absolute; width: 26rem; height: 26rem; right: -8rem; top: -13rem; border-radius: 100%; background: radial-gradient(circle, rgba(89, 205, 255, .32), transparent 66%); }
.hero::after { content: ""; position: absolute; right: 26px; bottom: -50px; width: 340px; height: 200px; opacity: .22; background: repeating-radial-gradient(ellipse at center, transparent 0 13px, #83d5ff 14px 15px, transparent 16px 31px); transform: rotate(-18deg); }
.eyebrow { position: relative; z-index: 1; margin-bottom: 12px; color: var(--electric); font: 500 11px/1 "DM Mono", monospace; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { position: relative; z-index: 1; max-width: 760px; margin-bottom: 16px; font-size: clamp(33px, 5vw, 57px); line-height: 1.02; letter-spacing: -.06em; }
.hero-copy { position: relative; z-index: 1; max-width: 580px; margin: 0; color: #b9c8e7; font-size: 15px; line-height: 1.7; }
.hero-actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; }
.hero-stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-self: stretch; }
.stat-card { display: flex; flex-direction: column; justify-content: flex-end; min-height: 100px; padding: 16px; border: 1px solid rgba(170, 210, 255, .18); border-radius: 17px; background: rgba(1, 11, 36, .30); backdrop-filter: blur(8px); }
.stat-card strong { color: white; font-size: 26px; line-height: 1; letter-spacing: -.06em; }
.stat-card span { margin-top: 7px; color: var(--muted); font-size: 12px; }

.section-head { display: flex; gap: 20px; align-items: flex-end; justify-content: space-between; margin: 46px 0 18px; }
.section-head h2 { margin: 0; font-size: 24px; line-height: 1.1; letter-spacing: -.045em; }
.section-head p { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.item-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.item-card { position: relative; overflow: hidden; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(160deg, rgba(11, 28, 68, .78), rgba(4, 12, 33, .82)); box-shadow: 0 12px 36px rgba(0,0,0,.17); transition: .24s ease; }
.item-card:hover { transform: translateY(-4px); border-color: rgba(111, 177, 255, .52); box-shadow: 0 24px 46px rgba(0,0,0,.31), 0 0 0 1px rgba(68,142,255,.08); }
.card-image-wrap { 
  position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #061435; 

      display: flex;
      justify-content: center;
      align-items: center;
      align-content: center;
      flex-wrap: wrap;
}
.card-image { height: 100%; object-fit: cover; }
.item-card.reserved .card-image { filter: brightness(.48) saturate(.72); }
.item-card.reserved .card-glow { opacity: .35; }
.card-glow { position: absolute; inset: auto -18% -42% 15%; height: 56%; border-radius: 50%; background: rgba(42, 147, 255, .33); filter: blur(22px); }
.badge { position: absolute; top: 12px; left: 12px; z-index: 1; border: 1px solid rgba(185, 225, 255, .34); border-radius: 999px; padding: 5px 8px; background: rgba(2, 10, 31, .56); backdrop-filter: blur(12px); color: #e8f7ff; font: 600 12px/1 "DM Mono", monospace; letter-spacing: .03em; }
.badge-reserved { border-color: rgba(255, 207, 102, .55); background: rgba(65, 42, 4, .82); color: #ffe4a3; }
.card-content { padding: 16px; }
.card-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.card-title { overflow: hidden; margin: 0; color: #fff; font-size: 16px; line-height: 1.25; letter-spacing: -.025em; text-overflow: ellipsis; white-space: nowrap; }
.card-price { flex: none; color: var(--electric); font: 500 14px/1.15 "DM Mono", monospace; text-align: right; }
.card-description { display: -webkit-box; overflow: hidden; margin: 9px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 12px; border-top: 1px solid rgba(140, 181, 255, .11); color: var(--subtle); font-size: 11px; }
.card-link { font-size: 11px; font-weight: 800; color: #cfe6ff; }

.empty-state { display: grid; place-items: center; min-height: 270px; padding: 34px; border: 1px dashed rgba(123, 175, 255, .30); border-radius: var(--radius-lg); background: rgba(7, 20, 52, .38); text-align: center; }
.empty-orbit { position: relative; width: 72px; height: 72px; margin-bottom: 16px; border: 1px solid rgba(116, 197, 255, .48); border-radius: 100%; box-shadow: 0 0 40px rgba(30, 140, 255, .18); }
.empty-orbit::before, .empty-orbit::after { content: ""; position: absolute; left: 50%; top: 50%; border-radius: 100%; transform: translate(-50%, -50%); }
.empty-orbit::before { width: 34px; height: 34px; border: 1px solid rgba(99, 211, 255, .85); }
.empty-orbit::after { width: 7px; height: 7px; background: #60d9ff; box-shadow: 0 0 16px #60d9ff; }
.empty-state h3 { margin-bottom: 7px; font-size: 18px; }
.empty-state p { max-width: 380px; margin-bottom: 17px; color: var(--muted); font-size: 13px; line-height: 1.6; }

.detail-page { display: grid; grid-template-columns: minmax(0, 1.24fr) minmax(290px, .76fr); gap: 24px; align-items: start; }
.back-link { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--muted); font-size: 12px; font-weight: 700; }
.back-link:hover { color: #fff; }
.gallery { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-xl); background: rgba(5, 17, 47, .76); box-shadow: var(--shadow); }
.gallery-main { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #05122f; }
.gallery-main img { height: 100%; object-fit: cover; }
.gallery-open { width: 100%; height: 100%; padding: 0; border: 0; background: transparent; color: white; cursor: zoom-in; display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.gallery-zoom { position: absolute; left: 14px; bottom: 14px; padding: 7px 10px; border: 1px solid rgba(195,232,255,.28); border-radius: 999px; background: rgba(4, 12, 34, .66); font-size: 10px; font-weight: 700; opacity: 0; backdrop-filter: blur(9px); transition: opacity .18s ease; }
.gallery-open:hover .gallery-zoom, .gallery-open:focus-visible .gallery-zoom { opacity: 1; }
.gallery-control { position: absolute; top: 50%; width: 40px; height: 40px; border: 1px solid rgba(195, 232, 255, .42); border-radius: 12px; background: rgba(4, 12, 34, .63); color: white; backdrop-filter: blur(9px); transform: translateY(-50%); }
.gallery-control:hover { background: rgba(25, 103, 212, .65); }
.gallery-control.prev { left: 14px; }
.gallery-control.next { right: 14px; }
.gallery-count { position: absolute; top: 14px; right: 14px; padding: 7px 9px; border: 1px solid rgba(195,232,255,.27); border-radius: 999px; background: rgba(4, 12, 34, .60); color: #effaff; font: 500 10px/1 "DM Mono", monospace; }
.gallery-thumbs { display: flex; gap: 9px; overflow-x: auto; padding: 12px; }
.gallery-thumb { width: 72px; height: 54px; flex: none; overflow: hidden; padding: 0; border: 1px solid transparent; border-radius: 9px; background: transparent; opacity: .58; }
.gallery-thumb.active { border-color: var(--electric); opacity: 1; box-shadow: 0 0 0 2px rgba(57, 176, 255, .15); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lightbox-open { overflow: hidden; }
.lightbox { position: fixed; z-index: 200; inset: 0; display: grid; place-items: center; padding: 60px 72px 42px; background: rgba(0, 3, 13, .94); backdrop-filter: blur(16px); }
.lightbox-stage { position: relative; display: grid; width: 100%; height: 100%; min-width: 0; min-height: 0; place-items: center; align-content: center; }
.lightbox-image {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, calc(100vw - 144px));
  max-height: min(100%, calc(100vh - 102px));
  object-fit: contain;
  /* position: absolute;
  top: 0; */
}
.lightbox-close { position: fixed; z-index: 2; top: 18px; right: 22px; display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(195,232,255,.35); border-radius: 13px; background: rgba(11, 26, 60, .82); color: white; font-size: 28px; line-height: 1; }
.lightbox-control { position: absolute; top: 50%; display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid rgba(195,232,255,.38); border-radius: 14px; background: rgba(11, 26, 60, .82); color: white; transform: translateY(-50%); }
.lightbox-control.prev { left: -56px; }
.lightbox-control.next { right: -56px; }
.lightbox-count { position: fixed; left: 50%; bottom: 16px; padding: 7px 10px; border-radius: 999px; background: rgba(11, 26, 60, .82); color: #dcecff; font: 500 11px/1 "DM Mono", monospace; transform: translateX(-50%); }
.detail-panel { position: sticky; top: 96px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-xl); background: linear-gradient(145deg, rgba(13, 35, 86, .87), rgba(3, 12, 34, .91)); box-shadow: var(--shadow); }
.detail-inner { padding: 28px; }
.detail-title { margin: 9px 0 0; font-size: clamp(25px, 3.5vw, 36px); line-height: 1.06; letter-spacing: -.055em; }
.detail-price-box { margin: 22px 0; padding: 16px; border: 1px solid rgba(114, 200, 255, .22); border-radius: 14px; background: rgba(28, 113, 233, .09); }
.detail-price-label { display: block; margin-bottom: 7px; color: var(--muted); font: 500 10px/1 "DM Mono", monospace; letter-spacing: .08em; text-transform: uppercase; }
.detail-price { color: var(--electric); font-size: 21px; font-weight: 800; letter-spacing: -.04em; }
.detail-description { margin: 0 0 24px; color: #c0cee9; white-space: pre-wrap; font-size: 14px; line-height: 1.74; }
.telegram-btn { width: 100%; min-height: 50px; border-radius: 15px; font-size: 14px; }
.detail-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 17px; color: var(--subtle); font-size: 11px; }

.auth-layout { display: grid; min-height: calc(100vh - 188px); place-items: center; }
.auth-card { position: relative; overflow: hidden; width: min(420px, 100%); padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: linear-gradient(145deg, rgba(14, 40, 98, .89), rgba(4, 13, 38, .94)); box-shadow: var(--shadow); }
.auth-card::after { content: ""; position: absolute; width: 160px; height: 160px; top: -100px; right: -70px; border-radius: 50%; background: #0c8dff; filter: blur(35px); opacity: .42; }
.auth-card > * { position: relative; z-index: 1; }
.auth-title { margin: 8px 0 7px; font-size: 30px; letter-spacing: -.055em; }
.auth-subtitle { margin-bottom: 24px; color: var(--muted); font-size: 13px; line-height: 1.55; }
.form-stack { display: grid; gap: 14px; }
.field { display: grid; gap: 7px; }
.field label { color: #c8d9f5; font-size: 12px; font-weight: 800; }
.field-hint { color: var(--subtle); font-size: 11px; line-height: 1.45; }
.input, .textarea, .select { width: 100%; border: 1px solid rgba(137, 181, 255, .20); border-radius: 11px; outline: 0; padding: 12px 13px; background: rgba(1, 8, 26, .50); color: #f8fbff; font-size: 13px; transition: .18s ease; }
.input::placeholder, .textarea::placeholder { color: #5f739b; }
.input:focus, .textarea:focus, .select:focus { border-color: rgba(74, 179, 255, .75); box-shadow: 0 0 0 3px rgba(42, 151, 255, .12); }
.textarea { min-height: 118px; resize: vertical; line-height: 1.5; }
.form-error { min-height: 17px; margin: 0; color: #ff9ab5; font-size: 11px; }
.auth-note { margin: 17px 0 0; color: var(--subtle); font-size: 11px; text-align: center; }

.admin-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 25px; }
.admin-title { margin: 8px 0 0; font-size: 34px; letter-spacing: -.058em; }
.admin-subtitle { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.dashboard-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-bottom: 22px; }
.metric { padding: 18px; border: 1px solid var(--line); border-radius: 17px; background: linear-gradient(150deg, rgba(13, 33, 78, .70), rgba(4, 13, 36, .79)); }
.metric-label { display: block; color: var(--muted); font-size: 11px; }
.metric-value { display: block; margin-top: 9px; color: #fff; font-size: 26px; font-weight: 800; letter-spacing: -.06em; }
.metric-cyan .metric-value { color: var(--electric); }
.admin-list { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(5, 17, 45, .74); }
.admin-row { display: grid; grid-template-columns: 80px minmax(190px, 1.4fr) minmax(110px, .7fr) 95px 86px auto; gap: 16px; align-items: center; padding: 12px 16px; border-bottom: 1px solid rgba(137, 181, 255, .10); }
.admin-row:last-child { border-bottom: 0; }
.admin-row-head { color: var(--subtle); font: 500 10px/1 "DM Mono", monospace; letter-spacing: .05em; text-transform: uppercase; }
.admin-thumb { width: 80px; height: 58px; overflow: hidden; border: 1px solid rgba(134, 183, 255, .16); border-radius: 10px; background: #05122e; }
.admin-thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-name { overflow: hidden; color: #eff6ff; font-size: 13px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.admin-meta { margin-top: 4px; color: var(--subtle); font-size: 11px; }
.status { display: inline-flex; width: max-content; align-items: center; gap: 6px; color: var(--muted); font-size: 11px; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--success); box-shadow: 0 0 10px rgba(103,245,193,.6); }
.status.sold::before { background: var(--warning); box-shadow: 0 0 10px rgba(255,207,102,.5); }
.status.reserved { color: #ffe2a0; }
.status.reserved::before { background: var(--warning); box-shadow: 0 0 10px rgba(255,207,102,.5); }
.admin-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }

.editor-page { max-width: 850px; margin: 0 auto; }
.editor-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.editor-title { margin: 8px 0 0; font-size: 33px; letter-spacing: -.055em; }
.editor-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: rgba(5, 18, 48, .78); box-shadow: var(--shadow); }
.editor-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.editor-grid .wide { grid-column: 1 / -1; }
.price-mode { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.radio-card { position: relative; padding: 11px; border: 1px solid rgba(139, 182, 255, .17); border-radius: 10px; background: rgba(1,8,25,.34); color: var(--muted); font-size: 11px; font-weight: 800; text-align: center; transition: .18s ease; }
.radio-card:has(input:checked) { border-color: rgba(72, 182, 255, .70); color: #e9f8ff; background: rgba(20, 123, 237, .15); box-shadow: inset 0 0 16px rgba(36, 157, 255, .12); }
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.file-drop { display: grid; place-items: center; min-height: 132px; padding: 18px; border: 1px dashed rgba(104, 190, 255, .46); border-radius: 14px; background: linear-gradient(120deg, rgba(14, 83, 177, .10), rgba(9, 25, 60, .28)); color: var(--muted); text-align: center; transition: .18s ease; }
.file-drop:hover { border-color: rgba(115, 208, 255, .86); background: rgba(16, 102, 218, .15); }
.file-drop input { display: none; }
.file-drop strong { display: block; margin: 8px 0 5px; color: #d6ecff; font-size: 13px; }
.file-drop span { display: block; font-size: 11px; }
.photo-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.photo-card { position: relative; aspect-ratio: 1 / .76; overflow: hidden; border: 1px solid rgba(129, 178, 255, .18); border-radius: 11px; background: #061533; }
.photo-card.main { border-color: var(--electric); box-shadow: 0 0 0 2px rgba(41, 171, 255, .16); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-actions { position: absolute; inset: auto 5px 5px 5px; display: flex; justify-content: space-between; gap: 4px; }
.photo-action { padding: 5px 6px; border: 1px solid rgba(213,238,255,.28); border-radius: 7px; background: rgba(1,9,27,.70); color: #eaf7ff; font-size: 9px; font-weight: 800; backdrop-filter: blur(7px); }
.photo-action.remove { color: #ffb0c4; }
.editor-footer { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(137,181,255,.12); }

.sold-screen { display: grid; min-height: calc(100vh - 188px); place-items: center; }
.sold-card { width: min(560px, 100%); overflow: hidden; padding: 42px; border: 1px solid rgba(103, 245, 193, .22); border-radius: var(--radius-xl); background: linear-gradient(145deg, rgba(10, 64, 72, .50), rgba(4, 18, 41, .88)); box-shadow: var(--shadow); text-align: center; }
.sold-symbol { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 20px; border: 1px solid rgba(115, 245, 203, .47); border-radius: 20px; background: rgba(45, 216, 174, .08); color: var(--success); font-size: 34px; box-shadow: 0 0 34px rgba(63, 250, 187, .12); }
.sold-card h1 { margin-bottom: 11px; font-size: 38px; }
.sold-card p { max-width: 390px; margin: 0 auto 24px; color: #bbd6dd; font-size: 14px; line-height: 1.65; }

.site-footer { padding: 25px 0 36px; border-top: 1px solid rgba(137, 175, 255, .10); color: var(--subtle); font-size: 11px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.footer-tag { color: #8fbdf9; font-family: "DM Mono", monospace; }
.toast { position: fixed; z-index: 100; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 44px); padding: 13px 15px; border: 1px solid rgba(104, 220, 255, .36); border-radius: 14px; background: rgba(5, 22, 55, .93); color: #f0fbff; box-shadow: 0 18px 45px rgba(0,0,0,.36); font-size: 12px; font-weight: 700; backdrop-filter: blur(16px); animation: toast-in .25s ease-out both; }
.toast::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--electric); box-shadow: 0 0 12px var(--electric); }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-stats { max-width: 340px; }
  .item-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-page { grid-template-columns: 1fr; }
  .detail-panel { position: static; }
  .admin-row { grid-template-columns: 68px minmax(140px, 1fr) 80px 70px auto; gap: 10px; }
  .admin-row > :nth-child(4) { display: none; }
  .admin-row-head > :nth-child(4) { display: none; }
  .admin-thumb { width: 68px; height: 50px; }
}

@media (max-width: 660px) {
  .shell { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 62px; gap: 8px; }
  .header-nav { display: none; }
  .brand { font-size: 15px; }
  .header-actions .btn-ghost { display: none; }
  main { padding-top: 26px; }
  .hero { min-height: 0; padding: 26px 22px; border-radius: 22px; }
  .hero-stats { grid-template-columns: 1fr 1fr; width: 100%; max-width: none; }
  .stat-card { min-height: 86px; }
  .section-head { align-items: flex-start; margin-top: 35px; }
  .section-head .btn { flex: none; }
  .item-grid { grid-template-columns: 1fr; gap: 13px; }
  .card-image-wrap { aspect-ratio: 16 / 10; }
  .detail-inner { padding: 22px; }
  .gallery { border-radius: 20px; }
  .detail-panel { border-radius: 20px; }
  .dashboard-metrics { grid-template-columns: 1fr 1fr; }
  .dashboard-metrics .metric:last-child { grid-column: 1 / -1; }
  .admin-header { align-items: flex-start; flex-direction: column; }
  .admin-header .btn { width: 100%; }
  .admin-list { overflow: visible; border: 0; background: transparent; }
  .admin-row-head { display: none; }
  .admin-row { grid-template-columns: 64px minmax(0, 1fr); gap: 10px; margin-bottom: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; background: rgba(5,17,45,.74); }
  .admin-row > :nth-child(3), .admin-row > :nth-child(4) { display: none; }
  .admin-thumb { width: 64px; height: 54px; }
  .admin-actions { grid-column: 1 / -1; justify-content: stretch; }
  .admin-actions .btn { flex: 1; }
  .editor-card { padding: 16px; }
  .editor-grid { grid-template-columns: 1fr; }
  .editor-grid .wide { grid-column: auto; }
  .photo-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .price-mode { grid-template-columns: 1fr; }
  .lightbox { padding: 54px 10px 38px; }
  .lightbox-image { max-width: calc(100vw - 20px); max-height: calc(100vh - 92px); }
  .lightbox-control { top: auto; bottom: 4px; }
  .lightbox-control.prev { left: 4px; }
  .lightbox-control.next { right: 4px; }
  .lightbox-count { bottom: 22px; }
  .editor-footer { flex-direction: column-reverse; }
  .editor-footer .btn { width: 100%; }
  .sold-card { padding: 31px 22px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}
