/* Open-world decisions contain their explanation and exact costs in one hit area. */
/* The board's last completed-state hint can become false midway through a scene.
   Keep it for actionable choices, hide it while reading the scene itself. */
html.tx-open-world #choices-panel .choice-requirements {
  margin: .65rem .3rem;
  padding: .65rem .85rem;
  color: #f1dcc0;
  background: rgba(15, 29, 35, .92);
  border: 1px solid rgba(219, 182, 113, .6);
  line-height: 1.55;
  overflow-wrap: anywhere;
}
html.tx-open-world #choices-panel .choice-requirements p { margin: 0; }
html.tx-open-world #choices-panel .choice-requirements p + p { margin-top: .45rem; }
html.tx-open-world #game-screen:has(#dialogue-box:not(.hidden):not(.choice-state)) #tx-chapter-header .tx-chapter-context {
    visibility: hidden;
}
html.tx-edition.tx-open-world #dialogue-box.choice-state {
    position: absolute;
    left: 50%; right: auto; top: 23%; bottom: auto;
    width: min(860px, 82%); height: 28%; min-height: 0; max-height: none;
    transform: translateX(-50%);
}
html.tx-edition.tx-open-world #choices-panel {
    position: absolute; left: 50%; right: auto; top: 53%; bottom: auto;
    width: min(860px, 82%); height: 29%; transform: translateX(-50%);
    overflow: auto; pointer-events: auto; overscroll-behavior: contain;
    scrollbar-color: #8b805e #10252a;
}
html.tx-edition.tx-open-world #choices-list {
    position: static; inset: auto; width: 100%; height: auto; transform: none;
    display: grid; grid-template-columns: repeat(var(--choice-count), minmax(0, 1fr));
    align-items: stretch; gap: 10px; padding: 3px; box-sizing: border-box;
    pointer-events: auto;
}
html.tx-edition.tx-open-world #choices-list .choice-item.open-choice {
    position: static; inset: auto; min-width: 0; max-width: none; width: auto; height: auto;
    display: flex; pointer-events: auto;
}
html.tx-edition.tx-open-world #choices-list .open-choice .choice-button {
    position: relative !important; inset: auto !important; transform: none !important;
    width: 100% !important; max-width: none !important; height: auto !important; min-height: 108px;
    display: flex; flex-direction: column; align-items: stretch; gap: 9px;
    padding: 15px; border: 1px solid #8b9c80; border-radius: 5px;
    background: linear-gradient(145deg, #18353b, #0c2228) !important;
    box-shadow: 0 3px 12px #0007; text-align: left; touch-action: pan-y;
}
html.tx-edition.tx-open-world #choices-list .choice-button-text {
    display: block; height: auto; min-height: 0; padding: 0;
    color: #f6e8c7; font: 600 16px/1.45 "Source Han Sans SC", "Microsoft YaHei", sans-serif;
    text-align: left; word-break: normal; overflow-wrap: anywhere;
}
html.tx-edition.tx-open-world .choice-summary,
html.tx-edition.tx-open-world .choice-details {
    display: block; white-space: normal; word-break: normal; overflow-wrap: anywhere;
    font: 400 13px/1.65 "Source Han Sans SC", "Microsoft YaHei", sans-serif;
    color: #e4e5d8;
}
html.tx-edition.tx-open-world .choice-details {
    margin-top: auto; padding-top: 7px; border-top: 1px solid #b9ac7533; color: #b8ccb6; font-size: 12px;
}
html.tx-edition.tx-open-world #choices-list .choice-button.is-locked {
    border-color: #786863; background: #18262c !important;
}
html.tx-edition.tx-open-world #choices-list .is-locked .choice-details { color: #f3b799; }
html.tx-edition.tx-open-world #choices-list .choice-button:hover { border-color: #eed291; filter: brightness(1.12); }
html.tx-edition.tx-open-world #choices-list .choice-button:focus-visible { outline: 2px solid #f6d397; outline-offset: 1px; }
/* A book catalog must stay readable instead of squeezing every choice into one row. */
@media (min-width: 961px) {
    html.tx-edition.tx-open-world:not(.tx-story-open) #game-screen:has(#choices-list.many) #dialogue-box.choice-state {
        top: 15%; width: min(1060px, 88%); height: min(var(--paper-dialog-height,24vh),34%);
    }
    html.tx-edition.tx-open-world:not(.tx-story-open) #choices-panel:has(#choices-list.many) {
        top: calc(15% + min(var(--paper-dialog-height,24vh),34%) + 12px); bottom:17%; width: min(1060px, 88%); height:auto;
    }
    html.tx-edition.tx-open-world #choices-list.many {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
html.tx-edition.tx-open-world #open-skill-detail {
    flex: 0 0 auto; padding: 12px; margin: 8px 10px;
    border: 1px solid #9b8d624d; border-radius: 4px; background: #081d22; color: #eee5cf;
    font: 400 13px/1.6 "Source Han Sans SC", "Microsoft YaHei", sans-serif;
}
html.tx-edition.tx-open-world #open-skill-detail p { margin: 5px 0; }
html.tx-edition.tx-open-world #open-skill-detail .open-skill-overview p {
    white-space: pre-line; overflow-wrap: anywhere; line-break: strict;
}
html.tx-edition.tx-open-world .open-skill-overview {
    display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; align-items: start;
}
html.tx-edition.tx-open-world .open-skill-art {
    display: block; width: 76px; height: 76px; object-fit: contain;
    border: 1px solid #b7a270; border-radius: 4px; background: #081b21;
}
html.tx-edition.tx-open-world #modal-overlay:is(.has-object-art, .has-readable-copy) {
    position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
    padding: 12px; box-sizing: border-box; background: #020b10c9;
}
html.tx-edition.tx-open-world #modal-overlay:is(.has-object-art, .has-readable-copy) .modal-bk {
    position: relative; inset: auto; transform: none; width: min(560px, 100%);
    height: auto; max-height: calc(100dvh - 24px); box-sizing: border-box;
    display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 14px;
    padding: 20px; border: 1px solid #bca16c; border-radius: 7px;
    background: linear-gradient(145deg, #163239, #091d23); box-shadow: 0 12px 60px #0009;
}
html.tx-edition.tx-open-world #modal-overlay:is(.has-object-art, .has-readable-copy) .modal-bk > * {
    position: static; inset: auto; width: auto; height: auto; min-width: 0; transform: none;
}
html.tx-edition.tx-open-world #modal-overlay:is(.has-object-art, .has-readable-copy) .modal-title {
    font: 600 20px/1.4 "Source Han Sans SC", "Microsoft YaHei", sans-serif; color: #f4e4bf;
}
html.tx-edition.tx-open-world #modal-overlay:is(.has-object-art, .has-readable-copy) .modal-context {
    display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 16px; align-items: start;
    min-height: 0; overflow-y: auto; overflow-wrap: anywhere; white-space: normal;
    font: 400 14px/1.65 "Source Han Sans SC", "Microsoft YaHei", sans-serif; color: #e1e7dc;
}
html.tx-edition.tx-open-world .open-object-art {
    display: block; width: 116px; height: 116px; object-fit: contain;
    background: #081b21; border: 1px solid #bca16c66; border-radius: 5px; box-sizing: border-box;
}
html.tx-edition.tx-open-world .open-object-copy { min-width: 0; white-space: pre-line; }
html.tx-edition.tx-open-world #modal-overlay:is(.has-object-art, .has-readable-copy) .modal-btns {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
}
html.tx-edition.tx-open-world #modal-overlay:is(.has-object-art, .has-readable-copy) .modal-btns button {
    min-width: 136px; min-height: 46px; height: auto; padding: 8px 14px; margin: 0;
    font: 500 15px/1.4 "Source Han Sans SC", "Microsoft YaHei", sans-serif;
}
@media (max-width: 420px) {
    html.tx-edition.tx-open-world #modal-overlay:is(.has-object-art, .has-readable-copy) .modal-bk { padding: 16px; }
    html.tx-edition.tx-open-world #modal-overlay:is(.has-object-art, .has-readable-copy) .modal-context { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; }
    html.tx-edition.tx-open-world .open-object-art { width: 88px; height: 88px; }
}
html.tx-edition.tx-open-world .open-detail-actions { display: flex; flex-wrap: wrap; gap: 7px; }
html.tx-edition.tx-open-world .open-detail-actions button {
    min-height: 44px; padding: 7px 12px; background: #213a3e; color: #f0dfb7;
    border: 1px solid #8e9573; border-radius: 3px; font: inherit; cursor: pointer;
}
html.tx-edition.tx-open-world button:disabled { cursor: default; opacity: .5; }
html.tx-edition.tx-open-world #skill-overlay .game-panel { overflow-y: auto; }
html.tx-edition.tx-open-world #skill-grid { min-height: 85px; }
html.tx-edition.tx-open-world #game-container.store-open #bag-overlay {
    background: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
html.tx-edition.tx-open-world .shop-slot:not(.empty) .icon-wrap { height: 55%; }
html.tx-edition.tx-open-world .open-shop-name,
html.tx-edition.tx-open-world .open-shop-price {
    position: absolute; left: 2px; right: 2px; bottom: 18px;
    font: 500 12px/1.25 "Source Han Sans SC", "Microsoft YaHei", sans-serif;
    color: #efe5ca; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
html.tx-edition.tx-open-world .open-shop-price { bottom: 3px; color: #e5c77d; }
html.tx-edition.tx-open-world :is(.eq-slot, .fb-slot):focus-visible { outline: 2px solid #f6d397; outline-offset: 2px; }
html.tx-edition.tx-open-world .tx-story-region {
    position: relative; display: flex; flex: 1 1 0; min-width: 0; height: 100%;
}
html.tx-edition.tx-open-world .tx-story-region > .tx-story-cards { flex: 1 1 auto; min-width: 0; }
html.tx-edition.tx-open-world .tx-story-scroll-nav[hidden] { display: none !important; }
@media (min-width: 961px) {
    html.tx-edition.tx-open-world .tx-story-region > .tx-story-cards {
        width: 100%; height: 100%; box-sizing: border-box; padding-bottom: 1.25rem;
        scroll-behavior: smooth; scrollbar-width: auto; scrollbar-color: #ddc07c #10252a;
    }
    html.tx-edition.tx-open-world .tx-story-region > .tx-story-cards::-webkit-scrollbar { height: 10px; }
    html.tx-edition.tx-open-world .tx-story-region > .tx-story-cards::-webkit-scrollbar-track { background: #10252a; }
    html.tx-edition.tx-open-world .tx-story-region > .tx-story-cards::-webkit-scrollbar-thumb {
        background: #c4a665; border: 2px solid #10252a; border-radius: 999px;
    }
    html.tx-edition.tx-open-world .tx-story-scroll-nav {
        position: absolute; right: .75rem; top: .75rem; z-index: 18;
        display: grid; grid-template-columns: 2.4rem auto 2.4rem; align-items: center; gap: .35rem;
        min-height: 2.4rem; padding: .25rem; border: 1px solid #d3b67588; border-radius: 4px;
        background: #07161bea; box-shadow: 0 .25rem .8rem #0009; color: #f3e4c0;
        font: 500 .82rem/1.2 "Source Han Sans SC", "Microsoft YaHei", sans-serif;
    }
    html.tx-edition.tx-open-world .tx-story-scroll-nav button {
        width: 2.4rem; min-width: 2.4rem; height: 2.4rem; padding: 0;
        border: 1px solid #c4a665; border-radius: 3px; background: #1b3439; color: #ffe8b2;
        font: 700 1.65rem/1 sans-serif; cursor: pointer;
    }
    html.tx-edition.tx-open-world .tx-story-scroll-nav button:disabled { opacity: .32; cursor: default; }
    html.tx-edition.tx-open-world .tx-story-scroll-status { min-width: 8.4rem; text-align: center; white-space: nowrap; }
    html.tx-edition.tx-open-world .tx-story-region.has-overflow:not(.at-end)::after {
        content: ""; position: absolute; top: 0; right: 0; bottom: 1.25rem; width: 3rem;
        pointer-events: none; background: linear-gradient(90deg, transparent, #071419bf);
    }
    html.tx-edition.tx-open-world .tx-routine-cards { overflow-y: auto; scrollbar-width: thin; scrollbar-color: #cab17d #10252b; }
    html.tx-edition.tx-open-world .tx-routine-cards::before { content: "这一年的修行 · 下滑可见更多"; }
    html.tx-edition.tx-open-world .tx-routine-cards .tx-card[data-event-id="4000010"],
    html.tx-edition.tx-open-world .tx-routine-cards .tx-card[data-event-id="4000020"] { order: -1; }
}
@media (max-width: 600px) and (orientation: portrait) {
    html.tx-edition.tx-open-world,
    html.tx-edition.tx-open-world body { max-width: 100%; overflow-x: hidden; }
    html.tx-edition.tx-open-world .event-row.tx-event-layout {
        height: auto; min-height: 0; flex-direction: column; overflow: visible;
    }
    html.tx-edition.tx-open-world .tx-story-region {
        display: block; flex: none; width: 100%; height: auto; min-width: 0;
    }
    html.tx-edition.tx-open-world .tx-story-region > .tx-story-cards {
        display: flex; flex-direction: column; width: 100%; height: auto;
        gap: .8rem; padding: 0; overflow: visible;
    }
    html.tx-edition.tx-open-world .tx-story-cards .tx-card {
        flex: 0 0 auto; width: 100%; max-width: 100%; height: 26rem;
    }
    html.tx-edition.tx-open-world .tx-story-scroll-nav { display: none !important; }
    html.tx-edition.tx-open-world .tx-routine-cards {
        flex: none; width: 100%; max-height: none; padding: 1rem 0 0;
        border-left: 0; border-top: 1px solid #b79d6d55; overflow: visible;
    }

    html.tx-edition.tx-open-world #game-container.store-open {
        --tx-shop-top: calc(6.5rem + env(safe-area-inset-top));
        --tx-shop-height: min(18rem, 36dvh);
    }
    html.tx-edition.tx-open-world #shop-overlay {
        position: fixed; inset: 0; z-index: 230; overflow: hidden;
        background: rgba(1, 8, 12, .86);
    }
    html.tx-edition.tx-open-world #shop-overlay .store-shop {
        position: fixed; left: 12px; right: 12px; top: var(--tx-shop-top);
        width: auto; height: var(--tx-shop-height); padding: 8px; box-sizing: border-box;
        display: grid; grid-template-rows: 3rem minmax(0, 1fr);
        background-color: #10262d; border: 1px solid #b99a62; border-radius: 7px;
    }
    html.tx-edition.tx-open-world #shop-overlay .store-name {
        position: static; width: auto; height: auto; padding: 0 3.2rem;
        font-size: 1.2rem; line-height: 3rem;
    }
    html.tx-edition.tx-open-world #shop-overlay .store-close {
        left: auto; right: 4px; top: 4px; width: 48px; height: 48px;
    }
    html.tx-edition.tx-open-world #shop-body.store-grid {
        position: static; width: 100%; height: auto; min-height: 0;
        grid-template-columns: repeat(auto-fit, 5rem); grid-auto-rows: 5rem;
        gap: .625rem; align-content: start; justify-content: center;
        padding: .4rem; box-sizing: border-box; overflow-x: hidden; overflow-y: auto;
    }
    html.tx-edition.tx-open-world #game-container.store-open #bag-overlay {
        position: fixed; inset: 0; z-index: 231; overflow: hidden; pointer-events: none;
    }
    html.tx-edition.tx-open-world #game-container.store-open #bag-overlay .game-panel {
        position: fixed; left: 12px; right: 12px;
        top: calc(var(--tx-shop-top) + var(--tx-shop-height) + 8px);
        bottom: calc(4.9rem + env(safe-area-inset-bottom));
        width: auto !important; height: auto; max-height: none; margin: 0;
        box-sizing: border-box; pointer-events: auto;
    }
}
@media (max-width: 960px) and (max-height: 600px) and (orientation: landscape) {
    html.tx-edition.tx-open-world,
    html.tx-edition.tx-open-world body { max-width: 100%; overflow-x: hidden; }
    html.tx-edition.tx-open-world #game-container.store-open {
        --tx-shop-top: calc(4.9rem + env(safe-area-inset-top));
        --tx-shop-bottom: calc(4.2rem + env(safe-area-inset-bottom));
    }
    html.tx-edition.tx-open-world #shop-overlay {
        position: fixed; inset: 0; z-index: 230; overflow: hidden;
        background: rgba(1, 8, 12, .86);
    }
    html.tx-edition.tx-open-world #shop-overlay .store-shop {
        position: fixed; left: 12px; right: auto; top: var(--tx-shop-top); bottom: var(--tx-shop-bottom);
        width: 40%; height: auto; padding: 7px; box-sizing: border-box;
        display: grid; grid-template-rows: 2.6rem minmax(0, 1fr);
        background-color: #10262d; border: 1px solid #b99a62; border-radius: 7px;
    }
    html.tx-edition.tx-open-world #shop-overlay .store-name {
        position: static; width: auto; height: auto; padding: 0 2.8rem;
        font-size: 1rem; line-height: 2.6rem;
    }
    html.tx-edition.tx-open-world #shop-overlay .store-close {
        left: auto; right: 3px; top: 3px; width: 42px; height: 42px;
    }
    html.tx-edition.tx-open-world #shop-body.store-grid {
        position: static; width: 100%; height: auto; min-height: 0;
        grid-template-columns: repeat(auto-fit, 5rem); grid-auto-rows: 5rem;
        gap: .5rem; align-content: start; justify-content: center;
        padding: .3rem; box-sizing: border-box; overflow-x: hidden; overflow-y: auto;
    }
    html.tx-edition.tx-open-world #game-container.store-open #bag-overlay {
        position: fixed; inset: 0; z-index: 231; overflow: hidden; pointer-events: none;
    }
    html.tx-edition.tx-open-world #game-container.store-open #bag-overlay .game-panel {
        position: fixed; left: calc(40% + 20px); right: 12px;
        top: var(--tx-shop-top); bottom: var(--tx-shop-bottom);
        width: auto !important; height: auto; max-height: none; margin: 0;
        box-sizing: border-box; pointer-events: auto;
    }
}
@media (max-width: 960px) {
    html.tx-edition.tx-open-world #npc-api-overlay {
        position: fixed !important; inset: 0 !important; z-index: 300;
        display: flex; align-items: center; justify-content: center;
        box-sizing: border-box; padding: 12px;
    }
    html.tx-edition.tx-open-world #npc-api-overlay.hidden { display: none !important; }
    html.tx-edition.tx-open-world #npc-api-overlay .npc-api-panel {
        position: relative !important; left: auto !important; top: auto !important;
        width: 100% !important; max-width: 34rem; max-height: calc(100dvh - 24px);
        padding: 18px !important; overflow-y: auto; box-sizing: border-box;
        transform: none !important;
    }
    html.tx-edition.tx-open-world #npc-api-overlay .npc-api-panel label { white-space: normal; }
    html.tx-edition.tx-open-world #npc-api-overlay .npc-api-panel input {
        min-width: 0; width: 100%; box-sizing: border-box;
    }
    html.tx-edition.tx-open-world #dialogue-box.choice-state {
        position: fixed; top: calc(6.8rem + env(safe-area-inset-top));
        left: 12px; right: 12px; width: auto; height: 28dvh; min-height: 0; max-height: none; transform: none;
    }
    html.tx-edition.tx-open-world #choices-panel {
        position: fixed; left: 12px; right: 12px; top: calc(6.8rem + 29dvh + env(safe-area-inset-top));
        bottom: calc(5.7rem + env(safe-area-inset-bottom)); width: auto; height: auto; transform: none;
    }
    html.tx-edition.tx-open-world #choices-list { grid-template-columns: 1fr; gap: 8px; }
    html.tx-edition.tx-open-world #choices-list .open-choice .choice-button { min-height: 100px; padding: 12px; gap: 5px; }
    html.tx-edition.tx-open-world #dialogue-box.choice-state .dlg-main { padding-bottom: 0; }
}
@media (max-width: 960px) and (orientation: landscape) {
    html.tx-edition.tx-open-world #dialogue-box.choice-state {
        top: calc(5.1rem + env(safe-area-inset-top)); left: 12px; right: auto;
        width: 36%; height: calc(100dvh - 5.7rem - env(safe-area-inset-top));
    }
    html.tx-edition.tx-open-world #choices-panel {
        top: calc(5.1rem + env(safe-area-inset-top)); left: 39%; right: 12px;
        bottom: calc(.5rem + env(safe-area-inset-bottom));
    }
    html.tx-edition.tx-open-world #choices-list { grid-template-columns: 1fr; }
    html.tx-edition.tx-open-world #choices-list .open-choice .choice-button { min-height: 88px; }
}
.tx-power-grid { display:grid;gap:1rem;margin-top:1.2rem; }
.tx-powers .tx-dialog-close { position:sticky;top:0;float:none;display:block;margin-left:auto;min-height:44px;z-index:2; }
.tx-power-card { display:grid;grid-template-columns:112px minmax(0,1fr);gap:1rem;align-items:center;padding:1rem;background:#192d34;border:1px solid #a17f4a;border-radius:8px; }
.tx-power-card img { width:112px;height:112px;object-fit:cover;border-radius:8px; }
.tx-power-card h3 { color:#f3d196;font-size:21px;margin:.3rem 0; }
.tx-power-card p { line-height:1.65; }
@media(max-width:820px) {
 .tx-power-card { grid-template-columns:76px minmax(0,1fr);gap:.7rem;padding:.7rem; }
 .tx-power-card img { width:76px;height:76px; }
 .tx-power-card h3 { font-size:18px; }
}
/* Open-story illustrations share a stable caption region; never inherit scroll-page offsets. */
html.tx-edition.tx-open-world.tx-story-open #dialogue-box.choice-state {
 position:fixed!important;left:50%!important;right:auto!important;top:auto!important;bottom:24dvh!important;
 width:min(860px,90vw)!important;height:22dvh!important;max-height:none!important;min-height:0!important;transform:translateX(-50%)!important;
}
html.tx-edition.tx-open-world.tx-story-open #dialogue-box.choice-state .dlg-main {
 box-sizing:border-box;display:block!important;height:100%!important;max-height:100%!important;overflow-y:auto!important;padding:12px 16px!important;
}
html.tx-edition.tx-open-world.tx-story-open #dialogue-box.choice-state #dialogue-text {
 position:static!important;width:auto!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;
}
html.tx-edition.tx-open-world.tx-story-open #dialogue-box.choice-state #speaker-name {
 position:static!important;width:auto!important;height:auto!important;margin:0 0 8px!important;
}
html.tx-edition.tx-open-world.tx-story-open #choices-panel {
 position:fixed!important;top:auto!important;bottom:3dvh!important;left:50%!important;right:auto!important;
 width:min(860px,90vw)!important;height:19dvh!important;transform:translateX(-50%)!important;
}
@media (min-width:961px) {
 html.tx-edition.tx-open-world.tx-story-open #game-screen:has(#choices-list.many) #dialogue-box.choice-state {
  bottom:38dvh!important;height:20dvh!important;width:min(1120px,92vw)!important;
 }
 html.tx-edition.tx-open-world.tx-story-open #choices-panel:has(#choices-list.many) {
  bottom:3dvh!important;height:32dvh!important;width:min(1120px,92vw)!important;
 }
 html.tx-edition.tx-open-world.tx-story-open #choices-list.many {
  grid-template-columns:repeat(5,minmax(0,1fr));
 }
}
@media (max-width:960px) and (orientation:portrait) {
 html.tx-edition.tx-open-world.tx-story-open #dialogue-box:not(.choice-state) {
  position:fixed!important;left:12px!important;right:12px!important;top:auto!important;bottom:7dvh!important;
  width:auto!important;height:30dvh!important;max-height:none!important;min-height:0!important;transform:none!important;
 }
 html.tx-edition.tx-open-world.tx-story-open #dialogue-box.choice-state {
  left:12px!important;right:12px!important;top:43dvh!important;bottom:auto!important;width:auto!important;height:24dvh!important;transform:none!important;
 }
 html.tx-edition.tx-open-world.tx-story-open #choices-panel {
  left:12px!important;right:12px!important;top:69dvh!important;bottom:auto!important;width:auto!important;height:28dvh!important;transform:none!important;
 }
}
@media (max-width:960px) and (orientation:landscape) {
 html.tx-edition.tx-open-world.tx-story-open #dialogue-box.choice-state {
  left:12px!important;right:auto!important;top:47dvh!important;bottom:auto!important;width:36vw!important;height:49dvh!important;transform:none!important;
 }
 html.tx-edition.tx-open-world.tx-story-open #choices-panel {
  left:39vw!important;right:12px!important;top:21dvh!important;bottom:auto!important;width:auto!important;height:77dvh!important;transform:none!important;
 }
}

/* Earned first-gate controls and actual playback state. */
.tx-gate-plan {grid-column:1/-1;padding:20px;border:1px solid #78514b;border-radius:12px;background:#22191c;color:#f4e6d9;}
.tx-gate-plan h3 {margin:0 0 10px;color:#ffd5b1;}
.tx-gate-status {font-size:14px;line-height:1.8;white-space:normal;}
.tx-gate-controls {display:flex;flex-wrap:wrap;gap:10px;}
.tx-gate-controls button {padding:10px 16px;border:1px solid #95766b;border-radius:6px;background:#35252b;color:#fff0e5;cursor:pointer;}
.tx-gate-controls button[aria-pressed=true] {background:#8b3437;border-color:#ffc499;box-shadow:0 0 0 2px #b4664566;}
.tx-gate-controls button:focus-visible {outline:3px solid #f6c482;outline-offset:3px;}
.tx-gate-controls button:disabled {opacity:.55;cursor:default;}
#battle-open-gate:not([hidden]) {position:absolute;z-index:9;left:8%;top:26%;padding:5px 12px;border:1px solid #9d615c;border-radius:6px;background:#24141dd9;color:#edd8cb;font-size:14px;pointer-events:none;}
#battle-open-gate[data-active=true] {color:#ffddb9;border-color:#ef8564;box-shadow:0 0 15px #c3312544;}

html.tx-edition.tx-open-world #modal-overlay.has-readable-copy .modal-bk {width:min(620px,100%);}
html.tx-edition.tx-open-world #modal-overlay.has-readable-copy .modal-context {display:block;white-space:pre-line;text-align:left;font-size:16px;line-height:1.75;}
html.tx-edition.tx-open-world #modal-overlay.has-readable-copy .modal-btns .ink-btn {position:static;inset:auto;min-width:150px;width:auto;height:auto;transform:none;}
/* The chapter reward breakdown sits between routine counts and learned powers. */
html.tx-open-world #settlement-overlay.tx-chapter-ending #st-sanjie-text {
    top: 3.15rem;
    height: 1.65rem;
    font-size: 1.35rem;
    color: #e0c892;
}

/* Identity, present relationship and optional history are separate reading layers. */
html.tx-open-world :is(#tx-bonds,#tx-powers,#tx-qualifications) {width:min(1040px,92vw);padding:20px 24px 28px;box-sizing:border-box;}
html.tx-open-world :is(#tx-bonds,#tx-powers,#tx-qualifications) .tx-bond-header {position:sticky;top:-20px;z-index:3;display:flex;align-items:center;justify-content:space-between;gap:20px;background:#101f26;padding:14px 0 12px;border-bottom:1px solid #bda56f55;}
html.tx-open-world :is(#tx-bonds,#tx-powers,#tx-qualifications) .tx-bond-header .tx-eyebrow {margin:0;color:#b3bcae;font-size:12px;letter-spacing:.12em;}
html.tx-open-world :is(#tx-bonds,#tx-powers,#tx-qualifications) .tx-bond-header h2 {margin:2px 0 0;font-size:26px;}
html.tx-open-world :is(#tx-bonds,#tx-powers,#tx-qualifications) .tx-dialog-close {float:none;flex:none;min-height:40px;padding:7px 16px;font-size:14px;}
html.tx-open-world #tx-bonds .tx-bond-grid {align-items:start;gap:16px;margin-top:18px;}
html.tx-open-world #tx-bonds .tx-bond-person {display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px 16px;align-items:center;padding:18px;border-radius:3px;min-width:0;}
html.tx-open-world #tx-bonds .tx-bond-person>img {float:none;width:76px;height:76px;object-fit:cover;margin:0;border-radius:3px;border:1px solid #cbb47a;}
html.tx-open-world #tx-bonds .tx-bond-identity {min-width:0;}
html.tx-open-world #tx-bonds .tx-bond-identity h3 {font-size:18px;line-height:1.45;margin:0 0 5px;color:#f0dbb6;}
html.tx-open-world #tx-bonds .tx-bond-identity p {margin:3px 0;font-size:13px;line-height:1.5;}
html.tx-open-world #tx-bonds .tx-bond-score {color:#f0e7cf;}
html.tx-open-world #tx-bonds .tx-bond-person>:not(img):not(.tx-bond-identity) {grid-column:1/-1;min-width:0;}
html.tx-open-world #tx-bonds :is(.tx-bond-basis,.tx-bond-state) {margin:0;font-size:14px;line-height:1.75;overflow-wrap:anywhere;}
html.tx-open-world #tx-bonds .tx-bond-state {color:#cedbd7;}
html.tx-open-world #tx-bonds .tx-bond-history {border-top:1px solid #bda56f40;padding-top:10px;}
html.tx-open-world #tx-bonds .tx-bond-history summary {cursor:pointer;min-height:30px;line-height:30px;color:#d9bd88;font-size:13px;}
html.tx-open-world #tx-bonds .tx-bond-history summary:focus-visible {outline:2px solid #e1c584;outline-offset:2px;}
html.tx-open-world #tx-bonds .tx-memory {margin:10px 0 0;padding-top:10px;line-height:1.75;font-size:13px;color:#c8d3cf;overflow-wrap:anywhere;}
@media(max-width:700px){
 html.tx-open-world :is(#tx-bonds,#tx-powers,#tx-qualifications) {padding:14px 14px 20px;}
 html.tx-open-world #tx-bonds .tx-bond-grid {grid-template-columns:1fr;}
 html.tx-open-world :is(#tx-bonds,#tx-powers,#tx-qualifications) .tx-bond-header {top:-14px;}
 html.tx-open-world #tx-bonds .tx-bond-person {padding:14px;grid-template-columns:68px minmax(0,1fr);}
 html.tx-open-world #tx-bonds .tx-bond-person>img {width:68px;height:68px;}
}

html.tx-open-world :is(#tx-powers,#tx-qualifications) .tx-bond-header .tx-dialog-close {position:static;}
html.tx-open-world :is(#tx-powers,#tx-qualifications) .tx-power-grid {grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:14px;margin-top:18px;}
html.tx-open-world .tx-powers .tx-collection-heading {grid-column:1/-1;margin:12px 0 0;padding-bottom:9px;border-bottom:1px solid #bda56f55;font:400 20px/1.5 "STKaiti","KaiTi",serif;color:#e2c590;}
html.tx-open-world .tx-powers .tx-power-card {grid-template-columns:76px minmax(0,1fr);gap:14px;align-items:start;padding:16px;border-radius:3px;min-width:0;}
html.tx-open-world .tx-powers .tx-power-card img {width:76px;height:76px;object-fit:contain;border-radius:3px;background:#102129;}
html.tx-open-world .tx-powers .tx-power-card :is(h3,h4) {font-size:18px;line-height:1.45;color:#f0dbb6;margin:3px 0 8px;}
html.tx-open-world .tx-powers .tx-power-card p {font-size:14px;line-height:1.75;overflow-wrap:anywhere;margin:0;}
html.tx-open-world .tx-powers .tx-power-card .tx-eyebrow {font-size:12px;color:#b4c1b9;margin:0 0 4px;}
html.tx-open-world .tx-powers .tx-qualification-faction {grid-column:1/-1;font-size:14px;margin:0;line-height:1.7;color:#d4c098;}
html.tx-open-world .tx-powers .tx-current-qualification {grid-column:1/-1;}
html.tx-open-world .tx-powers .tx-power-empty {grid-column:1/-1;font-size:15px;}
html.tx-open-world .tx-powers .tx-gate-plan {padding:16px;border-radius:3px;}
@media(max-width:900px){html.tx-open-world :is(#tx-powers,#tx-qualifications) .tx-power-grid {grid-template-columns:1fr;}}
/* A two-tone focus ring remains visible on both ink buttons and pale paper. */
html.tx-open-world :is(button,a,input,select,textarea,[role="button"]):focus-visible {
    outline: 2px solid #ffe2a4;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px #10252a;
}
html.tx-open-world :is(#character-creation,#rebirth-screen) > .chrome-fate {
    min-width: 160px;
    height: 40px;
    box-sizing: border-box;
    padding: 0 16px 0 44px;
    background-image: url("../assets/yuanwen-ui/fate-frame-clean-v1.svg");
    font-size: 16px;
}
html.tx-open-world :is(#character-creation,#rebirth-screen) > .chrome-fate .fate-icon {
    left: 10px;
    width: 26px;
    height: 28px;
}
html.tx-open-world .set-tog input {
    width: 22px;
    height: 22px;
    left: 0;
    top: 0;
    margin: 0;
    z-index: 2;
    cursor: pointer;
}
html.tx-open-world .set-tog:has(input:focus-visible) > i {
    outline: 2px solid #ffe2a4;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px #10252a;
}
html.tx-open-world #guide-overlay .guide-panel {
    box-sizing: border-box;
    width: min(1100px, calc(100% - 64px));
    height: min(620px, calc(100% - 64px));
    display: grid;
    grid-template-columns: minmax(0, .32fr) minmax(0, .68fr);
    gap: 32px;
    padding: 72px 58px 58px;
}
html.tx-open-world #guide-overlay .guide-title {left: 32px;top: 18px;font-size: 26px;}
html.tx-open-world #guide-overlay .guide-close {right: 18px;top: 12px;}
html.tx-open-world #guide-overlay .guide-sample {
    position: static;width: auto;height: auto;min-width: 0;gap: 20px;text-align: center;
}
html.tx-open-world #guide-overlay .guide-sample img {width: 110px;height: 110px;max-width: 80%;max-height: none;}
html.tx-open-world #guide-overlay .guide-sample b {color: #f3dfa8;font-size: 26px;line-height: 1.5;}
html.tx-open-world #guide-overlay .guide-notes {
    position: static;width: auto;height: auto;min-width: 0;min-height: 0;padding: 0 8px 0 0;
    overflow: auto;scrollbar-width: thin;scrollbar-color: #bd9e64 #142c2b;
}
html.tx-open-world #guide-overlay .guide-note {display: grid;grid-template-columns: 98px minmax(0, 1fr);gap: 14px;margin-bottom: 18px;}
html.tx-open-world #guide-overlay .guide-note b {min-width: 0;padding: 5px 6px;font-size: 16px;line-height: 1.65;}
html.tx-open-world #guide-overlay .guide-note span {font-size: 16px;line-height: 1.65;color: #e2e9e8;overflow-wrap: anywhere;}
html.tx-open-world #guide-overlay .guide-arrow {width: 32px;height: 36px;}
html.tx-open-world #guide-overlay .guide-arrow.prev {left: 12px;}
html.tx-open-world #guide-overlay .guide-arrow.next {right: 12px;}
html.tx-open-world #guide-overlay .guide-arrow:disabled {opacity: .35;cursor: default;}
html.tx-open-world #guide-overlay .guide-dots {bottom: 23px;}
@media (max-width: 820px) {
    html.tx-open-world #guide-overlay .guide-panel {width: calc(100% - 20px);height: calc(100% - 24px);padding: 50px 38px 44px;grid-template-columns: minmax(0,1fr);grid-template-rows: auto minmax(0,1fr);gap: 14px;}
    html.tx-open-world #guide-overlay .guide-sample {flex-direction: row;}
    html.tx-open-world #guide-overlay .guide-sample img {width: 48px;height: 48px;}
    html.tx-open-world #guide-overlay .guide-sample b {font-size: 20px;}
    html.tx-open-world #guide-overlay .guide-note {grid-template-columns: 76px minmax(0,1fr);gap: 8px;}
    html.tx-open-world #guide-overlay .guide-note :is(b,span) {font-size: 14px;}
}
html.tx-open-world :is(#credits-overlay,#save-overlay) .ink-panel {color: #e2e9e8;}
html.tx-open-world :is(#credits-overlay,#save-overlay) .ink-panel-title {color: #f3dfa8;font-size: 24px;line-height: 1.4;}
html.tx-open-world #credits-overlay .credits-panel {
    box-sizing: border-box;
    width: min(720px, calc(100% - 48px));
    height: min(620px, calc(100% - 64px));
    max-height: none;
    padding: 24px 34px;
    align-items: stretch;
    gap: 14px;
}
html.tx-open-world #credits-overlay .ink-panel-title {margin: 0;}
html.tx-open-world #credits-scroll {
    flex: 1;min-height: 0;width: auto;height: auto;
    overflow: auto;mask-image: none;-webkit-mask-image: none;
    scrollbar-width: thin;scrollbar-color: #bd9e64 #142c2b;
}
html.tx-open-world #credits-scroll::-webkit-scrollbar {display: block;width: 6px;}
html.tx-open-world #credits-overlay .credits-roll {padding: 4px 12px 14px;gap: 12px;color: #e2e9e8;}
html.tx-open-world #credits-overlay .credits-roll b {font-size: 22px;color: #f3dfa8;}
html.tx-open-world #credits-overlay .credits-roll i {color: #e2e9e8;}
html.tx-open-world #credits-overlay .credits-roll em {margin: 12px 0 0;color: #f3dfa8;font-size: 18px;}
html.tx-open-world #credits-overlay .credits-roll span {font-size: 16px;line-height: 1.7;}
html.tx-open-world #credits-overlay .credits-roll .credits-end {margin-top: 16px;font-size: 18px;}
html.tx-open-world #btn-credits-close {align-self: center;min-width: 128px;min-height: 40px;}
html.tx-edition.tx-open-world:not(.tx-mobile) #save-overlay .ink-panel {
    box-sizing: border-box;width: min(850px, calc(100% - 48px));height: auto;max-height: calc(100% - 48px);
    padding: 24px 32px;gap: 14px;align-items: stretch;overflow: auto;
}
html.tx-edition.tx-open-world:not(.tx-mobile) #save-slots {display: grid;width: 100%;gap: 10px;}
html.tx-edition.tx-open-world:not(.tx-mobile) #save-slots > .ink-btn {
    width: 100%;height: auto;min-height: 48px;padding: 8px 20px;white-space: normal;
    font: 400 16px/1.6 "Microsoft YaHei",sans-serif;
}
html.tx-edition.tx-open-world:not(.tx-mobile) #save-overlay :is(#btn-save-close,.tx-transfer-entry) {
    align-self: center;width: auto;min-width: 150px;height: auto;min-height: 40px;padding: 6px 20px;
    font-size: 15px;line-height: 1.6;
}
html.tx-open-world #hud-births .birth-tag {pointer-events: auto;cursor: help;}
html.tx-open-world #hud-births .birth-tag:focus-visible {outline: 2px solid #ffe2a4;outline-offset: 2px;}
/* Desktop HUD: distinct profession labels/bars and one icon per balance. */
html.tx-edition.tx-open-world:not(.tx-mobile) #hud-top .hud-craft {
    left: calc(50% - 16px);top: 20px;width: min(380px, calc(50% - 302px));height: auto;
    display: grid;gap: 6px;opacity: 1;
}
html.tx-edition.tx-open-world:not(.tx-mobile) #hud-top .craft-line {
    position: relative;display: grid;grid-template-columns: 76px minmax(0,1fr);align-items: center;
    height: 28px;pointer-events: auto;
}
html.tx-edition.tx-open-world:not(.tx-mobile) #hud-top .craft-title {
    position: static;inset: auto;width: auto;height: auto;margin: 0;grid-column: 1;grid-row: 1;
    font: 400 14px/1.5 "Microsoft YaHei",sans-serif;color: #f3dfa8;text-align: left;text-shadow: 0 1px 2px #000;
}
html.tx-edition.tx-open-world:not(.tx-mobile) #hud-top .craft-line > .bar.track {
    position: relative;inset: auto;width: 100%;height: 22px;grid-column: 2;grid-row: 1;
}
html.tx-edition.tx-open-world:not(.tx-mobile) #hud-top .craft-line > b {
    position: relative;inset: auto;width: 100%;height: 22px;grid-column: 2;grid-row: 1;
    font: 500 14px/22px "Microsoft YaHei",sans-serif;color: #f4eee0;
}
html.tx-edition.tx-open-world:not(.tx-mobile) #hud-top .craft-line .bar .fill {
    left: 3px;top: 3px;height: 16px;max-width: calc(100% - 6px);
}
html.tx-edition.tx-open-world:not(.tx-mobile) #hud-top .currency {
    left: auto;right: 86px;top: 8px;width: 216px;height: 36px;min-width: 0;padding: 0;
    background-image: url("../assets/yuanwen-ui/hud-balance-frame-v1.svg");background-size: 100% 100%;
    background-position: center;background-repeat: no-repeat;pointer-events: auto;
}
html.tx-edition.tx-open-world:not(.tx-mobile) #hud-top .currency.qiyun {top: 50px;}
html.tx-edition.tx-open-world:not(.tx-mobile) #hud-top .currency img {
    left: 10px;top: 4px;width: 26px;height: 28px;
}
html.tx-edition.tx-open-world:not(.tx-mobile) #hud-top .currency span {
    left: 52px;right: 12px;top: 0;width: auto;height: 36px;justify-content: flex-end;
    font: 500 16px/1 "Microsoft YaHei",sans-serif;font-variant-numeric: tabular-nums;color: #f4eee0;
}
html.tx-edition.tx-open-world:not(.tx-mobile) #btn-settings-ingame {
    left: auto;right: 12px;top: 20px;width: 64px;height: 48px;
}
html.tx-open-world #hud-top :is(.currency,.craft-line):focus-visible {outline: 2px solid #ffe2a4;outline-offset: 2px;}
html.tx-open-world #hud-top [data-game-tip] {pointer-events: auto;cursor: help;}
html.tx-open-world #hud-top [data-game-tip]:focus-visible {outline: 2px solid #ffe2a4;outline-offset: 2px;}
html.tx-open-world #game-tip-panel {
    width: min(360px, calc(100vw - 16px));max-height: calc(100vh - 16px);padding: 14px 18px;
    border: 1px solid #b09a69;background: #10272e;box-shadow: 0 6px 20px #0009;z-index: 300;
}
html.tx-open-world #game-tip-panel::before {content: none;}
html.tx-open-world #game-tip-title {margin: 0 0 8px;color: #f3dfa8;font: 500 18px/1.4 "Microsoft YaHei",sans-serif;}
html.tx-open-world #game-tip-content {color: #edf0e7;font: 400 14px/1.7 "Microsoft YaHei",sans-serif;white-space: pre-line;}
.tx-opponent-link {padding:9px 18px;border:1px solid #9c845b;background:#21353d;color:#f1dbad;border-radius:3px;cursor:pointer;font:500 15px/1.4 "Microsoft YaHei",sans-serif;}
.tx-opponent-link:focus-visible {outline:3px solid #dfbd75;outline-offset:3px;}
#tx-enemy-detail {width:min(1000px,calc(100vw - 40px));max-height:calc(100vh - 40px);padding:20px 24px 24px;box-sizing:border-box;color:#e5eadd;}
#tx-enemy-detail .tx-bond-header {position:sticky;top:-20px;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:20px;background:#101f26;padding:12px 0 15px;border-bottom:1px solid #bda56f55;}
#tx-enemy-detail .tx-bond-header h2 {font:500 25px/1.35 "STKaiti","KaiTi",serif;color:#f0dbb6;margin:4px 0 0;}
#tx-enemy-detail .tx-bond-header .tx-eyebrow {font-size:12px;margin:0;color:#b3bcae;}
#tx-enemy-detail .tx-dialog-close {float:none;min-height:40px;flex:none;font-size:14px;}
.tx-enemy-layout {display:grid;grid-template-columns:minmax(210px,.8fr) minmax(0,1.2fr);gap:28px;padding-top:20px;}
.tx-enemy-figure {margin:0;min-height:310px;position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;background:radial-gradient(ellipse at 50% 80%,#30404a70,transparent 67%);}
.tx-enemy-portrait {width:100%;height:340px;max-height:46vh;object-fit:contain;}
.tx-enemy-portrait[hidden] {display:none;}
.tx-enemy-image-status {font:14px/1.6 "Microsoft YaHei",sans-serif;color:#bdc8c5;}
.tx-enemy-realm {margin-top:12px;color:#ddc28e;font:500 18px/1.5 "STKaiti","KaiTi",serif;}
.tx-enemy-content {min-width:0;}
.tx-enemy-vitals {display:grid;gap:9px;}
.tx-enemy-vital {display:flex;justify-content:space-between;gap:12px;padding:9px 12px;border:1px solid #657773;background:linear-gradient(90deg,#4b6042 var(--vital-fill),#12262c var(--vital-fill));font:400 14px/1.5 "Microsoft YaHei",sans-serif;}
.tx-enemy-vital[data-kind=mp] {background:linear-gradient(90deg,#315761 var(--vital-fill),#12262c var(--vital-fill));}
.tx-enemy-stat-value {font-variant-numeric:tabular-nums;}
.tx-enemy-stats {display:grid;grid-template-columns:auto 1fr auto 1fr;column-gap:14px;row-gap:8px;margin:16px 0;font:400 14px/1.5 "Microsoft YaHei",sans-serif;}
.tx-enemy-stats dt {color:#bfccc6;}.tx-enemy-stats dd {margin:0;color:#eed5a3;text-align:right;}
.tx-enemy-affinity {display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:10px 0;border-block:1px solid #60736d66;font:400 13px/1.6 "Microsoft YaHei",sans-serif;color:#cbd6cf;}
.tx-enemy-rules {white-space:pre-line;margin:14px 0;font:400 14px/1.7 "Microsoft YaHei",sans-serif;color:#d1dcd4;}
.tx-enemy-techniques h3 {font:500 18px/1.5 "STKaiti","KaiTi",serif;color:#dfc58e;margin:18px 0 7px;}
.tx-enemy-technique {border-bottom:1px solid #51696570;}
.tx-enemy-technique summary {cursor:pointer;padding:10px 4px;min-height:24px;font:500 14px/1.6 "Microsoft YaHei",sans-serif;color:#e1dfce;}
.tx-enemy-technique summary small {display:block;margin-left:16px;color:#aebfba;font:400 12px/1.5 "Microsoft YaHei",sans-serif;}
.tx-enemy-technique p {margin:0;padding:0 4px 12px;font:400 14px/1.7 "Microsoft YaHei",sans-serif;white-space:pre-line;overflow-wrap:anywhere;}
.tx-enemy-technique summary:focus-visible {outline:2px solid #ddbd7d;outline-offset:2px;}
@media(max-width:700px){.tx-enemy-layout{grid-template-columns:1fr;gap:16px}.tx-enemy-figure{min-height:0}.tx-enemy-portrait{height:220px}.tx-enemy-stats{column-gap:9px}}
html.tx-edition.tx-open-world .battle-shell.tx-text-battle-record #battle-log {left:12%!important;right:auto!important;top:19%!important;bottom:18%!important;width:76%!important;height:auto!important;max-height:none;max-width:none;transform:none;padding:16px 20px;box-sizing:border-box;overflow-y:auto;overflow-x:hidden;pointer-events:auto;mask-image:none;-webkit-mask-image:none;z-index:60;background:#10232af5!important;border:1px solid #8e815e!important;text-align:left;font:400 15px/1.7 "Microsoft YaHei",sans-serif;font-size:15px!important;scrollbar-width:thin;}
html.tx-edition.tx-open-world .battle-shell.tx-text-battle-record #battle-log p {font:inherit;margin:0 0 7px;}
html.tx-edition.tx-open-world .battle-shell.tx-text-battle-record #battle-log::-webkit-scrollbar {display:block;width:8px;}
html.tx-open-world .battle-shell.tx-text-battle-record #battle-log:focus-visible {outline:2px solid #e2bf77;outline-offset:3px;}

/* First-day guidance is readable at desktop scale and remains a compact note. */
html.tx-open-world #mod-paper-overlay {max-width:min(560px,calc(100vw - 32px));}
html.tx-open-world #mod-paper-overlay .mod-paper {align-items:center;}
html.tx-open-world #mod-paper-sections {min-width:0;max-height:112px;}
html.tx-open-world #mod-paper-overlay .mod-paper-text {font-size:clamp(13px,1.2rem,16px);line-height:1.6;}
html.tx-open-world #mod-paper-overlay .mod-paper-kicker {font-size:clamp(13px,1.2rem,16px);}
html.tx-open-world #mod-paper-overlay #btn-mod-paper-ok {font-size:13px;min-height:28px;}
