* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { height: 100%; margin: 0; overflow: hidden; overscroll-behavior: none; }
body {
  color: #1f2f2d;
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  user-select: none;
  -webkit-user-select: none;
  word-break: keep-all;
}
:focus-visible { outline: 3px solid #f2b84b; outline-offset: 2px; }
.pill { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 12px; border-radius: 20px; background: rgba(20, 31, 30, 0.72); color: #fff; font-size: 14px; font-variant-numeric: tabular-nums; }
.pill b { color: #f2b84b; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 15px; border: 0; border-radius: 12px; background: #f2b84b; color: #2a2112; font: inherit; font-size: 15px; font-weight: 800; text-decoration: none; cursor: pointer; }
.btn.ghost { background: rgba(255, 255, 255, 0.16); color: #fff; }
.btn.ghost-dark { background: #e7e1d4; color: #1f2f2d; }
.btn.wide { width: 100%; }
.toast { position: fixed; left: 50%; top: 18%; z-index: 30; max-width: calc(100vw - 32px); padding: 9px 16px; border-radius: 20px; background: rgba(20, 31, 30, 0.92); color: #fff; font-size: 15px; font-weight: 700; text-align: center; pointer-events: none; opacity: 0; transform: translateX(-50%); transition: opacity 0.18s; }
.toast.show { opacity: 1; }
.modal { position: fixed; inset: 0; z-index: 20; display: none; align-items: flex-end; justify-content: center; background: rgba(14, 22, 21, 0.62); }
.modal.show { display: flex; }
.sheet { display: flex; flex-direction: column; width: min(100%, 480px); max-height: 86vh; max-height: 86dvh; max-height: calc(var(--app-h, 100dvh) * 0.86); padding: 16px 16px calc(env(safe-area-inset-bottom) + 14px); border-radius: 20px 20px 0 0; background: #fffdf8; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.sheet-head h2 { margin: 0; font-size: 20px; }
.sheet-head b { color: #a86f10; }
.sheet-body { flex: 1; min-height: 0; margin-bottom: 10px; overflow: auto; }
.sheet-body h3 { margin: 10px 0 2px; color: #1f5f5a; font-size: 14px; }
.row { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 6px 0; border-bottom: 1px solid #e7e1d4; }
.row-icon { flex: none; width: 34px; font-size: 25px; text-align: center; }
.swatch { flex: none; width: 34px; height: 34px; border: 2px solid #3b3b38; border-radius: 7px; }
.row-text { flex: 1; min-width: 0; }
.row-text b { display: block; font-size: 15px; }
.row-text small { display: block; margin-top: 2px; color: #5e6d69; font-size: 12.5px; }
.row button { flex: none; min-width: 84px; min-height: 44px; padding: 0 8px; border: 0; border-radius: 10px; background: #f2b84b; color: #2a2112; font: inherit; font-size: 14px; font-weight: 800; }
.row button:disabled { background: #e7e1d4; color: #7a8582; }
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }
