.op-header-tools{display:flex;align-items:center;gap:8px;flex:0 0 auto}
.op-header-tools--standalone{max-width:1024px;margin:0 auto;padding:12px 18px;justify-content:flex-end}
.op-header-tools .op-site-icon,#op-lp-preview .op-header-tools .op-site-icon{display:flex;align-items:center;justify-content:center;box-sizing:border-box;flex:0 0 44px;width:44px;min-width:44px;max-width:44px;height:44px;min-height:44px;margin:0;padding:9px;border:1px solid #755064;border-radius:12px;color:#f2bbd0;background:#2c1823;cursor:pointer}
.op-site-icon svg{width:24px;height:24px;display:block;flex-shrink:0}
.op-header-tools .op-site-icon:hover{background:#452136;color:#ffe8f2}
.op-site-language-dialog{box-sizing:border-box;width:336px;max-width:calc(100vw - 32px);max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:16px;border:1px solid #80576b;border-radius:20px;overflow-y:auto;overscroll-behavior:contain;background:linear-gradient(145deg,#2b1824,#1c1019);color:#fff1f7;box-shadow:0 18px 55px #0009;font:14px/1.4 system-ui,sans-serif}
.op-site-language-dialog::backdrop{background:#10070bb3;backdrop-filter:blur(3px)}
.op-site-language-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.op-site-language-heading h2{font-size:18px;margin:0;min-width:0;overflow-wrap:anywhere}
.op-site-language-close{display:grid;place-items:center;width:32px;height:32px;flex:0 0 32px;padding:0;border:0;border-radius:50%;color:#f7dbe6;background:#4c2a3b;font:24px/1 system-ui;cursor:pointer}
.op-site-language-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.op-site-language-option{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:4px;min-width:0;height:44px;padding:8px 10px;border:1px solid #684256;border-radius:9px;background:#34202d;color:#f4dae5;font:14px/1.3 system-ui,sans-serif;white-space:nowrap;cursor:pointer}
.op-site-language-tick{flex:0 0 12px;visibility:hidden}
.op-site-language-option[aria-pressed=true]{background:linear-gradient(115deg,#bd315b,#7b365d);border-color:#ef9cbc;color:#fff;font-weight:700}
.op-site-language-option[aria-pressed=true] .op-site-language-tick{visibility:visible}
.op-site-icon:focus-visible,.op-site-language-option:focus-visible,.op-site-language-close:focus-visible{outline:3px solid #ffb8d4;outline-offset:3px}
@container(max-width:720px){#op-lp-preview .op-header-tools{grid-area:support;justify-self:start}}
@media(max-width:360px){.op-site-language-dialog{padding:12px}.op-site-language-option{padding:8px;font-size:13px}}
.op-header .op-header-tools{margin-left:auto}
/* The OP platform logo is wide; contain it rather than cropping it as a game cover. */
main[data-game-key="app"] #game-icon{object-fit:contain;background:#241724;padding:4px;box-sizing:border-box}
.op-game-languages{color:inherit;border-top:1px solid #715265;margin-top:16px;padding-top:14px;font:13px/1.6 system-ui,sans-serif;overflow-wrap:anywhere}
.op-game-languages h2{font-size:16px;margin:0 0 8px}.op-game-languages p{margin:8px 0}.op-game-languages ul,.op-game-languages ol{padding-left:20px}.op-game-languages li{display:block}.op-game-languages a{color:#ffc0d8;text-decoration:underline}.op-language-warning{border:1px solid #8e6435;border-radius:9px;padding:12px;background:#36271b}.op-language-warning summary{cursor:pointer;font-weight:600}.op-language-warning li{margin:8px 0}.op-language-warning small{display:block;margin-top:12px;line-height:1.6}
html{scrollbar-gutter:stable}
@supports not (scrollbar-gutter:stable){html{overflow-y:scroll}}
/* The closed device picker is an arrow only; native menu options stay readable. */
.lp-platform-label{position:relative!important;padding:0!important;width:44px!important;height:40px!important;box-sizing:border-box}
.lp-platform-label::after{content:'';position:absolute;left:17px;top:13px;width:8px;height:8px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);pointer-events:none}
.lp-platform-label select{appearance:none!important;-webkit-appearance:none!important;background:transparent!important;color:transparent!important;text-shadow:none!important;width:100%!important;min-width:0!important;max-width:100%!important;height:100%!important;padding:0!important;cursor:pointer}
.lp-platform-label select option{color:#fff3f8!important;background:#1e1118!important;font-size:14px!important}
.lp-platform-label:focus-within{outline:2px solid #e3a3ba;outline-offset:2px}
.op-game-languages{border-top:1px solid #654153;margin-top:18px;padding-top:16px}
/* A notice always keeps one title row. Only the game name may be ellipsized. */
#op-lp-preview .lp-notice-dialog h3{display:flex;align-items:baseline;min-width:0;max-width:100%;height:1.35em;max-height:1.35em;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
#op-lp-preview .lp-notice-dialog .op-notice-game-name{flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#op-lp-preview .lp-notice-dialog .op-notice-heading-label{flex:0 0 auto;white-space:pre}
/* The native select remains the filter's source of truth, with a safe JS fallback. */
.lp-platform-label[data-custom-picker=true]::after{display:none}
.lp-platform-label[data-custom-picker=true] select[hidden]{display:none!important}
#op-lp-preview .lp-platform-label .op-site-platform-trigger{display:grid;place-items:center;width:100%;height:100%;min-width:0;margin:0;padding:8px;border:0;border-radius:inherit;background:transparent;color:inherit;cursor:pointer}
.op-site-platform-trigger svg{display:block;width:20px;height:20px}
.op-site-platform-dialog .op-site-language-options{grid-template-columns:1fr}
.op-site-platform-trigger:focus-visible{outline:3px solid #ffb8d4;outline-offset:3px}
