/* Scoped to the notice and its document; existing site styles are unchanged. */
.oe-kvkk-notice,
.oe-kvkk-reopen,
.oe-kvkk-noscript,
.oe-kvkk-page,
.oe-kvkk-notice *,
.oe-kvkk-page * { box-sizing: border-box; }

.oe-kvkk-notice[hidden],
.oe-kvkk-reopen[hidden] { display: none !important; }

.oe-kvkk-notice {
    position: fixed;
    z-index: 990;
    left: 18px;
    bottom: 18px;
    left: max(18px, env(safe-area-inset-left));
    bottom: max(18px, env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    width: 330px;
    max-width: calc(100vw - 100px);
    max-height: calc(100vh - 36px);
    padding: 12px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    background: #28262e;
    color: #fff;
    box-shadow: 0 4px 18px rgba(0,0,0,.15);
    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: 1.45;
    text-align: left;
    direction: ltr;
}
.oe-kvkk-notice__text {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #aaa6b8 #28262e;
}
.oe-kvkk-notice .oe-kvkk-notice__text p {
    margin: 0;
    color: #fff;
    font: inherit;
    letter-spacing: normal;
}
.oe-kvkk-notice .oe-kvkk-notice__dismiss {
    flex-shrink: 0;
    display: block;
    width: 100%;
    min-height: 44px;
    margin: 8px 0 1px;
    padding: 8px 12px;
    border: 1px solid #fff;
    border-radius: 5px;
    background: #fff;
    color: #28262e;
    font: 600 13px/1.4 Arial, sans-serif;
    text-align: center;
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
}
.oe-kvkk-notice .oe-kvkk-notice__dismiss:hover { background: #f0edf6; }
.oe-kvkk-notice .oe-kvkk-notice__link {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 0;
    padding: 5px 0 0;
    color: #e4ddff;
    font: 13px/1.45 Arial, sans-serif;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.oe-kvkk-reopen {
    position: fixed;
    z-index: 990;
    left: 18px;
    bottom: 12px;
    left: max(18px, env(safe-area-inset-left));
    bottom: max(12px, env(safe-area-inset-bottom));
    min-height: 44px;
    max-width: calc(100vw - 100px);
    padding: 9px 13px;
    border: 1px solid #ddd8e8;
    border-radius: 6px;
    background: #fff;
    color: #443b63;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    font: 12px/1.4 Arial, sans-serif;
    text-transform: none;
    letter-spacing: normal;
    cursor: pointer;
}
.oe-kvkk-reopen:hover { background: #f6f4f9; }
.oe-kvkk-notice :focus-visible,
.oe-kvkk-reopen:focus-visible { outline: 3px solid #8fdcf1; outline-offset: 3px; }
.oe-kvkk-notice--editing,
.oe-kvkk-reopen--editing { visibility: hidden; }
.oe-kvkk-noscript {
    padding: 15px 20px;
    background: #28262e;
    color: #fff;
    font: 14px/1.5 Arial, sans-serif;
}
.oe-kvkk-noscript p { color: #fff; margin: 0 0 6px; }
.oe-kvkk-noscript a { color: #e4ddff; text-decoration: underline; }

.oe-kvkk-page {
    margin: 0;
    background: #f6f5f8;
    color: #302c3b;
    font: 16px/1.75 Arial, sans-serif;
}
.oe-kvkk-page a { color: #493578; text-underline-offset: 3px; }
.oe-kvkk-page a:focus-visible { outline: 3px solid #4eaac8; outline-offset: 4px; }
.oe-kvkk-page__header { background: #fff; border-bottom: 1px solid #e6e2ed; }
.oe-kvkk-page__header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 960px;
    margin: 0 auto;
    padding: 22px 28px;
}
.oe-kvkk-page__brand { font-size: 15px; font-weight: 700; color: #3d3272; }
.oe-kvkk-page__home { flex-shrink: 0; padding: 7px 0; font-size: 14px; }
.oe-kvkk-page__main { max-width: 904px; margin: 38px auto 70px; padding: 0 24px; }
.oe-kvkk-page__intro { margin-bottom: 28px; }
.oe-kvkk-page__intro h1 { margin: 0 0 12px; color: #3d3272; font-size: 32px; line-height: 1.25; }
.oe-kvkk-page__meta { color: #66616e; font-size: 14px; }
.oe-kvkk-page__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 18px; }
.oe-kvkk-page__nav a { min-height: 44px; padding: 9px 0; font-size: 15px; }
.oe-kvkk-page__section { margin: 24px 0; padding: 30px 36px; border: 1px solid #e6e2ed; border-radius: 10px; background: #fff; }
.oe-kvkk-page h2 { margin: 0 0 20px; color: #3d3272; font-size: 25px; line-height: 1.35; }
.oe-kvkk-page h3 { margin: 28px 0 10px; font-size: 18px; line-height: 1.4; }
.oe-kvkk-page p { margin: 0 0 14px; }
.oe-kvkk-page ul { padding-left: 22px; }
.oe-kvkk-page li { margin-bottom: 10px; }
.oe-kvkk-page address { font-style: normal; }
.oe-kvkk-page__section { overflow-wrap: anywhere; scroll-margin-top: 20px; }

@media (max-width: 600px) {
    .oe-kvkk-notice {
        left: 10px;
        bottom: 10px;
        left: max(10px, env(safe-area-inset-left));
        bottom: max(10px, env(safe-area-inset-bottom));
        width: 320px;
        max-width: calc(100vw - 88px);
        max-height: 34vh;
        max-height: 34dvh;
        padding: 8px;
        border-radius: 7px;
        font-size: 12.5px;
        line-height: 1.4;
    }
    .oe-kvkk-notice .oe-kvkk-notice__dismiss { margin-top: 4px; }
    .oe-kvkk-notice .oe-kvkk-notice__link { font-size: 12px; }
    .oe-kvkk-reopen { left: 10px; bottom: 10px; }
    .oe-kvkk-page__header-inner { padding: 16px 20px; gap: 14px; align-items: flex-start; }
    .oe-kvkk-page__brand { font-size: 13px; }
    .oe-kvkk-page__home { font-size: 13px; }
    .oe-kvkk-page__main { padding: 0 14px; margin-top: 28px; }
    .oe-kvkk-page__intro { padding: 0 6px; }
    .oe-kvkk-page__intro h1 { font-size: 27px; }
    .oe-kvkk-page__section { padding: 23px 20px; }
    .oe-kvkk-page h2 { font-size: 23px; }
}
@media (max-height: 450px) {
    .oe-kvkk-notice { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
    .oe-kvkk-notice__text { max-height: 26vh; }
}
@media print {
    .oe-kvkk-notice, .oe-kvkk-reopen, .oe-kvkk-noscript { display: none !important; }
    .oe-kvkk-page { background: #fff; color: #000; }
    .oe-kvkk-page__main { max-width: none; margin: 0; padding: 0; }
    .oe-kvkk-page__nav, .oe-kvkk-page__home { display: none; }
    .oe-kvkk-page__section { border: 0; padding: 0; }
    .oe-kvkk-page h2, .oe-kvkk-page h3 { break-after: avoid; }
}
