
*{box-sizing:border-box}
html,body{margin:0;width:100%;max-width:100%;overflow-x:hidden}
body{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#130808;color:#fff}
.app{width:100%;max-width:760px;margin:0 auto;padding:18px 14px 80px}
.hero{padding:28px 20px;border-radius:28px;background:radial-gradient(circle at top left,#ff6534,#3a0909 55%,#160505);box-shadow:0 18px 45px rgba(0,0,0,.35);margin-bottom:16px}
.badge{display:inline-block;background:#fff;color:#8b1111;padding:6px 12px;border-radius:999px;font-weight:800;font-size:14px}
h1{font-size:34px;margin:12px 0 8px;line-height:1.15}
h2{font-size:20px;margin:0 0 12px}
p{line-height:1.5}
.open-time{margin:8px 0 0;color:#ffe5bd;font-weight:700}
.status-box{margin-top:14px;padding:14px;border-radius:16px;background:#fff;color:#1b0808;font-weight:900}
.status-open{background:#10b981!important;color:#fff!important}
.status-closed{background:#ef4444!important;color:#fff!important}
.card,.summary,.pickup-box{background:#211010;border:1px solid rgba(255,255,255,.08);border-radius:22px;padding:18px;margin:14px 0;box-shadow:0 10px 28px rgba(0,0,0,.18)}
#adminPanel{display:none}
.owner-actions,.actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:10px}
.set-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.set-card{background:#311414;border:2px solid transparent;border-radius:18px;padding:14px;display:flex;flex-direction:column;gap:6px;cursor:pointer;min-width:0}
.set-card input{display:none}
.set-card strong{font-size:22px;color:#ffd166;line-height:1.2}
.set-card small{color:#ffd9c7;font-size:15px;line-height:1.35}
.set-card.selected{border-color:#ffba08;background:#461717}
.limit{margin-top:12px;padding:10px 12px;border-radius:14px;background:#351515;color:#ffd166;font-weight:800}

.option-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.option{
  width:100%;min-width:0;min-height:54px;
  padding:12px;border-radius:15px;background:#301515;border:1px solid rgba(255,255,255,.1);
  display:flex;align-items:center;gap:12px;
}
.option input[type="checkbox"],.option input[type="radio"]{
  appearance:auto !important;
  -webkit-appearance:auto !important;
  flex:0 0 22px !important;
  width:22px !important;
  height:22px !important;
  min-width:22px !important;
  max-width:22px !important;
  margin:0 !important;
  padding:0 !important;
}
.option span{
  flex:1 1 auto;
  min-width:0;
  max-width:100%;
  display:block;
  white-space:normal;
  overflow-wrap:anywhere;
  word-break:normal;
  line-height:1.35;
  font-size:16px;
}
.option.checked{background:#4c1717;border-color:#ffba08}
.option.disabled{opacity:.42}

.hint{font-size:14px;color:#d9b8ad;margin:8px 0 12px}
.form{display:grid;gap:10px}
.text-input{width:100%;border:0;border-radius:14px;padding:13px 14px;background:#fff;color:#111;font-size:16px}
.pickup-box{background:linear-gradient(135deg,#34200b,#211010);border-color:#ffba08}
.pickup-box p{font-size:18px;margin:6px 0 8px}
pre{white-space:pre-wrap;background:#110707;padding:14px;border-radius:16px;color:#fff7e8;line-height:1.55;min-height:160px;overflow-x:auto}
button{border:0;border-radius:16px;padding:14px;font-size:16px;font-weight:900;cursor:pointer;background:#ffba08;color:#2a0a0a}
button:disabled{opacity:.45;cursor:not-allowed}
#lineBtn{background:#06c755;color:#fff}
.danger{background:#ef4444;color:#fff}
.blocked-text{color:#ffb4b4;font-weight:900}
@media(max-width:520px){
  .app{padding:12px 10px 70px}
  .hero{border-radius:0 0 24px 24px;margin:0 -10px 14px;padding:24px 18px}
  h1{font-size:30px}
  .set-grid,.option-grid,.actions,.owner-actions{grid-template-columns:1fr}
  .card,.summary,.pickup-box{padding:16px;border-radius:20px}
  .option{min-height:56px;padding:14px;gap:12px}
  .option span{font-size:17px}
}
