/* Source-game paper/ink language, adapted to the existing accessible layouts. */
html.tx-open-world {
 --paper-ink:#263442;--paper-muted:#4b6071;--paper-edge:#667c95;
 --paper-light:#c2d0df;--paper-button:#445776;
 --paper-dialog-height:clamp(280px,30rem,350px);
 --paper-choice-height:clamp(156px,17.5rem,220px);--paper-gap:12px;
}
html.tx-open-world #game-screen #dialogue-box {
 box-sizing:border-box!important;padding:0!important;
 border-style:solid!important;border-width:38px 22px 32px 72px!important;
 border-image-source:url("../assets/images/ui/diban_.png")!important;
 border-image-slice:85 45 70 150 fill!important;border-image-repeat:stretch!important;
 background:var(--paper-light)!important;background-clip:content-box!important;border-radius:0!important;box-shadow:none!important;
 filter:drop-shadow(0 7px 12px #07101b66);color:var(--paper-ink)!important;
}
html.tx-open-world #game-screen #dialogue-box .dlg-main {
 position:relative!important;display:block!important;box-sizing:border-box!important;
 width:100%!important;height:100%!important;max-height:100%!important;
 padding:20px 60px 15px!important;overflow-y:auto!important;overflow-x:hidden!important;
 scrollbar-width:thin;scrollbar-color:#748ba1 #b5c6d6;
}
html.tx-open-world #game-screen #dialogue-box #dialogue-text {
 position:static!important;width:auto!important;height:auto!important;max-height:none!important;
 margin:0!important;padding:0!important;overflow:visible!important;
 color:var(--paper-ink)!important;text-shadow:none!important;
 font:400 max(15px,1.2rem)/1.8 "Source Han Sans SC","Microsoft YaHei",sans-serif!important;
 white-space:pre-line;word-break:normal;overflow-wrap:anywhere;
}
html.tx-open-world #game-screen #dialogue-box #speaker-name {
 position:static!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;
 width:auto!important;height:auto!important;max-height:none!important;margin:0 0 6px!important;
 display:block!important;writing-mode:horizontal-tb;white-space:normal;overflow:visible!important;
 font:400 max(19px,1.55rem)/1.3 "STKaiti","KaiTi",serif!important;
 letter-spacing:.12em;color:#344f69!important;text-shadow:none!important;
}
html.tx-open-world #game-screen #dialogue-box::after {content:none!important;}
html.tx-open-world #game-screen #dialogue-box:not(.choice-state) .dlg-main::after {
 content:"继续 ›";display:block;margin-top:12px;color:#40576d;text-align:right;
 font:400 12px/1.4 "Microsoft YaHei",sans-serif;text-shadow:none;letter-spacing:.05em;
}
html.tx-open-world #game-screen #dialogue-mask {background:rgba(8,17,29,.55)!important;}
/* A scene illustration supplies the portrait; ordinary speakers keep their head. */
html.tx-open-world #game-screen #dialogue-box #dialogue-player-wrap,
html.tx-open-world.tx-story-open #game-screen #dialogue-box #dialogue-head-wrap {display:none!important;}
@media(max-width:960px) {
 html.tx-open-world #game-screen #dialogue-box #dialogue-head-wrap {display:none!important;}
}
html.tx-open-world #game-screen #choices-list .open-choice .choice-button {
 box-sizing:border-box!important;min-height:136px;padding:14px max(16px,5%)!important;gap:7px!important;
 background:none!important;border:9px solid transparent!important;border-radius:0!important;
 border-image:url("../assets/images/icon/dialog_btn/btbg1.png") 12 14 12 14 fill stretch!important;
 box-shadow:none!important;filter:none!important;color:#edf0f5!important;
 transition:filter .14s,border-color .14s;transform:none!important;
}
html.tx-open-world #game-screen #choices-list .choice-button-text {
 font:500 max(15px,1.12rem)/1.5 "Source Han Sans SC","Microsoft YaHei",sans-serif!important;
 color:#fff2d7!important;text-shadow:none!important;letter-spacing:.025em;
}
html.tx-open-world #game-screen :is(.choice-summary,.choice-details) {
 font:400 max(13px,1rem)/1.65 "Source Han Sans SC","Microsoft YaHei",sans-serif!important;
 color:#364958!important;text-shadow:none!important;
}
html.tx-open-world #game-screen .choice-details {
 padding-top:4px!important;border-top:0!important;color:#52677b!important;font-size:max(12px,.9rem)!important;
}
html.tx-open-world #game-screen #choices-list .choice-summary {color:#edf0f5!important;}
html.tx-open-world #game-screen #choices-list .choice-details {color:#d2dce7!important;}
html.tx-open-world #game-screen #choices-list .choice-button:is(:hover,:focus-visible) {
 border-color:#344f71!important;filter:brightness(1.08)!important;
}
html.tx-open-world #game-screen #choices-list .choice-button:focus-visible {outline:2px solid #e1c584;outline-offset:2px;}
html.tx-open-world #game-screen #choices-list .choice-button:active {filter:brightness(.96)!important;}
html.tx-open-world #game-screen #choices-list .choice-button.is-locked {filter:saturate(.35)!important;border-color:#929cad!important;}
html.tx-open-world #game-screen #choices-list .is-locked .choice-details {color:#ffceba!important;}
@media(min-width:961px) {
 /* Slice past the complete inner frame. Decorative lines stay in the borders
    rather than stretching through the text area at different widths. */
 html.tx-open-world #game-screen #dialogue-box {
  border-width:66px 55px 69px 102px!important;
  border-image-slice:144 120 150 222 fill!important;
 }
 html.tx-open-world #game-screen #dialogue-box .dlg-main {scrollbar-gutter:stable;}
 html.tx-edition.tx-open-world:not(.tx-story-open) #game-screen #dialogue-box:not(.no-head):has(#dialogue-head-wrap) .dlg-main {padding-right:164px!important;}
 html.tx-open-world:not(.tx-story-open) #game-screen #dialogue-box:not(.no-head) #dialogue-head-wrap {
  display:block!important;left:auto!important;right:24px!important;top:28px!important;width:104px!important;height:104px!important;
 }
 html.tx-open-world:not(.tx-story-open) #game-screen #dialogue-box:not(.no-head) #dialogue-head {
  left:10px!important;top:10px!important;width:84px!important;height:84px!important;object-fit:cover;object-position:50% 30%;
 }
 /* Keep scrolling text inside the scroll's printed inset, including its
    continuation cue. Padding alone lets glyphs paint over the lower frame. */
 html.tx-open-world:not(.tx-story-portrait) #game-screen:not(:has(#choices-list.many)) #dialogue-box .dlg-main {
  height:calc(100% - 20px)!important;max-height:calc(100% - 20px)!important;
  margin:10px 0!important;padding:0 14px 4px!important;
 }
 html.tx-open-world #game-screen:has(#choices-list.many) #dialogue-box {
  border:1px solid #657b93!important;border-image:none!important;
  background:#bccbdb url("../assets/images/ui/弹窗底板.png") center bottom/100% 135% no-repeat!important;
 }
 html.tx-open-world #game-screen:has(#choices-list.many) #dialogue-box .dlg-main {
  height:calc(100% - 44px)!important;max-height:calc(100% - 44px)!important;
  margin:22px 0!important;padding:0 42px 4px!important;
 }
 html.tx-open-world #game-screen #choices-list.many {gap:8px!important;}
 html.tx-open-world #game-screen #choices-list.many .open-choice .choice-button {padding:12px 14px!important;gap:5px!important;}
 html.tx-open-world:not(.tx-story-open) #game-screen #choices-list.many .is-deferred-choice {grid-column:1/-1;}
 html.tx-open-world:not(.tx-story-open) #game-screen #choices-list.many .is-deferred-choice .choice-button {
  min-height:0!important;padding:6px 16px!important;display:grid;grid-template-columns:minmax(150px,.55fr) minmax(180px,1fr) auto;align-items:center;gap:12px!important;
 }
 /* A narrow portrait column uses the source paper panel, avoiding a stretched scroll frame. */
 html.tx-open-world.tx-story-portrait #game-screen #dialogue-box {
  border:1px solid #657b93!important;border-image:none!important;
  background:#bccbdb url("../assets/images/ui/弹窗底板.png") center bottom/100% 135% no-repeat!important;
 }
 html.tx-open-world.tx-story-portrait #game-screen #dialogue-box .dlg-main {
  height:calc(100% - 44px)!important;max-height:calc(100% - 44px)!important;
  margin:22px 0!important;padding:6px max(36px,5%) 10px!important;
 }
 html.tx-open-world.tx-story-portrait #game-screen #choices-list .open-choice .choice-button {
  min-height:100px!important;padding:9px 32px 11px!important;
 }
 html.tx-open-world:not(.tx-story-open) #game-screen #dialogue-box:not(.choice-state) {
  left:50%!important;top:45%!important;right:auto!important;bottom:auto!important;
  width:min(86%,900px)!important;height:var(--xc-dialogue-height,var(--paper-dialog-height))!important;max-height:54%!important;
  transform:translate(-50%,-50%)!important;
 }
 html.tx-open-world:not(.tx-story-open) #game-screen:not(:has(#choices-list.many)) #dialogue-box.choice-state {
  left:50%!important;right:auto!important;bottom:auto!important;
  top:calc((100% - var(--paper-dialog-height) - var(--paper-choice-height) - var(--paper-gap))/2)!important;
  width:min(86%,900px)!important;height:var(--paper-dialog-height)!important;max-height:none!important;
  transform:translateX(-50%)!important;
 }
 html.tx-open-world:not(.tx-story-open) #game-screen:not(:has(#choices-list.many)) #choices-panel {
  left:50%!important;right:auto!important;bottom:auto!important;
  top:calc((100% + var(--paper-dialog-height) - var(--paper-choice-height) + var(--paper-gap))/2)!important;
  width:min(86%,900px)!important;height:var(--paper-choice-height)!important;transform:translateX(-50%)!important;
 }
}
/* Related small windows use the same paper; data-rich insets retain ink-blue. */
html.tx-open-world #modal-overlay:is(.has-readable-copy,.has-object-art) .modal-bk {
 background:#bccbdb url("../assets/images/ui/弹窗底板.png") center bottom/100% 135% no-repeat!important;
 border:1px solid #5f758c!important;border-radius:3px!important;color:var(--paper-ink)!important;
 box-shadow:0 10px 35px #07121d66!important;
 padding:26px 32px 32px!important;
}
html.tx-open-world #modal-overlay:is(.has-readable-copy,.has-object-art) .modal-title {
 color:#293e55!important;text-shadow:none!important;font:400 23px/1.4 "STKaiti","KaiTi",serif!important;
}
html.tx-open-world #modal-overlay:is(.has-readable-copy,.has-object-art) .modal-context {
 color:var(--paper-ink)!important;text-shadow:none!important;font:400 14px/1.75 "Source Han Sans SC","Microsoft YaHei",sans-serif!important;
 text-align:left!important;
}
html.tx-open-world #modal-overlay:is(.has-readable-copy,.has-object-art) .modal-btns button {
 position:static!important;inset:auto!important;transform:none!important;width:auto!important;
 background:url("../assets/images/icon/dialog_btn/btbg1.png") center/100% 100% no-repeat!important;
 border:0!important;border-radius:0!important;color:#f0f2f5!important;text-shadow:0 1px 2px #1d2940;
 min-height:42px;font:400 15px/1.5 "Source Han Sans SC","Microsoft YaHei",sans-serif!important;
}
html.tx-open-world #modal-overlay.has-object-art .open-object-copy {background:#2b3b4d;color:#eef0ec;padding:12px;border-radius:2px;}
html.tx-open-world #modal-overlay.has-object-art .open-object-art {background:#23313e;border-color:#7e92a5;}
html.tx-open-world #modal-overlay .tx-event-detail-time {color:#435c71!important;}
html.tx-open-world :is(#bag-overlay .game-panel,#skill-overlay .game-panel,#shop-overlay .store-shop) {
 background:#bccbdb url("../assets/images/ui/弹窗底板.png") center bottom/100% 135% no-repeat!important;
 border:1px solid #657b93!important;border-radius:3px!important;
 box-shadow:0 10px 35px #07121d66!important;color:var(--paper-ink)!important;
}
html.tx-open-world :is(#bag-overlay,#skill-overlay,#shop-overlay) :is(.panel-title,.store-name,.queue-title,.panel-tip,.panel-tools),
html.tx-open-world #bag-overlay .game-panel::before {
 color:var(--paper-ink)!important;text-shadow:none!important;font-weight:400!important;
}
html.tx-open-world :is(#bag-overlay,#skill-overlay) .panel-tabs {border-color:#7c90a66b!important;}
html.tx-open-world #skill-overlay .game-panel {width:min(520px,92vw)!important;padding:20px 28px 32px 32px!important;}
html.tx-open-world #skill-overlay .panel-title {
 background:none!important;text-align:left!important;font:400 20px/1.5 "STKaiti","KaiTi",serif!important;
}
html.tx-open-world #skill-overlay :is(.queue-title,.panel-tip) {font-size:12px!important;line-height:1.5!important;}
html.tx-open-world #skill-overlay .panel-tip {flex-shrink:0;}
html.tx-open-world :is(#bag-overlay,#skill-overlay) .panel-tab {
 background:#a9bbce!important;border-color:#6d839a!important;border-radius:2px!important;
 color:#2d435b!important;text-shadow:none!important;box-shadow:none!important;
 font-weight:400!important;clip-path:none!important;
}
html.tx-open-world :is(#bag-overlay,#skill-overlay) .panel-tab.on {
 background:#445776 url("../assets/images/icon/dialog_btn/btbg1.png") center/100% 100% no-repeat!important;
 border-color:#445776!important;color:#f1f3f5!important;
}
html.tx-open-world :is(#bag-overlay,#skill-overlay) .panel-tab:focus-visible {
 outline:2px solid #315376!important;outline-offset:2px;
}
html.tx-open-world :is(#bag-grid,#skill-grid,#skill-queue,#shop-body) {
 background:#324353!important;border-color:#6a8096!important;
 scrollbar-color:#91a5b9 #324353;
}
html.tx-open-world .bag-interaction-btn {
 background:#445776 url("../assets/images/icon/dialog_btn/btbg1.png") center/100% 100% no-repeat!important;
 border:0!important;border-radius:0!important;color:#f1f3f5!important;
 font-weight:400!important;box-shadow:0 3px 7px #15263855!important;clip-path:none!important;
}
html.tx-open-world #item-tip {
 --paper-tip-bg:url("../assets/images/icon/common/tips-bg1.png");
 background:none!important;border:0!important;border-radius:0!important;padding:14px 18px!important;isolation:isolate;
 color:var(--paper-ink)!important;text-shadow:none!important;box-shadow:0 6px 20px #07121d66!important;
}
html.tx-open-world #item-tip[style*="tips-bg2"] {--paper-tip-bg:url("../assets/images/icon/common/tips-bg2.png");}
html.tx-open-world #item-tip[style*="tips-bg3"] {--paper-tip-bg:url("../assets/images/icon/common/tips-bg3.png");}
html.tx-open-world #item-tip[style*="tips-bg4"] {--paper-tip-bg:url("../assets/images/icon/common/tips-bg4.png");}
html.tx-open-world #item-tip[style*="tips-bg5"] {--paper-tip-bg:url("../assets/images/icon/common/tips-bg5.png");}
html.tx-open-world #item-tip::before {
 display:block!important;content:"";position:absolute;inset:0;z-index:-1;
 border-style:solid;border-width:44px 0 0;border-image:var(--paper-tip-bg) 44 0 0 0 fill stretch;
}
html.tx-open-world #item-tip :is(.tip-name,.tips-name) {color:#f4f5f8!important;font-weight:500!important;text-shadow:0 1px 2px #28354f55!important;}
html.tx-open-world #item-tip :is(.tip-desc,.tips-desc,.tip-type span,.tip-nosold) {color:var(--paper-ink)!important;font-weight:400!important;text-shadow:none!important;}
html.tx-open-world #item-tip :is(.tip-desc-area,.tips-desc-area,.tip-type,.tip-price,.tips-cost) {border-color:#8095aa80!important;}
html.tx-open-world #item-tip .tip-price-img > b {color:#78511c!important;}
html.tx-mobile.tx-open-world #item-tip .tip-price {width:10.5rem!important;}
html.tx-mobile.tx-open-world #item-tip .tip-price-img > b {width:8rem!important;white-space:nowrap;justify-content:flex-start;}
html.tx-mobile.tx-open-world .bag-interaction-btn {z-index:226;min-height:44px;min-width:72px;}
html.tx-open-world #item-tip .tip-price.too-expensive .tip-price-img > b {color:#9c3339!important;}
html.tx-open-world #item-tip .tips-cost {background:#445776!important;border-color:#445776!important;color:#f2f4f6!important;}
html.tx-open-world #item-tip .tips-cost span {color:inherit!important;}
html.tx-open-world #open-skill-detail {
 background:#2b3b4d!important;border-color:#6b8198!important;min-width:0;
 color:#edf0f3!important;font:400 13px/1.65 "Source Han Sans SC","Microsoft YaHei",sans-serif!important;
}
html.tx-open-world #open-skill-detail b {font-weight:500!important;}
html.tx-open-world #open-skill-detail .open-detail-actions button {
 background:none!important;border:9px solid transparent!important;border-radius:0!important;
 border-image:url("../assets/images/icon/dialog_btn/btbg1.png") 12 14 12 14 fill stretch!important;
 padding:3px 5px!important;color:#eff2f5!important;font-weight:400!important;min-height:44px;
}
/* File management uses the same paper and buttons as the other game panels. */
html.tx-open-world dialog.tx-save-transfer {
 box-sizing:border-box;display:flex;flex-direction:column;width:min(640px,94vw);max-height:90dvh;
 padding:24px 32px 52px;overflow:hidden;border:1px solid #657b93;
 border-radius:0;background:#bccbdb url("../assets/images/ui/弹窗底板.png") center bottom/100% 135% no-repeat;
 color:var(--paper-ink);font:400 15px/1.65 "Microsoft YaHei",sans-serif;
}
html.tx-open-world .tx-transfer-head {display:flex;align-items:center;justify-content:space-between;gap:16px;flex:0 0 auto;}
html.tx-open-world .tx-transfer-head h2 {margin:0;font-size:27px;}
html.tx-open-world .tx-transfer-body {min-height:0;overflow:auto;padding-right:8px;scrollbar-width:thin;scrollbar-color:#6c8299 #b7c8da;}
html.tx-open-world .tx-transfer-intro {color:var(--paper-muted);margin:8px 0 16px;font-size:14px;}
html.tx-open-world .tx-save-transfer :is(.tx-transfer-close,.tx-transfer-primary,.tx-transfer-restore) {
 background:none;border:9px solid transparent;border-radius:0;
 border-image:url("../assets/images/icon/dialog_btn/btbg1.png") 12 14 12 14 fill stretch;
 color:#edf0f5;padding:4px 10px;min-height:44px;font-weight:400;box-shadow:none;
}
html.tx-open-world .tx-transfer-close {float:none;flex-shrink:0;}
html.tx-open-world .tx-transfer-preview {background:#d0dce8;color:var(--paper-ink);border-color:#748ca3;padding:10px;margin:8px 0;}
html.tx-open-world .tx-transfer-preview:empty {display:none;}
html.tx-open-world .tx-transfer-status {flex:0 0 auto;margin:12px 0 0;padding:8px 10px;color:#263442;background:#d0dce8;border-left:2px solid #748ca3;overflow-wrap:anywhere;}
html.tx-open-world .tx-transfer-status:empty {display:none;}
html.tx-open-world .tx-transfer-overwrite {color:var(--paper-muted);}
html.tx-open-world .tx-save-transfer :is(input[type=file],select) {color:var(--paper-ink);background:#d0dce8;border-color:#8297aa;border-radius:0;}
html.tx-open-world .tx-save-transfer input[type=file]::file-selector-button {background:#465c7a;color:#f0f3f6;border-color:#71889f;border-radius:0;}
html.tx-open-world .tx-save-transfer hr {border-color:#889bad80;margin:16px 0;}
html.tx-open-world .tx-save-transfer :is(button,input,select):focus-visible {outline:2px solid #304e75;outline-offset:2px;}
@media (min-width:961px) and (max-height:800px) {
 html.tx-open-world dialog.tx-save-transfer {padding-top:18px;padding-bottom:48px;}
 html.tx-open-world .tx-transfer-intro {margin:6px 0 8px;}
 html.tx-open-world .tx-save-transfer hr {margin:10px 0;}
 html.tx-open-world :is(.tx-transfer-file,.tx-transfer-slot-label) {margin:6px 0;}
 html.tx-open-world .tx-transfer-overwrite {padding:8px 0;}
 html.tx-open-world .tx-transfer-status {margin-top:8px;}
}
@media(min-width:961px) {
 html.tx-open-world #shop-body.store-grid {
  grid-template-columns:repeat(auto-fill,minmax(64px,1fr))!important;grid-auto-rows:80px!important;
  gap:8px!important;padding:12px 8px!important;box-sizing:border-box;overflow-x:hidden!important;
 }
 html.tx-open-world #shop-body .shop-slot {width:100%!important;height:80px!important;}
}
@media(min-width:1100px) {
 html.tx-open-world #skill-overlay .game-panel:has(#open-skill-detail:not(.hidden)) {
  display:grid!important;grid-template-columns:minmax(0,1fr) 280px;gap:10px 18px;
  width:min(880px,92vw)!important;height:auto!important;max-height:calc(100vh - 32px)!important;
  padding-left:40px!important;
 }
 html.tx-open-world #skill-overlay .game-panel:has(#open-skill-detail:not(.hidden)) .panel-head {grid-column:1/-1;grid-row:1;}
 html.tx-open-world #skill-overlay .game-panel:has(#open-skill-detail:not(.hidden)) .queue-box {grid-column:1;grid-row:2;}
 html.tx-open-world #skill-overlay .game-panel:has(#open-skill-detail:not(.hidden)) .panel-tabs {grid-column:1;grid-row:3;}
 html.tx-open-world #skill-overlay .game-panel:has(#open-skill-detail:not(.hidden)) #skill-grid {grid-column:1;grid-row:4;min-height:120px;max-height:180px;}
 html.tx-open-world #skill-overlay .game-panel:has(#open-skill-detail:not(.hidden)) .panel-tip {grid-column:1;grid-row:5;}
 html.tx-open-world #skill-overlay #open-skill-detail:not(.hidden) {grid-column:2;grid-row:2/6;align-self:stretch;margin:0!important;overflow-y:auto;}
 html.tx-open-world #skill-overlay .open-skill-overview {display:block!important;}
 html.tx-open-world #skill-overlay .open-skill-art {width:78px;height:78px;margin-bottom:10px;}
}
@media(max-width:960px) {
 html.tx-open-world #game-screen #dialogue-box {border-width:23px 13px 22px 44px!important;}
 html.tx-open-world #game-screen #dialogue-box .dlg-main {padding:8px 30px 23px!important;}
 html.tx-open-world #game-screen #dialogue-box #speaker-name {font-size:17px!important;letter-spacing:.12em;}
 html.tx-open-world #game-screen #dialogue-box #dialogue-text {font-size:14px!important;line-height:1.75!important;}
 html.tx-open-world #game-screen #choices-list .open-choice .choice-button {min-height:106px;padding:12px max(12px,5%)!important;}
}
@media(min-width:961px) {
 html.tx-open-world #three-select-overlay {
  display:grid;align-content:center;justify-items:center;gap:16px;
  box-sizing:border-box;padding:20px 24px 56px;
 }
 html.tx-open-world #three-select-overlay.hidden {display:none!important;}
 html.tx-open-world #three-select-overlay .tso-mask {z-index:0;background:#08111dab;}
 html.tx-open-world #three-select-overlay .tso-tile {display:none!important;}
 html.tx-open-world #three-select-overlay .tso-title {
  position:relative!important;inset:auto!important;transform:none!important;z-index:1;
  width:auto!important;height:auto!important;max-width:100%;white-space:normal;
  font:400 max(24px,2rem)/1.4 "PangMenZhengDao","STKaiti","KaiTi",serif!important;
  color:#f0f2f5!important;text-shadow:0 2px 3px #102031!important;
 }
 html.tx-open-world #three-select-overlay .tso-cards {
  position:relative!important;inset:auto!important;transform:none!important;z-index:1;
  width:min(84rem,900px)!important;max-width:100%;height:min(44rem,470px)!important;
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch;
 }
 html.tx-open-world #three-select-overlay .tso-card {
  width:100%!important;height:100%!important;min-width:0;padding:0!important;
  background:url("../assets/images/ui/法术卡牌底板.png") center/100% 100% no-repeat!important;
  border:0!important;border-radius:12px!important;box-shadow:none!important;
 }
 html.tx-open-world #three-select-overlay .tso-name {
  inset:8px 76px auto 40px!important;width:auto!important;height:30px!important;
  font:500 clamp(15px,1.25rem,18px)/1.4 "Source Han Sans SC","Microsoft YaHei",sans-serif!important;
  color:#243749!important;text-shadow:none!important;
 }
 html.tx-open-world #three-select-overlay .tso-lg {left:10px!important;top:6px!important;width:28px!important;height:28px!important;}
 html.tx-open-world #three-select-overlay .tso-mana {
  inset:10px 12px auto auto!important;width:60px!important;height:24px!important;
  background:#35677b!important;border:1px solid #8dbdc7;border-radius:3px;
  font:400 13px/1.3 "Microsoft YaHei",sans-serif!important;text-shadow:none!important;color:#f5f8fa!important;
 }
 html.tx-open-world #three-select-overlay .tso-mana::before {content:"耗气";margin-right:3px;font-size:11px;}
 html.tx-open-world #three-select-overlay .tso-icon {
  left:50%!important;top:16%!important;width:29%!important;height:auto!important;
  aspect-ratio:1;transform:translateX(-50%);
 }
 html.tx-open-world #three-select-overlay .tso-desc {
  inset:47% 9% 6%!important;width:auto!important;height:auto!important;overflow-y:auto!important;
  color:#edf0f3!important;text-shadow:none!important;white-space:pre-line;
  font:400 max(13px,1.02rem)/1.6 "Source Han Sans SC","Microsoft YaHei",sans-serif!important;
 }
 html.tx-open-world #three-select-overlay .tso-card:hover:not(:disabled) {transform:translateY(-4px);}
 html.tx-open-world #three-select-overlay .tso-card:focus-visible {outline:2px solid #8bb5d9;outline-offset:3px;}
 html.tx-open-world #three-select-overlay .tso-abandon {
  position:relative!important;inset:auto!important;z-index:1;width:auto!important;height:auto!important;
  min-height:40px;padding:8px 24px;font-size:15px;
 }
}
@media(prefers-reduced-motion:reduce) {html.tx-open-world #game-screen #choices-list .choice-button {transition:none!important;}}

html.tx-open-world #bag-medicine-effects {
  position: absolute;
  left: 4.155438rem;
  top: 4.706594rem;
  width: 46.634375rem;
  margin: 0;
  padding: .15rem .5rem;
  box-sizing: border-box;
  z-index: 2;
  border-block: 1px solid rgba(42, 63, 70, .25);
  color: #263e46;
  font-size: 1.125rem;
  line-height: 1.6;
  max-height: 7rem;
  overflow-y: auto;
  flex-shrink: 0;
}
html.tx-open-world #bag-overlay .game-panel:has(#bag-medicine-effects:not(.hidden)) { --medicine-space: 2.5rem; }
html.tx-open-world #bag-overlay .game-panel:has(#bag-medicine-effects[open]:not(.hidden)) { --medicine-space: 7.5rem; }
html.tx-open-world #bag-overlay #bag-grid {
  top: calc(4.706594rem + var(--medicine-space, 0rem));
  height: calc(28.720312rem - var(--medicine-space, 0rem));
}
html.tx-open-world #bag-medicine-effects summary { cursor: pointer; }
html.tx-open-world #bag-medicine-effects summary:focus-visible { outline: 2px solid #35677b; }
