.notice-board { display: flex; flex-direction: column; gap: 16px; }
.notice-head, .notice-hero-top, .notice-row, .notice-float-head, .notice-pop-bar {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.notice-head h1 { margin: 0; font-size: 28px; line-height: 1.25; }
.notice-head p { margin: 4px 0 0; color: #9eb6cc; }
.notice-actions, .notice-float-actions, .notice-pane-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.notice-open, .notice-quiet, .notice-go {
    display: inline-flex; align-items: center; justify-content: center; min-height: 38px;
    padding: 8px 14px; border-radius: 10px; text-decoration: none; font-weight: 800; cursor: pointer;
}
.notice-open, .notice-go { border: 0; background: #22d3ee; color: #062033; }
.notice-quiet { border: 1px solid #2d6488; background: transparent; color: #d7eaf8; }
.notice-setting { color: #8fd8ea; font-weight: 700; text-decoration: none; }
.notice-hero, .notice-history, .notice-pane {
    border: 1px solid #1d4e70; border-radius: 16px; background: #10283f; color: #f4f8fc;
}
.notice-hero { padding: 18px 18px 16px; }
.notice-kicker { color: #67e7f5; font-size: 13px; font-weight: 800; }
.notice-hero time, .notice-row time, .notice-pane time { color: #8eabc4; font-size: 13px; white-space: nowrap; }
.notice-hero h2, .notice-pane h1 { margin: 10px 0 8px; font-size: 26px; line-height: 1.35; overflow-wrap: anywhere; }
.notice-excerpt, .notice-pane p { margin: 0; color: #c5d7e8; line-height: 1.55; overflow-wrap: anywhere; }
.notice-by { margin: 12px 0; color: #8eabc4; font-size: 13px; }
.onoff-mark {
    display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 26px;
    padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .04em;
}
.onoff-mark.on { background: #3dd68c; color: #06281a; }
.onoff-mark.off { background: #e0703a; color: #2a1208; }
.notice-row .onoff-mark { flex: 0 0 auto; }
.onoff-status {
    padding: 16px 18px; border: 1px solid #1d4e70; border-radius: 16px; background: #10283f;
}
.onoff-status.on { border-color: #2f9e62; }
.onoff-status.off { border-color: #c45a28; }
.onoff-status-main { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.onoff-kicker { color: #8fd8ea; font-size: 13px; font-weight: 800; }
.onoff-status-main strong {
    min-width: 72px; padding: 4px 12px; border-radius: 999px; text-align: center; font-size: 18px;
}
.onoff-status.on .onoff-status-main strong { background: #3dd68c; color: #06281a; }
.onoff-status.off .onoff-status-main strong { background: #e0703a; color: #2a1208; }
.onoff-status.unset .onoff-status-main strong { background: #16324a; color: #d7eaf8; }
.onoff-status-main time, .onoff-status-title { color: #8eabc4; font-size: 13px; }
.onoff-status [data-onoff-copy] { margin: 10px 0 0; color: #f4f8fc; line-height: 1.55; }
.onoff-note { min-height: 1.2em; margin: 8px 0 0; color: #9ee7c5; font-weight: 700; }
.onoff-actions, .onoff-dialog-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.onoff-go, .onoff-again, .onoff-quiet, .onoff-detail {
    display: inline-flex; align-items: center; justify-content: center; min-height: 40px;
    padding: 8px 14px; border-radius: 10px; border: 0; font-weight: 800; cursor: pointer; text-decoration: none;
}
.onoff-go.on, .onoff-go.on { background: #3dd68c; color: #06281a; }
.onoff-go.off { background: #e0703a; color: #2a1208; }
.onoff-again, .onoff-quiet, .onoff-detail { background: transparent; color: #d7eaf8; border: 1px solid #2d6488; }
.onoff-go:disabled, .onoff-again:disabled, .onoff-retry:disabled { opacity: .55; cursor: wait; }
.onoff-again[hidden], .onoff-retry[hidden] { display: none !important; }
.promo-copy { width: 100%; min-height: 140px; box-sizing: border-box; margin: 8px 0; padding: 10px 12px; border: 1px solid #2d6488; border-radius: 10px; background: #0c2236; color: #f4f8fc; }
.promo-claim label, .promo-claim select, .promo-claim input[type="url"] { display: block; width: 100%; margin-top: 8px; }
.onoff-retry { margin-top: 8px; }
.onoff-detail { white-space: nowrap; }
.onoff-dialog {
    position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center;
    padding: 16px; background: rgba(4, 12, 22, .62);
}
.onoff-dialog[hidden] { display: none !important; }
.onoff-sheet {
    width: min(440px, 100%); padding: 18px; border: 1px solid #1d4e70; border-radius: 16px; background: #10283f; color: #f4f8fc;
}
.onoff-sheet h2 { margin: 0 0 12px; font-size: 20px; }
.onoff-sheet label { display: block; margin: 10px 0; color: #c5d7e8; font-weight: 700; }
.onoff-sheet input[type="text"], .onoff-sheet input:not([type]), .onoff-sheet textarea {
    display: block; width: 100%; margin-top: 6px; padding: 10px 12px; box-sizing: border-box;
    border: 1px solid #2d6488; border-radius: 10px; background: #0c2236; color: #f4f8fc;
}
.onoff-dialog-help { margin: 8px 0 0; color: #9eb6cc; font-size: 13px; line-height: 1.5; }
.notice-fresh {
    display: inline-flex; margin-left: 8px; padding: 1px 7px; border-radius: 999px;
    background: #14384a; color: #67e7f5; font-size: 12px; font-weight: 800;
}
.notice-history { padding: 8px 8px 4px; }
.notice-history h2 { margin: 8px 10px; font-size: 16px; }
.notice-row {
    margin: 4px 0; padding: 12px 10px; border-radius: 12px; color: inherit; text-decoration: none;
}
.notice-row:hover { background: rgba(34, 211, 238, .08); }
.notice-row b { display: block; overflow-wrap: anywhere; }
.notice-row small { display: block; margin-top: 3px; color: #9eb6cc; }
.notice-empty { margin: 8px 10px 12px; color: #9eb6cc; }
.notice-manage { display: flex; gap: 6px; margin-top: 6px; }
.notice-home { display: block; margin-top: 8px; padding: 12px; border-radius: 12px; background: #10283f; color: inherit; text-decoration: none; }
.notice-home b { display: block; margin: 4px 0; overflow-wrap: anywhere; }
.notice-home small { color: #9eb6cc; }
.notice-float, .notice-pop {
    position: fixed; z-index: 100000; top: 64px; right: 16px; width: min(420px, calc(100vw - 20px));
    height: min(760px, calc(100vh - 80px)); max-height: calc(100vh - 80px); display: flex; flex-direction: column;
    border: 1px solid #1d4e70; border-radius: 16px; background: #0e2438; color: #f4f8fc;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .42);
}
.notice-float[hidden], .notice-pop[hidden] { display: none !important; }
.notice-float-head, .notice-pop-bar { padding: 12px 14px; border-bottom: 1px solid rgba(120, 170, 204, .25); }
.notice-float h2 { margin: 0 14px; font-size: 22px; line-height: 1.35; overflow-wrap: anywhere; }
.notice-float-head button, .notice-pop-bar button, .notice-pane-head button {
    min-width: 36px; min-height: 36px; border: 0; border-radius: 10px; background: #16324c; color: #f4f8fc; cursor: pointer;
}
.notice-copy { overflow: auto; min-height: 0; padding: 12px 14px; line-height: 1.6; }
.notice-copy img, .notice-pane-body img { max-width: 100%; height: auto; }
.notice-float-actions, .notice-pane-actions, .notice-auto { padding: 0 14px 12px; }
.notice-auto { color: #9eb6cc; font-size: 13px; }
.notice-pop iframe { flex: 1; width: 100%; min-height: 0; border: 0; background: #0e2438; }
.notice-pane { min-height: 100%; padding: 14px; box-sizing: border-box; }
.notice-pane-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.notice-pane-head[hidden] { display: none !important; }
.notice-pane-body { overflow: auto; max-height: calc(100vh - 230px); margin: 8px 0 12px; }
.notice-past { margin: 14px 0 0; padding: 0; list-style: none; }
.notice-past a { display: block; padding: 8px 0; border-top: 1px solid rgba(120, 170, 204, .2); color: #e7f3fc; text-decoration: none; overflow-wrap: anywhere; }
@media (max-width: 760px), (max-height: 680px) {
    .notice-head, .notice-hero-top, .notice-row { align-items: flex-start; flex-direction: column; }
    .notice-head h1, .notice-hero h2, .notice-pane h1 { font-size: 22px; }
    .notice-float, .notice-pop { top: 8px; right: 8px; left: 8px; width: auto; max-height: calc(100vh - 16px); }
    .notice-pane-body { max-height: calc(100vh - 210px); }
}
