.go-notice {
    position: fixed;
    z-index: 22;
    right: max(20px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    width: min(340px, calc(100% - 24px));
    box-sizing: border-box;
    font: 16px/1.55 system-ui, "Microsoft JhengHei", sans-serif;
    color: #2c322f;
    background: #fffdfa;
    border: 1px solid #dbcfc3;
    border-top: 4px solid #c45218;
    border-radius: 10px;
    box-shadow: 0 6px 24px #37251224;
    overflow: hidden;
}
.go-notice[hidden], .go-notice [hidden] { display: none !important; }
.go-notice-in { animation: notice-in .26s ease-out both; }
@keyframes notice-in { from { transform: translateX(28px); opacity: 0; } to { transform: none; opacity: 1; } }
.go-notice-bar { display: flex; align-items: stretch; }
.go-notice button { font: inherit; background: transparent; color: inherit; border: 0; cursor: pointer; border-radius: 5px; margin: 0; }
.go-notice .go-notice-toggle { display: flex; align-items: center; text-align: left; gap: 8px; flex: 1; min-width: 0; padding: 9px 0 9px 16px; min-height: 44px; }
.go-notice-brand { color: #954014; font-size: 13px; font-weight: 700; white-space: nowrap; }
.go-notice-compact-title { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.go-notice-chevron { margin: 0 6px 0 auto; flex: none; width: 8px; height: 8px; border: solid #795c4b; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.go-notice-toggle[aria-expanded="false"] .go-notice-chevron { transform: rotate(225deg); }
.go-notice .go-notice-close { min-width: 44px; min-height: 44px; font-size: 21px; color: #715e50; }
.go-notice :focus-visible { outline: 2px solid #ad410d; outline-offset: -2px; }
.go-notice-content { padding: 0 16px 16px; max-height: 52vh; overflow-y: auto; overflow-wrap: anywhere; }
.go-notice-title { display: block; font-size: 20px; line-height: 1.4; margin-bottom: 8px; }
.go-notice-copy { font-size: 15px; color: #504e48; white-space: pre-line; }
.go-notice-copy p { margin: .35em 0; }
.go-notice-content img { width: 100%; height: auto; display: block; border-radius: 5px; }
.go-notice-content .go-notice-cta { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 42px; margin-top: 12px; padding: 0 16px; border-radius: 5px; background: #a73e0a; color: #fff; text-decoration: none; font-weight: 650; }
.go-notice-inline { position: relative; right: auto; bottom: auto; margin: 12px max(12px, 2vw) 12px auto; }
.go-notice-preview { background: #faf6ef; font: 16px system-ui,sans-serif; margin: 2rem; }
@media(max-width:767px) {
    .go-notice:not(.go-notice-inline) { right: max(12px, env(safe-area-inset-right)); bottom: calc(12px + env(safe-area-inset-bottom)); }
}
@media(prefers-reduced-motion:reduce) { .go-notice-in { animation: none; } }
