@import url('/font-assets/nanum-gothic/400.css');
@import url('/font-assets/nanum-gothic/700.css');
@import url('/font-assets/nanum-myeongjo/400.css');
@import url('/font-assets/nanum-myeongjo/700.css');
@import url('/font-assets/nanum-pen-script/400.css');
@import url('/font-assets/nanum-gothic-coding/400.css');
@import url('/font-assets/nanum-gothic-coding/700.css');

:root {
  --bg: #090d1c;
  --panel: rgba(18, 28, 62, 0.78);
  --line: rgba(174, 207, 255, 0.36);
  --text: #f5f7ff;
  --muted: #aab7d8;
  --accent: #ff73b6;
  font-family: Inter, Pretendard, "Noto Sans KR", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 86% 8%, #43285e 0, transparent 28rem), radial-gradient(circle at 10% 40%, #172753 0, transparent 34rem), var(--bg); }
a { color: #ffb6da; text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, textarea, select { font: inherit; }
button, .button { border: 0; border-radius: 10px; cursor: pointer; padding: .7rem 1rem; display: inline-flex; justify-content: center; align-items: center; text-decoration: none; }
button:hover, .button:hover { filter: brightness(1.1); text-decoration: none; }
button.primary, .button.primary { color: #160816; background: linear-gradient(135deg, #ff9bcd, #ef5aa6); font-weight: 800; }
button.secondary, .button.secondary { color: #e9efff; background: rgba(137, 164, 232, .18); border: 1px solid var(--line); }
.link-button, .danger-link { padding: 0; background: none; color: #c9d5f2; border-radius: 0; }
.danger-link { color: #ff95ac; margin-left: .5rem; }
.topbar { max-width: 1280px; margin: 0 auto; height: 72px; padding: 0 28px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(183, 205, 255, .12); }
.brand { color: white; font-size: 1.25rem; font-weight: 900; letter-spacing: -.04em; }.brand span { color: #ff85c3; }
.user-nav { display: flex; align-items: center; gap: .9rem; color: var(--muted); font-size: .88rem; }.user-nav form { margin: 0; }
.container { max-width: 1280px; margin: 0 auto; padding: 44px 28px 64px; }
.flash { margin: 0 0 20px; padding: 14px 16px; border-radius: 12px; color: #dcffe9; background: rgba(30, 153, 91, .18); border: 1px solid rgba(91, 225, 145, .35); }
.auth-card, .setup-card, .share-card { width: min(100%, 480px); margin: 8vh auto; padding: 32px; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); box-shadow: 0 24px 70px rgba(0, 0, 0, .25); }.auth-card.wide { width: min(100%, 580px); }.setup-card, .share-card { width: min(100%, 640px); margin-top: 3vh; }
h1, h2, h3, p { margin-top: 0; }h1 { margin-bottom: .5rem; font-size: clamp(1.75rem, 4vw, 2.6rem); letter-spacing: -.06em; }h2 { font-size: 1.15rem; letter-spacing: -.035em; }.eyebrow { color: #ff9ccc; font-weight: 800; font-size: .74rem; letter-spacing: .14em; }.muted, small { color: var(--muted); }.notice, .warning-text { font-size: .88rem; color: #ffd0e6; line-height: 1.55; }
.stack { display: grid; gap: 16px; }.stack label, .share-card label { display: grid; gap: 7px; color: #dbe5ff; font-size: .9rem; }input, textarea, select { width: 100%; border: 1px solid rgba(175, 202, 255, .34); border-radius: 10px; padding: .72rem .8rem; color: white; background: rgba(3, 9, 28, .58); }textarea { resize: vertical; }input[type="color"] { min-height: 42px; padding: 3px; }.page-heading { display: flex; justify-content: space-between; gap: 24px; align-items: flex-start; margin-bottom: 30px; }.page-heading p { color: var(--muted); }.stats { display: flex; flex-wrap: wrap; gap: 10px; }.stats span { padding: 10px 12px; border-radius: 12px; background: rgba(105, 132, 209, .16); color: var(--muted); }.stats b { color: white; }
.dashboard-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 42px; }.panel, .application-card, .media-review { border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: var(--panel); }.panel h2 { margin-bottom: 16px; }.inline-form { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }.inline-form > input:not([type="hidden"]), .inline-form > select { flex: 1 1 180px; }.switch { display: flex; gap: 5px; align-items: center; color: var(--muted); font-size: .85rem; }.switch input { width: auto; }.goal-list, .session-list { padding: 0; margin: 0 0 15px; list-style: none; }.goal-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: start; padding: 4px 0; border-bottom: 1px solid rgba(173, 199, 255, .1); }.goal-item:last-child { border-bottom: 0; }.goal-main { min-width: 0; min-height: 35px; display: flex; align-items: center; gap: 9px; }.goal-item form { margin: 0; }.goal-main span { overflow-wrap: anywhere; }.goal-actions summary { padding: 5px 0; color: #b9c9ee; font-size: .8rem; cursor: pointer; list-style: none; }.goal-actions summary::-webkit-details-marker { display: none; }.goal-actions summary::after { content: '⌄'; margin-left: 4px; }.goal-actions[open] summary::after { content: '⌃'; }.goal-actions-body { display: grid; gap: 7px; min-width: min(100%, 280px); padding: 8px; border: 1px solid rgba(173, 199, 255, .2); border-radius: 9px; background: rgba(3, 9, 28, .28); }.goal-actions-body form:first-child { display: flex; gap: 6px; }.goal-actions-body input { min-width: 0; padding: .5rem .6rem; }.goal-actions-body button { padding: .45rem .65rem; font-size: .78rem; }.goal-actions-body .danger-link { justify-self: start; }.check { width: 28px; height: 28px; padding: 0; border: 0; border-radius: 7px; color: #a9bde9; background: transparent; font-size: 1.35rem; line-height: 1; }.check.done { color: #a9d3ff; background: rgba(122, 186, 255, .24); }.goal-complete { color: #aab7d8; text-decoration: line-through; }.compact-fields { display: grid; grid-template-columns: minmax(110px, 1fr) minmax(110px, 1fr) 70px 74px 130px auto; gap: 7px; margin-top: 14px; }.signal-list { display: grid; gap: 9px; max-height: 165px; overflow: auto; }.signal-row { display: grid; grid-template-columns: 34px 1fr auto; gap: 8px; align-items: center; padding: 7px; border-radius: 9px; background: rgba(102, 122, 185, .14); }.signal-row small { display: block; margin-top: 2px; }.signal-emoji { font-size: 1.4rem; }.signal-thumb { width: 34px; height: 34px; object-fit: cover; border-radius: 8px; }.signal-upload { min-width: 0; display: flex; align-items: center; padding: 0 .5rem; border: 1px dashed rgba(175, 202, 255, .5); border-radius: 10px; color: #dce6ff; font-size: .76rem; cursor: pointer; }.signal-upload input { display: none; }.overlay-style-panel p { color: var(--muted); line-height: 1.45; }.opacity-control { display: flex; flex: 1 1 280px; align-items: center; gap: 10px; color: #dce6ff; font-size: .88rem; }.opacity-control input { flex: 1; min-width: 120px; padding: 0; accent-color: #ff80bd; }.opacity-control output { min-width: 38px; color: #ffbedc; }.action-panel { display: flex; flex-direction: column; align-items: flex-start; }.action-panel p { min-height: 38px; color: var(--muted); line-height: 1.4; }.action-panel label { display: grid; gap: 6px; margin: 10px 0; color: var(--muted); font-size: .85rem; }.session-list { margin-top: 16px; }.session-list li { padding: 8px 0; display: flex; gap: 12px; justify-content: space-between; align-items: center; border-top: 1px solid rgba(173, 199, 255, .12); }.session-list small { display: block; margin-top: 4px; font-size: .72rem; }.pill { display: inline-block; margin-left: 6px; padding: 2px 7px; font-size: .68rem; border-radius: 999px; vertical-align: middle; }.pill.ok { color: #c7ffd9; background: rgba(50, 190, 105, .22); }.pill.warning { color: #ffe2a5; background: rgba(255, 173, 47, .18); }.pill.danger { color: #ffc1ca; background: rgba(250, 79, 109, .19); }.pill.muted { color: #c9d3ec; background: rgba(155, 169, 209, .18); }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; }.media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }.media-review { display: grid; grid-template-columns: 126px 1fr auto; gap: 15px; align-items: center; }.media-review img { width: 126px; height: 105px; object-fit: cover; border-radius: 10px; }.media-review h3, .media-review p { margin-bottom: 5px; }.media-review form { display: grid; gap: 6px; }.empty { padding: 25px; border: 1px dashed rgba(173, 199, 255, .35); border-radius: 14px; color: var(--muted); }.application-list { display: grid; gap: 12px; }.application-card { display: grid; grid-template-columns: 1fr minmax(270px, .55fr); gap: 24px; }.application-card p { color: #d8e1f8; line-height: 1.55; }.application-card small { font-size: .75rem; }.review-form { display: grid; align-content: start; gap: 9px; }.review-form label { color: var(--muted); font-size: .8rem; }.review-form div { display: flex; gap: 8px; }.table-wrap { overflow-x: auto; }table { width: 100%; border-collapse: collapse; background: rgba(18, 28, 62, .58); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }th, td { padding: 12px; text-align: left; border-bottom: 1px solid rgba(173, 199, 255, .12); }th { color: var(--muted); font-size: .8rem; }td small { display: block; margin-top: 4px; }.qr { display: block; width: min(100%, 260px); height: auto; margin: 24px auto; border-radius: 16px; background: rgba(255,255,255,.08); padding: 10px; }.share-card input { margin-top: 0; }.fan-card { width: min(100%, 580px); margin: 4vh auto; padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); }.fan-card .notice { padding: 12px; border-radius: 10px; background: rgba(255, 147, 192, .12); }
.overlay-page { width: 100vw; height: 100vh; overflow: hidden; background: transparent; }.overlay-canvas { position: relative; width: 100%; height: 100%; color: white; }.overlay-loading { display: none; }.overlay-card { border: 1px solid rgba(183, 220, 255, .8); background: rgba(18, 37, 82, var(--overlay-bg-alpha, .72)); box-shadow: 0 9px 27px rgba(5, 8, 29, .35), inset 0 0 18px rgba(130, 180, 255, .15); backdrop-filter: blur(12px); border-radius: 18px; }.overlay-right { position: absolute; top: 9%; right: 3.1%; width: 26%; min-width: 320px; display: grid; gap: 12px; }.notice-card { min-height: 70px; display: flex; align-items: center; justify-content: space-between; padding: 13px 19px; font-size: clamp(21px, 2vw, 34px); }.overlay-icon { color: #ffb6e0; }.goals-card { padding: 14px 16px; }.goals-card h2, .signals-card h2, .photos-card h2 { display: flex; justify-content: space-between; margin: 0 0 10px; font-size: clamp(18px, 1.5vw, 27px); flex-shrink: 0; }.goals-card h2 em { font-style: normal; color: #c4d9ff; font-size: .75em; }.goals-card ul { padding: 0; margin: 0; list-style: none; }.goals-card li { min-height: 31px; display: flex; align-items: center; gap: 10px; padding: 4px 8px; border-radius: 8px; font-size: clamp(14px, 1.05vw, 20px); background: rgba(187, 213, 255, .12); margin: 4px 0; }.goals-card li span { color: #ffd6ed; font-weight: 900; }.goals-card li.complete { opacity: .75; }.empty-goal { color: #c0cae2; }.signals-card { position: absolute; right: 3.1%; bottom: 4%; width: 43%; min-width: 590px; padding: 14px; max-height: 75vh; display: flex; flex-direction: column; }.signals-card h2 span, .photos-card h2 span { color: #ffacd5; }.signal-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-auto-rows: minmax(0, 1fr); gap: 8px; flex: 1; min-height: 0; }.signal-grid article { min-height: 0; position: relative; padding: 12px 8px; border-radius: 10px; text-align: center; background: rgba(243, 248, 255, .95); color: #1b2655; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; }.signal-grid .signal-emoji, .signal-grid .signal-image { display: block; margin: 0 auto; width: 2.4em; height: 2.4em; object-fit: cover; border-radius: 9px; font-size: 1em; }.signal-grid .signal-emoji { font-size: 2.4em; }.signal-grid small { display: block; color: #2e3e78; font-size: .75em; }.signal-grid strong { position: absolute; top: 6px; right: 7px; color: #ff348f; }.overlay-empty { grid-column: 1 / -1; color: #c9d6ef; padding: 15px; text-align: center; }.photos-card { position: absolute; left: 3.1%; bottom: 4%; width: 28%; min-width: 390px; padding: 14px; }.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }.photo-grid figure { min-width: 0; margin: 0; overflow: hidden; border-radius: 9px; background: rgba(249, 252, 255, .93); color: #25335c; }.photo-grid img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }.photo-grid figcaption { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 4px; text-align: center; font-size: clamp(10px, .72vw, 14px); }
.widget-overlays { grid-row: span 2; }.widget-overlays > p { color: var(--muted); line-height: 1.45; }.widget-overlay-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 0; border-top: 1px solid rgba(173, 199, 255, .16); }.widget-overlay-item h3, .widget-overlay-item p { margin: 0; }.widget-overlay-item p { margin-top: 3px; color: var(--muted); font-size: .84rem; }.widget-overlay-item small { display: block; margin-top: 5px; }.overlay-widget-page { width: 100vw; height: 100vh; overflow: hidden; background: transparent; }.widget-root { width: 100%; height: 100%; color: white; }.widget-root > .overlay-card { width: 100%; height: 100%; min-width: 0; position: relative; inset: auto; }.widget-notice { min-height: 100%; }.widget-goals { min-height: 100%; }.widget-signals { min-height: 100%; }.widget-signals .signal-grid { height: calc(100% - 44px); }.widget-signals .signal-grid article { min-height: 0; }.widget-photos { min-height: 100%; }.widget-photos .photo-grid { height: calc(100% - 48px); grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 10px; }.widget-photos .photo-grid.photo-count-1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }.widget-photos .photo-grid.photo-count-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 1fr; }.widget-photos .photo-grid.photo-count-3, .widget-photos .photo-grid.photo-count-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); }.widget-photos .photo-grid figure { display: grid; grid-template-rows: minmax(0, 1fr) auto; }.widget-photos .photo-grid img { height: 100%; min-height: 0; aspect-ratio: auto; }.widget-photos .overlay-empty { display: grid; place-items: center; grid-column: 1 / -1; grid-row: 1 / -1; }.widget-empty { display: grid; place-items: center; padding: 16px; color: #d4dff7; text-align: center; }.photo-qr-card { display: flex; min-height: 100%; padding: 22px; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; }.broadcast-qr { width: min(88%, 340px); aspect-ratio: 1; padding: 8px; border-radius: 12px; background: #fff; }.photo-qr-card b { color: #fff; font-size: clamp(20px, 4vw, 32px); }.photo-qr-card small, .photo-qr-card em { color: #d9e5ff; font-style: normal; }.qr-placeholder { line-height: 1.55; color: #d9e5ff; }
.overlay-issue { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; padding-top: 13px; border-top: 1px solid rgba(173, 199, 255, .16); }.overlay-issue small { color: var(--muted); }.overlay-issue form { margin: 0; }
.solo-fan-photo { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; background: transparent; }.fan-photo-stage { position: absolute; left: 3.1%; bottom: 4%; width: 32%; height: 42%; display: grid; place-items: center; }.fan-photo-stage img { display: block; width: 100%; height: 100%; object-fit: contain; }
.raffle-card { position: absolute; top: 9%; left: 3.1%; width: 26%; min-width: 320px; display: grid; gap: 5px; padding: 17px 21px; text-align: center; border-color: rgba(255, 207, 112, .9); background: linear-gradient(135deg, rgba(82, 42, 99, .87), rgba(182, 104, 55, .7)); }.raffle-card span { color: #ffe9a5; font-weight: 800; }.raffle-card b { font-size: clamp(17px, 1.4vw, 25px); }.raffle-card strong { color: #fff5d4; font-size: clamp(20px, 1.8vw, 34px); }.raffle-card small { color: #ffe0bc; }
.style-form { display: grid; gap: 13px; }.style-form > label { display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 10px; color: #dce6ff; font-size: .88rem; }.style-form .opacity-control { display: grid; grid-template-columns: 110px 1fr 42px; }.style-form button { justify-self: end; }.signal-image-form { display: flex; align-items: center; gap: 9px; margin-top: 14px; }.signal-upload-button { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 42px; padding: .65rem .8rem; border: 1px dashed rgba(175, 202, 255, .55); border-radius: 10px; color: #dce6ff; background: rgba(80, 107, 176, .12); cursor: pointer; }.signal-upload-button input { display: none; }.image-signal-row { grid-template-columns: 44px minmax(0, 1fr) auto; }.image-signal-row .signal-thumb { width: 44px; height: 44px; }.image-signal-row form { margin: 0; }.image-signal-row .danger-link { margin: 0; padding: 7px; }
.overlay-document, .overlay-document body { background: transparent !important; }.overlay-page, .overlay-widget-page { font-family: var(--overlay-font-family, "Nanum Gothic", sans-serif); }.overlay-card, .raffle-card { background: var(--overlay-card-bg, rgba(18, 37, 82, .72)); }.notice-card { font-size: 2rem; }.goals-card h2, .signals-card h2, .photos-card h2 { font-size: 1.55rem; }.goals-card li { font-size: 1.12rem; background: var(--overlay-subtle-bg, rgba(187, 213, 255, .12)); }.signal-grid article { background: var(--overlay-item-bg, rgba(243, 248, 255, .9)); }.signal-grid article.image-only { min-height: 0; padding: 0; background: transparent; }.signal-grid article.image-only .signal-image { width: 100%; height: 100%; min-height: 0; border-radius: 10px; object-fit: contain; }.photo-grid figure { background: var(--overlay-item-bg, rgba(249, 252, 255, .9)); }.photo-qr-card b { font-size: 2rem; }.photo-qr-card small, .photo-qr-card em { font-size: 1rem; }.raffle-card b { font-size: 1.35rem; }.raffle-card strong { font-size: 1.85rem; }
.style-panel-wide { grid-column: 1 / -1; }.widget-style-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }.widget-style-form { display: grid; gap: 10px; padding: 15px; border: 1px solid rgba(173, 199, 255, .2); border-radius: 12px; background: rgba(6, 14, 43, .26); }.widget-style-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }.widget-style-heading h3 { margin: 0; font-size: 1rem; }.widget-style-form > label { display: grid; grid-template-columns: 116px minmax(0, 1fr) auto; align-items: center; gap: 9px; color: #dce6ff; font-size: .86rem; }.widget-style-form .opacity-control { grid-template-columns: 116px minmax(120px, 1fr) 40px; }.widget-style-form input[type="range"] { min-width: 0; padding: 0; accent-color: #ff80bd; }.widget-style-form input[type="number"] { min-width: 0; padding: .55rem .65rem; }.widget-style-form > label > span, .widget-style-form output { color: #ffbedc; font-size: .82rem; }.widget-style-form button { justify-self: end; padding: .55rem .8rem; font-size: .82rem; }
/* Inline styles from the overlay page own the final background alpha. These fallbacks also keep each widget's pixel font size independent. */
.overlay-card, .raffle-card { font-family: var(--overlay-font-family, "Nanum Gothic", sans-serif); }.notice-card { font-size: var(--widget-font-size, 32px) !important; }.goals-card h2, .signals-card h2, .photos-card h2 { font-size: var(--widget-heading-size, 24px) !important; }.goals-card li { font-size: var(--widget-font-size, 18px) !important; }.signal-grid article, .overlay-empty { font-size: var(--widget-font-size, 18px) !important; }.photo-qr-card b { font-size: var(--widget-font-size, 20px) !important; }.photo-qr-card small, .photo-qr-card em, .goals-card h2 em, .signal-grid small { font-size: var(--widget-small-size, 14px) !important; }.raffle-card b { font-size: var(--widget-font-size, 20px) !important; }.raffle-card strong { font-size: var(--widget-heading-size, 26px) !important; }
@media (max-width: 820px) { .container { padding: 30px 16px; }.topbar { padding: 0 16px; }.page-heading, .section-heading { display: block; }.stats { margin-top: 15px; }.dashboard-grid, .media-grid, .widget-style-grid { grid-template-columns: 1fr; }.compact-fields { grid-template-columns: 1fr 1fr; }.application-card, .media-review { grid-template-columns: 1fr; }.media-review img { width: 100%; height: 180px; }.overlay-right { min-width: 0; width: 42%; }.signals-card { min-width: 0; width: 55%; }.photos-card { min-width: 0; width: 36%; }.signal-grid { grid-template-columns: repeat(2, 1fr); }.photo-grid { grid-template-columns: repeat(2, 1fr); } }

/* Modern light application shell. OBS overlay pages keep their transparent dark-card theme above. */
:root { --bg: #f6f7fb; --panel: #ffffff; --line: #e4e7ec; --text: #172033; --muted: #667085; --accent: #ec4899; color: var(--text); background: var(--bg); }
body:not(.overlay-page):not(.overlay-widget-page) { color: var(--text); background: linear-gradient(180deg, #ffffff 0, #f7f8fc 280px, #f4f6fa 100%); }
a { color: #d92d78; }
.topbar { height: 68px; background: rgba(255,255,255,.92); border-bottom: 1px solid #eaecf0; box-shadow: 0 1px 2px rgba(16,24,40,.04); backdrop-filter: blur(14px); position: sticky; top: 0; z-index: 20; }
.brand { color: #101828; letter-spacing: -.045em; }.brand span { color: #e83e8c; }
.user-nav { color: #667085; }.link-button { color: #475467; }.danger-link { color: #d92d20; }
.container { max-width: 1240px; padding-top: 38px; }
.page-heading { margin-bottom: 26px; align-items: center; }.page-heading h1 { color: #101828; font-size: clamp(1.9rem, 4vw, 2.55rem); }.page-heading p { color: #667085; }.eyebrow, .panel-kicker { color: #d92d78; }
.stats span { color: #667085; background: #fff; border: 1px solid #eaecf0; box-shadow: 0 1px 2px rgba(16,24,40,.04); }.stats b { color: #101828; }
.flash { color: #067647; background: #ecfdf3; border-color: #abefc6; box-shadow: 0 1px 2px rgba(16,24,40,.03); }
.dashboard-grid { gap: 20px; }.panel, .application-card, .media-review, .auth-card, .setup-card, .share-card, .fan-card { color: #172033; background: #fff; border-color: #e4e7ec; box-shadow: 0 8px 28px rgba(16,24,40,.06); }
.panel { padding: 24px; border-radius: 20px; }.panel h2 { margin-bottom: 0; color: #101828; font-size: 1.2rem; }.panel-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }.panel-heading > small { color: #98a2b3; }.panel-kicker { display: block; margin-bottom: 5px; font-size: .68rem; font-weight: 800; letter-spacing: .14em; }
button, .button { border-radius: 10px; transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }button:hover, .button:hover { filter: none; transform: translateY(-1px); }
button.primary, .button.primary { color: #fff; background: #e83e8c; box-shadow: 0 5px 14px rgba(232,62,140,.2); }button.primary:hover, .button.primary:hover { background: #d92d78; }
button.secondary, .button.secondary { color: #344054; background: #fff; border: 1px solid #d0d5dd; box-shadow: 0 1px 2px rgba(16,24,40,.04); }button.secondary:hover, .button.secondary:hover { background: #f9fafb; }
button:disabled { cursor: not-allowed; opacity: .55; transform: none; }
input, textarea, select { color: #101828; background: #fff; border-color: #d0d5dd; box-shadow: 0 1px 2px rgba(16,24,40,.04); outline: none; }input:focus, textarea:focus, select:focus { border-color: #f670c7; box-shadow: 0 0 0 3px rgba(238,70,153,.12); }
.stack label, .share-card label, .action-panel label { color: #344054; }.muted, small { color: #667085; }.notice, .warning-text { color: #9e165f; }
.inline-form { gap: 9px; }.switch { color: #475467; }.switch input { accent-color: #e83e8c; }
.goal-item { padding: 7px 0; border-color: #f0f1f3; }.check { color: #98a2b3; }.check.done { color: #175cd3; background: #eff8ff; }.goal-complete { color: #98a2b3; }.goal-actions summary { color: #667085; }.goal-actions-body { background: #f9fafb; border-color: #eaecf0; }
.signal-list { max-height: 230px; }.signal-row { background: #f8f9fc; border: 1px solid #eef0f4; }.signal-upload-box { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; }.signal-upload-preview { width: 52px; height: 52px; flex: 0 0 auto; object-fit: cover; border-radius: 12px; border: 1px solid #eaecf0; }.signal-upload-button { min-height: 52px; color: #475467; background: #fafafa; border-color: #d0d5dd; }.signal-file-name { max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }.upload-help { margin: 7px 0 0; color: #98a2b3; font-size: .75rem; }
.overlay-issue { border-color: #eaecf0; }.overlay-issue-copy { display: grid; gap: 3px; }.overlay-issue-copy b { color: #344054; font-size: .84rem; }.overlay-issue small { color: #667085; }
.inline-settings { margin-top: 12px; padding-top: 12px; border-top: 1px solid #eaecf0; }.inline-settings summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #475467; font-size: .84rem; font-weight: 700; cursor: pointer; list-style: none; }.inline-settings summary::-webkit-details-marker { display: none; }.inline-settings summary::after { content: '＋'; color: #98a2b3; }.inline-settings[open] summary::after { content: '－'; }.inline-settings summary small { margin-left: auto; font-weight: 500; }.inline-settings .widget-style-form { margin-top: 14px; padding: 16px; background: #f9fafb; border-color: #eaecf0; box-shadow: none; }.widget-style-form > label { color: #344054; }.widget-style-form > label > span, .widget-style-form output { color: #d92d78; }
.style-summary { display: inline-flex; align-items: center; gap: 7px; }.style-summary i { width: 13px; height: 13px; flex: 0 0 auto; border: 2px solid #fff; border-radius: 50%; background: var(--style-swatch); box-shadow: 0 0 0 1px #d0d5dd, 0 1px 3px rgba(16,24,40,.15); }.widget-style-form .color-control { grid-template-columns: 116px 54px 1fr; }.widget-style-form input[type="color"] { width: 54px; min-height: 38px; padding: 3px; cursor: pointer; }.widget-style-form .color-control span { font-family: "Nanum Gothic Coding", ui-monospace, monospace; color: #475467; letter-spacing: .02em; }
.action-panel { align-items: stretch; }.action-panel p { min-height: 0; color: #667085; }.session-list li { border-color: #eaecf0; }
.fan-overlay-sections { display: grid; gap: 12px; margin-top: 18px; }.fan-overlay-sections > section { padding: 16px; border: 1px solid #eaecf0; border-radius: 16px; background: #f9fafb; }.fan-overlay-sections h3 { margin: 0 0 5px; color: #101828; font-size: .94rem; }.fan-overlay-sections > section > p { margin: 0; color: #667085; font-size: .8rem; line-height: 1.45; }.fan-overlay-sections .overlay-issue { margin-top: 12px; }.fan-overlay-sections .inline-settings { margin-top: 10px; }.fan-overlay-sections .inline-settings .widget-style-form { background: #fff; }
.game-panel { grid-column: 1 / -1; }.game-panel > p { max-width: 720px; }.game-panel > form { display: grid; grid-template-columns: minmax(240px, 1fr) 180px auto; gap: 12px; align-items: end; }.game-panel > form label { margin: 0; }.game-panel > form button { min-height: 43px; }
.pill { font-weight: 700; }.pill.ok { color: #067647; background: #ecfdf3; }.pill.warning { color: #b54708; background: #fffaeb; }.pill.danger { color: #b42318; background: #fef3f2; }.pill.muted { color: #475467; background: #f2f4f7; }
.media-library { margin-top: 8px; padding-bottom: 24px; }.section-heading h2 { color: #101828; font-size: 1.45rem; }.media-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }.media-review { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; border-radius: 18px; }.media-preview { position: relative; background: #f2f4f7; }.media-review .media-preview img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 0; }.media-preview .pill { position: absolute; top: 12px; left: 12px; margin: 0; box-shadow: 0 2px 8px rgba(16,24,40,.13); }.media-copy { flex: 1; padding: 16px 16px 10px; }.media-copy h3 { color: #101828; }.media-copy p { min-height: 38px; color: #475467; }.media-review form { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 16px; }.media-review form button { flex: 1 1 auto; }.media-duration { flex: 1 1 100%; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px; color: #475467; font-size: .78rem; }.media-duration select { min-height: 38px; padding: .48rem .65rem; }.broadcast-until { flex: 1 1 100%; padding: 9px 11px; border-radius: 9px; color: #067647; background: #ecfdf3; font-size: .78rem; font-weight: 700; text-align: center; }
.empty { color: #667085; background: #fff; border-color: #d0d5dd; }.table-wrap { border-radius: 16px; box-shadow: 0 8px 24px rgba(16,24,40,.05); }table { color: #344054; background: #fff; border-color: #eaecf0; }th, td { border-color: #eaecf0; }th { color: #667085; background: #f9fafb; }
.auth-card, .setup-card, .share-card, .fan-card { border-radius: 22px; }.fan-card .notice { color: #9e165f; background: #fdf2fa; }.qr { background: #101828; }

/* Broadcast cards use the selected base color to build a restrained glass gradient. */
.overlay-card { position: relative; overflow: hidden; isolation: isolate; border-width: 1px; border-style: solid; }
.overlay-card::after { content: ''; position: absolute; z-index: 0; inset: 0; pointer-events: none; border-radius: inherit; opacity: var(--overlay-sheen-opacity, .55); background: linear-gradient(118deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,.04) 24%, transparent 45%, transparent 76%, rgba(255,255,255,.08) 100%); mix-blend-mode: screen; }
.overlay-card > * { position: relative; z-index: 1; }
.notice-card { border-radius: 22px; }.notice-card .overlay-icon { text-shadow: 0 0 18px rgba(255,190,225,.85); }.notice-card b { letter-spacing: -.025em; text-shadow: 0 2px 8px rgba(0,0,0,.22); }
.goals-card { border-radius: 22px; }.goals-card h2 { padding-bottom: 9px; border-bottom: 1px solid rgba(255,255,255,.14); text-shadow: 0 2px 9px rgba(0,0,0,.2); }.goals-card li { border: 1px solid rgba(255,255,255,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
.signals-card, .photos-card, .photo-qr-card { border-radius: 24px; }.signals-card h2, .photos-card h2 { padding-bottom: 9px; border-bottom: 1px solid rgba(255,255,255,.14); text-shadow: 0 2px 9px rgba(0,0,0,.2); }.signal-grid article, .photo-grid figure, .broadcast-qr { box-shadow: 0 8px 22px rgba(0,0,0,.17), inset 0 1px 0 rgba(255,255,255,.28); }.signal-grid article.image-only .signal-image { filter: drop-shadow(0 7px 12px rgba(0,0,0,.16)); }.photo-qr-card b { text-shadow: 0 2px 10px rgba(0,0,0,.25); }

@media (max-width: 1020px) { .media-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) { .container { padding: 28px 16px 52px; }.topbar { padding: 0 16px; }.dashboard-grid, .media-grid { grid-template-columns: 1fr; }.panel { padding: 20px; }.widget-style-form > label { grid-template-columns: 104px minmax(0, 1fr) auto; }.widget-style-form .color-control { grid-template-columns: 104px 54px minmax(0, 1fr); }.media-review .media-preview img { height: auto; }.signal-image-form { align-items: stretch; flex-direction: column; }.signal-upload-box { width: 100%; }.game-panel { grid-column: auto; }.game-panel > form { grid-template-columns: 1fr; } }
