/* Cookie banner and Preference Center. Shared by every page. */
.cc-banner, .cc-dialog { font: 400 16px/1.5 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: -.008em; color: #2b3038; box-sizing: border-box; }
.cc-banner *, .cc-dialog * { box-sizing: border-box; }
.cc-banner { position: fixed; left: 50%; bottom: 16px; z-index: 1000; width: min(760px, calc(100% - 24px)); padding: 20px 22px; border: 1px solid rgba(0, 26, 110, .1); border-radius: 18px; background: #fff; box-shadow: 0 16px 50px rgba(0, 12, 66, .28); transform: translateX(-50%); }
.cc-banner p { margin: 0; font-size: 15px; }
.cc-banner a, .cc-dialog a { color: #005BD1; text-decoration: underline; text-underline-offset: 2px; }
.cc-row { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 16px; }
.cc-btn { min-height: 44px; padding: 0 20px; border: 1px solid #cfd3da; border-radius: 999px; background: #fff; color: #1d2128; font: 500 15px Inter, -apple-system, sans-serif; cursor: pointer; }
.cc-btn:hover { background: #f1f5fb; }
.cc-btn.on { border-color: #005BD1; background: #005BD1; color: #fff; }
.cc-btn.on:hover { background: #004AAD; }
.cc-btn:focus-visible, .cc-dialog summary:focus-visible, .cc-switch input:focus-visible + i, .cc-x:focus-visible, .cc-dialog select:focus-visible { outline: 2px solid #0070FF; outline-offset: 2px; }
.cc-back { position: fixed; inset: 0; z-index: 1001; display: grid; place-items: center; padding: 16px; background: rgba(0, 6, 40, .45); }
.cc-dialog { display: flex; flex-direction: column; width: min(640px, 100%); max-height: calc(100dvh - 32px); border-radius: 20px; background: #fff; box-shadow: 0 30px 90px rgba(0, 6, 40, .5); }
.cc-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid #e7e9ee; }
.cc-head h2 { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.015em; color: #1d2128; }
.cc-x { width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: #5b6470; font-size: 22px; line-height: 1; cursor: pointer; }
.cc-x:hover { background: #f1f2f4; }
.cc-body { padding: 20px 24px; overflow-y: auto; font-size: 15px; }
.cc-body > p { margin: 0 0 16px; }
.cc-note { margin: 0 0 16px; padding: 10px 14px; border-radius: 12px; background: #e8f7ee; color: #15603a; font-size: 14px; }
.cc-state { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 8px; font-size: 14px; font-weight: 500; }
.cc-state select { padding: 7px 10px; border: 1px solid #cfd3da; border-radius: 10px; background: #fff; color: #1d2128; font: inherit; }
.cc-law { margin: 0 0 16px !important; font-size: 13.5px; color: #5b6470; }
.cc-cat { margin-top: 10px; border: 1px solid #e0e3e9; border-radius: 14px; }
.cc-cat summary { display: flex; align-items: center; gap: 10px; padding: 14px 16px; font-weight: 600; color: #1d2128; cursor: pointer; list-style: none; }
.cc-cat summary::-webkit-details-marker { display: none; }
.cc-cat summary::before { content: "›"; color: #5b6470; transition: transform .15s; }
.cc-cat[open] summary::before { transform: rotate(90deg); }
.cc-cat summary > span { flex: 1; }
.cc-cat p { margin: 0; padding: 0 16px 14px 34px; font-size: 14px; color: #4b5260; }
.cc-always { color: #2f7a4d; font-size: 14px; font-weight: 600; }
.cc-switch { position: relative; display: inline-block; width: 44px; height: 26px; flex: none; }
.cc-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.cc-switch input:disabled { cursor: not-allowed; }
.cc-switch i { position: absolute; inset: 0; border-radius: 99px; background: #c7cad1; transition: background .15s; pointer-events: none; }
.cc-switch i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .15s; }
.cc-switch input:checked + i { background: #0070FF; }
.cc-switch input:checked + i::after { transform: translateX(18px); }
.cc-switch input:disabled + i { opacity: .5; }
.cc-foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; padding: 14px 24px; border-top: 1px solid #e7e9ee; }
@media (max-width: 560px) { .cc-row .cc-btn, .cc-foot .cc-btn { flex: 1 1 100%; } .cc-banner { bottom: 8px; padding: 16px; } .cc-row { margin-top: 12px; gap: 8px; } }
@media (max-width: 860px) { .has-tabbar .cc-banner { bottom: 76px; } }
