#yc-privacy{font:400 14px/1.65 system-ui,-apple-system,"Noto Sans TC",sans-serif;color:#e7edf5;position:relative;z-index:2147483000;text-align:left;color-scheme:dark}
#yc-privacy *,#yc-privacy *::before,#yc-privacy *::after{box-sizing:border-box}
#yc-privacy [hidden]{display:none!important}
#yc-privacy h2{font:700 clamp(20px,3vw,26px)/1.4 system-ui,sans-serif;margin:5px 0 8px;color:#fff;letter-spacing:0}
#yc-privacy p{margin:8px 0;color:#c6d3e2;font-size:14px;line-height:1.65}
#yc-privacy a{color:#8be1ed;text-decoration:underline;text-underline-offset:3px}
#yc-privacy button{appearance:none;font:600 14px/1.4 system-ui,sans-serif;letter-spacing:0;color:#f4f6fa;background:#152637;border:1px solid #7690a5;border-radius:10px;padding:12px 16px;min-height:46px;cursor:pointer;white-space:normal;text-transform:none}
#yc-privacy button:hover{background:#223e53;border-color:#b4dde7}
#yc-privacy :focus-visible{outline:3px solid #ffc76b;outline-offset:3px}
.yc-consent-banner{position:fixed;bottom:calc(12px + env(safe-area-inset-bottom,0px));left:20px;right:20px;max-width:820px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,300px);grid-template-areas:"copy actions" "copy settings";gap:14px 24px;padding:20px 22px;border:1px solid #64778a;border-radius:18px;background:#0b1624;box-shadow:0 12px 48px #0009;max-height:calc(85dvh - 24px);overflow:auto;overscroll-behavior:contain}
.yc-consent-copy{grid-area:copy}.yc-consent-actions{grid-area:actions}.yc-consent-settings-link{grid-area:settings;justify-self:center;border:0!important;background:transparent!important;color:#a9dfeb!important;min-height:36px!important;padding:6px 10px!important;text-decoration:underline;text-underline-offset:3px}
.yc-consent-eyebrow{font-size:11px;letter-spacing:.12em;color:#ffc76b}
#yc-privacy .yc-consent-note{font-size:12px}
.yc-consent-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-content:center}
.yc-consent-launcher{position:fixed;right:12px;bottom:calc(8px + env(safe-area-inset-bottom,0px))}
#yc-privacy .yc-consent-launcher button{font-size:12px;min-height:44px;padding:9px 12px;background:#0b1624;border-color:#65778c}
#yc-privacy dialog{margin:auto;max-width:600px;width:calc(100% - 24px);max-height:calc(100dvh - 32px);overflow:auto;border:1px solid #64778a;border-radius:20px;background:#0b1624;color:#edf3fa;padding:24px;overscroll-behavior:contain}
#yc-privacy dialog[open]{display:flex;flex-direction:column;gap:12px}
#yc-privacy dialog>header,#yc-privacy dialog>.yc-consent-actions{flex-shrink:0}
.yc-consent-body{overflow:auto;min-height:0;overscroll-behavior:contain}
#yc-privacy dialog::backdrop{background:#020713bc}
.yc-consent-category{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 0;border-block-start:1px solid #344557}
.yc-consent-category strong{font-size:16px;color:#fff}
.yc-consent-category>span{flex-shrink:0;font-size:12px;color:#b6c3d5}
#yc-privacy input[type=checkbox]{appearance:auto;flex:0 0 26px;width:26px;height:26px;margin:10px;accent-color:#6fd9de;cursor:pointer}
#yc-privacy .yc-consent-status:not(:empty){position:fixed;left:12px;bottom:64px;max-width:calc(100vw - 24px);background:#0b1624;padding:12px;border:1px solid #64778a;border-radius:10px}
body.arcade-privacy-ready .yc-consent-launcher{display:none}
@media(max-width:680px){.yc-consent-banner{bottom:calc(10px + env(safe-area-inset-bottom,0px));left:10px;right:10px;grid-template-columns:1fr;grid-template-areas:"copy" "actions" "settings";gap:8px;padding:14px 16px;max-height:none}.yc-consent-banner h2{font-size:18px;margin:1px 0}.yc-consent-banner p{font-size:12px;line-height:1.5;margin:3px 0}.yc-consent-actions{gap:8px}.yc-consent-actions button{min-height:48px!important;padding:10px 7px!important;font-size:13px!important}.yc-consent-settings-link{font-size:12px!important;min-height:30px!important;padding:3px 8px!important}#yc-privacy dialog{padding:18px}.yc-consent-category{gap:10px;padding:14px 0}.yc-consent-category p{font-size:13px}#yc-privacy .yc-consent-status:not(:empty){right:12px;bottom:60px}#yc-privacy button{padding:11px 8px}}
@media(prefers-reduced-motion:reduce){#yc-privacy *{scroll-behavior:auto}}
/* 遊戲本身會鎖住頁面手勢，設定開啟時只讓對話框可正常捲動。 */
html.yc-privacy-modal-open,html.yc-privacy-modal-open body{touch-action:pan-y}
#yc-privacy dialog,#yc-privacy .yc-consent-body{touch-action:pan-y}
@media(max-height:450px){#yc-privacy dialog{padding:12px;gap:6px;max-height:calc(100dvh - 16px)}#yc-privacy dialog>header h2{font-size:20px;margin:0}#yc-privacy dialog>header .yc-consent-eyebrow{display:none}#yc-privacy dialog .yc-consent-actions{gap:6px}#yc-privacy dialog button{min-height:44px;padding:6px 8px}}
