
/* === Styles ported from the first static version (expanded) === */
* { box-sizing: border-box; }
html, body { margin:0; padding:0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; background:#0b0f17; color:#e6ebf2; }
a { color:#7cc0ff; text-decoration:none; }
a:hover { text-decoration:underline; }
.container { max-width:1100px; margin:0 auto; padding:16px; }
.header { background:#0f1623; border-bottom:1px solid #1f2a3b; position:sticky; top:0; z-index:10; }
.header-inner { display:flex; align-items:center; gap:16px; padding:12px 16px; }
.logo { font-weight:800; letter-spacing:0.5px; font-size:20px; background:linear-gradient(90deg, #ffd36b, #ff8a33); -webkit-background-clip:text; color:transparent; }
.nav { margin-left:auto; display:flex; gap:14px; }
.badge { background:#1a2435; border:1px solid #2a3a56; padding:4px 8px; border-radius:6px; font-size:12px; color:#9bb2d1;}
.searchbar { display:grid; grid-template-columns:1fr; gap:8px; margin:16px 0; }
@media(min-width:740px){ .searchbar { grid-template-columns: 1fr 160px 140px 120px; } }
.searchbar input, .searchbar select { background:#0f1623; border:1px solid #24324b; color:#e6ebf2; padding:10px 12px; border-radius:8px; width:100%; }
.searchbar button { padding:10px 14px; border-radius:8px; border:0; background:#2f6fed; color:#fff; cursor:pointer; }
.grid { display:grid; grid-template-columns:repeat(1, 1fr); gap:14px; }
@media(min-width:700px){ .grid { grid-template-columns:repeat(2, 1fr);} }
@media(min-width:1000px){ .grid { grid-template-columns:repeat(3, 1fr);} }
.card { background:#0f1623; border:1px solid #1e2a41; border-radius:14px; padding:14px; display:flex; flex-direction:column; gap:10px; }
.card h3 { margin:0; font-size:18px; }
.meta { display:flex; flex-wrap:wrap; gap:8px; }
.kv { font-size:12px; background:#0b1220; padding:4px 8px; border:1px solid #1e2a41; border-radius:6px; color:#9db4d6; }
.footer { text-align:center; padding:24px; color:#7e90ac; border-top:1px solid #1f2a3b; margin-top:24px; }
.btn { display:inline-block; padding:10px 12px; border-radius:8px; background:#1b9c65; color:#fff; font-weight:600; }
.btn.secondary { background:#2f6fed; }
.table { width:100%; border-collapse:collapse; }
.table td, .table th { padding:8px 10px; border-bottom:1px solid #22324a; vertical-align:top; text-align:left; }
.hero { padding:24px 0; }
.hero h1 { margin:0 0 8px 0; font-size:28px; }
.tag { background:#13253a; color:#9dc4ff; border:1px solid #223b5f; padding:3px 8px; border-radius:999px; font-size:12px; }
.notice { background:#132a1f; border:1px solid #24543e; color:#b6f3d6; padding:10px 12px; border-radius:10px; }
form .row { display:grid; grid-template-columns:1fr; gap:10px; }
@media(min-width:800px){ form .row { grid-template-columns:1fr 1fr; } }
label { font-size:13px; color:#a3b7d7; display:block; margin-bottom:6px; }
input, select, textarea { width:100%; background:#0f1623; border:1px solid #24324b; color:#e6ebf2; padding:10px 12px; border-radius:8px; }
textarea { min-height:120px; }
small { color:#7e90ac; }
.alert { padding:10px 12px; border-radius:10px; margin:10px 0; }
.alert.ok { background:#132a1f; border:1px solid #24543e; color:#b6f3d6; }
.alert.err{ background:#2a1313; border:1px solid #543131; color:#f3b6b6; }
/* Optional background helper */
.has-bg { background: #0b0f17 url('../assets/bg.jpg') center/cover fixed no-repeat; }
.header, .card, .footer, .hero, .searchbar, .alert, .table { backdrop-filter: blur(3px); background-color: rgba(15,22,35,0.82); }
