/* Fotoguest — marketing site + host dashboard */
:root {
  --sun: #FFC300;
  --sun-deep: #c99a00;
  --orange: #FF8A00;
  --red: #FF2D2D;
  --sky: #00A6E0;
  --green: #28B24B;
  --charcoal: #111111;
  --cream: #FFF8E7;
  --cream-2: #F5EBD2;
  --card: #FFFDF7;
  --line: #E7DCC0;
  --muted: #6a614e;
  --led: #FF8A00;
  --ink-blue: #1f3a8a;
  --font: 'Poppins', system-ui, sans-serif;
  --pen: 'Nanum Pen Script', cursive;
  --rainbow: linear-gradient(180deg, var(--sun) 0 20%, var(--orange) 0 40%, var(--red) 0 60%, var(--sky) 0 80%, var(--green) 0);
  --r: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--charcoal); background: var(--cream); }
img, svg { max-width: 100%; }
a { color: var(--charcoal); text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.035em; margin: 0 0 .4em; font-weight: 800; }
h1 { font-size: clamp(28px, 4.2vw, 40px); }
h2 { font-size: clamp(26px, 3.4vw, 36px); }
h3 { font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.pen { font-family: var(--pen); font-size: 22px; line-height: 1; color: var(--ink-blue); }
.inline { display: inline; }
code { background: var(--cream-2); padding: 1px 5px; border-radius: 4px; font-size: .9em; overflow-wrap: anywhere; }
.rainbow { height: 20px; background: var(--rainbow); }
.logo-img { display: block; height: auto; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 99px; padding: 11px 20px; text-decoration: none; cursor: pointer;
  font: 600 15px/1.2 var(--font); white-space: nowrap;
  transition: transform .06s;
}
.btn:active { transform: translateY(1px); }
.btn-sun { background: var(--sun); color: var(--charcoal); box-shadow: 0 3px 0 var(--sun-deep); }
.btn-ink { background: var(--charcoal); color: var(--cream); }
.btn-ghost { background: transparent; color: var(--charcoal); box-shadow: inset 0 0 0 2px var(--charcoal); }
.btn-danger { background: #c7271f; color: #fff; }
.btn-lg { padding: 15px 26px; font-size: 17px; font-weight: 700; }
.btn-sm { padding: 8px 15px; font-size: 14px; }
.btn-block { width: 100%; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 3px; cursor: pointer; }
.linklike.danger { color: #c7271f; text-decoration-color: currentColor; }

/* nav */
.nav { background: var(--cream); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; flex-wrap: wrap; }
.nav-brand img { width: 150px; }
.nav-links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; font-size: 14px; font-weight: 500; }
.nav-links a:not(.btn), .nav-links .linklike { color: inherit; text-decoration: none; }
.nav-links a:not(.btn):hover, .nav-links .linklike:hover { text-decoration: underline; text-decoration-color: var(--orange); }
.nav + .rainbow { height: 10px; }
@media (max-width: 640px) {
  .nav-inner { padding: 10px 0; min-height: 0; }
  .nav-brand img { width: 124px; }
  .nav-links { gap: 12px; font-size: 13px; }
}

/* flashes */
.flashes { padding-top: 18px; }
.flash { padding: 12px 16px; border-radius: 10px; margin: 0 0 10px; font-weight: 500; font-size: 15px; }
.flash-ok { background: #dcf1e1; color: #145c2b; }
.flash-error { background: #ffe0dd; color: #8d1a12; }

/* ========== landing ========== */
.hero { position: relative; overflow: hidden; padding: 40px 0 72px; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1; letter-spacing: -.05em; margin-bottom: 22px; max-width: 12ch; text-wrap: balance; }
.lede { font-size: clamp(17px, 1.6vw, 19px); max-width: 32em; color: #3a3428; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 16px; }
.hero-note { font-size: 13px; color: var(--muted); margin: 0; }
.hero-art { position: relative; }
.camera-svg { width: 100%; height: auto; display: block; filter: drop-shadow(0 26px 30px rgba(80,55,0,.28)); transform: rotate(-4deg); }
.hero-print {
  position: absolute; right: -4%; bottom: -30%; width: 40%; margin: 0;
  background: var(--card); padding: 8px 8px 30px; transform: rotate(7deg);
  box-shadow: 0 18px 34px rgba(80,55,0,.28);
}
.hero-print img { display: block; width: 100%; aspect-ratio: 332 / 185; object-fit: cover; }
.hero-print .stamp {
  position: absolute; right: 18px; bottom: 38px; font-weight: 600; font-size: 13px; letter-spacing: .08em;
  color: #ffb36b; text-shadow: 0 0 6px rgba(255,120,20,.9);
}
.hero-print figcaption { position: absolute; left: 12px; bottom: 4px; font: 22px/1 var(--pen); color: var(--ink-blue); }
.hero-flash { position: fixed; inset: 0; background: #fff; opacity: 0; pointer-events: none; z-index: 100; }
.fired .hero-flash { animation: heroflash .7s ease-out; }
.fired .flash-window { animation: flashwin 1.4s ease-out; }
@keyframes heroflash { 0% { opacity: .85; } 100% { opacity: 0; } }
@keyframes flashwin { 0% { fill: #fff; filter: drop-shadow(0 0 30px #fff); } 100% { filter: none; } }
@media (max-width: 860px) {
  .hero { padding-top: 16px; padding-bottom: 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { order: -1; max-width: 480px; margin-bottom: 60px; }
}

.steps { padding: 84px 0 76px; background: var(--card); }
.step-list { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.step-list li { position: relative; padding-top: 74px; }
.step-n {
  position: absolute; top: 0; left: 0; width: 54px; height: 54px; border-radius: 12px; display: grid; place-items: center;
  background: var(--charcoal); color: var(--led); font-weight: 700; font-size: 26px;
  text-shadow: 0 0 10px rgba(255,138,0,.6);
}
.step-list p { color: var(--muted); max-width: 32em; }
.mini-countdown { display: flex; gap: 6px; }
.mini-countdown b { background: var(--charcoal); color: var(--led); font-weight: 600; font-size: 20px; padding: 4px 9px; border-radius: 6px; text-shadow: 0 0 8px rgba(255,138,0,.6); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) { .step-list { grid-template-columns: 1fr; gap: 30px; } }

.films { padding: 84px 0; background: var(--charcoal); color: var(--cream); }
.films-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
.films-copy p { opacity: .8; max-width: 30em; }
.canisters { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.canisters li { display: grid; justify-items: center; text-align: center; gap: 4px; }
.can {
  width: 64px; height: 92px; border-radius: 10px; margin-bottom: 8px; position: relative;
  background: linear-gradient(90deg, rgba(0,0,0,.35), transparent 30%, rgba(255,255,255,.25) 48%, transparent 62%, rgba(0,0,0,.4)),
              linear-gradient(180deg, var(--a) 0 58%, var(--b) 58%);
  box-shadow: 0 -8px 0 -2px #444, 0 8px 0 -2px #444;
}
.can::before { content: ''; position: absolute; top: -18px; left: 22px; width: 20px; height: 12px; background: #555; border-radius: 3px 3px 0 0; }
.canisters b { font-size: 14px; font-weight: 600; }
.canisters small { font-size: 12px; opacity: .7; line-height: 1.35; }
@media (max-width: 900px) {
  .films-inner { grid-template-columns: 1fr; }
  .canisters { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); row-gap: 28px; }
}

.pricing { padding: 84px 0; background: var(--cream-2); }
.section-sub { color: var(--muted); font-size: 17px; }
.boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 32px; align-items: stretch; }
.filmbox {
  background: var(--card); border-radius: 8px; padding: 0 0 24px; display: flex; flex-direction: column;
  box-shadow: 0 1px 0 var(--line), 0 14px 30px rgba(80,55,0,.08); overflow: hidden;
}
.filmbox > *:not(.filmbox-top) { margin-inline: 24px; }
.filmbox-top {
  position: relative; background: var(--charcoal); color: var(--cream); padding: 22px 24px 36px; margin-bottom: 18px;
  display: flex; align-items: baseline; gap: 10px;
}
.filmbox-top::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 15px; background: var(--rainbow); }
.filmbox-feature { outline: 3px solid var(--charcoal); }
.filmbox-n { font-weight: 800; font-size: 60px; line-height: .85; letter-spacing: -.05em; }
.filmbox-unit { font-weight: 500; font-size: 14px; }
.filmbox-tag { color: var(--muted); margin-bottom: 2px; }
.filmbox-price { font-size: 38px; font-weight: 800; letter-spacing: -.04em; margin-bottom: 10px; }
.filmbox ul { padding-left: 18px; margin-top: 0; margin-bottom: 22px; flex: 1; color: #3a3428; }
.filmbox li { margin-bottom: 4px; }
@media (max-width: 860px) { .boxes { grid-template-columns: 1fr; max-width: 440px; } }

.faq { padding: 84px 0; background: var(--cream); }
.faq-inner { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: 40px; }
.faq details { border-top: 2px solid var(--charcoal); padding: 16px 0; }
.faq details:last-child { border-bottom: 2px solid var(--charcoal); }
.faq summary { font-weight: 600; font-size: 17px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 24px; line-height: .9; color: var(--orange); }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: 12px 0 0; color: #3a3428; max-width: 40em; }
@media (max-width: 760px) { .faq-inner { grid-template-columns: 1fr; gap: 10px; } }

.closer { padding: 80px 0; background: var(--sun); }
.closer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.closer h2 { margin: 0; max-width: 16ch; font-size: clamp(30px, 4vw, 46px); }
.closer .btn-sun { background: var(--charcoal); color: var(--sun); box-shadow: none; }

.foot { background: var(--charcoal); color: #bdb6a4; font-size: 13px; }
.foot-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; padding: 28px 0; }
.foot img { width: 130px; }

/* ========== app pages ========== */
.page { padding: 34px 0 70px; }
.narrow { max-width: 640px; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head h1 { margin-bottom: 4px; overflow-wrap: anywhere; }
.page-head p { margin: 0; }
.back { display: inline-block; margin-bottom: 12px; font-weight: 600; font-size: 14px; text-decoration: none; }
.back::before { content: '‹ '; }
.panel { background: var(--card); border-radius: var(--r); padding: 24px; box-shadow: 0 0 0 1px var(--line); margin-bottom: 22px; }
.h-sm { font-size: 18px; font-weight: 700; letter-spacing: -.02em; margin: 0 0 12px; }
.empty-state { text-align: center; padding: 48px 24px; }
.empty-state p { color: var(--muted); max-width: 30em; margin-inline: auto; }

/* forms */
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.form label small { font-weight: 400; color: var(--muted); font-size: 13px; }
input:not([type=checkbox]):not([type=radio]):not([type=range]), select, textarea {
  width: 100%; font: 400 16px var(--font); color: var(--charcoal);
  padding: 11px 14px; border: 2px solid var(--line); border-radius: 10px; background: #fff;
}
input:focus, select:focus, textarea:focus { border-color: var(--charcoal); outline: none; }
input:disabled { background: var(--cream); color: var(--muted); }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--charcoal); flex: none; }
input[type=range] { accent-color: var(--orange); }
.row-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.row-gap { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 560px) { .row-3 { grid-template-columns: 1fr; } }

.rolls { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rolls legend { font-weight: 600; font-size: 14px; margin-bottom: 8px; padding: 0; }
.roll-opt { position: relative; }
.roll-opt input { position: absolute; opacity: 0; inset: 0; }
.roll-card {
  position: relative; overflow: hidden;
  display: grid; justify-items: center; gap: 2px; padding: 16px 8px 20px; border-radius: 12px; cursor: pointer;
  border: 2px solid var(--line); background: #fff; text-align: center;
}
.roll-n { font-weight: 800; font-size: 40px; line-height: .95; letter-spacing: -.05em; }
.roll-unit { font-size: 12px; color: var(--muted); font-weight: 500; }
.roll-price { font-size: 17px; font-weight: 700; margin-top: 4px; }
.roll-opt input:checked + .roll-card { border-color: var(--charcoal); background: var(--charcoal); color: var(--cream); }
.roll-opt input:checked + .roll-card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--rainbow); }
.roll-opt input:checked + .roll-card .roll-unit { color: #cfc6b0; }
.roll-opt input:focus-visible + .roll-card { outline: 3px solid var(--sky); outline-offset: 2px; }

/* auth */
.auth { padding: 48px 16px 80px; display: grid; place-items: center; }
.auth-card { width: min(420px, 100%); background: var(--card); border-radius: var(--r); padding: 30px 26px; box-shadow: 0 0 0 1px var(--line), 0 14px 30px rgba(80,55,0,.06); }
.auth-card h1 { font-size: 28px; }
.auth-alt { margin: 18px 0 0; font-size: 14px; color: var(--muted); }

/* dashboard */
.event-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.event-link {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 18px; align-items: center;
  background: var(--card); border-radius: var(--r); padding: 14px 20px 14px 14px; text-decoration: none; color: inherit;
  box-shadow: 0 0 0 1px var(--line);
}
.event-link:hover { box-shadow: 0 0 0 1px var(--line), 0 8px 20px rgba(80,55,0,.1); }
.event-roll {
  position: relative; overflow: hidden;
  width: 58px; height: 58px; border-radius: 10px; display: grid; place-items: center; padding-bottom: 8px;
  background: var(--charcoal); color: var(--cream); font-weight: 800; font-size: 22px; letter-spacing: -.04em;
}
.event-roll::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--rainbow); }
.event-main { display: grid; min-width: 0; }
.event-main strong { font-size: 17px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.event-main .muted { font-size: 13px; }
.event-stats { font-size: 13px; text-align: right; line-height: 1.35; }
@media (max-width: 640px) {
  .event-link { grid-template-columns: auto minmax(0, 1fr); row-gap: 8px; }
  .event-stats { text-align: left; grid-column: 2; }
  .event-link .badge { grid-column: 2; justify-self: start; }
}

.badge { display: inline-block; padding: 5px 12px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; background: var(--cream-2); }
.badge-lg { font-size: 14px; padding: 7px 14px; }
.badge-shooting { background: var(--sun); color: var(--charcoal); }
.badge-revealed { background: #dcf1e1; color: #145c2b; }
.badge-pending { background: #ffe0dd; color: #8d1a12; }
.badge-expired, .badge-cancelled { background: #ebe5d6; color: #5a5446; }

/* manage */
.manage-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.manage-grid > .panel { margin-bottom: 0; }
.manage-grid + * , .manage-grid + .manage-grid { margin-top: 22px; }
@media (max-width: 880px) { .manage-grid { grid-template-columns: 1fr; } }

.pay-panel { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; box-shadow: 0 0 0 3px var(--charcoal); }
.pay-panel h2 { font-size: 22px; margin-bottom: 4px; }
.pay-panel p { margin: 0; color: var(--muted); }
.pay-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.qr-panel { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; }
.qr-panel.is-locked { opacity: .45; pointer-events: none; filter: grayscale(1); }
.qr-frame { position: relative; overflow: hidden; background: var(--charcoal); padding: 14px 14px 30px; border-radius: 16px; }
.qr-frame::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 15px; background: var(--rainbow); }
.qr { background: #fff; padding: 10px; border-radius: 8px; line-height: 0; }
.qr svg { width: 200px; height: 200px; display: block; }
.copy-row { display: flex; gap: 8px; margin-bottom: 14px; }
.copy-row input { font-size: 13px; padding: 9px 12px; }
.btn-stack { display: grid; gap: 10px; }
.btn-stack form { margin: 0; }
@media (max-width: 560px) { .qr-panel { grid-template-columns: 1fr; justify-items: center; } .qr-side { width: 100%; } }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 0 0 18px; }
.stats div { background: var(--cream); border-radius: 10px; padding: 12px 14px; }
.stats dt { font-size: 12px; color: var(--muted); font-weight: 500; }
.stats dd { margin: 0; font-weight: 800; font-size: 32px; line-height: 1.05; letter-spacing: -.04em; }
.stats-row { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 640px) { .stats-row { grid-template-columns: repeat(2, 1fr); } }
.develop-box { margin-bottom: 16px; }
.develop-box p { margin-bottom: 8px; }
.led-countdown { display: flex; gap: 6px; margin: 4px 0 0; }
.led-countdown span { background: var(--charcoal); color: var(--led); font-weight: 600; font-size: 22px; line-height: 1; padding: 9px 10px; border-radius: 8px; text-shadow: 0 0 10px rgba(255,138,0,.55); font-variant-numeric: tabular-nums; }
.led-countdown small { font-size: 12px; color: #aaa; margin-left: 2px; text-shadow: none; }

.contact summary { cursor: pointer; display: grid; gap: 2px; list-style: none; }
.contact summary::-webkit-details-marker { display: none; }
.contact summary strong::before { content: '▸ '; }
.contact[open] summary strong::before { content: '▾ '; }
.sheet-grid { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.sheet-grid img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; display: block; background: var(--cream-2); border: 4px solid #fff; box-shadow: 0 1px 4px rgba(60,40,0,.2); }
.sheet-meta { display: grid; gap: 2px; padding-top: 6px; }
.sheet-meta form { margin: 0; }

.wm-preview { background: repeating-conic-gradient(#e5dcc5 0 25%, #fff 0 50%) 0 0 / 16px 16px; border-radius: 10px; padding: 14px; display: grid; place-items: center; }
.wm-preview img { max-height: 90px; }
.danger-zone summary { cursor: pointer; font-weight: 600; color: #8d1a12; }
.danger-zone .form { margin-top: 14px; max-width: 420px; }
.setup-list { padding-left: 18px; }
.setup-list li { margin-bottom: 8px; }

.table-scroll { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 720px; }
.table th { text-align: left; font-size: 12px; color: var(--muted); font-weight: 600; padding: 8px 10px; border-bottom: 2px solid var(--charcoal); }
.table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: top; }

@media (prefers-reduced-motion: reduce) {
  .fired .hero-flash, .fired .flash-window { animation: none; }
}

/* packages */
.boxes { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 18px; }
@media (min-width: 1081px) { .boxes { max-width: calc(var(--cols, 4) * 300px); } }
.filmbox-name { font-size: 20px; margin: 0 0 4px; }
.filmbox-flag { position: absolute; right: 16px; top: 16px; background: var(--sun); color: var(--charcoal); font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 99px; }
.filmbox-price { font-size: 34px; }
.fineprint { margin-top: 22px; font-size: 13px; color: var(--muted); max-width: 60em; }
@media (max-width: 1080px) { .boxes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .boxes { grid-template-columns: 1fr; max-width: 440px; } }

/* camera designs */
.skins { padding: 84px 0; background: var(--cream); }
.skin-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 30px; }
.skin-card {
  position: relative; display: grid; grid-template-rows: auto 12px 1fr auto; text-decoration: none;
  aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: var(--bg); color: var(--ink);
  box-shadow: 0 0 0 6px var(--charcoal), 0 18px 30px rgba(80,55,0,.18); margin: 6px;
  transition: transform .15s;
}
.skin-card:hover { transform: translateY(-4px) rotate(-1deg); }
.skin-top { display: grid; gap: 4px; padding: 14px 14px 10px; }
.skin-top img { width: 70%; }
.skin-text { font: 24px/1 var(--pen); }
.skin-stripes { background: var(--stripes); }
.skin-vf { margin: 14px; border-radius: 10px; background: linear-gradient(160deg, #6b5a46, #2b2119 70%); box-shadow: 0 0 0 5px #1a1a1a; }
.skin-deck { display: flex; justify-content: space-around; align-items: center; padding: 14px 10px 30px; background: #1a1a1a; border-radius: 16px 16px 0 0; }
.skin-deck i { width: 26px; height: 20px; border-radius: 5px; background: #333; }
.skin-deck b { width: 38px; height: 38px; border-radius: 50%; background: radial-gradient(circle at 40% 30%, #ff8e80, #FF2D2D 50%, #b31414); box-shadow: 0 0 0 4px #333; }
.skin-name { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; color: #bdb6a4; font-size: 12px; font-weight: 500; }
@media (max-width: 900px) { .skin-row { grid-template-columns: repeat(2, 1fr); } }

/* event form: packages */
.pkgs { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pkgs legend { font-weight: 600; font-size: 14px; margin-bottom: 8px; padding: 0; }
.pkg-opt { position: relative; }
.pkg-opt input { position: absolute; opacity: 0; inset: 0; }
.pkg-card {
  position: relative; overflow: hidden; display: grid; gap: 2px; padding: 14px 16px 20px; border-radius: 12px; cursor: pointer; height: 100%;
  border: 2px solid var(--line); background: #fff;
}
.pkg-card .pkg-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.pkg-card strong { font-size: 16px; font-weight: 700; }
.pkg-card .pkg-price { font-size: 18px; font-weight: 800; }
.pkg-card .pkg-line { font-size: 13px; color: var(--muted); }
.pkg-opt input:checked + .pkg-card { border-color: var(--charcoal); background: var(--charcoal); color: var(--cream); }
.pkg-opt input:checked + .pkg-card .pkg-line { color: #cfc6b0; }
.pkg-opt input:checked + .pkg-card::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: var(--rainbow); }
.pkg-opt input:focus-visible + .pkg-card { outline: 3px solid var(--sky); outline-offset: 2px; }
.pkg-opt input:disabled + .pkg-card { opacity: .45; cursor: not-allowed; }
@media (max-width: 520px) { .pkgs { grid-template-columns: 1fr; } }

.pkg-pill { display: inline-block; background: var(--charcoal); color: var(--cream); font-size: 12px; font-weight: 600; padding: 4px 11px; border-radius: 99px; }
.upsell { background: var(--cream); border-radius: 10px; padding: 12px 14px; font-size: 14px; color: var(--muted); }
.foot .rainbow { height: 10px; }

/* real photos */
.wall { padding: 84px 0 70px; background: var(--cream-2); overflow: hidden; }
.wall-head { max-width: 640px; margin-bottom: 34px; }
.wall-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 22px; }
.wall-print {
  margin: 0; background: var(--card); padding: 8px 8px 12px; transform: rotate(var(--r));
  box-shadow: 0 1px 1px rgba(60,40,0,.14), 0 12px 24px rgba(60,40,0,.16);
}
.wall-print img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.wall-print figcaption { padding: 8px 2px 0; display: grid; }
.wall-print .note { font: 23px/1.05 var(--pen); color: var(--ink-blue); }
.wall-print .by { font-size: 12px; color: var(--muted); }
@media (max-width: 960px) { .wall-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; } }
.filmbox-photo { display: block; width: 100%; height: auto; flex: none; aspect-ratio: 4 / 3; object-fit: cover; margin: 0 !important; }
.hero-print img { aspect-ratio: 4 / 3; }

/* auth pages: photo collage beside the form */
.auth-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; width: min(1060px, 100% - 32px); margin: 0 auto; }
.auth-wrap .auth { padding-inline: 0; }
.auth-art { position: relative; height: 540px; }
.auth-art figure { position: absolute; margin: 0; width: 64%; background: var(--card); padding: 8px 8px 34px; box-shadow: 0 18px 34px rgba(60,40,0,.22); }
.auth-art figure img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.auth-art figcaption { position: absolute; left: 12px; bottom: 6px; font: 22px/1 var(--pen); color: var(--ink-blue); }
.auth-art figure:nth-child(1) { left: 0; top: 10px; transform: rotate(-4deg); }
.auth-art figure:nth-child(2) { right: 0; bottom: 10px; transform: rotate(3deg); }
@media (max-width: 860px) { .auth-wrap { grid-template-columns: 1fr; } .auth-art { display: none; } }

/* admin: package assignment */
.assign { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.assign select { width: auto; padding: 6px 10px; font-size: 13px; border-radius: 8px; }
.assign .btn-sm { padding: 6px 12px; font-size: 13px; }

/* admin: package editor */
.pkg-editor { margin-bottom: 22px; }
.pkg-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pkg-col { border: 0; margin: 0; padding: 16px; background: var(--cream); border-radius: 12px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.pkg-col label { font-size: 13px; }
.pkg-col input:not([type=checkbox]):not([type=radio]), .pkg-col textarea { padding: 8px 10px; font-size: 14px; }
.pkg-col .check { font-weight: 500; font-size: 13px; gap: 8px; }
.pkg-col .check input { width: 17px; height: 17px; }
.pkg-group { display: grid; gap: 6px; }
.pkg-group-title { font-size: 12px; font-weight: 600; color: var(--muted); }
.pkg-preview { background: var(--card); border-radius: 10px; padding: 10px 12px; box-shadow: 0 0 0 1px var(--line); }
.pkg-preview ul { margin: 6px 0 0; padding-left: 18px; font-size: 13px; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 1100px) { .pkg-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .pkg-cols { grid-template-columns: 1fr; } }

/* upgrades */
.head-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.upgrade-alert { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 22px; }
.upsell a { font-weight: 600; color: var(--charcoal); }
.event-row { position: relative; }
.row-upgrade { position: absolute; right: 20px; bottom: -10px; background: var(--charcoal); color: var(--cream); font-size: 12px; font-weight: 600; text-decoration: none; padding: 4px 13px; border-radius: 99px; }
.event-list { gap: 18px; }
.upgrade-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 20px; max-width: calc(var(--cols, 3) * 360px); }
.upgrade-card { background: var(--card); border-radius: 10px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 14px 30px rgba(80,55,0,.08); display: flex; flex-direction: column; }
.upgrade-card.is-featured { box-shadow: 0 0 0 3px var(--charcoal), 0 14px 30px rgba(80,55,0,.12); }
.upgrade-top { position: relative; background: var(--charcoal); color: var(--cream); padding: 20px 22px 32px; display: flex; align-items: baseline; gap: 10px; }
.upgrade-top::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 12px; background: var(--rainbow); }
.upgrade-n { font-weight: 800; font-size: 52px; line-height: .85; letter-spacing: -.05em; }
.upgrade-unit { font-size: 14px; }
.upgrade-body { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.upgrade-price { font-size: 36px; font-weight: 800; letter-spacing: -.04em; margin: 4px 0 0; }
.upgrade-gain-title { margin: 12px 0 0; font-size: 13px; font-weight: 600; }
.upgrade-gain { padding-left: 18px; margin: 4px 0 18px; flex: 1; }
.upgrade-gain li { margin-bottom: 3px; }
@media (max-width: 860px) { .upgrade-grid { grid-template-columns: 1fr; max-width: 440px; } }
