.ttcn-notice[hidden] { display: none !important; }
.ttcn-notice {
    position: fixed;
    z-index: 2147483000;
    bottom: max(14px, env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
    width: min(320px, calc(100vw - 24px));
    padding: 10px 12px;
    color: #222;
    background: #fff;
    border: 1px solid #dddddd;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,.14);
    font: 13px/1.35 -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    text-align: center;
}
.ttcn-notice__text {
    margin: 0 0 8px;
    padding: 0;
    color: #222;
}
.ttcn-notice__text a {
    color: #b01316;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.ttcn-notice__buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
}
.ttcn-btn {
    min-width: 88px;
    min-height: 28px;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 600;
    cursor: pointer;
    transition: background-color .15s ease;
}
.ttcn-btn--accept { background: #b01316; border: 1px solid #b01316; color: #fff; }
.ttcn-btn--accept:hover { background: #941014; }
.ttcn-btn--reject { background: #fff; border: 1px solid #aaa; color: #333; }
.ttcn-btn--reject:hover { background: #f4f4f4; }
.ttcn-btn:focus-visible, .ttcn-notice a:focus-visible { outline: 2px solid #222; outline-offset: 2px; }
@media (max-width: 360px) {
    .ttcn-notice { width: calc(100vw - 16px); padding: 9px 10px; }
    .ttcn-btn { min-width: 0; flex: 1; }
}
