/* 面板、標題列與按鈕沿用 main.css 既有版型；只處理通知視窗的排列與行為。 */
#plus-notice-dialog.plusNoticeDialog {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    box-sizing: border-box;
}
#plus-notice-dialog:not([open]) { display: none; }
#plus-notice-dialog[open] { display: block; }
#plus-notice-dialog::backdrop { background: #000c; backdrop-filter: blur(5px); }
#plus-notice-dialog .contentBox {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
#plus-notice-dialog .contentBox .popPanel {
    width: calc(100% - 32px);
    max-width: 400px;
    max-height: calc(100dvh - 40px);
    margin-top: 0;
    opacity: 1;
    pointer-events: auto;
}
#plus-notice-dialog .contentBox .popPanel .topBar {
    flex-shrink: 0;
    gap: 16px;
    padding: 14px 20px;
    box-shadow: none;
}
#plus-notice-dialog .contentBox .popPanel .topBar .title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
    outline: none;
}
#plus-notice-dialog .contentBox .popPanel .popContent {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px 20px 20px;
    height: auto;
    min-height: 0;
    box-sizing: border-box;
    overflow-y: auto;
}
#plus-notice-message { margin: 0; font-size: 16px; line-height: 1.75; overflow-wrap: anywhere; }
#plus-notice-dialog .cancelBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
}
#plus-notice-dialog .cancelBtn svg { display: block; }
#plus-notice-dialog :focus-visible { outline: 2px solid #6f22bf; outline-offset: 3px; }
#plus-notice-dialog .pBtn {
    align-self: flex-end;
    width: auto;
    min-width: 120px;
    min-height: 44px;
    padding: 10px 24px;
    border: 0;
    appearance: none;
    box-shadow: none;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.4;
}
