/* Serialized original 1920×1080 geometry, original Sprite borders and colors.
   UI adaptations and unimplemented animation channels: reference/native-ui.json. */
.original-cursor { z-index: 30; }
.adv-root { position:absolute; inset:0; z-index:20; pointer-events:none; color:#fff; font:36px/1.4 SimSun,serif; outline:none; }
.adv-root *, .adv-root *::before, .adv-root *::after { box-sizing:border-box; }
.adv-root [hidden] { display:none!important; }
.adv-root p, .adv-root h1, .adv-root h2, .adv-root h3 { margin:0; font-weight:400; }
.adv-root button { font:inherit; margin:0; padding:0; width:auto; border:0; background:none; color:#1c1919; text-shadow:none; border-radius:0; cursor:pointer; }
.adv-root button:disabled { cursor:default; }
.adv-root button, .adv-root input, .adv-root textarea, .adv-root select, .adv-dialog { pointer-events:auto; }
.adv-art { display:block; object-fit:fill; pointer-events:none; user-select:none; }
.adv-sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:pre-line; border:0; }
.adv-label { position:relative; display:flex; justify-content:center; align-items:center; max-width:100%; pointer-events:none; }
.adv-font-image { display:block; width:auto; height:auto; max-width:100%; object-fit:contain; pointer-events:none; }
.adv-copy { position:relative; }
.adv-copy > .adv-label { justify-content:flex-start; }
.adv-button { position:relative; isolation:isolate; display:flex; justify-content:center; align-items:center; flex:none; min-height:68px; }
.adv-button::before { content:""; position:absolute; inset:0; z-index:-1; border:16px solid transparent; border-image:url("assets/ui/native/btn_base.png") 16 fill stretch; pointer-events:none; }
.adv-button::after { content:""; position:absolute; inset:-40px; z-index:-2; border:64px solid transparent; border-image:url("assets/ui/native/btn_on.png") 64 fill stretch; opacity:0; pointer-events:none; }
.adv-button:hover:not(:disabled)::after, .adv-button:focus-visible::after,
.adv-button[aria-pressed="true"]::after, .adv-button[aria-selected="true"]::after { opacity:1; }
.adv-root button:focus-visible { outline:none; }
.adv-button:disabled { opacity:.45; }
.adv-button-icon { position:absolute; left:10px; top:calc(50% - 40px); width:80px; height:80px; }
.adv-icon-button > .adv-label { margin-left:80px; width:calc(100% - 90px); }
.adv-hud { position:absolute; inset:0; }
.adv-menu-open { position:absolute; left:1780px; top:40px; width:100px!important; height:100px; }
.adv-menu-open .adv-button-icon { left:10px; width:80px; height:80px; }
.adv-auto { position:absolute; left:1687px; top:976px; width:193px!important; height:64px; min-height:64px; }
.adv-auto .adv-label { margin-left:36px; }
.adv-auto-icon { position:absolute; left:7px; top:7px; width:50px; height:50px; }
.adv-root[data-panel] .adv-hud, .adv-root[data-panel] .adv-choices,
.adv-root[data-panel] .adv-hotspots, .adv-root[data-panel] .adv-investigation { visibility:hidden; }
.adv-dialog { position:fixed; inset:auto; width:1920px; height:1080px; min-width:1920px; min-height:1080px;
  max-width:none; max-height:none; padding:0; margin:0; border:0; box-shadow:none; overflow:hidden; color:#fff;
  background:transparent; transform-origin:0 0; font:inherit; outline:none; }
.adv-dialog::backdrop { background:transparent; }
.adv-native-panel, .adv-panel-body { position:absolute; inset:0; }
.adv-native-panel { z-index:1; }
.adv-title-underlay { position:absolute; inset:0; z-index:0; isolation:isolate; pointer-events:none; }
.adv-native-menu-background { position:absolute; inset:0; z-index:0; width:1920px; height:1080px; pointer-events:none; }
.adv-panel-body { pointer-events:none; }
.adv-heading { position:absolute; left:82.27454px; top:20px; width:1755.45093px; height:124px; display:flex; justify-content:center; align-items:center; isolation:isolate; }
.adv-heading::before { content:""; position:absolute; inset:0; z-index:-1; border-style:solid; border-color:transparent; border-width:0 450px; border-image:url("assets/ui/native/menutitle_base.png") 0 450 fill stretch; }
.adv-heading .adv-label { max-width:1400px; }
.adv-panel-close { position:absolute; left:30px; top:30px; width:100px!important; height:100px; z-index:5; }
.adv-panel-close::before { opacity:.3490196; }
.adv-panel-close .adv-button-icon { left:0; top:0; width:100px; height:100px; }
.adv-native-panel[data-native-panel="menu"] .adv-panel-close { left:1790px; }
.adv-native-panel[data-native-panel="menu"] .adv-panel-close::before { opacity:1; }
.adv-title-background { position:absolute; inset:0; width:1920px; height:1080px; z-index:-2; }
.adv-title-name { position:absolute; left:240px; top:160px; width:1440px; height:350px; display:flex; align-items:center; justify-content:center; }
.adv-title-logo { position:absolute; left:240px; top:130px; width:1440px; height:280px; z-index:-1; }
.adv-title-sublogo { position:absolute; left:240px; top:348px; width:1440px; height:220px; z-index:-1; }
.adv-native-panel[data-native-panel="title"] { isolation:isolate; }
/* Keep the legacy dialog button:hover fill off the composited title artwork. */
.adv-native-panel[data-native-panel="title"] .adv-button:hover { background:transparent; }
.adv-title-start { position:absolute; left:510px; top:552px; width:900px!important; height:168px; }
.adv-title-start::before { border:0; background:url("assets/ui/native/title_btn_base2.png") center/100% 100% no-repeat, url("assets/ui/native/title_btn_base.png") center/100% 100% no-repeat; }
.adv-title-start::after { inset:0; border:0; background:url("assets/ui/native/title_btn_on.png") center/100% 100% no-repeat; z-index:-1; }
.adv-title-new, .adv-title-option, .adv-title-exit { position:absolute; left:710px; width:500px!important; height:90px; }
.adv-title-new { top:724px; }.adv-title-option { top:824px; }.adv-title-exit { top:924px; }
.adv-title-ai { position:absolute; left:1430px; top:940px; width:300px; height:70px; display:flex; justify-content:center; align-items:center; pointer-events:none; }
#curse-creator-host { position:absolute; inset:0; z-index:21; background:#0d1312; }
#curse-creator-host[hidden] { display:none!important; }
#curse-creator-frame { display:block; width:100%; height:100%; border:0; background:transparent; }
#creator-loading { position:absolute; inset:0; z-index:2; display:grid; place-items:center; background:#080b0a url("assets/ui/native/title_image.png") center/cover; color:#d6d8dc; font:36px/1.4 SimSun,serif; pointer-events:none; }
#creator-loading[hidden] { display:none; }
#creator-loading img { width:80px; height:80px; }
.adv-copyright { position:absolute; left:590px; top:990px; width:860px; height:50px; display:flex; justify-content:center; align-items:center; }
.adv-main-menu { position:absolute; left:25px; top:30px; width:550px; display:flex; flex-direction:column; gap:26px; pointer-events:auto; }
.adv-main-menu > .adv-button { width:550px; }
.adv-menu-auto { height:100px; }
.adv-menu-auto > .adv-label { width:365px; margin-left:15px; margin-right:auto; }
.adv-auto-toggle { position:absolute; right:15px; top:12px; width:132px; height:76px; }
.adv-menu-space { height:0; flex:none; }
.adv-menu-major { height:135px; }.adv-menu-minor { height:68px; }
.adv-main-menu .adv-button-icon { top:calc(50% - 40px); }
.adv-main-menu .adv-icon-button > .adv-label { justify-content:flex-start; }
.adv-menu-log { position:absolute; left:630px; top:0; width:1242px; height:1080px; padding:50px 30px; overflow:auto; pointer-events:auto; }
.adv-menu-log, .adv-history, .adv-option-content, .adv-save-list, .adv-document-list, .adv-document-detail { scrollbar-width:thin; scrollbar-color:#ddd transparent; overscroll-behavior:contain; }
.adv-log-list { display:flex; flex-direction:column; gap:50px; }
.adv-log-entry h3 .adv-label { justify-content:flex-start; }
.adv-log-entry .adv-copy { margin-left:30px; }
.adv-panel-caption { position:absolute; left:160px; top:126px; width:1600px; height:66px; display:flex; justify-content:center; }
.adv-native-panel[data-native-panel="save"] .adv-panel-body::before, .adv-native-panel[data-native-panel="load"] .adv-panel-body::before,
.adv-native-panel[data-native-panel="history"] .adv-panel-body::before, .adv-native-panel[data-native-panel="notebook"] .adv-panel-body::before {
  content:""; position:absolute; left:-30px; top:140px; width:1980px; height:970px; border:100px solid transparent;
  border-image:url("assets/ui/native/menu_base.png") 100 fill stretch; pointer-events:none; }
.adv-save-list { position:absolute; left:0; top:193px; width:1920px; height:867px; padding:10px 360px 40px; display:flex; flex-direction:column; gap:13px; overflow:auto; pointer-events:auto; }
.adv-save-slot { width:1200px!important; height:180px; min-height:180px; }
.adv-slot-symbol { position:absolute; left:65px; top:25px; width:140px; height:130px; opacity:.55; }
.adv-slot-name { position:absolute; left:300px; top:0; width:340px; height:70px; }
.adv-slot-place { position:absolute; left:300px; top:60px; width:890px; height:70px; }
.adv-slot-time { position:absolute; left:300px; top:120px; width:890px; height:50px; color:#1c1919; text-align:left; }
.adv-option-tabs { position:absolute; left:150px; top:140px; display:flex; gap:20px; z-index:2; }
.adv-option-tabs .adv-button { width:310px; height:100px; }
.adv-option-tabs .adv-label { margin-left:70px; }
.adv-option-tabs .adv-button[aria-selected="true"]::before { outline:8px solid transparent; outline-offset:0; }
.adv-native-panel[data-native-panel="settings"] .adv-panel-body::before { content:""; position:absolute; left:-5px; top:210px; width:1930px; height:760px; border:100px solid transparent; border-image:url("assets/ui/native/menu_base.png") 100 fill stretch; }
.adv-option-content { position:absolute; left:15px; top:250px; width:1890px; height:670px; padding:0 0 40px; overflow:auto; pointer-events:auto; }
.adv-option-section-title { position:relative; left:165px; width:1560px; height:100px; display:flex; justify-content:center; align-items:center; margin-bottom:25px!important; background:url("assets/ui/native/menutitle_base2.png") center/100% 100% no-repeat; }
.adv-setting-row { position:relative; width:1860px; min-height:100px; height:100px; margin-bottom:10px; display:flex; align-items:center; }
.adv-setting-row:hover::before, .adv-setting-row[data-native-hover="true"]::before, .adv-setting-row:focus-within::before { content:""; position:absolute; left:115px; top:-10px; width:1660px; height:120px; z-index:-1; border-style:solid; border-color:transparent; border-width:40px 72px 40px 69px; border-image:url("assets/ui/native/list_base.png") 40 72 40 69 fill stretch; }
.adv-dialog[data-native-composited="true"] .adv-setting-row:hover:not([data-native-hover="true"]):not(:focus-within)::before { content:none; }
.adv-setting-title { position:absolute; left:165px; top:0; width:405px; height:100px; display:flex; align-items:center; }
.adv-setting-title .adv-label { justify-content:flex-start; }
.adv-setting-value { position:absolute; left:1360px; top:25px; width:335px; height:50px; color:#d6d8dc; display:flex; justify-content:center; align-items:center; }
.adv-native-range { -webkit-appearance:none; appearance:none; position:absolute; left:580px; top:15px; width:740px; height:70px; margin:0; background:transparent; cursor:pointer; }
.adv-native-range::-webkit-slider-runnable-track { height:12px; background:linear-gradient(to right,#fff 0 var(--fill),#858585 var(--fill) 100%); }
.adv-native-range::-webkit-slider-thumb { -webkit-appearance:none; width:42px; height:42px; margin-top:-15px; border:0; border-radius:0; background:url("assets/ui/native/gage_mark.png") center/42px 42px no-repeat; }
.adv-native-range::-moz-range-track { height:12px; background:#858585; }.adv-native-range::-moz-range-progress { height:12px; background:#fff; }
.adv-native-range::-moz-range-thumb { width:42px; height:42px; border:0; background:url("assets/ui/native/gage_mark.png") center/42px 42px no-repeat; }
.adv-native-range:focus-visible { outline:2px solid #89dfc9; outline-offset:10px; }
.adv-native-range:disabled { opacity:.45; cursor:default; }
.adv-brightness-row { height:470px; min-height:470px; }
.adv-brightness-row:hover::before, .adv-brightness-row[data-native-hover="true"]::before, .adv-brightness-row:focus-within::before { left:130px; top:-12.5px; width:1660px; height:455px; }
.adv-brightness-sample, .adv-brightness-message { position:absolute; }
.adv-brightness-message > .adv-label { position:absolute; left:50%; top:50%; width:max-content; max-width:none; transform:translate(-50%,-50%); }
.adv-brightness-message .adv-font-image { max-width:none; }
.adv-setting-options { position:absolute; left:575px; top:5px; min-height:90px; display:flex; gap:20px; }
.adv-setting-options .adv-button { width:380px; height:90px; padding:0 12px; }
.adv-option-explanation { margin-left:575px!important; margin-bottom:25px!important; }
.adv-setting-toggle { width:290px!important; height:80px; margin-left:30px!important; }
.adv-setting-toggle:nth-child(2) { margin-left:575px!important; }
.adv-option-action { position:absolute; left:575px; top:10px; width:420px!important; height:80px; }
.adv-option-apply { position:absolute; left:1400px; top:940px; width:500px!important; height:120px; }
.adv-history { position:absolute; left:180px; top:205px; width:1560px; height:825px; padding:30px; overflow:auto; pointer-events:auto; }
.adv-document-list { position:absolute; left:30px; top:210px; width:570px; height:810px; padding:10px; display:flex; flex-direction:column; gap:26px; overflow:auto; pointer-events:auto; }
.adv-document-list .adv-button { width:550px; min-height:110px; padding:0 20px; }
.adv-document-detail { position:absolute; left:670px; top:235px; width:1130px; height:775px; overflow:auto; pointer-events:auto; }
.adv-document-detail .adv-copy + .adv-copy { margin-top:50px; }
.adv-message-panel { background:rgba(0,0,0,.392); }
.adv-message-panel::before { content:""; position:absolute; left:387px; top:240px; width:1146px; height:600px; background:url("assets/ui/native/window.png") center/100% 100% no-repeat; }
.adv-message-panel .adv-panel-close { left:1482px; top:244px; width:52px!important; height:52px; min-height:52px; }
.adv-message-panel .adv-panel-close .adv-button-icon { left:2px; top:2px; width:48px; height:48px; }
.adv-message-copy { position:absolute; left:507px; top:300px; width:906px; height:360px; overflow:auto; pointer-events:auto; }
.adv-message-copy h2 { margin-bottom:12px; }.adv-message-copy h2 .adv-label { justify-content:center; }
.adv-message-copy > .adv-copy > .adv-label { justify-content:center; }
.adv-message-actions { position:absolute; left:460px; top:670px; width:1000px; height:110px; display:flex; align-items:center; justify-content:center; gap:50px; }
.adv-message-actions .adv-button { width:320px; height:80px; }
.adv-choices { position:absolute; left:385px; top:470px; width:1150px; max-height:530px; display:flex; flex-direction:column; gap:26px; overflow:visible; }
.adv-choice { width:100%!important; min-height:80px; padding:0 15px!important; flex-direction:column; }
.adv-choice-reason { margin-top:-15px!important; }
.adv-hotspots, .adv-investigation { position:absolute; inset:0; pointer-events:none; }
.adv-hotspot { position:absolute; width:120px!important; height:120px; transform:translate(-50%,-50%); color:white; }
.adv-hotspot::before, .adv-hotspot::after { display:none; }
.adv-hotspot > .adv-label { position:absolute; left:50%; top:-22px; width:max-content; max-width:680px; transform:translateX(-50%); opacity:0; }
.adv-hotspot-check { position:absolute; left:-55px; top:-12px; width:64px; height:56px; opacity:0; }
.adv-hotspot:hover > .adv-label, .adv-hotspot:focus-visible > .adv-label { opacity:1; }
.adv-hotspot[data-found="true"]:hover .adv-hotspot-check, .adv-hotspot[data-found="true"]:focus-visible .adv-hotspot-check { opacity:1; }
.adv-accessible-object { position:absolute; width:1px!important; height:1px; min-height:0; overflow:hidden; clip-path:inset(50%); }
.adv-accessible-object:focus-visible { left:600px; top:870px; width:720px!important; height:100px; clip-path:none; overflow:visible; }
.adv-investigation-continue { position:absolute; left:0; top:980px; width:340px!important; height:100px; }
.adv-notice { position:absolute; left:360px; top:65px; width:1200px; min-height:150px; padding:26px 80px; z-index:40; background:url("assets/ui/native/window.png") center/100% 100% no-repeat; }
.adv-notice .adv-copy > .adv-label { justify-content:center; }
.adv-root[data-reduce-motion="true"] *, #stage.reduce-motion .adv-root * { animation:none!important; transition:none!important; }
@media(prefers-reduced-motion:reduce) { .adv-root * { animation:none!important; transition:none!important; } }

/* DefaultButton / overrides sample original AnimationClip cubic segments in JS. */
.adv-motion .adv-button::before { opacity:var(--native-base-alpha,.35); }
.adv-motion .adv-button::after { opacity:var(--native-glow-alpha,0); }
.adv-motion .adv-button > .adv-label, .adv-motion .adv-button > .adv-copy { opacity:var(--native-text-alpha,1); }
.adv-motion .adv-button-icon { opacity:var(--native-icon-alpha,1); }
.adv-motion .adv-button:disabled { opacity:1; }
.adv-motion .adv-title-start::before { opacity:1; }
.adv-motion .adv-button[data-native-tint="selected"]::before { filter:var(--native-selected-filter); }
.adv-motion .adv-button[data-native-tint="highlight"]::before { filter:var(--native-highlight-filter); }
.adv-button-outline { position:absolute; inset:0; border:16px solid transparent; border-image:url("assets/ui/native/btn_select_outline.png") 16 fill stretch; opacity:var(--native-outline-alpha,0); pointer-events:none; }
.adv-outgoing-panel { pointer-events:none!important; }
.adv-outgoing-panel *, .adv-native-panel[inert] * { pointer-events:none!important; }
.adv-native-panel { z-index:5; }
.adv-native-panel[data-native-panel="title"] { z-index:2; }
.adv-outgoing-panel { z-index:4; }
.adv-message-panel { background:rgba(0,0,0,var(--native-shade-alpha,.6)); }
.adv-motion .adv-message-panel::before, .adv-motion .adv-message-panel .adv-panel-body,
.adv-motion .adv-message-panel .adv-panel-close { opacity:var(--native-panel-alpha,1); }
.adv-title-dark { position:absolute; inset:0; z-index:3; background:#000; opacity:0; pointer-events:none; }
.adv-native-title-background { position:absolute; inset:0; width:1920px; height:1080px; z-index:1; pointer-events:none; }
.adv-title-composited .adv-title-dark { display:none; }
.adv-title-composited .adv-native-panel[data-native-panel="title"]::before,
.adv-title-composited .adv-native-panel[data-native-panel="title"] .adv-button::before,
.adv-title-composited .adv-native-panel[data-native-panel="title"] .adv-button::after,
.adv-title-composited .adv-native-panel[data-native-panel="title"] .adv-font-image { opacity:0!important; }

/* TapInfoText: parent cursor local (0,60), immediate SetExit; no hover fade. */
.adv-hotspot[data-tooltip-visible="false"] > .adv-label,
.adv-hotspot[data-tooltip-visible="false"] .adv-hotspot-check { opacity:0!important; }
.adv-hotspot[data-tooltip-visible="true"] > .adv-label { opacity:1; }
.adv-hotspot[data-tooltip-visible="true"][data-found="true"] .adv-hotspot-check { opacity:1; }
.adv-native-screen { position:absolute; inset:0; width:1920px; height:1080px; z-index:25; pointer-events:none; }
.adv-dialog .original-cursor { z-index:100; }

/* Original bottom action slots: Reset365×100, SaveAllDel500×120, Apply500×120. */
.adv-option-reset { position:absolute; left:20px; top:960px; width:365px!important; height:100px; }
.adv-option-delete { position:absolute; left:710px; top:940px; width:500px!important; height:120px; }
.adv-option-delete::before { border-image-source:url("assets/ui/native/btn_red_base.png"); }
.adv-option-delete::after { border-image-source:url("assets/ui/native/btn_red_on.png"); }
.adv-resolution-row .adv-native-range:disabled { opacity:1; }

.adv-dialog .adv-native-screen { z-index:50; }
/* Original Handle Rect20, localScale5: the96px sprite has wide alpha padding. */
.adv-native-range::-webkit-slider-thumb {width:100px;height:100px;margin-top:-44px;background-size:100px 100px;}
.adv-native-range::-moz-range-thumb {width:100px;height:100px;background-size:100px 100px;}
