:root{--legal-body-size:16px;--legal-detail-size:14px;--legal-body-leading:1.6}
/* First-visit notice. Choosing or dismissing it never blocks browsing. */
.analytics-panel[hidden],.analytics-close[hidden]{display:none}
.analytics-panel{position:fixed;right:1.8%;bottom:22px;width:440px;max-width:calc(100vw - 36px);z-index:100;background:linear-gradient(150deg,rgba(51,51,51,.74),rgba(24,24,24,.84));-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);color:#f3f3ef;border:1px solid #ffffff14;border-radius:20px;padding:22px;box-shadow:0 12px 48px #0003;font-size:var(--legal-body-size);line-height:var(--legal-body-leading);letter-spacing:0;max-height:calc(100dvh - 32px);overflow-y:auto}
.analytics-panel h2{font-size:18px;line-height:1.35;font-weight:500;margin:0 32px 14px 0;letter-spacing:-.015em}
.analytics-panel p{color:#e0e0de;margin:0;font-size:15px;line-height:1.5}
.consent-meta{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 20px;margin-top:14px}
.consent-policy{font-size:13px;color:#c4c4c2;text-decoration:underline;text-underline-offset:4px;line-height:1.5;padding:3px 0}
.consent-policy:hover{opacity:1;color:#fff}
.analytics-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:18px}
.analytics-actions button{padding:11px 8px;min-height:44px;border:1px solid #f3f3ef;border-radius:5px;font-size:14px;font-weight:400;text-align:center;background:#f3f3ef;color:#181818;line-height:1.3;transition:background .15s,border-color .15s}
.analytics-actions button:hover{background:#dcdcd9;border-color:#dcdcd9}
.analytics-actions .analytics-customise{background:transparent;color:#f3f3ef;border-color:#bdbdb9}
.analytics-actions .analytics-customise:hover{background:#ffffff12;border-color:#f3f3ef}
.analytics-close{position:absolute;right:12px;top:12px;width:36px;height:36px;font-size:22px;line-height:1;color:#c4c4c2}
/* Legal links grouped beside the copyright at the right-hand edge. */
.footer-meta .footer-legal{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:24px;font-size:inherit;line-height:inherit;color:inherit}
.footer-legal a,.footer-legal button,.footer-legal span{white-space:nowrap}
.analytics-setting{font:inherit;color:inherit;line-height:inherit;text-align:left}
.analytics-setting:hover{color:#f3f3ef}
/* Native modal focus management, with a separate scroll area. */
.cookie-dialog{box-sizing:border-box;padding:0;border:1px solid #353535;border-radius:14px;background:#1b1b1b;color:#f3f3ef;width:min(720px,calc(100vw - 48px));max-width:none;max-height:calc(100dvh - 64px);overflow:hidden;font:inherit;box-shadow:0 24px 100px #0005}
.cookie-dialog:not([open]){display:none}
.cookie-dialog[open]{display:flex;flex-direction:column}
.cookie-dialog::backdrop{background:rgba(0,0,0,.58)}
.cookie-dialog-heading{position:relative;flex:none;padding:24px 28px 22px;border-bottom:1px solid #3b3b3b}
.cookie-dialog-heading h2{font-size:20px;font-weight:500;letter-spacing:0;line-height:1.35;padding-right:30px}
.cookie-dialog-close{position:absolute;right:16px;top:14px;width:44px;height:44px;font-size:26px;color:#c9c9c9;line-height:1}
.cookie-dialog-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:22px 28px 0;font-size:var(--legal-body-size);line-height:var(--legal-body-leading)}
.cookie-dialog-body p{font-size:var(--legal-body-size);line-height:var(--legal-body-leading);color:#c5c5c5;margin:0}
.cookie-dialog-body>.cookie-introduction{margin-bottom:22px}
.cookie-row{position:relative;padding:20px 0;border-top:1px solid #3b3b3b}
.cookie-row>p{margin-top:10px;padding-right:4px}
.cookie-row-top{display:flex;gap:20px;align-items:center;justify-content:space-between}
.cookie-row-top h3,.cookie-row-top label{font-size:var(--legal-body-size);font-weight:500;margin:0;line-height:1.4;letter-spacing:0}
.cookie-always{font-size:var(--legal-detail-size);color:#bcbcbc;white-space:nowrap}
.cookie-switch{appearance:none;-webkit-appearance:none;flex:none;width:42px;height:24px;margin:0;border:1px solid #656565;border-radius:20px;background:#444;position:relative;cursor:pointer;transition:background .15s}
.cookie-switch::before{content:"";display:block;position:absolute;width:16px;height:16px;border-radius:50%;background:#c8c8c8;left:3px;top:3px;transition:transform .15s}
.cookie-switch:checked{background:#f1f1ee;border-color:#f1f1ee}
.cookie-switch:checked::before{background:#252525;transform:translateX(18px)}
.cookie-switch:focus-visible{outline:2px solid #f3f3ef;outline-offset:4px}
.cookie-row details{margin-top:12px;color:#b7b7b7;font-size:var(--legal-detail-size);line-height:var(--legal-body-leading)}
.cookie-row summary{cursor:pointer;width:fit-content;color:#bbb;text-decoration:underline;text-underline-offset:3px}
.cookie-row details p{font-size:var(--legal-detail-size);line-height:var(--legal-body-leading);margin-top:9px}
.cookie-dialog-body .cookie-scope{padding:0 0 22px;color:#b7b7b7;font-size:var(--legal-detail-size);line-height:var(--legal-body-leading)}
.cookie-dialog-body a{color:#dedede;text-decoration:underline;text-underline-offset:3px}
.cookie-dialog-actions{flex:none;display:grid;grid-template-columns:1fr 1fr 1fr;gap:10px;border-top:1px solid #3b3b3b;padding:20px 28px 24px;background:#1b1b1b}
.cookie-dialog-actions button{min-height:44px;padding:11px 8px;background:#f1f1ee;color:#191919;border:1px solid #f1f1ee;border-radius:3px;font-size:var(--legal-body-size);font-weight:400;line-height:1.3}
.cookie-dialog-actions button:hover{background:#d9d9d7;border-color:#d9d9d7}
@media(max-width:700px){.analytics-panel{left:5%;right:5%;bottom:max(16px,env(safe-area-inset-bottom));width:auto;max-width:none;padding:20px}.footer-meta{flex-wrap:wrap;row-gap:14px}.footer-meta .footer-legal{gap:16px;flex-wrap:wrap;justify-content:flex-end;font-size:inherit}.footer-legal span{flex-basis:100%;text-align:right}.cookie-dialog{width:calc(100vw - 32px);max-height:calc(100dvh - 40px);border-radius:12px}.cookie-dialog-heading{padding:20px}.cookie-dialog-heading h2{font-size:18px}.cookie-dialog-close{right:9px;top:8px}.cookie-dialog-body{padding:18px 20px 0}.cookie-dialog-actions{grid-template-columns:1fr;padding:16px 20px 20px;gap:8px}.cookie-dialog-actions button{min-height:42px}.cookie-row{padding:18px 0}}
@media(max-width:700px){.footer-meta{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:16px;align-items:start}.footer-meta .footer-legal{width:100%;margin-left:0;gap:12px 16px}.footer-meta>a{font-size:inherit;line-height:inherit}}

/* Language controls share the policy language without changing consent. */
.cookie-languages{display:flex;gap:16px;margin-top:14px;font-size:13px;line-height:1.5}
.cookie-languages button{font:inherit;color:#a5a5a5;padding:3px 0}
.cookie-languages button[aria-pressed=true]{color:#f3f3ef;text-decoration:underline;text-underline-offset:4px}
.analytics-panel .cookie-languages{margin-top:0}
.cookie-dialog[lang=ko],.analytics-panel[lang=ko]{word-break:keep-all;overflow-wrap:break-word}

@media(max-width:700px){:root{--legal-body-size:15px}.analytics-panel h2{font-size:17px}.cookie-row-top{gap:12px}}

@media(max-width:700px){
  .analytics-panel{left:16px;right:16px;bottom:max(16px,env(safe-area-inset-bottom));border-radius:18px;padding:22px 20px 20px}
  .analytics-panel h2{font-size:18px;margin-bottom:14px}
  .analytics-panel p{line-height:1.5}
  .consent-meta{gap:8px 14px;margin-top:16px}
  .analytics-actions{gap:7px;margin-top:20px}
  .analytics-actions button{font-size:14px;padding:11px 5px;min-height:44px}
}
@media(max-width:359px){.analytics-panel{left:12px;right:12px;padding:20px 16px}.analytics-actions button{font-size:13px}.consent-meta{column-gap:10px}}
