:root { color-scheme: light; font-family: "Inter", "Noto Sans TC", sans-serif; color: #080a20; background: #f4f1ff; }
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(circle at top, #fff9bd 0, #f4f1ff 38rem); }
.admin-shell { width: min(920px, calc(100% - 32px)); margin: 0 auto; padding: 64px 0 96px; }
header { margin-bottom: 32px; }
.eyebrow { margin: 0 0 8px; color: #5d4bc7; font-weight: 900; letter-spacing: .16em; }
h1 { margin: 0; font-size: clamp(42px, 8vw, 76px); line-height: 1; }
header > p:last-child { max-width: 680px; font-size: 18px; line-height: 1.7; }
.admin-card { margin-top: 24px; padding: 28px; border: 3px solid #080a20; border-radius: 18px; background: #fff; box-shadow: 8px 8px 0 #080a20; }
.login-card { max-width: 560px; margin-inline: auto; }
.dashboard-bar, .section-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.dashboard-bar { margin: 12px 0 6px; padding: 14px 18px; border: 2px solid #080a20; border-radius: 12px; background: #fff; }
.dashboard-bar button, #refresh-assets { padding: 9px 14px; border: 2px solid #080a20; border-radius: 8px; background: #ffe000; font: 800 14px inherit; cursor: pointer; }
.section-heading h2, .section-heading p { margin: 0; }
.section-heading p { margin-top: 6px; color: #5f6377; }
.managed-assets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.managed-asset { overflow: hidden; border: 2px solid #080a20; border-radius: 12px; background: #f8f7ff; }
.managed-asset > img, .managed-asset > video { display: block; width: 100%; height: 240px; object-fit: contain; background: #111; }
.managed-asset > div { padding: 16px; }
.managed-asset h3 { overflow-wrap: anywhere; margin: 0 0 8px; }
.managed-asset p { margin: 6px 0; color: #5f6377; }
.danger-button { margin-top: 12px; padding: 9px 13px; border: 2px solid #080a20; border-radius: 8px; background: #ff7b86; color: #080a20; font: 800 14px inherit; cursor: pointer; }
h2 { margin-top: 0; font-size: 28px; }
.form-grid { display: grid; gap: 18px; }
.two-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
label, legend { font-weight: 800; }
input, select { width: 100%; margin-top: 8px; padding: 13px 14px; border: 2px solid #080a20; border-radius: 10px; background: #fff; color: inherit; font: inherit; }
.hint { margin-bottom: 0; color: #5f6377; }
.drop-zone { display: grid; place-items: center; min-height: 180px; margin-bottom: 22px; padding: 24px; border: 3px dashed #6556cc; border-radius: 14px; background: #f5f2ff; text-align: center; cursor: pointer; }
.drop-zone input { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; }
.drop-zone strong { font-size: 22px; }
.drop-zone span { margin-top: 8px; color: #5f6377; font-weight: 500; }
.asset-preview-panel { display: grid; grid-template-columns: 260px 1fr; gap: 22px; align-items: center; margin-bottom: 22px; }
#asset-preview img, #asset-preview video { display: block; width: 100%; max-height: 240px; border: 2px solid #080a20; border-radius: 10px; object-fit: contain; background: #111; }
dl { display: grid; gap: 10px; margin: 0; }
dl div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 8px; border-bottom: 1px solid #d7d4e5; }
dt { font-weight: 800; } dd { margin: 0; }
fieldset { margin: 24px 0; padding: 20px; border: 2px solid #080a20; border-radius: 12px; }
.platform-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 12px; }
.platform-options label { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 8px; background: #f4f1ff; }
.platform-options input { width: auto; margin: 0; }
.primary-button { width: 100%; padding: 15px; border: 3px solid #080a20; border-radius: 12px; background: #35cc9b; color: #080a20; font: 900 18px inherit; cursor: pointer; box-shadow: 5px 5px 0 #080a20; }
.primary-button:disabled { cursor: wait; opacity: .6; }
#form-status { min-height: 1.5em; margin-bottom: 0; font-weight: 700; }
@media (max-width: 680px) { .two-columns, .asset-preview-panel, .platform-options, .managed-assets { grid-template-columns: 1fr; } .section-heading { align-items: flex-start; } }
