/* Shared, self-contained presentation for both admin entry points. */
:root { --ink:#153d5b; --muted:#567185; --line:#d5e7f3; }
body { background: radial-gradient(ellipse at 5% 10%,#fff 0,transparent 48%),radial-gradient(ellipse at 95% 80%,#d5eef8 0,transparent 45%),linear-gradient(150deg,#edf7ff,#e5f2fd 55%,#e8f8fa); padding:40px 20px 36px; line-height:1.6; }
body::before,body::after { opacity:.12; }
button,input,a { -webkit-tap-highlight-color:transparent; }
.ui-icon { width:24px; height:24px; flex-shrink:0; vertical-align:middle; }
.header { margin-bottom:28px; }
.header .logo-icon { width:64px; height:64px; display:flex; align-items:center; justify-content:center; margin:0 auto 14px; border:1px solid #fff; border-radius:22px; background:linear-gradient(145deg,#fff,#d9effe); box-shadow:0 10px 24px #2b76a312; filter:none; color:#258eb9; }
.logo-icon .ui-icon { width:37px; height:37px; }
.brand-kicker { display:block; font-size:10px; letter-spacing:2px; font-weight:700; color:#628398; margin-bottom:12px; }
.header h1 { font-size:clamp(23px,4.8vw,30px); line-height:1.4; letter-spacing:-.6px; color:#183f5d; margin-bottom:12px; }
.shop-name { margin-top:5px; font-size:.76em; font-weight:600; color:#4186a5; }
.subtitle { font-size:13px; color:#567185; }
.menu-cards { max-width:440px; gap:12px; }
.hero-action { overflow:hidden; padding:26px; gap:14px; border:1px solid #fff; border-radius:28px; background:linear-gradient(150deg,#fff,#f7fcff); box-shadow:0 18px 55px #276b9912,0 2px 6px #276b9905; animation:none; }
.hero-action:hover { border-color:#aad7ee; box-shadow:0 22px 50px #276b9920; transform:translateY(-3px); }
.hero-label { display:flex; align-items:center; gap:7px; padding:5px 12px; border:1px solid #d8eef6; background:#f0faff; font-size:11px; font-weight:600; color:#387f9e; }
.status-dot { width:6px; height:6px; border-radius:50%; background:#459db4; }
.hero-action .face-art { width:90px; height:90px; margin:4px 0; border-radius:28px; color:#187caa; background:linear-gradient(145deg,#e9f8ff,#d8effb); box-shadow:inset 0 0 0 1px #fff,0 8px 18px #247cac0d; position:relative; }
.face-art .ui-icon { width:52px; height:52px; stroke-width:1.4; }
.hero-action .card-title { font-size:23px; font-weight:700; color:#183f5d; line-height:1.4; }
.hero-action .card-desc { font-size:12px; margin-top:7px; color:#567185; }
.steps { display:flex; justify-content:center; gap:14px; width:100%; margin:4px 0 5px; color:#597689; font-size:11px; }
.steps>span { display:flex; align-items:center; gap:5px; white-space:nowrap; }
.steps b { width:19px; height:19px; display:inline-flex; align-items:center; justify-content:center; background:#ecf5fb; border-radius:50%; font-size:10px; color:#4582a2; }
.hero-cta { display:flex; align-items:center; justify-content:center; gap:16px; min-height:54px; padding:12px; border-radius:16px; background:linear-gradient(110deg,#148cbb,#2468a2); box-shadow:0 8px 16px #197da525; font-size:16px; }
.hero-cta .ui-icon { width:20px; height:20px; }
.admin-caption { display:flex; align-items:center; justify-content:center; gap:7px; margin:14px 0 0; font-size:11px; color:#658093; }
.admin-caption::before,.admin-caption::after { content:''; flex:1; height:1px; background:#cee2ee; }
.admin-caption .ui-icon { width:13px; height:13px; }
.admin-grid { gap:12px; }
.compact-action { min-height:66px; padding:12px 9px; border-radius:18px; background:#ffffffb8; border-color:#fff; box-shadow:0 5px 14px #276b9908; animation:none; gap:9px; }
.compact-action .card-title { font-size:12px; color:#365c76; font-weight:600; }
.compact-action .card-icon { width:31px; height:31px; border-radius:10px; background:#e7f3fc; color:#4786b2; box-shadow:none; }
.compact-action .ui-icon { width:18px; height:18px; }
.home-note { font-size:10px; color:#648095; margin-top:8px; }
/* No dependency on page-specific .card, .btn or input rules. */
body.admin-locked { min-height:100vh; justify-content:center; padding:28px 18px; }
.admin-gate { box-sizing:border-box; width:100%; max-width:420px; margin:0 auto; padding:32px; border:1px solid #fff; border-radius:28px; background:linear-gradient(155deg,#fff,#f8fcff); box-shadow:0 24px 65px #276b9917; text-align:center; }
.gate-emblem { display:flex; align-items:center; justify-content:center; width:66px; height:66px; margin:0 auto 16px; border-radius:23px; color:#2884ad; background:linear-gradient(145deg,#e9f7ff,#dceffc); box-shadow:inset 0 0 0 1px #fff; }
.gate-emblem .ui-icon { width:30px; height:30px; }
.admin-gate .brand-kicker { font-size:9px; margin-bottom:8px; }
.admin-gate h1 { font-size:23px; line-height:1.4; color:#193f5b; margin:0 0 10px; font-weight:700; }
.admin-gate p { font-size:13px; color:#59768b; margin:0 0 24px; line-height:1.7; }
.admin-gate form { text-align:left; }
.admin-gate label { display:block; font-size:12px; font-weight:600; color:#365c76; margin:0 0 8px; }
.admin-gate input { box-sizing:border-box; display:block; width:100%; font-family:inherit; background:#f9fcff; color:#183f5d; border:1px solid #c7dfed; border-radius:14px; padding:13px 14px; margin:0; outline:none; transition:border-color .2s,box-shadow .2s; }
.admin-gate input[type=password] { height:60px; font-size:25px; letter-spacing:9px; padding-left:23px; text-align:center; }
.admin-gate input::placeholder { color:#9ab7c9; }
.admin-gate input:focus { background:#fff; border-color:#55a2cd; box-shadow:0 0 0 4px #278dbb12; }
.pin-help { display:block; margin:8px 0 18px; font-size:11px; color:#678196; text-align:center; }
.admin-gate details { margin:0 0 18px; padding:12px 14px; border:1px solid #e0ecf4; border-radius:12px; background:#f4f9fd; }
.admin-gate summary { cursor:pointer; font-size:11px; color:#607b90; min-height:22px; }
.admin-gate details[open] summary { margin-bottom:12px; }
.admin-gate input[type=url] { font-size:12px; letter-spacing:normal; }
.admin-gate .btn-save { box-sizing:border-box; display:flex; align-items:center; justify-content:center; gap:14px; width:100%; min-height:52px; border:0; border-radius:14px; padding:13px; font:600 15px 'Sarabun',sans-serif; color:#fff; background:linear-gradient(110deg,#148cbb,#2468a2); cursor:pointer; box-shadow:0 7px 16px #197da51f; }
.admin-gate .btn-save .ui-icon { width:19px; height:19px; }
.admin-gate .btn-save:disabled { opacity:.65; cursor:wait; }
.admin-gate .gate-error { color:#ac3650; font-size:12px; margin:12px 0 0; min-height:0; text-align:center; overflow-wrap:anywhere; }
.admin-gate .gate-error:empty { display:none; }
.admin-gate .btn-back { box-sizing:border-box; display:flex; align-items:center; justify-content:center; gap:9px; width:100%; min-height:46px; padding:10px; border:1px solid #d8e8f2; border-radius:14px; background:transparent; color:#50768e; font:500 13px 'Sarabun',sans-serif; text-decoration:none; margin:20px 0 0; cursor:pointer; }
.admin-gate .btn-back .ui-icon { width:16px; height:16px; }
.card,.form-section { border-radius:22px; border-color:#fff; box-shadow:0 12px 30px #276b9910; }
.video-wrapper,.video-container { border-radius:24px; border-color:#aed5e9; }
.modal-content { border-radius:28px; border-color:#fff; }
@media(max-width:480px) { body { padding:26px 18px; } .header { margin-bottom:22px; } .header .logo-icon { width:54px; height:54px; border-radius:18px; margin-bottom:10px; } .hero-action { padding:22px 20px; gap:12px; } .hero-action .card-title { font-size:21px; } .hero-action .face-art { width:78px; height:78px; border-radius:25px; } .brand-kicker { font-size:9px; } .admin-gate { padding:28px 23px; } }
@media(max-width:360px) { .compact-action { flex-direction:row; gap:5px; padding:12px 6px; } .compact-action .card-title { font-size:10px; } .steps { gap:8px; font-size:10px; } .hero-action .card-title { font-size:19px; } }
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation:none!important; transition:none!important; } }
