/* Decor Studio for guests — DW house style. Tokens from Projects/DW Brand Kit; three palettes. */
:root, :root[data-palette="maroon"] {
  --bg: #1a0b12; --bg2: #24101a; --maroon: #5a1b2e; --maroon-deep: #3f1220;
  --gold: #c19a4b; --gold-pale: #ead9b5; --gold-soft: rgba(193,154,75,.14);
  --text: #faf5ec; --dim: #b8a89e; --panel: rgba(250,245,236,.05); --line: rgba(216,189,131,.18);
  --glass: rgba(26,11,18,.72); --tile: #2a1420; --acc2: #e5568c;
  --ease: cubic-bezier(.22,.61,.36,1);
}
:root[data-palette="charcoal"] {
  --bg: #0b0b14; --bg2: #14142a; --maroon: #1c1a30; --maroon-deep: #0b0b14;
  --gold: #c99a3e; --gold-pale: #ead9b5; --gold-soft: rgba(201,154,62,.14);
  --text: #eceaf4; --dim: #9a97ac; --panel: rgba(236,234,244,.05); --line: rgba(185,182,206,.16);
  --glass: rgba(11,11,20,.74); --tile: #171632; --acc2: #8b7ec8;
}
:root[data-palette="ivory"] {
  --bg: #f4efe6; --bg2: #faf7f0; --maroon: #5a1b2e; --maroon-deep: #3f1220;
  --gold: #8a6420; --gold-pale: #8a6420; --gold-soft: rgba(138,100,32,.12);
  --text: #29241c; --dim: #7c7263; --panel: rgba(41,36,28,.05); --line: rgba(70,58,40,.18);
  --glass: rgba(250,247,240,.82); --tile: #e9e1d3; --acc2: #634d99;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { background: radial-gradient(1100px 620px at 78% -8%, color-mix(in srgb, var(--maroon) 55%, transparent), transparent 62%), linear-gradient(165deg, var(--bg), var(--bg2)); color: var(--text); font-family: Jost, "Avenir Next", -apple-system, sans-serif; font-weight: 300; min-height: 100svh; -webkit-font-smoothing: antialiased; transition: background .5s var(--ease), color .5s var(--ease); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2 { font-family: "Cormorant Garamond", "Bodoni 72", Georgia, serif; font-weight: 500; letter-spacing: 0; }
.kicker { font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.dim { color: var(--dim); } .small { font-size: .74rem; } .grow { flex: 1; }
.dw-logo { display: inline-block; line-height: 0; } .dw-logo img { display: block; filter: drop-shadow(0 6px 16px rgba(21,10,14,.35)); }
.dw-logo--nav img { width: 40px; height: 40px; filter: drop-shadow(0 4px 18px rgba(0,0,0,.45)); }
:root[data-palette="ivory"] .dw-logo img { filter: drop-shadow(0 4px 14px rgba(21,10,14,.22)); }
.dw-logo--ignite img { animation: rise .9s ease both; } @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.btn { background: linear-gradient(135deg, var(--gold-pale), var(--gold) 58%, #9c7a34); color: #1d0c13; border: 0; border-radius: 10px; padding: 12px 20px; font-weight: 500; letter-spacing: .01em; box-shadow: 0 6px 18px rgba(193,154,75,.18); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(193,154,75,.3); }
.btn.small { padding: 8px 14px; font-size: .86rem; }
:root[data-palette="ivory"] .btn { color: #fbf8f2; background: linear-gradient(135deg, #a67c2c, #8a6420 60%, #6b4c16); }
.ghost { background: transparent; border: 1px solid var(--line); color: var(--dim); border-radius: 10px; padding: 8px 14px; font-size: .86rem; transition: color .25s, border-color .25s; }
.ghost:hover, .ghost[aria-expanded="true"] { color: var(--gold-pale); border-color: var(--gold); }
.ghost.danger:hover { color: #f0a0a0; border-color: #f0a0a0; }
input, select, textarea { width: 100%; background: rgba(20,8,14,.45); border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px; outline: none; transition: border-color .25s; }
:root[data-palette="ivory"] input, :root[data-palette="ivory"] select, :root[data-palette="ivory"] textarea { background: #fff; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); }
input.pin { font-size: 1.6rem; letter-spacing: .6em; text-align: center; font-variant-numeric: tabular-nums; }

/* ---------- gate ---------- */
.gate { min-height: 100svh; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 50% 22%, var(--maroon), var(--maroon-deep)); position: relative; overflow: hidden; }
.gate::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 38px, rgba(234,217,181,.035) 38px 39px); mask-image: radial-gradient(circle at 50% 30%, #000, transparent 70%); animation: sweep 14s linear infinite; }
@keyframes sweep { to { background-position: 320px 0; } }
.gate-card { position: relative; width: min(440px, 100%); text-align: center; padding: 38px 32px 26px; border: 1px solid rgba(193,154,75,.4); border-radius: 18px; background: rgba(26,11,18,.55); backdrop-filter: blur(16px); animation: rise 1.1s var(--ease) both; }
.gate-card .dw-logo img { width: 128px; height: 128px; margin: 0 auto 10px; }
.gate-card h1 { font-size: 2rem; line-height: 1.05; margin: 10px 0 20px; color: #faf5ec; }
.gate-tabs { display: flex; justify-content: center; gap: 4px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.gate-tabs button { background: none; border: 0; padding: 10px 14px; color: var(--dim); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .25s, border-color .25s; }
.gate-tabs button.on { color: var(--gold-pale); border-bottom-color: var(--gold); }
.gate-form { display: flex; flex-direction: column; gap: 12px; text-align: left; color: #faf5ec; }
.gate-form label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-pale); display: flex; flex-direction: column; gap: 6px; }
.gate-form label .dim { text-transform: none; letter-spacing: 0; }
.gate-form input { background: rgba(20,8,14,.55); color: #faf5ec; }
.gate-form .btn { margin-top: 6px; }
.err { color: #f0a0a0; font-size: .82rem; }
.gate-foot { margin-top: 18px; font-size: .72rem; color: var(--dim); }

/* ---------- bar ---------- */
.bar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 14px; padding: 10px clamp(12px, 2.4vw, 28px); background: var(--glass); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.brand b { font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: 1.25rem; display: block; line-height: 1; }
.brand span { font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.search { display: flex; gap: 8px; flex: 0 1 520px; min-width: 200px; }
.search input { padding: 9px 14px; }
.pal-toggle { display: flex; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: 999px; padding: 5px 9px; }
.pal-dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid transparent; padding: 0; transition: transform .2s, border-color .2s; }
.pal-dot:hover { transform: scale(1.15); } .pal-dot[aria-pressed="true"] { border-color: var(--text); transform: scale(1.12); }
.pal-dot.maroon { background: linear-gradient(135deg, #1a0a13 50%, #e5568c 50%); } .pal-dot.charcoal { background: linear-gradient(135deg, #0b0b14 50%, #c99a3e 50%); } .pal-dot.ivory { background: linear-gradient(135deg, #f4efe6 50%, #8a6420 50%); }
.sl-btn { display: flex; align-items: center; gap: 8px; background: var(--gold-soft); border: 1px solid var(--gold); color: var(--gold-pale); border-radius: 999px; padding: 7px 14px 7px 10px; transition: transform .25s var(--ease); }
.sl-btn i { width: 10px; height: 10px; border-radius: 50%; background: var(--acc2); box-shadow: 0 0 10px var(--acc2); }
.sl-btn b { background: var(--gold); color: #1d0c13; border-radius: 999px; padding: 1px 8px; font-size: .74rem; font-weight: 500; }
.sl-btn.bump { animation: bump .4s var(--ease); } @keyframes bump { 40% { transform: scale(1.12); } }
.me { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chips { display: flex; gap: 8px; padding: 12px clamp(12px, 2.4vw, 28px) 4px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips button { flex: none; background: transparent; border: 1px solid var(--line); color: var(--dim); border-radius: 999px; padding: 7px 14px; font-size: .8rem; letter-spacing: .04em; text-transform: capitalize; transition: all .25s var(--ease); }
.chips button:hover { color: var(--gold-pale); border-color: var(--gold); }
.chips button.on { background: var(--gold-soft); color: var(--gold-pale); border-color: var(--gold); }
.chips button small { color: var(--dim); margin-left: 5px; font-size: .68rem; }
.filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; padding: 10px clamp(12px, 2.4vw, 28px); align-items: end; animation: rise .5s var(--ease) both; }
.filters label { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); display: flex; flex-direction: column; gap: 5px; }
.filters select { padding: 8px 10px; font-size: .86rem; }

/* ---------- the wall ---------- */
.wall { display: flex; gap: 12px; padding: 12px clamp(12px, 2.4vw, 28px) 60px; align-items: flex-start; transition: opacity .35s var(--ease); }
.wall.fade { opacity: .25; }
.col { flex: 1; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.tile { position: relative; border-radius: 12px; overflow: hidden; background: var(--tile); cursor: zoom-in; content-visibility: auto; contain-intrinsic-size: auto 300px; transform: translateY(18px); opacity: 0; transition: opacity .7s var(--ease), transform .7s var(--ease), box-shadow .35s var(--ease); }
.tile.in { opacity: 1; transform: none; }
.tile img { width: 100%; height: auto; display: block; opacity: 0; transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.tile img.ok { opacity: 1; }
.tile:hover img { transform: scale(1.035); }
.tile:hover { box-shadow: 0 14px 40px rgba(0,0,0,.35); }
.tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 10px 9px; display: flex; flex-wrap: wrap; gap: 4px; background: linear-gradient(180deg, transparent, rgba(63,18,32,.78)); opacity: 0; transition: opacity .35s var(--ease); pointer-events: none; }
.tile:hover figcaption, .tile.sel figcaption { opacity: 1; }
.tile figcaption span { font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: #faf5ec; }
.tile .pick { position: absolute; top: 8px; right: 8px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); background: rgba(20,8,14,.45); color: #fff; font-size: .95rem; display: grid; place-items: center; opacity: 0; transform: scale(.8); transition: opacity .25s, transform .25s var(--ease), background .25s; backdrop-filter: blur(4px); }
.tile:hover .pick, .tile.sel .pick { opacity: 1; transform: none; }
.tile.sel .pick { background: var(--gold); border-color: var(--gold); color: #1d0c13; }
.tile.sel { outline: 2px solid var(--gold); outline-offset: -2px; }
.sentinel { height: 2px; }
.empty { text-align: center; color: var(--dim); padding: 40px; }
.loading { display: flex; justify-content: center; gap: 8px; padding: 20px; }
.loading span { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); animation: dot 1.2s infinite ease-in-out; } .loading span:nth-child(2) { animation-delay: .15s; } .loading span:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 80%, 100% { opacity: .25; transform: scale(.8); } 40% { opacity: 1; transform: scale(1); } }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 60; background: rgba(12,4,8,.94); display: flex; flex-direction: column; animation: fade .3s var(--ease) both; }
@keyframes fade { from { opacity: 0; } }
.lb-main { position: relative; flex: 1; display: flex; min-height: 0; }
.lb-stage { position: relative; flex: 1; min-width: 0; display: grid; place-items: center; overflow: hidden; }
#lb-img { max-width: 94%; max-height: calc(100svh - 74px); object-fit: contain; border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.6); transform-origin: top left; will-change: transform, opacity; }
#lb-img.swap { animation: swap .32s var(--ease); } @keyframes swap { from { opacity: 0; transform: scale(.97); } }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.45); color: #fff; font-size: 1.5rem; display: grid; place-items: center; transition: background .25s; }
.lb-nav:hover { background: rgba(193,154,75,.4); } .lb-nav.prev { left: 16px; } .lb-nav.next { right: 16px; }
.lb-close { position: absolute; top: 12px; right: 16px; background: none; border: 0; color: #fff; font-size: 2rem; line-height: 1; opacity: .8; }
.lb-bar { height: 74px; display: flex; align-items: center; gap: 12px; padding: 0 20px; color: var(--dim); background: rgba(20,8,14,.8); }
.lb-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.lb-tags span { font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: #ead9b5; border: 1px solid rgba(234,217,181,.3); border-radius: 999px; padding: 3px 9px; }
#lb-select.on { background: var(--gold); }
#lb-event.on { color: var(--gold-pale); border-color: var(--gold); }

/* ---------- drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 55; background: rgba(12,4,8,.6); backdrop-filter: blur(6px); display: flex; align-items: flex-end; justify-content: center; animation: fade .3s var(--ease) both; }
.drawer-card { width: min(980px, 100%); max-height: 88svh; display: flex; flex-direction: column; background: var(--bg); border: 1px solid var(--line); border-bottom: 0; border-radius: 18px 18px 0 0; padding: 22px 22px 18px; animation: up .5s var(--ease) both; }
@keyframes up { from { transform: translateY(40px); opacity: 0; } }
.drawer-head { display: flex; align-items: flex-start; gap: 12px; position: relative; margin-bottom: 14px; }
.drawer-head h2 { font-size: 1.7rem; line-height: 1; margin-top: 4px; }
.drawer-head .lb-close { position: absolute; right: 0; top: -6px; color: var(--text); }
.drawer-grid { flex: 1; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; padding-bottom: 8px; }
.drawer-grid figure { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--tile); animation: rise .5s var(--ease) both; }
.drawer-grid img { width: 100%; height: 100%; object-fit: cover; }
.drawer-grid button { position: absolute; top: 5px; right: 5px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(20,8,14,.7); color: #fff; font-size: .8rem; }
.drawer-send { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
.drawer-send .row { display: flex; gap: 8px; flex-wrap: wrap; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 70; background: var(--gold); color: #1d0c13; padding: 10px 18px; border-radius: 999px; font-size: .86rem; font-weight: 500; box-shadow: 0 12px 30px rgba(0,0,0,.35); animation: rise .35s var(--ease) both; }

@media (max-width: 720px) {
  .bar { flex-wrap: wrap; gap: 8px; padding: 8px 12px; }
  .search { order: 5; flex: 1 1 100%; }
  .brand span { display: none; }
  .me span { display: none; } .me::after { content: "⏻"; }
  .wall { gap: 8px; padding: 8px 8px 60px; } .col { gap: 8px; }
  .tile figcaption { display: none; } .tile .pick { opacity: 1; transform: none; width: 26px; height: 26px; }
  .lb-nav { display: none; } .lb-bar { height: auto; padding: 10px 12px; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .tile { opacity: 1; transform: none; } .tile img { opacity: 1; } }

/* pending + admin */
.pend-title { font-family: "Cormorant Garamond", serif; font-size: 1.6rem; color: #faf5ec; }
.pend-sub { color: var(--dim); font-size: .92rem; line-height: 1.5; }
.pill { background: var(--acc2); color: #fff; border-radius: 999px; padding: 0 7px; font-size: .68rem; margin-left: 6px; }
.admin-list { overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.guest-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.guest-row.pending { border-color: var(--gold); }
.guest-row .who { flex: 1; min-width: 0; } .guest-row .who b { display: block; } .guest-row .who span { font-size: .78rem; color: var(--dim); }
.guest-row .st { font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.guest-row.pending .st { color: var(--gold-pale); }
.drawer-grid h3 { grid-column: 1 / -1; font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: 1.25rem; text-transform: capitalize; margin: 8px 0 -2px; padding-bottom: 4px; border-bottom: 1px solid var(--line); }
.drawer-grid h3 span { font-family: Jost, sans-serif; font-size: .66rem; letter-spacing: .14em; color: var(--dim); margin-left: 8px; text-transform: uppercase; }

/* ---------- same-event rail: a miniature gallery on the right, the chosen photo large on the left ---------- */
.lb-rail { width: 0; flex: none; overflow: hidden; display: flex; flex-direction: column; background: rgba(20,8,14,.72); border-left: 1px solid transparent;
  transition: width .55s var(--ease), border-color .55s var(--ease); }
.lb.rail-on .lb-rail { width: clamp(260px, 27vw, 420px); border-left-color: rgba(234,217,181,.14); }
.lb-rail-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 18px 18px 10px; white-space: nowrap; opacity: 0; transform: translateX(16px); transition: opacity .4s var(--ease) .2s, transform .5s var(--ease) .2s; }
.lb.rail-on .lb-rail-head { opacity: 1; transform: none; }
.lb-rail-grid { flex: 1; overflow-y: auto; padding: 4px 14px 18px; display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; scrollbar-width: thin; scrollbar-color: rgba(234,217,181,.25) transparent; min-width: 230px; }
.lb-thumb { position: relative; display: block; flex: 0 0 calc(50% - 4px); aspect-ratio: 1; border: 0; padding: 0; border-radius: 8px; overflow: hidden; background: #2a1420; cursor: pointer;
  opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .45s var(--ease), transform .45s var(--ease), box-shadow .3s var(--ease); transition-delay: calc(var(--i, 0) * 22ms + .15s); }
.lb.rail-on .lb-thumb { opacity: .62; transform: none; }
.lb-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.lb-thumb:hover { opacity: 1 !important; } .lb-thumb:hover img { transform: scale(1.05); }
.lb-thumb.cur { opacity: 1 !important; box-shadow: 0 0 0 2px var(--gold), 0 10px 26px rgba(0,0,0,.45); }
.lb-thumb .sl { position: absolute; top: 5px; right: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--gold); color: #1d0c13; font-size: .62rem; display: grid; place-items: center; }
#lb-img { transition: opacity .28s var(--ease); }
#lb-img.fading { opacity: 0; }
@media (max-width: 720px) {
  .lb-main { flex-direction: column; }
  .lb-rail { width: auto !important; height: 0; border-left: 0; border-top: 1px solid transparent; transition: height .5s var(--ease); }
  .lb.rail-on .lb-rail { height: 118px; border-top-color: rgba(234,217,181,.14); }
  .lb-rail-head { display: none; }
  .lb-rail-grid { flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; padding: 10px 12px; min-width: 0; }
  .lb-thumb { flex: 0 0 92px; }
}
.lb-main > .lb-close { z-index: 3; }
.lb.rail-on .lb-rail-head { padding-right: 56px; }

/* ---------- Deck Builder ---------- */
.dk-body .bar a.ghost { text-decoration: none; }
.dk { display: grid; grid-template-columns: 280px 1fr; min-height: calc(100svh - 62px); }
.dk-list { border-right: 1px solid var(--line); overflow-y: auto; max-height: calc(100svh - 62px); position: sticky; top: 62px; padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.dk-item { text-align: left; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 3px; transition: border-color .25s; }
.dk-item.on, .dk-item:hover { border-color: var(--gold); }
.dk-item b { font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: 1.05rem; } .dk-item span { font-size: .72rem; color: var(--dim); }
.dk-item .st { text-transform: uppercase; letter-spacing: .12em; font-size: .6rem; } .dk-item .st.ready { color: var(--gold-pale); }
.dk-board { padding: 18px clamp(14px, 3vw, 40px) 80px; min-width: 0; }
.dk-empty { max-width: 520px; margin: 12vh auto; text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.dk-empty .dw-logo img { width: 110px; height: 110px; } .dk-empty h2 { font-size: 1.9rem; }
.dk-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.dk-title h1 { font-size: 2rem; line-height: 1.05; outline: none; border-bottom: 1px dashed transparent; } .dk-title h1:focus { border-bottom-color: var(--gold); }
.dk-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; } .dk-actions a { text-decoration: none; }
.dk-sec { margin-top: 26px; } .dk-sec-head { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 10px; }
.dk-sec-head .no { font-family: "Cormorant Garamond", serif; font-size: 2.4rem; color: var(--gold); line-height: 1; min-width: 2.2ch; }
.dk-sec-head h2 { font-size: 1.6rem; } .dk-sec-head p { font-size: .86rem; max-width: 62ch; }
.dk-sub h3 { font-family: "Cormorant Garamond", serif; font-weight: 500; font-size: 1.15rem; margin: 12px 0 8px; } .dk-sub h3 span { font-family: Jost, sans-serif; font-size: .66rem; letter-spacing: .14em; color: var(--dim); margin-left: 8px; }
.opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.opt { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin: 0; display: flex; flex-direction: column; animation: rise .5s var(--ease) both; }
.opt.locked { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(193,154,75,.35) inset; }
.opt .ph { aspect-ratio: 1; display: grid; place-items: center; padding: 12px; background: #f3ead9; }
.opt .ph img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.opt.photo .ph { padding: 0; } .opt.photo .ph img { width: 100%; height: 100%; object-fit: cover; }
.opt figcaption { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 1px; }
.opt figcaption b { font-family: "Cormorant Garamond", serif; font-weight: 500; color: var(--gold); font-size: 1rem; }
.opt .nm { font-family: "Cormorant Garamond", serif; font-size: 1.02rem; line-height: 1.15; } .opt figcaption em { font-size: .68rem; color: var(--dim); font-style: normal; }
.opt .acts { position: absolute; top: 6px; right: 6px; display: flex; gap: 4px; opacity: 0; transition: opacity .25s; }
.opt:hover .acts, .opt.locked .acts { opacity: 1; }
.opt .acts button { width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--glass); color: var(--text); font-size: .8rem; display: grid; place-items: center; backdrop-filter: blur(6px); }
.opt .acts button:hover { background: var(--gold); color: #1d0c13; }
.opt.add { border-style: dashed; align-items: center; justify-content: center; gap: 4px; color: var(--dim); min-height: 220px; cursor: pointer; background: transparent; }
.opt.add span { font-family: "Cormorant Garamond", serif; font-size: 2.4rem; line-height: 1; } .opt.add small { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.opt.add:hover { border-color: var(--gold); color: var(--gold-pale); }
.drawer-card.narrow { width: min(560px, 100%); } .drawer-card.wide { width: min(1100px, 100%); }
.gate-form.left { text-align: left; } .gate-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pick-tabs { display: flex; gap: 6px; margin-bottom: 10px; } .pick-tabs button { background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: .82rem; color: var(--dim); } .pick-tabs button.on { border-color: var(--gold); color: var(--gold-pale); }
.pick-search { display: flex; gap: 8px; margin-bottom: 10px; } .pick-search select { max-width: 200px; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; overflow-y: auto; max-height: 56vh; padding-right: 4px; }
.opt.pk { cursor: pointer; } .opt.pk .ph { aspect-ratio: 1; } .opt.pk.sel { border-color: var(--gold); opacity: .55; }
.row { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 900px) { .dk { grid-template-columns: 1fr; } .dk-list { position: static; max-height: 200px; flex-direction: row; overflow-x: auto; } .dk-item { min-width: 220px; } .gate-form .two { grid-template-columns: 1fr; } }
