:root{--bg1:#121826;--bg2:#1a2033;--pri:#6366f1;--txt:#f8fafc;--mut:#94a3b8;--card:#ffffff;--cardmut:#f1f5f9;--ok:#16a34a;--warn:#f59e0b;--err:#dc2626;}
*{box-sizing:border-box}html,body{height:100%}
body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Inter,Helvetica,Arial,sans-serif;background:linear-gradient(135deg,var(--bg1),var(--bg2));color:#111827}
.container{max-width:1100px;margin:0 auto;}
.header{position:relative;padding:16px 16px 8px 16px;color:var(--txt)}
.brand{display:flex;gap:12px;align-items:center}
.brand .logo{width:44px;height:44px;border-radius:16px;background:#fff;display:grid;place-items:center;overflow:hidden;position:relative;box-shadow:0 6px 16px rgba(0,0,0,.2)}
.brand .logo img{width:44px;height:44px;object-fit:contain}
.brand h1{margin:0;font-size:20px}.brand p{margin:0;color:#cbd5e1;font-size:13px}
.tablebox{color:#fff;text-align:right}.tablebox .lab{opacity:.7;font-size:11px}.tablebox .val{font-size:20px;font-weight:700}
.nav{position:sticky;top:0;z-index:50;background:linear-gradient(135deg,rgba(18,24,38,.85),rgba(26,32,51,.85));backdrop-filter:blur(8px);padding:12px 16px;display:flex;flex-wrap:wrap;gap:8px}
.tab{border:0;border-radius:16px;padding:8px 14px;background:rgba(255,255,255,.08);color:#fff;cursor:pointer;font-weight:600;font-size:14px}
.tab.active{background:#fff;color:#111827;box-shadow:0 2px 8px rgba(0,0,0,.1)}
main{padding:16px}.grid{display:grid;gap:16px}
@media(min-width:1024px){.grid-3{grid-template-columns:2fr 1fr}}
.card{background:#ffffffee;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 6px 18px rgba(0,0,0,.08);color:#111827}
.card .content{padding:18px}h3{margin:0 0 8px 0;font-size:18px}.mut{color:#64748b;font-size:14px}
.btn{border:0;border-radius:14px;padding:10px 14px;background:var(--pri);color:#fff;cursor:pointer;font-weight:700}
.btn[disabled]{opacity:.6;cursor:not-allowed}.btn.secondary{background:#e2e8f0;color:#111827}
.row{display:flex;gap:12px;align-items:center;justify-content:space-between}
.item{display:flex;gap:8px;align-items:center;justify-content:space-between;padding:10px;border-radius:12px;border:1px solid #e5e7eb;background:#fff;color:#111827}
.qty{display:flex;gap:8px;align-items:center}.iconbtn{border:0;border-radius:10px;padding:6px 10px;background:#eef2ff;font-weight:800;cursor:pointer}
.list{display:grid;gap:10px}.input,textarea{width:100%;padding:10px;border-radius:12px;border:1px solid #e5e7eb;background:#fff;font:inherit;color:#111827}
.tag{display:inline-block;background:#eef2ff;color:#3730a3;padding:2px 8px;border-radius:999px;font-size:12px}
.badge{display:inline-block;background:#ecfdf5;color:#065f46;padding:6px 10px;border-radius:12px;font-weight:700;font-size:12px}
.notice{font-size:12px;color:#065f46;margin-top:6px}
.photos{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}@media(min-width:640px){.photos{grid-template-columns:repeat(3,1fr)}}@media(min-width:900px){.photos{grid-template-columns:repeat(4,1fr)}}
.photo{position:relative;overflow:hidden;border-radius:12px;border:1px solid #e5e7eb;background:#fff}
.photo img{width:100%;height:120px;object-fit:cover;display:block}
.photo .by{position:absolute;left:0;right:0;bottom:0;font-size:12px;color:#fff;background:rgba(0,0,0,.45);padding:4px 6px}
.leadrow{display:flex;align-items:center;justify-content:space-between;padding:10px;border:1px solid #e5e7eb;background:#fff;border-radius:12px}
.rank{width:26px;height:26px;border-radius:999px;background:var(--pri);color:#fff;font-size:12px;display:grid;place-items:center;font-weight:800}
.footer{padding:0 16px 32px 16px;text-align:center;color:var(--txt);font-size:12px}
.hidden{display:none}
