* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Apple SD Gothic Neo", sans-serif;
  color: #2b2b2b;
  background: #faf8f3;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 24px; background: #fff; border-bottom: 1px solid #ece6d8;
  box-shadow: 0 1px 4px rgba(0,0,0,.03);
}
.brand { font-weight: 800; font-size: 18px; text-decoration: none; color: #2b2b2b; }
.nav-links { display: flex; align-items: center; gap: 16px; }
.nav-links a { text-decoration: none; color: #555; font-size: 14px; }
.nav-links a:hover { color: #b58f00; }
.user { color: #888; font-size: 13px; }
.inline { display: inline; }
.link-btn { background: none; border: none; color: #b58f00; cursor: pointer; font-size: 14px; padding: 0; }

.container { max-width: 880px; margin: 32px auto; padding: 0 20px; flex: 1 0 auto; width: 100%; box-sizing: border-box; }
h1, h2, h3 { color: #2b2b2b; }
.muted { color: #999; font-size: 13px; }

.hero { text-align: center; padding: 24px 0; }
.hero h1 { font-size: 30px; margin: 0 0 8px; }
.hero .sub { color: #777; margin: 0 auto 24px; max-width: 520px; }
.card-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.card { background: #fff; border: 1px solid #ece6d8; border-radius: 12px; padding: 18px; width: 260px; text-align: left; }
.card h3 { margin: 0 0 6px; font-size: 16px; }
.card p { margin: 0; font-size: 13px; color: #777; }
.cta { display: flex; gap: 12px; align-items: center; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 10px 18px; border-radius: 8px;
  border: 1px solid transparent; cursor: pointer; text-decoration: none; font-size: 14px;
}
.btn.primary { background: #f5c518; color: #3a2e00; font-weight: 700; }
.btn.primary:hover { background: #efbb00; }
.btn.ghost { background: #fff; color: #555; border-color: #ddd; }
.btn.ghost:hover { background: #f6f4ee; }
.btn.danger { background: #fff; color: #c0392b; border-color: #e6b3ad; }
.btn.small { padding: 5px 10px; font-size: 12px; }

.form-wrap { max-width: 420px; margin: 24px auto; }
.form-wrap form { display: flex; flex-direction: column; gap: 12px; }
label { display: flex; flex-direction: column; font-size: 13px; color: #555; gap: 4px; }
input, select { padding: 10px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; }
input:focus, select:focus { outline: none; border-color: #f5c518; }

.alert { background: #fdecea; color: #c0392b; padding: 10px 12px; border-radius: 8px; font-size: 13px; margin-bottom: 8px; }
.hidden { display: none; }

.pan-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.pan-card { background: #fff; border: 1px solid #ece6d8; border-radius: 12px; padding: 16px; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 8px; }
.pan-card:hover { border-color: #f5c518; }
.pan-label { font-weight: 700; }
.pan-cap { font-size: 12px; color: #999; }
.progress { height: 8px; background: #efe9da; border-radius: 6px; overflow: hidden; }
.progress .bar { height: 100%; background: #f5c518; transition: width .3s; }
.pan-meta { font-size: 12px; color: #777; }
.pan-receive { font-size: 12px; color: #b58f00; margin-top: 2px; }

.order-tabs { display: flex; gap: 8px; margin: 12px 0 20px; }
.tab { padding: 8px 14px; border-radius: 8px; text-decoration: none; font-size: 13px; background: #fff; border: 1px solid #ddd; color: #555; }
.tab.active { background: #2b2b2b; color: #fff; border-color: #2b2b2b; }
.whole-section { margin-top: 32px; padding-top: 16px; border-top: 1px dashed #e2dccd; }
.inline-form { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }

.seat-board { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(4, 1fr); grid-auto-flow: dense; gap: 8px; aspect-ratio: 1 / 1; max-width: 480px; margin: 20px auto; padding: 14px; background: #fff; border: 1px solid #ece6d8; border-radius: 12px; }
.seat {
  border-radius: 8px; border: 2px solid #ddd; overflow: hidden; min-width: 0; min-height: 0;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 12px; color: #888; user-select: none;
  background: #fff; transition: transform .05s;
}
.seat.available:hover { border-color: #f5c518; transform: scale(1.03); }
.seat.selected { background: #f5c518; border-color: #efbb00; color: #3a2e00; font-weight: 700; }
.seat.mine { background: #6fcf97; border-color: #54b87f; color: #15402a; cursor: default; }
.seat.to-release { background: #6fcf97; border-color: #c0392b; color: #15402a; cursor: pointer; box-shadow: 0 0 0 2px rgba(192,57,43,.3); }
.seat.taken { background: #eee; border-color: #ddd; color: #aaa; cursor: not-allowed; }
.seat.confirmed { background: #f5c518; border-color: #efbb00; color: #3a2e00; cursor: not-allowed; }
.seat.empty { background: transparent; border-style: dashed; border-color: #ece6d8; cursor: default; }

.legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12px; color: #777; margin-bottom: 12px; }
.legend .dot { display: inline-block; width: 14px; height: 14px; border-radius: 4px; border: 2px solid #ccc; margin-right: 4px; vertical-align: -2px; }
.dot.available { background: #fff; }
.dot.mine { background: #6fcf97; border-color: #54b87f; }
.dot.taken { background: #eee; }
.dot.to-release { background: #6fcf97; border-color: #c0392b; }
.dot.confirmed { background: #f5c518; border-color: #efbb00; }

.status-line { font-size: 13px; color: #666; margin: 8px 0; }
.seat-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin: 12px 0; }

.res-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14px; }
.res-table th, .res-table td { padding: 10px; border-bottom: 1px solid #ece6d8; text-align: left; vertical-align: middle; }
.res-table th { color: #999; font-weight: 600; font-size: 12px; }
.res-table td.actions { display: flex; gap: 6px; flex-wrap: wrap; }
.res-table td.row-links { white-space: nowrap; }
.res-table td.row-links .btn + .btn { margin-left: 6px; }
.status-form { display: flex; gap: 6px; align-items: center; }
.status-form select { padding: 5px 8px; font-size: 12px; }
.badge { padding: 3px 8px; border-radius: 999px; font-size: 11px; }
.status-holding { background: #fff3cd; color: #8a6d00; }
.status-confirmed { background: #d4edda; color: #1e6b34; }
.status-paid { background: #cfe8ff; color: #0b5cad; }
.status-shipped { background: #e2d4f0; color: #6b3fa0; }
.status-cancelled { background: #eee; color: #888; }

.kv { list-style: none; padding: 0; margin: 12px 0; }
.kv li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #f0ece1; font-size: 14px; }
.kv span { color: #999; }
.sample-pay { display: flex; gap: 10px; margin-top: 16px; }

.intro { max-width: 760px; margin: 0 auto; }
.intro-hero { text-align: center; padding: 40px 0 28px; }
.intro-emoji { font-size: 56px; }
.intro-hero h1 { font-size: 34px; margin: 8px 0 6px; }
.intro-tagline { color: #777; margin: 0; font-size: 16px; }
.intro-sample { background: #fff; border: 1px dashed #e0d8c2; border-radius: 14px; padding: 28px; }
.intro-note { color: #b58f00; font-size: 13px; margin: 0 0 18px; }
.intro-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.intro-feature { background: #faf8f3; border-radius: 10px; padding: 16px; }
.intro-feature h3 { margin: 0 0 6px; font-size: 15px; }
.intro-feature p { margin: 0; font-size: 13px; color: #777; }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin: 20px 0; }
.choice-card { background: #fff; border: 1px solid #ece6d8; border-radius: 14px; padding: 24px; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 10px; transition: border-color .15s, transform .15s; }
.choice-card:hover { border-color: #f5c518; transform: translateY(-2px); }
.choice-emoji { font-size: 40px; }
.choice-card h3 { margin: 0; }
.choice-card p { margin: 0; font-size: 13px; color: #777; flex-grow: 1; }
.choice-card .btn { align-self: flex-start; }
.intro-cta { text-align: center; margin-top: 24px; }
.pos-chip { display: inline-block; min-width: 24px; padding: 2px 7px; margin: 2px; background: #fff3cd; color: #8a6d00; border-radius: 6px; font-size: 12px; font-weight: 700; }
.detail-actions { margin: 12px 0; }
.confirm-actions { display: flex; gap: 10px; margin-top: 16px; }

.admin-board { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(4, 1fr); grid-auto-flow: dense; gap: 8px; aspect-ratio: 1 / 1; max-width: 480px; margin: 16px auto; padding: 14px; background: #fff; border: 1px solid #ece6d8; border-radius: 12px; }
.acell { border-radius: 8px; border: 2px solid #ddd; padding: 6px 4px; text-align: center; display: flex; flex-direction: column; justify-content: center; gap: 2px; overflow: hidden; min-width: 0; min-height: 0; }
.acell .acell-no { font-weight: 700; font-size: 13px; }
.acell .acell-name { font-size: 11px; opacity: .9; word-break: keep-all; }
.acell.c-available { background: #fff; color: #888; }
.acell.c-held { background: #fde68a; border-color: #f5c518; color: #5a4500; }
.acell.c-confirmed { background: #f5c518; border-color: #efbb00; color: #3a2e00; }
.acell.c-empty { background: transparent; border-style: dashed; border-color: #ece6d8; }
.legend i.c-available { background: #fff; }
.legend i.c-held { background: #fde68a; border-color: #f5c518; }
.legend i.c-confirmed { background: #f5c518; border-color: #efbb00; }
.acell.c-mine { background: #6fcf97; border-color: #54b87f; color: #15402a; }
.acell.c-other { background: #f0ede5; border-color: #e0dccc; color: #bbb; }
.legend .c-mine-legend { background: #6fcf97; border-color: #54b87f; }
.legend .c-other-legend { background: #f0ede5; border-color: #e0dccc; }
.legend i.c-empty { background: transparent; border-style: dashed; }

.footer { margin-top: 48px; padding: 20px 24px; background: #fff; border-top: 1px solid #ece6d8; }
.footer-inner { max-width: 880px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.footer-brand { font-weight: 800; text-decoration: none; color: inherit; }
.footer-links { display: flex; gap: 14px; }
.footer-links a { color: #777; text-decoration: none; font-size: 13px; }
.footer-links a:hover { color: #b58f00; }
.footer-copy { color: #aaa; font-size: 12px; }
.temp-pw { font-family: monospace; font-size: 16px; letter-spacing: 1px; }

/* ===== Admin Tabs ===== */
.settings-card {
  max-width: 720px; margin: 0 auto;
  background: #fff; border: 1px solid #ece6d8; border-radius: 16px;
  padding: 28px; box-shadow: 0 2px 16px rgba(0,0,0,.05);
}
.settings-card > h2 { margin: 0 0 16px; font-size: 20px; }
.settings-card form { display: flex; flex-direction: column; gap: 12px; max-width: 320px; }

.admin-tabs {
  display: flex; gap: 4px; margin-bottom: 28px; padding: 5px;
  background: #fff; border: 1px solid #ece6d8; border-radius: 14px;
  box-shadow: 0 1px 4px rgba(0,0,0,.04);
}
.atab {
  flex: 1; text-align: center;
  padding: 12px 20px; text-decoration: none; font-size: 14px; font-weight: 600;
  color: #999; border-radius: 10px; transition: all .18s ease;
}
.atab:hover { color: #555; background: #faf8f3; }
.atab.active {
  color: #3a2e00; font-weight: 700;
  background: #f5c518; box-shadow: 0 2px 10px rgba(245,197,24,.3);
}

/* ===== Calendar ===== */
.cal-wrap {
  max-width: 720px; margin: 20px auto 0;
  background: #fff; border: 1px solid #ece6d8; border-radius: 16px;
  padding: 28px; box-shadow: 0 2px 16px rgba(0,0,0,.05);
}
.cal-wrap > h3 { margin: 0 0 4px; font-size: 20px; }
.cal-nav {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin: 12px 0;
}
.cal-month { font-size: 18px; font-weight: 800; min-width: 140px; text-align: center; color: #2b2b2b; }
.cal-legend {
  display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: #777;
  margin: 0 0 16px; padding: 10px 14px; background: #faf8f3; border-radius: 10px;
}
.cal-dot {
  display: inline-block; width: 12px; height: 12px; border-radius: 4px;
  margin-right: 5px; vertical-align: -1px; border: 1px solid #ccc;
}
.cal-dot-default { background: #fff; }
.cal-dot-custom { background: #fff3cd; border-color: #e6cf5a; }
.cal-dot-full { background: #fdecea; border-color: #e6b3ad; }

.cal-table { width: 100%; border-collapse: separate; border-spacing: 5px; table-layout: fixed; }
.cal-table th {
  color: #aaa; font-weight: 700; font-size: 11px; padding: 6px 0 10px;
  text-align: center; text-transform: uppercase; letter-spacing: .5px;
}
.cal-table th:first-child { color: #e88a8d; }
.cal-table th:last-child { color: #8aa0e8; }

.cal-cell {
  border: 1px solid #ece6d8; border-radius: 10px; padding: 8px 4px;
  text-align: center; vertical-align: top; height: 74px;
  transition: all .15s ease; background: #fff; position: relative;
}
.cal-day { font-weight: 800; font-size: 15px; margin-bottom: 4px; color: #2b2b2b; }
.cal-meta { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.cal-cnt { font-size: 11px; color: #bbb; font-weight: 600; }
.cal-badge {
  font-size: 9px; padding: 1px 6px; border-radius: 999px;
  background: #fff3cd; color: #8a6d00; font-weight: 700;
}

/* clickable cells (settings = all; pan-open = data-open="1") */
.cal-cell:hover, .cal-cell[data-open="1"]:hover {
  background: #fffaeb; border-color: #f5c518; transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(245,197,24,.18); cursor: pointer;
}
.cal-cell[data-open="1"]::before {
  content: '＋'; position: absolute; top: 4px; right: 7px;
  font-size: 12px; color: #f5c518; font-weight: 700; opacity: .6;
}
.cal-cell[data-open="1"]:hover::before { opacity: 1; }

/* non-clickable cells in pan-open calendar */
.cal-cell[data-open=""] { cursor: default; }
.cal-cell[data-open=""]:hover { background: #fff; border-color: #ece6d8; transform: none; box-shadow: none; }

/* weekend */
.cal-table td:nth-child(7n+1) .cal-day { color: #e88a8d; }
.cal-table td:nth-child(7n) .cal-day { color: #6e8ae8; }

/* states */
.cal-out { background: #faf8f3; }
.cal-out .cal-day { color: #ddd; }
.cal-out .cal-cnt { color: #eee; }
.cal-out:hover { background: #faf8f3 !important; transform: none !important; box-shadow: none !important; cursor: default !important; }

.cal-past { opacity: .45; }
.cal-today { background: #fffaeb !important; border: 2px solid #f5c518 !important; }
.cal-today .cal-day { color: #b58f00; }

.cal-custom { border-color: #e6cf5a; }
.cal-custom .cal-cnt { color: #8a6d00; font-weight: 700; }

.cal-full { background: #fdecea; border-color: #e6b3ad; }
.cal-full .cal-cnt { color: #c0392b; font-weight: 700; }
.cal-full::after {
  content: '마감'; position: absolute; bottom: 4px; left: 50%; transform: translateX(-50%);
  font-size: 9px; color: #c0392b; font-weight: 700;
}

/* ===== Modal ===== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(43,43,43,.45);
  backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center; z-index: 200;
  animation: modalFade .18s ease;
}
.modal-overlay.hidden { display: none; }
.modal {
  background: #fff; border-radius: 16px; padding: 28px;
  max-width: 400px; width: 90%; box-shadow: 0 12px 48px rgba(0,0,0,.2);
  animation: modalSlide .22s ease;
}
.modal h3 { margin: 0 0 4px; font-size: 18px; }
.modal form { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.modal-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.modal-actions .btn { flex: 1; text-align: center; }
.modal textarea { padding: 10px; border: 1px solid #ddd; border-radius: 8px; font-size: 14px; resize: vertical; font-family: inherit; }
.modal textarea:focus { outline: none; border-color: #f5c518; }
.confirm-summary { background: #faf8f3; border-radius: 10px; padding: 14px; margin: 12px 0; }
.confirm-summary p { margin: 4px 0; }

@keyframes modalFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalSlide { from { opacity: 0; transform: translateY(16px) scale(.97); } to { opacity: 1; transform: none; } }

/* ===== User Calendar ===== */
.ucal-table .cal-cell { cursor: default; }
.ucal-table .cal-cell:hover { background: #fff; border-color: #ece6d8; transform: none; box-shadow: none; }
.ucal-table .cal-cell.ucal-avail { cursor: pointer; }
.ucal-table .cal-cell.ucal-avail:hover {
  background: #fffaeb; border-color: #f5c518; transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245,197,24,.15);
}
.ucal-table .cal-cell.ucal-avail .cal-cnt { color: #b58f00; font-weight: 700; }
.ucal-table .cal-cell.ucal-full { background: #f5f3ee; opacity: .55; cursor: not-allowed; }
.ucal-table .cal-cell.ucal-full:hover { background: #f5f3ee; transform: none; box-shadow: none; }
.ucal-full-mark { color: #c0392b !important; font-weight: 700; }
.ucal-table .cal-cell.ucal-selected {
  background: #f5c518 !important; border-color: #efbb00 !important;
}
.ucal-table .cal-cell.ucal-selected .cal-day,
.ucal-table .cal-cell.ucal-selected .cal-cnt { color: #3a2e00; }

.cal-dot-avail { background: #fffaeb; border-color: #f5c518; }
.cal-dot-empty { background: #fff; border-color: #ddd; }
.cal-dot-whole { background: #e8f5e9; border-color: #66bb6a; }
.cal-dot-locked { background: #eef0f4; border-color: #b0b8c4; }

.ucal-table .cal-cell.ucal-whole { cursor: pointer; }
.ucal-table .cal-cell.ucal-empty { background: #f5f3ee; color: #ccc; cursor: not-allowed; }
.ucal-table .cal-cell.ucal-empty .cal-day { color: #ccc; }
.ucal-table .cal-cell.ucal-empty:hover { background: #f5f3ee; transform: none; box-shadow: none; }
.ucal-table .cal-cell.ucal-whole:hover {
  background: #e8f5e9; border-color: #66bb6a; transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102,187,106,.15);
}
.ucal-whole-mark { color: #2e7d32 !important; font-weight: 700; font-size: 10px; }

.ucal-table .cal-cell.ucal-locked { background: #f0f2f5; }
.ucal-table .cal-cell.ucal-clickable { cursor: pointer; }
.ucal-table .cal-cell.ucal-clickable:hover {
  background: #e8edf5; border-color: #8aa0c8; transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(100,120,160,.15);
}
.ucal-table .cal-cell.ucal-locked:hover { transform: none; box-shadow: none; }
.ucal-locked-mark { color: #6b7280 !important; font-weight: 600; font-size: 11px; }

.cal-badge-open { background: #e8edf5; color: #4257a6; }

.pan-list-section { max-width: 720px; margin: 28px auto 0; }
.pan-list-section > h3 { font-size: 18px; margin-bottom: 16px; }
.pan-list-section .pan-card { max-width: none; }
.pan-card-info:hover { border-color: #ece6d8; }
.pan-card-info .btn { align-self: flex-start; margin-top: 4px; }

.res-card { background: #fff; border: 1px solid #ece6d8; border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.res-card-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.res-card-actions { display: flex; gap: 8px; align-items: center; margin-top: 4px; }
.res-receive { font-size: 12px; color: #b58f00; }

.confirm-page { max-width: 480px; margin: 40px auto; }
.confirm-card { background: #fff; border: 1px solid #ece6d8; border-radius: 16px; padding: 36px 28px; text-align: center; box-shadow: 0 4px 24px rgba(0,0,0,.06); }
.confirm-icon { font-size: 56px; margin-bottom: 8px; }
.confirm-card h2 { margin: 0 0 20px; font-size: 22px; }
.confirm-summary { text-align: left; margin: 0 0 20px; }
.confirm-notice { background: #fffaeb; border: 1px solid #f5c518; border-radius: 10px; padding: 16px; margin: 0 0 24px; }
.confirm-notice p { margin: 0; color: #3a2e00; font-weight: 600; font-size: 15px; }
.confirm-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ===== Mobile Responsive ===== */
@media (max-width: 640px) {
  .nav { padding: 10px 14px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .nav-links { gap: 12px; flex-wrap: nowrap; white-space: nowrap; }
  .nav-links a, .nav-links .link-btn { font-size: 13px; flex-shrink: 0; }
  .brand { font-size: 16px; flex-shrink: 0; }
  .user { font-size: 12px; flex-shrink: 0; }

  .container { margin: 16px auto; padding: 0 14px; }
  h2 { font-size: 20px; }
  h3 { font-size: 16px; }
  .muted { font-size: 12px; }

  .hero h1 { font-size: 24px; }
  .hero .sub { font-size: 14px; }
  .intro-hero { padding: 28px 0 20px; }
  .intro-hero h1 { font-size: 26px; }
  .intro-emoji { font-size: 44px; }
  .intro-sample { padding: 18px; }

  .btn { padding: 9px 14px; font-size: 13px; }
  .btn.small { padding: 5px 9px; font-size: 11px; }

  .form-wrap, .settings-card, .cal-wrap { max-width: 100%; padding: 18px 14px; }
  .form-wrap form { gap: 10px; }
  input, select { padding: 9px; font-size: 14px; }

  .pan-grid, .choice-grid { grid-template-columns: 1fr; }
  .pan-card, .res-card, .choice-card { padding: 14px; }

  .cal-table { border-spacing: 3px; }
  .cal-table th { font-size: 10px; padding: 3px 0 8px; }
  .cal-cell { height: 52px; padding: 4px 2px; border-radius: 7px; }
  .cal-day { font-size: 13px; margin-bottom: 2px; }
  .cal-cnt { font-size: 9px; }
  .cal-badge { font-size: 8px; padding: 1px 4px; }
  .cal-month { font-size: 15px; min-width: 100px; }
  .cal-nav { gap: 10px; margin: 10px 0; }
  .cal-legend { gap: 10px; font-size: 11px; padding: 8px 10px; }
  .cal-cell[data-open="1"]::before { font-size: 10px; top: 2px; right: 4px; }
  .cal-full::after { font-size: 8px; }

  .seat-board, .admin-board { max-width: 100%; gap: 5px; padding: 10px; }
  .seat { font-size: 11px; border-width: 2px; }
  .acell { padding: 4px 2px; }
  .acell .acell-no { font-size: 12px; }
  .acell .acell-name { font-size: 10px; }

  .seat-actions { flex-wrap: wrap; gap: 8px; }
  .seat-actions span { font-size: 13px; }
  .legend { gap: 12px; font-size: 11px; }
  .legend .dot { width: 12px; height: 12px; }

  .res-table { font-size: 12px; display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .res-table thead, .res-table tbody { display: table; width: 100%; }
  .res-table th, .res-table td { padding: 7px 5px; }
  .status-form select { font-size: 11px; padding: 4px 6px; }

  .admin-tabs { padding: 4px; gap: 3px; }
  .atab { padding: 10px 10px; font-size: 13px; }

  .kv li { font-size: 13px; padding: 7px 0; }

  .modal { padding: 20px 16px; max-width: 92%; }
  .modal h3 { font-size: 16px; }
  .modal-actions { flex-direction: column; }
  .modal-actions .btn { width: 100%; }
  .modal textarea { font-size: 13px; }

  .footer { padding: 16px 14px; }
  .footer-inner { flex-direction: column; text-align: center; gap: 8px; }

  .pan-list-section { margin: 20px auto 0; }
  .pan-list-section > h3 { font-size: 16px; }
}

/* ===== Lemon Brownie home: unofficial official edition ===== */
:root {
  --lb-ink: #11100d;
  --lb-paper: #f0e4cf;
  --lb-yellow: #ffd21f;
  --lb-acid: #d7ff25;
  --lb-red: #f0442e;
  --lb-blue: #3f5cff;
  --lb-line: rgba(17, 16, 13, .18);
}

body:has(.lb-home) {
  background: var(--lb-paper);
  color: var(--lb-ink);
}

body:has(.lb-home) .nav {
  position: relative;
  z-index: 10;
  background: var(--lb-ink);
  border-bottom: 3px solid var(--lb-yellow);
  box-shadow: none;
}

body:has(.lb-home) .brand,
body:has(.lb-home) .nav-links a,
body:has(.lb-home) .user,
body:has(.lb-home) .link-btn { color: #fff9e9; }

body:has(.lb-home) .nav-links a:hover,
body:has(.lb-home) .link-btn:hover { color: var(--lb-yellow); }

.home-container {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

.lb-home {
  width: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 8%, rgba(255, 210, 31, .46), transparent 24rem),
    var(--lb-paper);
  color: var(--lb-ink);
  padding: 20px clamp(18px, 5vw, 76px) 140px;
}

.lb-ticker {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--lb-ink);
  border-bottom: 1px solid var(--lb-ink);
  padding: 8px 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.lb-ticker span:last-child { color: var(--lb-red); }

.lb-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(280px, .94fr);
  align-items: center;
  gap: clamp(36px, 8vw, 140px);
  min-height: min(760px, calc(100vh - 100px));
  padding: clamp(46px, 8vw, 108px) 0 90px;
}

.lb-hero-copy { position: relative; z-index: 2; }

.lb-kicker,
.lb-section-mark,
.lb-final-mark {
  display: flex;
  gap: 14px;
  align-items: center;
  color: var(--lb-red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.lb-kicker::before,
.lb-section-mark::before,
.lb-final-mark::before {
  content: '';
  display: inline-block;
  width: 34px;
  height: 3px;
  background: currentColor;
}

.lb-eyebrow {
  display: inline-block;
  margin: 52px 0 12px;
  padding: 5px 10px;
  background: var(--lb-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  transform: rotate(-2deg);
}

.lb-hero h1,
.lb-manifesto h2,
.lb-collage-note h2,
.lb-review-head h2,
.lb-final h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: .88;
  text-transform: uppercase;
}

.lb-hero h1 {
  display: flex;
  flex-direction: column;
  font-size: clamp(88px, 14vw, 205px);
}

.outlined-word {
  color: transparent;
  -webkit-text-stroke: 2px var(--lb-ink);
}

.lb-lede {
  margin: 30px 0 26px;
  font-size: clamp(18px, 2.2vw, 28px);
  line-height: 1.2;
  letter-spacing: -.04em;
}

.lb-lede strong { background: var(--lb-yellow); padding: 0 5px; }

.lb-hero-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

.lb-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  min-width: 190px;
  padding: 15px 18px;
  border: 2px solid var(--lb-ink);
  background: var(--lb-yellow);
  color: var(--lb-ink);
  box-shadow: 5px 5px 0 var(--lb-ink);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

.lb-button:hover,
.lb-button:focus-visible {
  background: var(--lb-acid);
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--lb-ink);
}

.lb-open-note { font-size: 11px; font-weight: 800; }
.lb-open-note i { display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; background: #1e9f61; box-shadow: 0 0 0 4px rgba(30, 159, 97, .16); }
.lb-microcopy { margin: 26px 0 0; color: rgba(17, 16, 13, .58); font-size: 11px; }

.asset-frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0;
  border: 3px solid var(--lb-ink);
  background: var(--lb-ink);
  box-shadow: 8px 8px 0 var(--lb-ink);
  cursor: pointer;
  outline: none;
}

.asset-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(125deg, rgba(255, 210, 31, .28), rgba(17, 16, 13, .14));
  mix-blend-mode: multiply;
  transition: opacity .35s ease;
}

.asset-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(18px) saturate(.65) contrast(.88);
  transform: scale(1.1);
  transition: filter .45s ease, transform .55s cubic-bezier(.2,.7,.2,1);
}

.asset-frame:hover img,
.asset-frame:focus img,
.asset-frame:focus-within img {
  filter: none;
  transform: scale(1.02);
}

.asset-frame:hover::after,
.asset-frame:focus::after,
.asset-frame:focus-within::after { opacity: 0; }

.asset-frame:focus-visible { outline: 4px solid var(--lb-blue); outline-offset: 6px; }

.asset-frame figcaption {
  position: absolute;
  z-index: 2;
  right: 10px;
  bottom: 8px;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  text-shadow: 0 1px 2px #000;
  text-transform: uppercase;
}

.reveal-label {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  padding: 9px 12px;
  border: 2px solid #fff;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  transform: translate(-50%, -50%) rotate(-5deg);
  transition: opacity .3s ease, transform .3s ease;
  white-space: nowrap;
}

.asset-frame:hover .reveal-label,
.asset-frame:focus .reveal-label,
.asset-frame:focus-within .reveal-label { opacity: 0; transform: translate(-50%, -50%) scale(1.2) rotate(0); }

.hero-frame {
  height: min(590px, 62vw);
  min-height: 440px;
  transform: rotate(2.5deg);
}

.hero-frame img { object-position: center; }

.lb-sticker {
  position: absolute;
  z-index: 3;
  padding: 12px 14px;
  border: 2px solid var(--lb-ink);
  color: var(--lb-ink);
  font-size: 13px;
  font-weight: 900;
  line-height: .95;
  text-align: center;
  box-shadow: 4px 4px 0 var(--lb-ink);
  transform: rotate(-9deg);
}

.sticker-yellow { right: 41%; bottom: 70px; background: var(--lb-yellow); }
.sticker-red { right: 7%; top: 13%; background: var(--lb-red); transform: rotate(10deg); }

.lb-manifesto {
  display: grid;
  grid-template-columns: .7fr 1.5fr .5fr;
  gap: 28px;
  align-items: start;
  border-top: 1px solid var(--lb-ink);
  border-bottom: 1px solid var(--lb-ink);
  padding: 76px 0 88px;
}

.lb-manifesto h2 { font-size: clamp(56px, 9vw, 128px); }
.lb-manifesto h2 em { color: var(--lb-red); font-style: normal; }
.lb-manifesto p { max-width: 520px; margin: 32px 0 0; font-size: clamp(15px, 1.7vw, 21px); line-height: 1.5; letter-spacing: -.04em; }
.lb-manifesto-stamp { justify-self: end; padding: 18px 14px; border: 3px solid var(--lb-ink); border-radius: 50%; color: var(--lb-red); font-size: 14px; font-weight: 900; line-height: 1; text-align: center; transform: rotate(14deg); }

.lb-collage {
  display: grid;
  grid-template-columns: .75fr .9fr 1.25fr;
  gap: clamp(18px, 4vw, 54px);
  align-items: center;
  padding: 108px 0 124px;
}

.lb-collage-note { padding: 10px 0; }
.lb-collage-note h2 { margin-top: 44px; font-size: clamp(54px, 8vw, 116px); }
.lb-collage-note h2 span { color: var(--lb-blue); }
.lb-collage-note p { max-width: 280px; margin: 28px 0 0; font-size: 15px; line-height: 1.55; }
.hand-note { display: inline-block; margin-top: 34px; color: var(--lb-red); font-family: "Comic Sans MS", cursive; font-size: 16px; transform: rotate(-6deg); }

.collage-pair { height: 410px; transform: rotate(-4deg); }
.collage-pair img { object-fit: contain; background: #d8f000; }
.collage-bus { height: 290px; transform: rotate(3deg); }
.collage-bus img { object-position: center; }

.lb-facts { padding: 78px 0 112px; }
.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.fact-card { min-height: 230px; padding: 24px; border: 3px solid var(--lb-ink); box-shadow: 6px 6px 0 var(--lb-ink); }
.fact-card:nth-child(2) { transform: translateY(24px) rotate(1.3deg); }
.fact-card:nth-child(3) { transform: rotate(-1.5deg); }
.fact-card span { display: block; font-size: 11px; font-weight: 900; }
.fact-card h3 { margin: 48px 0 10px; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(38px, 5vw, 72px); letter-spacing: -.04em; line-height: .9; text-transform: uppercase; }
.fact-card p { max-width: 250px; margin: 0; font-size: 13px; line-height: 1.5; }
.fact-yellow { background: var(--lb-yellow); }
.fact-blue { background: var(--lb-blue); color: #fff; }
.fact-blue h3, .fact-blue p { color: #fff; }
.fact-red { background: var(--lb-red); }

.lb-reviews {
  margin: 0 calc(clamp(18px, 5vw, 76px) * -1);
  padding: 90px clamp(18px, 5vw, 76px) 120px;
  background: var(--lb-ink);
  color: #fff9e9;
}

.lb-reviews .lb-section-mark { color: var(--lb-yellow); }
.lb-review-head { display: grid; grid-template-columns: .7fr 1.3fr .65fr; gap: 30px; align-items: start; }
.lb-review-head h2 { font-size: clamp(56px, 8vw, 116px); }
.lb-review-head h2 span { color: var(--lb-yellow); }
.lb-review-head p { max-width: 220px; margin: 0; color: rgba(255, 249, 233, .66); font-size: 13px; line-height: 1.6; }

.review-grid { display: grid; grid-template-columns: 1.15fr .7fr 1.15fr; gap: 34px 22px; align-items: start; margin-top: 78px; }
.review-frame { border-color: #fff9e9; box-shadow: 8px 8px 0 var(--lb-yellow); }
.review-frame figcaption { color: var(--lb-yellow); }
.review-wide { height: 250px; }
.review-tall { height: 330px; transform: translateY(64px) rotate(2deg); }
.review-photo { grid-column: 2 / 4; width: 75%; height: 250px; justify-self: end; transform: rotate(-2deg); }

.lb-final { padding: 136px 0 50px; text-align: center; }
.lb-final .lb-final-mark { justify-content: center; color: var(--lb-red); }
.lb-final h2 { margin-top: 34px; font-size: clamp(70px, 13vw, 180px); }
.lb-final h2 span { color: var(--lb-blue); }
.lb-final p { margin: 26px 0 32px; font-size: 14px; }
.lb-button-dark { background: var(--lb-ink); color: #fff9e9; box-shadow: 5px 5px 0 var(--lb-red); }
.lb-button-dark:hover, .lb-button-dark:focus-visible { background: var(--lb-red); color: var(--lb-ink); }

.floating-reserve {
  position: fixed;
  z-index: 100;
  right: clamp(14px, 4vw, 54px);
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 174px;
  padding: 13px 16px;
  border: 2px solid var(--lb-ink);
  background: var(--lb-yellow);
  color: var(--lb-ink);
  box-shadow: 5px 5px 0 var(--lb-ink);
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  transform: rotate(-2deg);
  transition: transform .16s ease, background .16s ease;
}

.floating-reserve:hover,
.floating-reserve:focus-visible { background: var(--lb-acid); transform: rotate(0) translateY(-3px); }
.floating-reserve-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lb-red); box-shadow: 0 0 0 4px rgba(240, 68, 46, .18); }
.floating-reserve-note { margin-left: auto; font-size: 9px; letter-spacing: .04em; }

body:has(.lb-home) .footer { background: var(--lb-ink); border-top: 3px solid var(--lb-yellow); color: #fff9e9; }
body:has(.lb-home) .footer-links a, body:has(.lb-home) .footer-copy { color: rgba(255, 249, 233, .66); }

@media (max-width: 900px) {
  .lb-hero { grid-template-columns: 1fr .8fr; gap: 30px; }
  .hero-frame { min-height: 360px; }
  .lb-manifesto { grid-template-columns: .45fr 1.55fr; }
  .lb-manifesto-stamp { display: none; }
  .lb-collage { grid-template-columns: .8fr 1fr; }
  .lb-collage-note { grid-row: span 2; }
  .collage-bus { width: 90%; justify-self: end; }
  .lb-review-head { grid-template-columns: .5fr 1.5fr; }
  .lb-review-head p { grid-column: 2; }
}

@media (max-width: 640px) {
  .lb-home { padding: 12px 14px 120px; }
  .lb-ticker { display: block; line-height: 1.7; }
  .lb-ticker span { display: block; }
  .lb-ticker span:not(:first-child) { display: none; }
  .lb-hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; gap: 38px; padding: 48px 0 76px; }
  .lb-kicker { font-size: 9px; }
  .lb-eyebrow { margin-top: 34px; }
  .lb-hero h1 { font-size: clamp(76px, 22vw, 126px); }
  .outlined-word { -webkit-text-stroke-width: 1px; }
  .lb-lede { margin-top: 24px; font-size: 20px; }
  .lb-microcopy { max-width: 250px; line-height: 1.4; }
  .hero-frame { width: 86%; height: 450px; min-height: 0; align-self: center; }
  .sticker-yellow { right: 3%; bottom: 66px; }
  .sticker-red { right: 0; top: 33%; }
  .lb-manifesto { display: block; padding: 62px 0 70px; }
  .lb-manifesto h2 { margin-top: 32px; font-size: 64px; }
  .lb-manifesto p { font-size: 16px; }
  .lb-collage { display: flex; flex-direction: column; align-items: stretch; padding: 76px 0 84px; gap: 48px; }
  .lb-collage-note h2 { margin-top: 32px; font-size: 66px; }
  .collage-pair { width: 78%; height: 340px; align-self: flex-start; }
  .collage-bus { width: 88%; height: 240px; align-self: flex-end; }
  .lb-facts { padding: 60px 0 90px; }
  .fact-grid { display: flex; flex-direction: column; gap: 24px; }
  .fact-card { min-height: 200px; }
  .fact-card:nth-child(2), .fact-card:nth-child(3) { transform: none; }
  .fact-card h3 { margin-top: 40px; font-size: 56px; }
  .lb-reviews { margin: 0 -14px; padding: 70px 14px 90px; }
  .lb-review-head { display: block; }
  .lb-review-head h2 { margin-top: 34px; font-size: 64px; }
  .lb-review-head p { margin-top: 24px; }
  .review-grid { display: flex; flex-direction: column; gap: 32px; margin-top: 58px; }
  .review-frame, .review-wide, .review-tall, .review-photo { width: 100%; height: auto; min-height: 210px; transform: none; }
  .review-tall { min-height: 280px; }
  .lb-final { padding: 90px 0 26px; }
  .lb-final h2 { font-size: 78px; }
  .floating-reserve { right: 12px; bottom: 12px; left: 12px; min-width: 0; justify-content: center; box-shadow: 4px 4px 0 var(--lb-ink); }
  .floating-reserve-note { margin-left: 8px; }
}

/* ===== Minimal image wall home ===== */
body:has(.lb-minimal) {
  overflow-x: hidden;
  background: #ead9bb;
}

body:has(.lb-minimal) .nav { padding-top: 10px; padding-bottom: 10px; }

.lb-minimal {
  position: relative;
  min-height: calc(100svh - 52px);
  padding: 12px clamp(12px, 3vw, 42px) 78px;
  background:
    radial-gradient(circle at 12% 18%, rgba(215, 255, 37, .68), transparent 18rem),
    radial-gradient(circle at 90% 82%, rgba(240, 68, 46, .18), transparent 20rem),
    #ead9bb;
}

.minimal-topline {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 26px;
  border-top: 1px solid var(--lb-ink);
  border-bottom: 1px solid var(--lb-ink);
  color: var(--lb-ink);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.minimal-meta { color: var(--lb-red); }

.image-wall {
  position: relative;
  isolation: isolate;
  width: 100%;
  height: min(760px, calc(100svh - 112px));
  min-height: 530px;
  overflow: hidden;
}

.wall-title {
  position: absolute;
  z-index: 1;
  top: 4%;
  left: 50%;
  margin: 0;
  color: var(--lb-ink);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(46px, 9vw, 132px);
  letter-spacing: -.08em;
  line-height: .8;
  opacity: .12;
  text-align: center;
  text-transform: uppercase;
  transform: translateX(-50%) rotate(-4deg);
  white-space: nowrap;
}

.wall-item {
  position: absolute;
  border-width: 3px;
  box-shadow: 6px 6px 0 var(--lb-ink);
}

.wall-item figcaption { font-size: 8px; }
.wall-item .reveal-label { font-size: 9px; }

.wall-item img { object-position: center; }

.wall-hero {
  top: 5%;
  left: 31%;
  z-index: 4;
  width: 34%;
  height: 77%;
  transform: rotate(2.5deg);
}

.wall-hero img { object-position: center 54%; }

.wall-pair {
  top: 6%;
  left: 3%;
  z-index: 6;
  width: 29%;
  height: 37%;
  transform: rotate(-6deg);
}

.wall-pair img { object-fit: contain; background: var(--lb-acid); }

.wall-bus {
  top: 6%;
  right: 3%;
  z-index: 3;
  width: 34%;
  height: 32%;
  transform: rotate(4deg);
}

.wall-review-photo {
  bottom: 6%;
  left: 6%;
  z-index: 7;
  width: 29%;
  height: 34%;
  transform: rotate(-4deg);
}

.wall-review-gamja {
  bottom: 2%;
  left: 24%;
  z-index: 8;
  width: 34%;
  height: 22%;
  transform: rotate(-2deg);
}

.wall-review-happy {
  right: 25%;
  bottom: 1%;
  z-index: 9;
  width: 38%;
  height: 21%;
  transform: rotate(2deg);
}

.wall-review-red {
  right: 4%;
  bottom: 9%;
  z-index: 7;
  width: 23%;
  height: 45%;
  transform: rotate(5deg);
}

.wall-review-gamja img,
.wall-review-happy img,
.wall-review-red img { object-fit: contain; background: #050505; }

.wall-sticker {
  position: absolute;
  z-index: 12;
  pointer-events: none;
  border: 2px solid var(--lb-ink);
  color: var(--lb-ink);
  font-weight: 900;
  line-height: .85;
  text-align: center;
  box-shadow: 4px 4px 0 var(--lb-ink);
}

.sticker-acid {
  top: 39%;
  left: 7%;
  padding: 12px 15px;
  background: var(--lb-acid);
  font-size: 30px;
  transform: rotate(-14deg);
}

.sticker-red {
  top: 42%;
  right: 25%;
  padding: 9px 11px;
  background: var(--lb-red);
  font-size: 22px;
  transform: rotate(10deg);
}

.sticker-black {
  bottom: 31%;
  left: 43%;
  padding: 8px 10px;
  background: var(--lb-ink);
  color: #fff9e9;
  font-size: 9px;
  letter-spacing: .08em;
  transform: rotate(-5deg);
}

@media (max-width: 640px) {
  .lb-minimal { min-height: calc(100svh - 48px); padding: 10px 10px 70px; }
  .minimal-topline { font-size: 8px; }
  .minimal-meta { font-size: 0; }
  .minimal-meta::after { content: 'hover / reveal'; font-size: 8px; }
  .image-wall { height: calc(100svh - 106px); min-height: 550px; }
  .wall-title { top: 8%; font-size: 64px; }
  .wall-hero { top: 13%; left: 24%; width: 51%; height: 54%; }
  .wall-pair { top: 5%; left: 0; width: 40%; height: 28%; }
  .wall-bus { top: 7%; right: 0; width: 42%; height: 24%; }
  .wall-review-photo { bottom: 6%; left: 0; width: 39%; height: 29%; }
  .wall-review-red { right: 0; bottom: 5%; width: 31%; height: 39%; }
  .wall-review-gamja { bottom: 2%; left: 17%; width: 46%; height: 17%; }
  .wall-review-happy { right: 22%; bottom: 0; width: 50%; height: 16%; }
  .sticker-acid { top: 39%; left: 2%; padding: 8px 10px; font-size: 22px; }
  .sticker-red { top: 42%; right: 19%; padding: 6px 8px; font-size: 16px; }
  .sticker-black { bottom: 31%; left: 39%; font-size: 7px; }
  .floating-reserve { bottom: 10px; }
}

/* ===== Pinboard treatment ===== */
.lb-minimal {
  padding-top: 16px;
}

.image-wall {
  width: min(1180px, 100%);
  height: min(640px, calc(100svh - 180px));
  min-height: 480px;
  margin: 16px auto 0;
  overflow: hidden;
  border: 12px solid #1b1814;
  border-radius: 4px;
  background-color: #b7855f;
  background-image:
    radial-gradient(rgba(255, 237, 198, .16) 1px, transparent 1px),
    repeating-linear-gradient(8deg, transparent 0 11px, rgba(74, 41, 22, .08) 12px 13px);
  background-size: 18px 18px, auto;
  box-shadow: 0 11px 0 #1b1814, inset 0 0 0 2px rgba(255, 232, 190, .3);
}

.wall-title {
  top: 3%;
  left: 50%;
  z-index: 2;
  padding: 7px 12px 5px;
  border: 2px solid var(--lb-ink);
  background: var(--lb-yellow);
  font-size: clamp(20px, 3vw, 34px);
  letter-spacing: -.04em;
  opacity: 1;
  transform: translateX(-50%) rotate(-2deg);
}

.wall-item {
  padding: 9px 9px 25px;
  border: 1px solid #28231d;
  border-radius: 1px;
  background: #faf6e9;
  box-shadow: 5px 7px 0 rgba(27, 24, 20, .55);
}

.wall-item::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 50%;
  z-index: 12;
  width: 15px;
  height: 15px;
  border: 1px solid rgba(27, 24, 20, .55);
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #fff6db 0 12%, var(--lb-red) 17% 62%, #9d1e18 65% 100%);
  box-shadow: 1px 2px 2px rgba(27, 24, 20, .45);
  transform: translateX(-50%);
}

.wall-item img {
  position: relative;
  z-index: 0;
  height: calc(100% - 17px);
  border: 1px solid rgba(27, 24, 20, .18);
}

.wall-item figcaption {
  right: 10px;
  bottom: 6px;
  z-index: 4;
  color: var(--lb-ink);
  font-size: 8px;
  text-shadow: none;
}

.wall-item .reveal-label {
  z-index: 5;
  border-color: var(--lb-ink);
  color: var(--lb-ink);
  background: rgba(250, 246, 233, .68);
  text-shadow: none;
}

.wall-item:hover,
.wall-item:focus { z-index: 20; }

.wall-hero {
  top: 14%;
  left: 33%;
  width: 19%;
  height: 58%;
  transform: rotate(2.5deg);
}

.wall-pair {
  top: 12%;
  left: 8%;
  width: 21%;
  height: 32%;
  transform: rotate(-5deg);
}

.wall-bus {
  top: 12%;
  right: 8%;
  width: 27%;
  height: 29%;
  transform: rotate(3deg);
}

.wall-review-photo {
  bottom: 10%;
  left: 7%;
  width: 22%;
  height: 29%;
  transform: rotate(-4deg);
}

.wall-review-gamja {
  bottom: 7%;
  left: 30%;
  width: 25%;
  height: 20%;
  transform: rotate(-2deg);
}

.wall-review-happy {
  right: 29%;
  bottom: 7%;
  width: 28%;
  height: 20%;
  transform: rotate(2deg);
}

.wall-review-red {
  right: 7%;
  bottom: 9%;
  width: 18%;
  height: 39%;
  transform: rotate(5deg);
}

.wall-pair::before { background: radial-gradient(circle at 34% 28%, #fff6db 0 12%, var(--lb-blue) 17% 62%, #263ca7 65% 100%); }
.wall-bus::before { background: radial-gradient(circle at 34% 28%, #fff6db 0 12%, var(--lb-yellow) 17% 62%, #b38200 65% 100%); }
.wall-review-photo::before { background: radial-gradient(circle at 34% 28%, #fff6db 0 12%, #242424 17% 62%, #000 65% 100%); }
.wall-review-gamja::before, .wall-review-happy::before { background: radial-gradient(circle at 34% 28%, #fff6db 0 12%, var(--lb-acid) 17% 62%, #83a000 65% 100%); }

.sticker-acid {
  top: 43%;
  left: 26%;
  padding: 8px 11px;
  font-size: 23px;
}

.sticker-red {
  top: 38%;
  right: 27%;
  padding: 6px 8px;
  font-size: 16px;
}

.sticker-black {
  bottom: 29%;
  left: 54%;
  font-size: 8px;
}

@media (max-width: 640px) {
  .lb-minimal { padding-top: 10px; }
  .image-wall {
    height: min(590px, calc(100svh - 155px));
    min-height: 470px;
    margin-top: 12px;
    border-width: 8px;
  }
  .wall-title { top: 3%; font-size: 20px; }
  .wall-item { padding: 6px 6px 19px; box-shadow: 3px 5px 0 rgba(27, 24, 20, .55); }
  .wall-item::before { top: 5px; width: 12px; height: 12px; }
  .wall-item img { height: calc(100% - 13px); }
  .wall-item figcaption { right: 6px; bottom: 4px; font-size: 6px; }
  .wall-item .reveal-label { padding: 5px 7px; font-size: 7px; }
  .wall-hero { top: 16%; left: 34%; width: 32%; height: 48%; }
  .wall-pair { top: 10%; left: 5%; width: 31%; height: 27%; }
  .wall-bus { top: 10%; right: 4%; width: 35%; height: 24%; }
  .wall-review-photo { bottom: 10%; left: 4%; width: 31%; height: 25%; }
  .wall-review-gamja { bottom: 4%; left: 23%; width: 39%; height: 16%; }
  .wall-review-happy { right: 20%; bottom: 3%; width: 42%; height: 16%; }
  .wall-review-red { right: 3%; bottom: 9%; width: 25%; height: 33%; }
  .sticker-acid { top: 42%; left: 26%; font-size: 17px; }
  .sticker-red { top: 38%; right: 24%; font-size: 12px; }
  .sticker-black { bottom: 28%; left: 54%; font-size: 6px; }
}

/* ===== Responsive polish: match the original Lemon Brownie UI ===== */
body:has(.lb-minimal) {
  background: #faf8f3;
  color: #2b2b2b;
}

body:has(.lb-minimal) .nav {
  background: #fff;
  border-bottom: 1px solid #ece6d8;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .03);
}

body:has(.lb-minimal) .brand { color: #2b2b2b; }
body:has(.lb-minimal) .nav-links a,
body:has(.lb-minimal) .user { color: #555; }
body:has(.lb-minimal) .link-btn { color: #b58f00; }
body:has(.lb-minimal) .nav-links a:hover,
body:has(.lb-minimal) .link-btn:hover { color: #b58f00; }

body:has(.lb-minimal) .footer {
  display: block;
  background: #fff;
  border-top: 1px solid #ece6d8;
  color: #2b2b2b;
}

body:has(.lb-minimal) .footer-links a,
body:has(.lb-minimal) .footer-copy { color: #999; }

.lb-minimal {
  min-height: auto;
  padding: 18px clamp(14px, 4vw, 42px) 104px;
  background: #faf8f3;
}

.minimal-topline {
  border-color: #ece6d8;
  color: #777;
  font-size: 10px;
}

.minimal-logo { color: #2b2b2b; }
.minimal-meta { color: #b58f00; }

.image-wall {
  width: min(1080px, 100%);
  height: clamp(440px, 68svh, 620px);
  min-height: 440px;
  margin-top: 18px;
  border: 1px solid #ece6d8;
  border-radius: 16px;
  background-color: #f6f1e7;
  background-image:
    radial-gradient(rgba(181, 143, 0, .08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .24), rgba(255, 255, 255, .24));
  background-size: 18px 18px, auto;
  box-shadow: 0 2px 16px rgba(0, 0, 0, .05), inset 0 0 0 6px rgba(255, 255, 255, .35);
}

.wall-title {
  padding: 6px 10px 4px;
  border: 1px solid #e6cf5a;
  border-radius: 8px;
  background: #fff3cd;
  color: #8a6d00;
  font-size: clamp(18px, 2.8vw, 30px);
  opacity: .94;
}

.wall-item {
  padding: 8px 8px 24px;
  border: 1px solid #ece6d8;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(43, 43, 43, .12);
}

.wall-item::before {
  top: 6px;
  width: 14px;
  height: 14px;
  border-color: rgba(181, 143, 0, .42);
  background: radial-gradient(circle at 34% 28%, #fff 0 12%, #f5c518 17% 62%, #b58f00 65% 100%);
  box-shadow: 0 2px 3px rgba(43, 43, 43, .18);
}

.wall-item img { border-color: #f0ece1; }
.wall-item figcaption { color: #999; }

.wall-item .reveal-label {
  border: 1px solid #b58f00;
  border-radius: 6px;
  background: rgba(255, 250, 235, .76);
  color: #8a6d00;
}

.wall-pair::before,
.wall-bus::before,
.wall-review-photo::before,
.wall-review-gamja::before,
.wall-review-happy::before { background: radial-gradient(circle at 34% 28%, #fff 0 12%, #f5c518 17% 62%, #b58f00 65% 100%); }

.wall-pair { transform: rotate(-4deg); }
.wall-bus { transform: rotate(3deg); }
.wall-review-photo { transform: rotate(-3deg); }
.wall-review-gamja { transform: rotate(-1.5deg); }
.wall-review-happy { transform: rotate(1.5deg); }
.wall-review-red { transform: rotate(3deg); }

.wall-sticker {
  border: 1px dashed #e6cf5a;
  border-radius: 7px;
  box-shadow: none;
  background: #fff3cd;
  color: #8a6d00;
}

.sticker-acid { padding: 7px 9px; background: #fff3cd; font-size: 20px; }
.sticker-red { padding: 5px 7px; background: #fdecea; border-color: #e6b3ad; color: #c0392b; font-size: 14px; }
.sticker-black { padding: 6px 8px; background: #fff; border-color: #ddd; color: #777; font-size: 7px; }

.floating-reserve {
  right: clamp(14px, 4vw, 42px);
  bottom: 18px;
  min-width: 170px;
  padding: 11px 15px;
  border: 1px solid #e6cf5a;
  border-radius: 8px;
  background: #f5c518;
  color: #3a2e00;
  box-shadow: 0 4px 12px rgba(181, 143, 0, .22);
  transform: none;
}

.floating-reserve:hover,
.floating-reserve:focus-visible {
  background: #efbb00;
  transform: translateY(-2px);
}

.floating-reserve-dot { background: #c0392b; box-shadow: 0 0 0 3px rgba(192, 57, 43, .14); }

@media (max-width: 900px) {
  .image-wall { height: clamp(430px, 64svh, 560px); min-height: 430px; }
  .wall-hero { left: 32%; width: 21%; }
  .wall-pair { left: 6%; width: 23%; }
  .wall-bus { right: 6%; width: 29%; }
  .wall-review-photo { left: 6%; width: 24%; }
  .wall-review-gamja { left: 29%; width: 27%; }
  .wall-review-happy { right: 27%; width: 30%; }
  .wall-review-red { right: 6%; width: 20%; }
}

@media (max-width: 640px) {
  .lb-minimal { padding: 12px 12px 96px; }
  .minimal-topline { min-height: 24px; font-size: 8px; }
  .image-wall {
    height: clamp(430px, 64svh, 540px);
    min-height: 430px;
    margin-top: 14px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .05), inset 0 0 0 4px rgba(255, 255, 255, .35);
  }
  .wall-title { top: 3%; font-size: 18px; }
  .wall-item { padding: 6px 6px 19px; border-radius: 7px; box-shadow: 0 3px 8px rgba(43, 43, 43, .12); }
  .wall-item::before { top: 5px; width: 12px; height: 12px; }
  .wall-item img { height: calc(100% - 13px); }
  .wall-item figcaption { right: 6px; bottom: 4px; font-size: 6px; }
  .wall-item .reveal-label { padding: 5px 7px; font-size: 7px; }
  .wall-hero { top: 16%; left: 34%; width: 32%; height: 48%; }
  .wall-pair { top: 10%; left: 5%; width: 31%; height: 27%; }
  .wall-bus { top: 10%; right: 4%; width: 35%; height: 24%; }
  .wall-review-photo { bottom: 10%; left: 4%; width: 31%; height: 25%; }
  .wall-review-gamja { bottom: 4%; left: 23%; width: 39%; height: 16%; }
  .wall-review-happy { right: 20%; bottom: 3%; width: 42%; height: 16%; }
  .wall-review-red { right: 3%; bottom: 9%; width: 25%; height: 33%; }
  .sticker-acid { top: 42%; left: 26%; padding: 5px 7px; font-size: 16px; }
  .sticker-red { top: 38%; right: 24%; padding: 4px 6px; font-size: 11px; }
  .sticker-black { bottom: 28%; left: 54%; padding: 4px 6px; font-size: 6px; }
  .floating-reserve { right: 12px; bottom: 12px; left: 12px; min-width: 0; justify-content: center; }
}

/* ===== Final board geometry: scale from width, not viewport height ===== */
.image-wall {
  height: auto;
  min-height: 0;
  max-height: none;
  aspect-ratio: 1.65 / 1;
}

.wall-item {
  padding: clamp(4px, .8vw, 8px) clamp(4px, .8vw, 8px) clamp(16px, 2vw, 24px);
}

.wall-item img {
  height: calc(100% - clamp(12px, 1.7vw, 17px));
}

@media (max-width: 900px) {
  .image-wall { aspect-ratio: 1.45 / 1; }
}

@media (max-width: 640px) {
  .image-wall {
    height: auto;
    min-height: 0;
    aspect-ratio: 1.08 / 1;
  }
  .wall-item img { height: calc(100% - 13px); }
}

@media (max-width: 480px) {
  .image-wall { aspect-ratio: .96 / 1; }
}

/* ===== Desktop board sizing ===== */

.board-reserve {
  display: flex;
  justify-content: center;
  padding: 22px 0 0;
}

.board-reserve-button {
  position: relative;
  right: auto;
  bottom: auto;
  left: auto;
  justify-content: center;
  gap: 0;
  min-width: 280px;
  padding: 16px 24px;
  border-radius: 10px;
  font-size: 18px;
  box-shadow: 0 5px 14px rgba(181, 143, 0, .25);
  transform: none;
}

.board-reserve-button:hover,
.board-reserve-button:focus-visible { transform: translateY(-2px); }

.board-reserve-button .floating-reserve-dot {
  position: absolute;
  left: 24px;
}

@media (max-width: 900px) {
  .board-reserve { padding-top: 18px; }
}

@media (max-width: 640px) {
  .board-reserve { padding-top: 16px; }
  .board-reserve-button {
    width: min(100%, 340px);
    min-width: 0;
    padding: 15px 20px;
    font-size: 17px;
  }
  .board-reserve-button .floating-reserve-dot { left: 20px; }
}

@media (min-width: 901px) {
  .lb-minimal {
    padding-right: clamp(24px, 4vw, 64px);
    padding-left: clamp(24px, 4vw, 64px);
  }

  .image-wall {
    width: min(1400px, calc(100vw - 120px));
    height: min(760px, calc(100svh - 250px));
    min-height: 520px;
    aspect-ratio: auto;
  }
}

/* ===== Final visual note ===== */
.lb-minimal .wall-item img {
  filter: none;
  transform: none;
}

.lb-minimal .wall-item::after { opacity: 0; }
.lb-minimal .wall-item figcaption,
.lb-minimal .wall-item .reveal-label { display: none; }

.masking-tape {
  position: absolute;
  top: 52%;
  left: 50%;
  z-index: 30;
  width: min(720px, 72%);
  padding: clamp(16px, 2.3vw, 28px) 18px;
  border: 1px solid rgba(130, 106, 58, .38);
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .1) 0 7px, rgba(164, 132, 70, .06) 8px 13px),
    rgba(242, 215, 157, .94);
  box-shadow: 0 7px 12px rgba(43, 43, 43, .2);
  color: #655331;
  font-family: "Comic Sans MS", "Apple SD Gothic Neo", cursive;
  font-size: clamp(22px, 4.4vw, 56px);
  font-weight: 900;
  letter-spacing: -.1em;
  line-height: 1;
  text-align: center;
  transform: translate(-50%, -50%) rotate(-7deg);
  clip-path: polygon(1% 7%, 99% 0, 100% 91%, 2% 100%, 0 48%);
  pointer-events: none;
}

@media (max-width: 640px) {
  .masking-tape {
    top: 52%;
    width: 88%;
    padding: 15px 10px;
    font-size: clamp(21px, 7vw, 32px);
  }
}

.masking-tape-secondary {
  top: 70%;
  left: 34%;
  z-index: 29;
  width: min(520px, 52%);
  padding: clamp(12px, 1.8vw, 20px) 14px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .1) 0 7px, rgba(164, 132, 70, .06) 8px 13px),
    rgba(235, 205, 148, .94);
  font-size: clamp(17px, 2.8vw, 36px);
  transform: translate(-50%, -50%) rotate(5deg);
}

@media (max-width: 640px) {
  .masking-tape-secondary {
    top: 70%;
    left: 35%;
    width: 78%;
    padding: 10px 8px;
    font-size: clamp(16px, 5.5vw, 25px);
  }
}
