/* All in-game choosers share the difficulty control's glass and centered chevron. */
.unified-select{position:relative;display:block;min-width:0;width:100%;margin-top:8px}
body .unified-select>select.unified-select-source{
 position:absolute!important;inset:0 auto auto 0!important;width:1px!important;height:1px!important;
 min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;
 opacity:0!important;clip-path:inset(50%)!important;overflow:hidden!important;pointer-events:none!important
}
body :is(#content,dialog,.profile-editor) .difficulty-trigger,
body .unified-select>.difficulty-trigger{
 display:flex;align-items:center;justify-content:space-between;gap:12px;box-sizing:border-box;
 width:100%;min-width:0;min-height:54px;margin-top:7px;padding:12px 16px!important;
 border-radius:14px!important;border:1px solid #76cddb99!important;
 background:linear-gradient(145deg,#153d4cbb,#0a2635c9)!important;color:#e9fbff!important;
 font:inherit;font-size:18px;font-weight:650;line-height:1.3;text-align:start;cursor:pointer;
 box-shadow:inset 0 1px 0 #c8faff15!important;touch-action:manipulation
}
body .unified-select>.difficulty-trigger{margin-top:0}
body :is(.tier-picker,.game-language,.unified-select) .difficulty-trigger>.difficulty-value{
 position:static;inset:auto;transform:none;display:block;min-width:0;font:inherit;
 color:inherit;line-height:1.3;text-align:start;overflow-wrap:anywhere
}
body :is(.tier-picker,.game-language,.unified-select) .difficulty-trigger>span[aria-hidden]{
 display:grid;place-items:center;position:static;inset:auto;flex:0 0 24px;
 width:24px;height:24px;font-size:0;line-height:1;color:#8be8e9;transform:none
}
body :is(.tier-picker,.game-language,.unified-select) .difficulty-trigger>span[aria-hidden]::before{
 content:"";display:block;width:8px;height:8px;border-right:2px solid currentColor;
 border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg)
}
body .unified-select-trigger:focus-visible,body .unified-select-dialog button:focus-visible{
 outline:3px solid #9af5ed!important;outline-offset:3px
}
body .unified-select-trigger[aria-invalid=true]{border-color:#ff8d99!important}
body .unified-select-trigger:disabled{cursor:default;opacity:.45!important}
body dialog.unified-select-dialog{
 box-sizing:border-box;width:min(360px,calc(100vw - 32px));max-height:calc(100dvh - 32px);
 overflow:hidden;padding:18px;border:1px solid #68d5df99;border-radius:22px;
 background:#0b2735f5;color:#f1fbff;box-shadow:0 20px 65px #0008;backdrop-filter:blur(18px)
}
body dialog.unified-select-dialog[open]{display:flex;flex-direction:column}
body dialog.unified-select-dialog::backdrop{background:#00121bbb;backdrop-filter:blur(5px)}
body .unified-select-dialog .difficulty-heading{flex:0 0 auto;min-width:0;margin:0 0 16px;align-items:center}
body .unified-select-dialog .difficulty-heading h2{margin:0;font-size:22px;line-height:1.25;overflow-wrap:anywhere}
body .unified-select-dialog .unified-select-close{flex:0 0 44px;width:44px;min-height:44px;margin:0;padding:4px!important;font-size:24px;line-height:1}
body .unified-select-dialog .unified-select-options{
 display:flex;flex-direction:column;align-items:stretch;flex:1 1 auto;gap:10px;min-height:0;overflow:auto;
 overscroll-behavior:contain;scroll-padding:4px;padding:4px;scrollbar-width:thin
}
body .unified-select-dialog .unified-select-options button{
 display:block;flex:0 0 auto;box-sizing:border-box;width:100%;min-width:0;height:auto;min-height:52px;max-height:none;margin:0;
 padding:12px 14px!important;border:1px solid #81ced855!important;border-radius:12px!important;
 background:#24617955!important;color:#effaff!important;font:inherit;font-size:17px;
 font-weight:650;line-height:1.3;text-align:start;white-space:normal;overflow-wrap:anywhere;touch-action:manipulation
}
body .unified-select-dialog .unified-select-options button[aria-pressed=true]{
 background:#39b6c077!important;border-color:#85f5eb!important;box-shadow:inset 0 0 0 1px #8dffe855!important
}
.unified-select-group{margin:6px 0 0;padding:0 4px;color:#bcd7e4;font-size:14px;line-height:1.3}
body select.unified-select-listbox{
 box-sizing:border-box;max-width:100%;padding:10px 12px!important;border:1px solid #76cddb99!important;
 border-radius:14px!important;background:#0b2735!important;background-image:none!important;
 color:#e9fbff!important;font:inherit;line-height:1.4;color-scheme:dark
}
body select option,body select optgroup{background:#0b2735;color:#e9fbff;font:inherit}
body select option:disabled{color:#8096a4}
@media(max-width:360px){body dialog.unified-select-dialog{padding:14px}body .unified-select-dialog .difficulty-heading h2{font-size:20px}}
@media(forced-colors:active){body .unified-select-trigger,body .unified-select-dialog .unified-select-options button{border-color:ButtonText!important}body .unified-select-dialog .unified-select-options button[aria-pressed=true]{outline:2px solid Highlight!important}}
