:root {
  --pc-brand: #0f766e;
  --pc-brand2: #1d4ed8;
}
body { font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif; }
.navbar-brand i { color: #fbbf24; }
.hero { background: linear-gradient(135deg,#0f766e 0%,#1d4ed8 100%); color:#fff; border-radius: 20px; padding: 56px 36px; }
.hero h1 { font-weight: 800; }
.card-stat { border-left: 4px solid var(--pc-brand); }
.case-card .badge { font-weight: 500; }
.status-badge { font-size: 0.85rem; }
.sidebar { min-height: calc(100vh - 56px); background:#0b1727; }
.sidebar a { color:#cbd5e1; text-decoration:none; padding: 10px 16px; display:block; border-left: 3px solid transparent; }
.sidebar a:hover { background:#1e293b; color:#fff; }
.sidebar a.active { background:#0f766e; color:#fff; border-left-color:#fbbf24; }
.sidebar .group-title { color:#64748b; font-size:.75rem; text-transform: uppercase; padding: 14px 16px 4px; cursor:pointer; display:flex; align-items:center; justify-content:space-between; user-select:none; }
.sidebar .group-title:hover { color:#94a3b8; }
.sidebar .group-title .toggle-icon { font-size:.85rem; transition: transform .15s ease; }
.sidebar .nav-group.collapsed .group-title .toggle-icon { transform: rotate(-90deg); }
.sidebar .nav-group.collapsed .group-body { display:none; }
.sidebar .sub-group-title { color:#64748b; font-size:.72rem; text-transform: uppercase; padding: 10px 16px 4px 28px; cursor:pointer; display:flex; align-items:center; justify-content:space-between; user-select:none; }
.sidebar .sub-group-title:hover { color:#94a3b8; }
.sidebar .sub-group-title .toggle-icon { font-size:.8rem; transition: transform .15s ease; }
.sidebar .sub-group.collapsed .sub-group-title .toggle-icon { transform: rotate(-90deg); }
.sidebar .sub-group.collapsed .sub-group-body { display:none; }
.sidebar .sub-group-body a { padding-left: 28px; }
.upload-thumb { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; border: 1px solid #e5e7eb; }
.timeline { border-left: 2px solid #e5e7eb; padding-left: 18px; }
.timeline .item { position: relative; margin-bottom: 14px; }
.timeline .item:before { content:""; width:10px; height:10px; background:var(--pc-brand); border-radius:50%; position:absolute; left:-24px; top:6px; }
.no-data { text-align:center; padding: 40px; color:#94a3b8; }
table.compact td, table.compact th { font-size: 13.5px; padding: 6px 8px; vertical-align: middle; }
.case-no-mono { font-family: ui-monospace, Menlo, monospace; font-size: 0.95em; }


/* ===== 前台首頁（整合舊站 playcard.cc 內容） ===== */
.pc-hero { background: #0b0b0b; color: #fff; border-radius: 20px; padding: 56px 44px; overflow: hidden; }
.pc-hero-kicker { color: #fbbf24; font-weight: 600; letter-spacing: .08em; font-size: .95rem; }
.pc-hero-title { font-weight: 900; font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.15; margin: 6px 0 16px; }
.pc-hero-lead { color: #d1d5db; font-size: 1.05rem; line-height: 1.8; }
.pc-hero-img { max-width: 100%; max-height: 440px; border-radius: 12px; }
.pc-section { padding: 56px 0 8px; }
.pc-h2 { font-weight: 800; font-size: 1.9rem; }
.pc-h3 { font-weight: 800; font-size: 1.45rem; margin-bottom: 12px; }
.pc-stat { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 22px 12px; }
.pc-stat-label { color: #64748b; font-size: .9rem; }
.pc-stat-num { color: #16a34a; font-weight: 800; font-size: 2rem; letter-spacing: .02em; }
.pc-about { background: #111827; color: #d1d5db; border-radius: 20px; padding: 44px 40px; margin-top: 56px; }
.pc-about img { border-radius: 10px; }
.pc-svc { padding: 28px 0; }
.pc-svc + .pc-svc { border-top: 1px solid #e5e7eb; }
.pc-svc p { line-height: 1.85; }
.pc-partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.pc-partner { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; height: 110px; display: flex; align-items: center; justify-content: center; padding: 14px; transition: box-shadow .15s, transform .15s; }
.pc-partner:hover { box-shadow: 0 6px 18px rgba(0,0,0,.08); transform: translateY(-2px); }
.pc-partner img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pc-social { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 130px; height: 110px; background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; color: #0f172a; text-decoration: none; gap: 8px; transition: box-shadow .15s, transform .15s; }
.pc-social i { font-size: 2.2rem; color: var(--pc-brand2); }
.pc-social span { font-size: .9rem; }
.pc-social:hover { box-shadow: 0 6px 18px rgba(0,0,0,.08); transform: translateY(-2px); color: var(--pc-brand2); }
.pc-contact { background: #fff; border: 1px solid #e5e7eb; border-radius: 20px; padding: 36px 40px; margin-top: 56px; }
@media (max-width: 768px) {
  .pc-hero { padding: 36px 24px; }
  .pc-about, .pc-contact { padding: 28px 22px; }
  .pc-section { padding: 40px 0 8px; }
}
