/* 照夜行 — deep pine, rain-washed mountains, warm reading paper. */
body[data-active-module="jianghu"] { background:#f2f0e9; }
body[data-active-module="jianghu"] .module-sidebar,
body[data-active-module="jianghu"] .topbar { display:none!important; }
body[data-active-module="jianghu"] .workspace { margin-left:0; width:100%; padding-bottom:0!important; background:#f2f0e9; color:#243b35; }
body[data-active-module="jianghu"] main { max-width:1480px; margin:0 auto; padding:0 40px 24px!important; }
.jianghu-app { --jh-paper:#fffdf7; --jh-ink:#243b35; --jh-muted:#65736a; --jh-line:#d9ded3; --jh-accent:#a46645; --jh-serif:"Songti SC","STSong","Noto Serif SC",serif; color:var(--jh-ink); font:14px/1.65 -apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif; }
.jianghu-app *, .jianghu-app *::before,.jianghu-app *::after { box-sizing:border-box; }
.jianghu-app :is(button,input,textarea,select) { font:inherit; }
.jianghu-app button { cursor:pointer; transition:background .18s,border-color .18s,box-shadow .18s; }
.jianghu-app button:disabled { cursor:not-allowed; opacity:.48; }
.jianghu-app :is(button,input,textarea,select,a,summary):focus-visible { outline:2px solid #b48b43; outline-offset:4px; }
.jianghu-app h1,.jianghu-app h2,.jianghu-app h3,.jianghu-app p { margin:0; }
.jianghu-app :is(h1,h2,h3) { font-family:var(--jh-serif); font-weight:600; }
.jianghu-app a { color:inherit; text-decoration:none; }
.jianghu-app [hidden] { display:none!important; }
.jh-header { height:88px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.jh-back,.jh-text-button { border:0; background:none; color:#5a6a60; min-height:42px; padding:9px 5px; font-size:13px!important; }
.jh-back { min-width:110px; text-align:left; }
.jh-back:hover,.jh-text-button:hover { color:#1c5041; }
.jh-brand { display:flex; gap:12px; align-items:center; }
.jh-brand-copy { display:flex; align-items:baseline; gap:15px; }
.jh-brand-copy strong { font:600 26px/1.2 var(--jh-serif); letter-spacing:5px; }
.jh-brand-copy small { font-size:11px; letter-spacing:3px; color:#69766b; }
.jh-seal { width:30px; height:35px; display:grid; place-items:center; background:#935846; color:#fff3d8; border:1px solid #aa7160; box-shadow:inset 0 0 0 3px #935846,inset 0 0 0 4px #d6a191; font:13px var(--jh-serif); }
.jh-header-tools { display:flex; gap:22px; min-width:110px; justify-content:flex-end; }
.jh-primary,.jh-button { min-height:44px; border-radius:6px; padding:11px 18px; display:inline-flex; align-items:center; justify-content:center; gap:8px; border:1px solid #c7d1c5; color:#2f5143; background:transparent; font-size:13px!important; font-weight:500!important; }
.jh-primary { background:#254e40; border-color:#254e40; color:#fffaf0; box-shadow:0 4px 12px #17382d0c; }
.jh-primary:hover { background:#316550; border-color:#316550; }
.jh-button:hover { background:#e4e9de; border-color:#8da391; }
.jh-eyebrow { display:block; color:#65766b; font-size:11px; letter-spacing:2px; font-weight:500; }
.jh-muted { font-size:13px; color:var(--jh-muted); line-height:1.9; }
.jh-notice { display:flex; align-items:center; flex-wrap:wrap; gap:12px; padding:13px 18px; margin:0 0 18px; background:#faf0d9; border:1px solid #d9be84; border-radius:7px; font-size:13px; color:#6c542c; }
.jh-notice p { flex:1 1 260px; }
.jh-notice button { min-height:36px; }
.jh-hero { position:relative; isolation:isolate; min-height:590px; padding:76px 68px 80px; border-radius:12px; overflow:hidden; background:#172e2c; color:#fff9e9; box-shadow:0 20px 60px #152b2419; }
.jh-hero-art { position:absolute; inset:0; z-index:-2; width:100%; height:100%; object-fit:cover; object-position:center; }
.jh-hero:after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,#1024228c 0%,#10242238 42%,transparent 75%),linear-gradient(0deg,#0e252988,transparent 35%); }
.jh-hero-copy { position:relative; max-width:560px; }
.jh-hero .jh-eyebrow { color:#d0be91; letter-spacing:4px; font-size:12px; display:flex; align-items:center; gap:14px; }
.jh-hero .jh-eyebrow:before { content:""; width:28px; height:1px; background:#b99c61; }
.jh-hero h1 { margin:30px 0 25px; font-size:clamp(48px,5vw,76px); line-height:1.35; letter-spacing:8px; font-weight:500; text-shadow:0 3px 24px #0a1b2480; }
.jh-hero h1 em { color:#e2ca99; font-style:normal; }
.jh-hero-copy>p { color:#d5ded3; font-size:14px; line-height:2.15; }
.jh-hero-buttons { display:flex; flex-wrap:wrap; gap:12px; margin:32px 0 17px; }
.jh-hero-buttons .jh-primary { min-height:50px; padding:14px 27px; background:#d5bd88; border-color:#d5bd88; color:#233b33; font-size:14px!important; }
.jh-hero-buttons .jh-primary:hover { background:#ead4a6; }
.jh-hero-buttons .jh-button { color:#eee8d8; border-color:#a6b8a562; background:#17352d55; min-height:50px; padding:13px 23px; }
.jh-hero-buttons .jh-button:hover { background:#395247; }
.jh-hero-copy .jh-continue-note { font-size:11px; color:#b4c2b5; letter-spacing:1px; }
.jh-vertical-poem { position:absolute; right:40px; top:40px; writing-mode:vertical-rl; color:#e1dcc4; letter-spacing:5px; font:14px/2.2 var(--jh-serif); text-shadow:0 2px 10px #102520; }
.jh-hero-foot { position:absolute; bottom:24px; left:68px; right:40px; display:flex; justify-content:space-between; gap:15px; color:#c2ccb9; font-size:10px; letter-spacing:3px; }
.jh-intro-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); padding:36px 14px; gap:36px; }
.jh-intro-grid article { padding:2px 24px; border-left:1px solid #cbd2c2; }
.jh-intro-grid article>span { color:#9d704a; font-size:11px; letter-spacing:2px; }
.jh-intro-grid h2 { font-size:23px; margin:10px 0; letter-spacing:1px; }
.jh-intro-grid p { color:#637267; font-size:13px; line-height:1.9; max-width:330px; }
.jh-opening-note { display:flex; gap:24px; align-items:center; padding:26px 35px; margin:0 0 35px; border:1px solid #d2d8c9; background:#e5e9de; border-radius:8px; }
.jh-opening-note .jh-seal { flex-shrink:0; }
.jh-opening-note p { color:#526456; font:15px/1.9 var(--jh-serif); }
.jh-footer { display:flex; justify-content:space-between; gap:20px; border-top:1px solid var(--jh-line); color:#6d7b6f; font-size:11px; padding:23px 0 5px; letter-spacing:1px; }
/* Character creation */
.jh-setup { max-width:1000px; margin:0 auto 40px; }
.jh-section-heading { padding:32px 0 26px; }
.jh-section-heading h1 { font-size:34px; margin:8px 0 12px; letter-spacing:2px; }
.jh-section-heading h1 small { font:14px -apple-system,sans-serif; color:#966e3c; margin-left:12px; letter-spacing:0; }
.jh-section-heading p { font-size:14px; line-height:1.9; color:#657466; }
.jh-section-heading .jh-button { margin-top:18px; }
.jh-paper { padding:36px; border:1px solid #d9dfd1; border-radius:12px; background:var(--jh-paper); box-shadow:0 8px 30px #23372d05; }
.jh-form-row { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-bottom:30px; }
.jh-form-row label { color:#344e40; font-size:14px; font-weight:500; }
.jh-form-row small { color:#70806f; font-size:12px; margin-left:8px; }
.jh-form-row input { display:block; width:100%; min-height:50px; margin-top:10px; border:1px solid #ccd5c6; border-radius:6px; background:#f7f8f1; padding:12px 15px; color:#233e32; font-size:16px; }
.jh-form-row input::placeholder,.jh-free-action textarea::placeholder { color:#7b8b7b; }
.jianghu-app fieldset { border:0; border-top:1px solid #dce2d5; margin:0 0 28px; padding:25px 0 0; }
.jianghu-app legend { font:600 21px var(--jh-serif); padding-right:16px; }
.jianghu-app legend small { font:12px -apple-system,sans-serif; color:#6e7d69; margin-left:12px; }
.jh-option-grid,.jh-difficulty-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.jh-difficulty-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.jh-option { display:flex; gap:12px; padding:19px; border:1px solid #d6ddcf; border-radius:7px; background:#fafaf4; cursor:pointer; }
.jh-option:has(input:checked) { border-color:#4e725a; background:#edf2e6; box-shadow:inset 0 0 0 1px #4e725a; }
.jh-option input { flex-shrink:0; width:16px; height:16px; margin-top:4px; accent-color:#315b40; }
.jh-option strong { display:block; font-size:15px; margin-bottom:7px; }
.jh-option small { display:block; color:#64735f; font-size:12px; line-height:1.9; }
.jh-attribute-grid { display:grid; grid-template-columns:1fr 1fr; gap:15px 28px; margin-top:18px; }
.jh-attribute-grid label { display:flex; justify-content:space-between; align-items:center; gap:15px; padding:12px 0; border-bottom:1px solid #e0e5d7; }
.jh-attribute-grid strong { font-size:15px; }
.jh-attribute-grid small { display:block; font-size:12px; color:#6b7c65; margin-top:5px; }
.jh-attribute-grid input { width:64px; min-height:46px; text-align:center; background:#f5f7ef; border:1px solid #c4d1bc; border-radius:6px; font-size:20px; color:#31563b; }
.jh-setup-footer { display:flex; justify-content:space-between; align-items:center; gap:30px; margin-top:24px; }
.jh-setup-footer p { color:#6b7865; font-size:12px; }
.jh-setup-footer .jh-primary { flex-shrink:0; min-height:50px; padding-inline:28px; }
/* Game frame and compact character card */
.jh-game-top { display:flex; justify-content:space-between; align-items:center; gap:15px; padding:0 0 18px; }
.jh-time { display:flex; gap:15px; align-items:center; color:#5b6e60; font-size:12px; }
.jh-time i { width:7px; height:7px; background:#b28d50; border-radius:50%; box-shadow:0 0 0 4px #d9cfb646; }
.jh-time strong { color:#284d3c; }
.jh-game-tag { font-size:11px; letter-spacing:2px; color:#6a7867; }
.jh-game-layout { display:grid; grid-template-columns:222px minmax(0,1fr); align-items:start; gap:28px; padding-bottom:35px; }
.jh-player-sidebar { position:sticky; top:20px; padding:25px 22px 20px; background:linear-gradient(155deg,#244a3d,#19372e); color:#e4e9da; border:1px solid #3d5d48; border-radius:10px; box-shadow:0 8px 24px #1d352318; }
.jh-player-card { display:flex; flex-direction:column; gap:18px; padding:0 0 25px; }
.jh-player-monogram { display:grid; place-items:center; width:58px; height:66px; border:1px solid #8a9168; border-radius:30px 30px 5px 5px; background:#365544; color:#e3c795; font:34px var(--jh-serif); }
.jh-player-card .jh-eyebrow { color:#b4c4aa; font-size:10px; letter-spacing:1px; }
.jh-player-card h2 { font-size:28px; color:#f6eed7; letter-spacing:2px; margin:7px 0; }
.jh-player-card p { color:#b7c7b3; font-size:12px; }
.jh-meter { margin-bottom:17px; min-width:0; }
.jh-meter>div { display:flex; align-items:center; justify-content:space-between; gap:10px; font-size:12px; margin-bottom:7px; }
.jh-meter b { font-size:14px; font-weight:500; font-variant-numeric:tabular-nums; }
.jh-meter b small { color:#acbda6; font-size:11px; }
.jh-meter meter { width:100%; height:6px; display:block; appearance:none; border:0; border-radius:3px; background:#43614c; }
.jh-meter meter::-webkit-meter-bar { height:6px; border:0; border-radius:3px; background:#43614c; }
.jh-meter meter::-webkit-meter-optimum-value { background:#a7bc80; border-radius:3px; }
.jh-meter.jh-hp meter::-webkit-meter-optimum-value { background:#d09376; }
.jh-meter meter::-moz-meter-bar { background:#a7bc80; }
.jh-meter.jh-hp meter::-moz-meter-bar { background:#d09376; }
.jh-wallet { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; padding:8px 0 22px; }
.jh-wallet span { color:#b3c5ad; font-size:11px; }
.jh-wallet b { display:block; color:#ebdbb7; font:24px/1.4 Georgia,serif; margin-top:6px; }
.jh-wallet b small { font:11px -apple-system,sans-serif; color:#bac9af; }
.jh-objective { border-top:1px solid #59745270; border-bottom:1px solid #59745270; padding:20px 0; }
.jh-objective .jh-eyebrow { color:#c9b889; font-size:10px; }
.jh-objective h3 { color:#e2e7d6; font-size:17px; line-height:1.9; margin:9px 0; font-weight:500; }
.jh-objective p { color:#bcc9b4; font-size:12px; }
.jh-quest-progress summary { font-size:11px; color:#adbea3; cursor:pointer; margin-top:14px; }
.jh-progress-list { display:grid; gap:10px; margin-top:15px; color:#c1ceaf; font-size:12px; }
.jh-progress-list>div { display:flex; gap:8px; }
.jh-progress-list .is-done { color:#ecd299; }
.jh-player-tools { display:flex; flex-wrap:wrap; gap:8px; margin:12px 0 6px; justify-content:space-between; }
.jh-player-tools .jh-text-button { color:#d0ddc1; font-size:11px!important; padding-inline:0; min-height:36px; }
.jh-save-status { color:#a9bda0; font-size:10px; }
.jh-main { min-width:0; }
.jh-tabs { display:flex; gap:4px; justify-content:space-between; padding:5px; margin-bottom:22px; background:#e1e6da; border:1px solid #d6ddcc; border-radius:8px; }
.jh-tabs button { display:flex; align-items:center; justify-content:center; gap:8px; flex:1 1 0; min-width:0; border:0; padding:10px 5px; background:transparent; color:#5c715b; font-size:13px; white-space:nowrap; border-radius:5px; }
.jh-tabs button[aria-current] { color:#244e38; background:#fffdf7; box-shadow:0 2px 7px #293d2312; font-weight:600; }
.jh-tab-icon { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.5; flex-shrink:0; }
.jh-landscape { position:absolute; inset:0; width:100%; height:100%; color:#5e7d55; pointer-events:none; }
.jh-scene-title { position:relative; overflow:hidden; padding:24px 30px; min-height:155px; background:#1a3935 url('assets/jianghu/jianghu-rain-hero.webp') 63% 52%/cover; border-radius:9px; color:#f2ebd7; margin-bottom:24px; isolation:isolate; }
.jh-scene-title:after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(90deg,#16342fee, #16342f66 70%,#16342f11); }
.jh-scene-title .jh-landscape { display:none; }
.jh-scene-title>div { max-width:80%; }
.jh-scene-title .jh-eyebrow { color:#c4bb91; font-size:10px; }
.jh-scene-title h1 { font-size:31px; letter-spacing:4px; margin:6px 0 8px; }
.jh-scene-title p { font-size:12px; color:#d3dccb; line-height:1.9; max-width:560px; }
.jh-scene-stamp { position:absolute; top:26px; right:24px; writing-mode:vertical-rl; padding:7px 5px; border:1px solid #c8ad77a1; color:#ead3a5; font:12px var(--jh-serif); letter-spacing:3px; }
.jh-scene-layout { display:grid; grid-template-columns:minmax(0,1fr) 290px; gap:22px; align-items:start; }
.jh-narrative,.jh-decisions { min-width:0; }
.jh-previous { margin-bottom:13px; border:1px solid #d5ddcb; border-radius:7px; padding:12px 18px; color:#65765d; background:#eeece4; }
.jh-previous summary { cursor:pointer; font-size:12px; }
.jh-previous .jh-entry { padding-bottom:10px; }
.jh-story-paper { border:1px solid #dce0d2; background:#fffdf7; border-radius:9px; padding:0 30px; box-shadow:0 7px 25px #29402205; }
.jh-entry { padding:28px 0; }
.jh-entry+.jh-entry { border-top:1px solid #dfe4d5; }
.jh-entry-meta { display:flex; justify-content:space-between; align-items:center; gap:10px; color:#6d7c65; font-size:11px; }
.jh-entry-meta small { color:#a7ac96; font:16px Georgia,serif; }
.jh-entry h3 { font-size:26px; line-height:1.5; letter-spacing:1px; margin:16px 0 18px; }
.jh-entry>p { color:#3c503e; font:17px/2.05 var(--jh-serif); white-space:pre-wrap; overflow-wrap:anywhere; margin-top:15px; }
.jh-changes { display:flex; flex-wrap:wrap; list-style:none; gap:7px; padding:0; margin:24px 0 0; }
.jh-changes li { background:#eff1e8; border:1px solid #d4dfc2; color:#506944; padding:4px 9px; border-radius:4px; font-size:11px; overflow-wrap:anywhere; }
/* Decisions read as playable controls, separate from the story. */
.jh-free-action { padding:21px; border:1px solid #aabd99; background:#f3efe5; border-radius:9px; margin-bottom:25px; }
.jh-panel-title { display:flex; gap:12px; justify-content:space-between; align-items:center; margin-bottom:15px; }
.jh-panel-title h3 { font-size:21px; }
.jh-panel-title>span { font-size:11px; color:#66795c; }
.jh-free-action .jh-panel-title { flex-wrap:wrap; gap:7px; }
.jh-free-action .jh-panel-title>span { color:#596d4b; padding:3px 7px; border:1px solid #c5d3b2; border-radius:4px; font-size:10px; }
.jh-free-action textarea { display:block; width:100%; min-height:145px; padding:14px; resize:vertical; font-size:14px; color:#294b32; line-height:1.9; border:1px solid #bacbab; border-radius:6px; background:#fbfdf6; }
.jh-input-footer { display:flex; flex-direction:column; gap:12px; margin-top:12px; }
.jh-input-footer small { font-size:11px; line-height:1.8; color:#617455; }
.jh-input-footer button { width:100%; }
.jh-pending { font-size:12px; color:#4f7148; line-height:1.8; margin-top:15px!important; }
.jh-pending span { width:6px; height:6px; border-radius:50%; background:#638645; display:inline-block; margin-right:8px; animation:jh-pulse 1.4s infinite; }
@keyframes jh-pulse { 50% { opacity:.25; } }
.jh-action-section { margin:0 0 24px; }
.jh-action-section .jh-panel-title { gap:6px; }
.jh-action-section .jh-panel-title h3 { font-size:19px; }
.jh-action-section .jh-panel-title>span { font-size:10px; }
.jh-actions { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.jh-decisions .jh-actions { grid-template-columns:1fr; }
.jh-action-card { position:relative; display:block; width:100%; text-align:left; min-height:70px; border:1px solid #d2dcc7; border-radius:6px; padding:13px 29px 13px 15px; background:#fcfaf5; color:#355934; }
.jh-action-card:not(:disabled):hover { border-color:#8caa73; background:#eef5e4; box-shadow:0 3px 9px #42592c0c; }
.jh-action-card>span { display:block; font-size:14px; font-weight:500; }
.jh-action-card small { display:block; font-size:12px; color:#667b58; line-height:1.8; margin-top:5px; overflow-wrap:anywhere; }
.jh-action-card>b { position:absolute; right:13px; top:13px; font-size:16px; font-weight:400; color:#829c6b; }
/* Atlas, people, arts and inventory share a quieter paper system. */
.jh-map { position:relative; isolation:isolate; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; background:#dde5d1; border:1px solid #cad5bb; border-radius:10px; padding:24px; overflow:hidden; }
.jh-map .jh-landscape { z-index:-1; opacity:.65; }
.jh-map-place { padding:23px; border:1px solid #cdd7c0; background:#fffdf7f2; border-radius:7px; }
.jh-map-place.is-current { border-color:#758d59; box-shadow:inset 0 0 0 1px #758d59; background:#f5f7e9; }
.jh-place-index { color:#8d9d76; font:13px Georgia,serif; letter-spacing:2px; }
.jh-map-place h2 { font-size:27px; margin:9px 0; }
.jh-map-place p { color:#68746b; font-size:13px; line-height:1.9; margin-bottom:16px; }
.jh-route-hint { display:block; color:#627b4e; font-size:12px; line-height:1.9; overflow-wrap:anywhere; }
.jh-route-hint strong,.jh-route-hint span { display:block; }
.jh-route-hint strong { color:#496737; margin-bottom:5px; font-weight:500; }
.jh-here { color:#4f7136; font-size:13px; }
.jh-details { margin-top:20px; font-size:13px; color:#597744; }
.jh-details summary { margin-bottom:15px; cursor:pointer; }
.jh-people-grid,.jh-arts-grid,.jh-bag-grid { display:grid; gap:18px; }
.jh-people-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.jh-person,.jh-art-card,.jh-item,.jh-casebook { border:1px solid #d5deca; background:#fffdf7; border-radius:8px; padding:25px; }
.jh-person-top { display:flex; align-items:center; gap:14px; margin-bottom:18px; }
.jh-person-avatar { width:52px; height:60px; display:grid; place-items:center; background:#e6ecd9; border:1px solid #c3d0ae; color:#627944; font:28px var(--jh-serif); border-radius:28px 28px 5px 5px; flex-shrink:0; }
.jh-person-avatar.tone-1 { background:#ede7d8; color:#8c7953; border-color:#d4c6a5; }
.jh-person-avatar.tone-2 { background:#dfeae2; color:#587766; border-color:#b6cdbd; }
.jh-person-avatar.tone-3 { background:#eee1dc; color:#9b7361; border-color:#d9b9a9; }
.jh-person-top small { font-size:11px; color:#758668; }
.jh-person h2 { font-size:25px; }
.jh-person-status { margin-left:auto; font-size:11px; color:#54753c; }
.jh-person>p,.jh-art-card p { font-size:13px; color:#68746b; line-height:1.95; }
.jh-person-goal { margin-top:12px!important; }
.jh-routine { background:#f4f2eb; border:1px solid #dae3cd; border-radius:5px; padding:16px; margin-top:20px; }
.jh-routine h3 { font-size:16px; }
.jh-routine dl { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; margin:13px 0; }
.jh-routine dt { color:#738861; font-size:11px; margin-bottom:3px; }
.jh-routine dd { margin:0; font-size:12px; color:#486338; }
.jh-routine p { font-size:11px; line-height:1.8; color:#6c805e; }
.jh-relationship { display:flex; gap:14px; align-items:center; color:#607b4d; font-size:12px; margin:19px 0; }
.jh-relationship meter { flex:1; height:6px; accent-color:#809756; }
.jh-relationship b { font-weight:400; }
.jh-attributes-summary { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); border:1px solid #cbd7bc; background:#edeadf; border-radius:8px; margin-bottom:24px; padding:22px 10px; }
.jh-attributes-summary>div { padding:0 18px; border-right:1px solid #c5d2b3; }
.jh-attributes-summary>div:last-child { border:0; }
.jh-attributes-summary span { display:block; color:#4e6d39; font-size:13px; }
.jh-attributes-summary strong { display:block; font:34px Georgia,serif; margin:10px 0; color:#395c25; }
.jh-attributes-summary small { display:block; font-size:11px; line-height:1.8; color:#627c4d; }
.jh-arts-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.jh-art-card h2 { font-size:26px; margin:12px 0; }
.jh-art-card p { margin-bottom:18px; }
.jh-art-card .jh-actions { grid-template-columns:1fr; }
.jh-subheading { font-size:25px; margin:30px 0 20px!important; }
.jh-sects { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin-bottom:24px; }
.jh-sects article { border-left:2px solid #b8c9a4; padding-left:18px; }
.jh-sects h3 { font-size:21px; margin-bottom:10px; }
.jh-sects p { font-size:13px; color:#667e53; line-height:1.9; }
.jh-item { display:flex; gap:22px; }
.jh-item-glyph { width:49px; height:49px; display:grid; place-items:center; flex-shrink:0; border:1px solid #ccd8bb; background:#edf2e3; color:#6d884e; font:26px var(--jh-serif); border-radius:7px; }
.jh-item>div { flex:1; min-width:0; }
.jh-item h2 { font-size:24px; }
.jh-item h2 small { color:#738b5c; font:14px -apple-system,sans-serif; }
.jh-item p { color:#68746b; font-size:13px; line-height:1.9; margin:10px 0 16px; }
.jh-equipment-summary { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-top:17px; color:#637c50; font-size:13px; }
.jh-equipment-summary strong { font-weight:500; color:#3b6428; }
.jh-item.is-equipped { background:#f7faef; border-color:#aabf93; }
.jh-equipped-badge { display:inline-block; vertical-align:middle; margin-left:10px; padding:4px 8px; border-radius:4px; background:#e4efd5; color:#466d2e; font:11px/1.5 -apple-system,sans-serif; }
.jh-casebook .jh-panel-title h2 { font-size:26px; }
.jh-evidence-list,.jh-quest-notes ul { list-style:none; padding:0; margin:0; display:grid; gap:18px; }
.jh-evidence-list li { border-left:2px solid #9bb87b; padding-left:16px; }
.jh-evidence-list h3,.jh-quest-notes h3 { font-size:20px; }
.jh-evidence-list p,.jh-quest-notes p { color:#68746b; font-size:13px; line-height:1.9; margin-top:8px; }
.jh-quest-notes { border-top:1px solid #dce5ce; padding-top:20px; margin-top:25px; }
.jh-quest-notes summary { color:#456c31; font-size:14px; cursor:pointer; }
.jh-quest-notes summary>span { color:#758c61; font-size:12px; margin-left:12px; }
.jh-quest-notes ul { margin-top:22px; }
.jh-quest-notes li>div { display:flex; justify-content:space-between; gap:12px; align-items:center; }
.jh-quest-notes li>div>span { color:#8b713c; font-size:11px; white-space:nowrap; }
.jh-quest-notes li.is-done>div>span { color:#4d7933; }
.jh-combat,.jh-ending { display:flex; align-items:center; justify-content:space-between; gap:25px; padding:24px; margin-bottom:22px; border:1px solid #d0ad8d; background:#f2e5d4; border-radius:8px; }
.jh-combat h2,.jh-ending h2 { font-size:26px; color:#8a5537; margin:9px 0; }
.jh-combat p,.jh-ending p { font-size:13px; color:#7b6048; line-height:1.9; }
.jh-combat .jh-meter { flex:0 1 170px; }
.jh-ending { display:block; background:#e9efd8; border-color:#b5c691; }
.jh-ending h2 { color:#5c752e; }
.jh-ending p { color:#617b42; }
/* Accessible dialogs and the entry card used by the story module. */
.jh-overlay { position:fixed; inset:0; z-index:150; display:flex; justify-content:center; align-items:center; padding:24px; background:#102a24bd; backdrop-filter:blur(8px); }
.jh-modal { position:relative; width:min(680px,100%); max-height:88dvh; overflow-y:auto; padding:38px; border:1px solid #c7d3b7; border-radius:12px; background:#f9f9f0; box-shadow:0 25px 90px #0d281e55; }
.jh-modal>h2 { font-size:30px; margin:13px 0 20px; }
.jh-modal>h3 { font-size:23px; margin:27px 0 17px; }
.jh-modal>h3 small { color:#738660; font:12px -apple-system,sans-serif; }
.jh-modal-close { position:absolute; right:14px; top:12px; width:40px; height:40px; border:0; background:none; color:#627c4b; font-size:28px!important; }
.jh-help { padding-left:21px; margin:0 0 20px; }
.jh-help li { font-size:13px; color:#617950; line-height:1.95; margin-bottom:17px; }
.jh-help strong { color:#385b2c; font-weight:600; }
.jh-save-actions { display:flex; flex-wrap:wrap; gap:10px; margin:22px 0; }
.jh-save-list { display:grid; gap:12px; }
.jh-save-list>div { display:flex; justify-content:space-between; align-items:center; gap:15px; padding:15px; border:1px solid #d1dfc1; background:#f2f0e8; border-radius:6px; }
.jh-save-list strong { font-size:14px; font-weight:500; }
.jh-save-list small { display:block; font-size:12px; color:#657e51; margin-top:6px; }
.jh-save-list button { flex-shrink:0; }
.jh-gallery-entry { display:flex; justify-content:space-between; align-items:center; gap:20px; width:100%; margin-bottom:22px; padding:24px; border:1px solid #8ba679; border-radius:8px; background:linear-gradient(110deg,#e5ecd8,#cfddbf); color:#2d4e2e; text-align:left; cursor:pointer; }
.jh-gallery-entry strong { display:block; font:23px var(--jh-serif,serif); letter-spacing:3px; }
.jh-gallery-entry small { display:block; font-size:12px; color:#627c50; margin-top:7px; }
.jh-gallery-entry>span:last-child { font-size:12px; white-space:nowrap; }
@media(max-width:1250px) {
  body[data-active-module="jianghu"] main { padding-inline:28px!important; }
  .jh-game-layout { grid-template-columns:205px minmax(0,1fr); gap:22px; }
  .jh-player-sidebar { padding-inline:19px; }
  .jh-scene-layout { grid-template-columns:minmax(0,1fr); }
  .jh-decisions { display:grid; grid-template-columns:1fr 1fr; align-items:start; gap:20px; }
  .jh-free-action { margin-bottom:0; }
  .jh-people-grid { grid-template-columns:1fr; }
}
@media(max-width:900px) {
  .jh-brand-copy small { display:none; }
  .jh-hero { padding:58px 38px 76px; min-height:540px; }
  .jh-hero h1 { font-size:62px; }
  .jh-hero-foot { left:38px; }
  .jh-intro-grid { gap:15px; padding-inline:0; }
  .jh-intro-grid article { padding-inline:15px; }
  .jh-game-layout { grid-template-columns:1fr; gap:20px; }
  .jh-player-sidebar { position:static; display:grid; grid-template-columns:1fr 1fr; gap:0 24px; padding:20px 24px 16px; }
  .jh-player-card { flex-direction:row; align-items:center; gap:15px; padding:0 0 16px; }
  .jh-vitals { grid-column:2; grid-row:1/3; }
  .jh-wallet { padding-bottom:0; }
  .jh-objective { grid-column:1/-1; padding:12px 0; }
  .jh-objective .jh-eyebrow { float:left; margin-right:12px; line-height:2.1; }
  .jh-objective h3 { font-size:14px; margin:0; }
  .jh-quest-progress summary { margin-top:8px; }
  .jh-progress-list { display:flex; gap:10px 20px; flex-wrap:wrap; }
  .jh-player-tools { grid-column:1; margin:5px 0 0; justify-content:flex-start; gap:20px; }
  .jh-save-status { text-align:right; align-self:center; grid-column:2; }
  .jh-tabs { position:sticky; top:0; z-index:10; box-shadow:0 3px 12px #30482c0a; }
  .jh-people-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:600px) {
  body[data-active-module="jianghu"] main { padding:0 16px 18px!important; }
  .jh-header { height:72px; gap:10px; }
  .jh-back { min-width:40px; font-size:12px!important; }
  .jh-back span { display:none; }
  .jh-brand { gap:9px; }
  .jh-brand-copy strong { font-size:24px; letter-spacing:4px; }
  .jh-seal { width:25px; height:30px; font-size:11px; }
  .jh-header-tools { min-width:40px; gap:9px; }
  .jh-header-tools .jh-text-button { font-size:12px!important; }
  .jh-hero { min-height:580px; margin:0 -16px; border-radius:0; padding:46px 26px 74px; box-shadow:none; }
  .jh-hero-art { object-position:67% center; }
  .jh-hero:after { background:linear-gradient(90deg,#0e252cd4,#0e252c4d 85%),linear-gradient(0deg,#0e252ca1,transparent 50%); }
  .jh-hero .jh-eyebrow { font-size:10px; letter-spacing:2.5px; }
  .jh-hero h1 { font-size:49px; letter-spacing:5px; line-height:1.45; margin:27px 0 23px; }
  .jh-hero-copy>p { font-size:13px; line-height:2.15; }
  .jh-hero-buttons { flex-direction:column; align-items:stretch; max-width:240px; gap:10px; margin:28px 0 15px; }
  .jh-hero-buttons .jh-button { min-height:44px; padding:9px 18px; font-size:13px!important; }
  .jh-hero-buttons .jh-primary { padding:13px 17px; }
  .jh-hero-copy .jh-continue-note { font-size:10px; letter-spacing:.5px; }
  .jh-vertical-poem { display:none; }
  .jh-hero-foot { left:26px; right:26px; bottom:20px; font-size:9px; letter-spacing:1px; }
  .jh-intro-grid { grid-template-columns:1fr; gap:22px; padding:30px 4px; }
  .jh-intro-grid article { padding-left:20px; border-left:2px solid #c3cbb3; }
  .jh-intro-grid h2 { font-size:23px; margin:6px 0; }
  .jh-intro-grid p { font-size:13px; max-width:none; }
  .jh-opening-note { padding:20px; gap:18px; margin-bottom:25px; }
  .jh-opening-note p { font-size:14px; }
  .jh-footer { font-size:10px; letter-spacing:0; padding-top:18px; }
  .jh-game-top { padding:2px 0 15px; }
  .jh-time { font-size:11px; gap:11px; }
  .jh-game-tag { display:none; }
  .jh-game-layout { gap:18px; }
  .jh-player-sidebar { padding:17px 17px 12px; gap:0 16px; }
  .jh-player-card { gap:10px; padding-bottom:10px; align-items:flex-start; }
  .jh-player-monogram { width:38px; height:45px; font-size:25px; flex-shrink:0; }
  .jh-player-card h2 { font-size:23px; line-height:1.3; margin:5px 0; letter-spacing:1px; overflow-wrap:anywhere; }
  .jh-player-card .jh-eyebrow { font-size:9px; letter-spacing:0; }
  .jh-player-card p { font-size:10px; }
  .jh-meter { margin-bottom:12px; }
  .jh-meter>div { font-size:11px; margin-bottom:5px; }
  .jh-meter b { font-size:12px; }
  .jh-meter b small { font-size:10px; }
  .jh-wallet { gap:7px; padding:0 0 10px; }
  .jh-wallet span { font-size:10px; }
  .jh-wallet b { font-size:19px; margin-top:1px; }
  .jh-wallet b small { font-size:9px; }
  .jh-objective { padding:11px 0; }
  .jh-objective h3 { font-size:13px; line-height:1.8; }
  .jh-quest-progress summary { font-size:10px; margin-top:7px; }
  .jh-player-tools { gap:15px; margin:3px 0 0; }
  .jh-player-tools .jh-text-button { font-size:10px!important; min-height:32px; }
  .jh-save-status { font-size:9px; }
  .jh-tabs { gap:0; padding:4px; margin-bottom:16px; border-radius:7px; }
  .jh-tabs button { flex-direction:column; padding:7px 2px; gap:4px; font-size:11px; }
  .jh-tab-icon { width:17px; height:17px; }
  .jh-scene-title { padding:20px; min-height:140px; margin-bottom:18px; border-radius:8px; background-position:70% center; }
  .jh-scene-title h1 { font-size:27px; margin:5px 0 8px; }
  .jh-scene-title>div { max-width:88%; }
  .jh-scene-title p { font-size:12px; }
  .jh-scene-stamp { right:13px; top:20px; font-size:11px; }
  .jh-scene-layout { gap:20px; }
  .jh-story-paper { padding:0 22px; }
  .jh-entry { padding:24px 0; }
  .jh-entry-meta { font-size:10px; }
  .jh-entry h3 { font-size:25px; margin:14px 0 18px; }
  .jh-entry>p { font-size:17px; line-height:2; }
  .jh-previous { padding:12px 15px; }
  .jh-decisions { display:block; }
  .jh-free-action { padding:21px; margin-bottom:25px; }
  .jh-free-action .jh-panel-title { flex-wrap:nowrap; }
  .jh-free-action textarea { font-size:16px; min-height:120px; padding:13px; }
  .jh-input-footer small { font-size:11px; }
  .jh-input-footer button { min-height:46px; font-size:14px!important; }
  .jh-actions { grid-template-columns:1fr; }
  .jh-action-card { padding:14px 32px 14px 16px; }
  .jh-action-card small { font-size:12px; }
  .jh-section-heading { padding:20px 0; }
  .jh-section-heading h1 { font-size:28px; }
  .jh-section-heading p { font-size:13px; }
  .jh-paper { padding:24px 18px; }
  .jh-form-row { grid-template-columns:1fr; gap:20px; }
  .jh-option-grid,.jh-difficulty-grid { grid-template-columns:1fr; }
  .jh-option { padding:17px; }
  .jh-attribute-grid { gap:14px; }
  .jh-attribute-grid label { align-items:flex-start; }
  .jh-attribute-grid small { font-size:11px; }
  .jh-attribute-grid input { width:48px; flex-shrink:0; }
  .jianghu-app legend { font-size:20px; }
  .jianghu-app legend small { font-size:11px; margin-left:8px; }
  .jh-setup-footer { flex-direction:column; align-items:stretch; gap:18px; }
  .jh-map { grid-template-columns:1fr; padding:16px; gap:14px; }
  .jh-map-place { padding:21px; }
  .jh-people-grid,.jh-arts-grid,.jh-sects { grid-template-columns:1fr; }
  .jh-person,.jh-art-card,.jh-casebook { padding:22px; }
  .jh-attributes-summary { padding:18px 4px; }
  .jh-attributes-summary>div { padding:0 9px; }
  .jh-attributes-summary small { font-size:10px; }
  .jh-attributes-summary strong { font-size:28px; }
  .jh-item { padding:20px 16px; gap:14px; }
  .jh-item-glyph { width:38px; height:42px; font-size:23px; }
  .jh-item h2 { font-size:22px; }
  .jh-casebook .jh-panel-title { flex-wrap:wrap; }
  .jh-casebook .jh-panel-title h2 { font-size:24px; }
  .jh-combat { padding:20px; gap:17px; }
  .jh-combat .jh-meter { flex-basis:110px; }
  .jh-overlay { padding:14px; }
  .jh-modal { padding:30px 23px; max-height:92dvh; }
  .jh-save-actions .jh-button,.jh-save-actions .jh-primary { flex:1 1 44%; padding-inline:8px; font-size:12px!important; }
}
@media(max-width:360px) {
  .jh-hero { padding-inline:22px; }
  .jh-hero h1 { font-size:42px; letter-spacing:4px; }
  .jh-hero-copy>p { font-size:12px; }
  .jh-hero-foot { left:22px; right:22px; font-size:8px; }
  .jh-player-monogram { display:none; }
  .jh-player-sidebar { gap:0 12px; }
  .jh-tabs button { font-size:10px; }
  .jh-tabs button:first-child { flex-grow:1.2; }
  .jh-attribute-grid { grid-template-columns:1fr; }
  .jh-brand-copy strong { font-size:22px; }
  .jh-header-tools { gap:5px; }
  .jh-quest-notes li>div { align-items:flex-start; }
}
@media(prefers-reduced-motion:reduce) { .jianghu-app button { transition:none; }.jh-pending span { animation:none; } }

/* A quieter travel journal: a wide story, a useful margin, and room to breathe. */
.jianghu-app { --jh-story-size:18px; --jh-story-leading:2.05; --jh-line:#dcded3; }
.jianghu-app[data-jh-text-size="large"] { --jh-story-size:21px; --jh-story-leading:2.15; }
.jh-header { border-bottom:1px solid #d7dbcf; margin-bottom:24px; }
.jh-hero { min-height:600px; border-radius:4px; box-shadow:0 12px 40px #18382e12; }
.jh-hero h1 { letter-spacing:10px; }
.jh-intro-grid { padding-block:42px; gap:18px; }
.jh-intro-grid article { padding-inline:28px; }
.jh-intro-grid .jh-text-button { margin-top:12px; color:#365749; padding-inline:0; font-size:12px!important; }
.jh-opening-note { background:transparent; border:0; border-top:1px solid #d9ddcf; border-bottom:1px solid #d9ddcf; border-radius:0; padding-block:30px; }
.jh-game-layout { grid-template-columns:208px minmax(0,1fr); gap:28px; }
.jh-player-sidebar { box-shadow:none; border-radius:5px; padding:25px 20px 18px; }
.jh-tabs { background:transparent; border:0; border-bottom:1px solid #cdd5c8; border-radius:0; padding:0 0 10px; margin-bottom:24px; gap:8px; }
.jh-tabs button { padding:12px 5px; color:#717b70; border-radius:4px; }
.jh-tabs button[aria-current] { background:#254e40; color:#fff9e9; box-shadow:none; }
.jh-scene-title { min-height:180px; padding:28px 32px; border-radius:5px; margin-bottom:0; background-position:64% 55%; }
.jh-scene-title h1 { font-size:35px; margin:10px 0; }
.jh-scene-title p { color:#e2e6da; font-size:13px; }
.jh-scene-layout { grid-template-columns:minmax(0,1fr) 286px; gap:26px; }
.jh-presence { min-height:60px; display:flex; align-items:center; flex-wrap:wrap; gap:8px 14px; padding:14px 2px 18px; color:#728075; font-size:11px; }
.jh-presence>span:first-child { display:flex; align-items:center; gap:8px; }
.jh-presence i { width:5px; height:5px; background:#547e62; border-radius:50%; }
.jh-presence-note { margin-left:auto; color:#7f8171; }
.jh-person-chip { border:0; border-bottom:1px solid #bac9b8; color:#2e5945; background:transparent; font-size:12px!important; padding:3px 0; min-height:30px; }
.jh-person-chip:hover { border-bottom-color:#315945; }
.jh-reading-bar { display:flex; align-items:center; justify-content:space-between; gap:14px; color:#526a58; font:18px var(--jh-serif); margin-bottom:10px; }
.jh-reading-bar small { font:11px -apple-system,sans-serif; color:#8b8d7d; margin-left:10px; }
.jh-reading-bar .jh-text-button { min-height:34px; font-size:11px!important; color:#6d7b6d; }
.jh-previous { border:0; border-left:2px solid #c8d2bc; background:transparent; border-radius:0; padding:8px 14px; margin-bottom:18px; }
.jh-story-paper { border-radius:4px; border-color:#dedfd3; box-shadow:0 6px 25px #424b2c04; padding:0 34px; }
.jh-entry { padding:30px 0 34px; }
.jh-entry-meta { font-size:11px; letter-spacing:.2px; }
.jh-entry h3 { font-size:28px; letter-spacing:2px; margin:20px 0 23px; }
.jh-entry>p,.jh-reading-sample { font-size:var(--jh-story-size); line-height:var(--jh-story-leading); color:#344c3f; }
.jh-changes { padding-top:19px; border-top:1px dashed #dde1d3; margin-top:24px; gap:7px; }
.jh-changes li { border:0; background:#f0f1e8; color:#597050; padding:4px 8px; font-size:11px; }
.jh-action-section { margin:0; padding-top:5px; }
.jh-action-section .jh-panel-title { align-items:flex-end; margin-bottom:17px; }
.jh-action-section .jh-eyebrow,.jh-free-action .jh-eyebrow { letter-spacing:1.6px; color:#8c8b76; font-size:9px; margin-bottom:8px; }
.jh-action-section .jh-panel-title h3 { font-size:22px; }
.jh-action-section .jh-panel-title>span { color:#7b856f; white-space:nowrap; }
.jh-action-filters { display:flex; gap:5px; border-bottom:1px solid #d4dbcc; padding-bottom:13px; margin-bottom:14px; }
.jh-action-filters button { flex:1; border:0; border-radius:3px; background:transparent; padding:7px 3px; color:#6f7d6c; font-size:12px; min-height:35px; }
.jh-action-filters small { margin-left:4px; font:10px Georgia,serif; opacity:.65; }
.jh-action-filters button[aria-pressed="true"] { background:#e0e7d8; color:#2e5942; font-weight:600; }
.jh-decisions .jh-actions { gap:0; }
.jh-decisions .jh-action-card { border:0; border-bottom:1px solid #dce0d3; border-radius:0; background:transparent; padding:16px 20px 16px 2px; min-height:77px; }
.jh-decisions .jh-action-card:not(:disabled):hover { background:#e7ebdf; box-shadow:none; border-color:#c4d2ba; padding-left:10px; }
.jh-decisions .jh-action-card>span { color:#335441; font-size:14px; }
.jh-decisions .jh-action-card small { color:#78816f; font-size:11px; line-height:1.85; margin-top:6px; }
.jh-action-card:disabled { opacity:.6; }
.jh-decisions .jh-action-card>b { top:16px; right:4px; }
.jh-discovery-links { display:grid; gap:1px; padding:16px 0; }
.jh-discovery-links button { text-align:left; padding:7px 2px; color:#6f7f6a; min-height:34px; font-size:11px!important; }
.jh-free-action { background:#e9eddf; border:1px solid #d2dac5; border-radius:4px; padding:25px 28px; margin:24px 0 0; }
.jh-free-action .jh-panel-title { flex-wrap:nowrap; }
.jh-free-action .jh-panel-title h3 { font-size:24px; }
.jh-free-action .jh-panel-title>span { border:0; padding:0; white-space:nowrap; }
.jh-free-intro { font-size:12px; color:#77816d; margin-bottom:16px!important; line-height:1.9; }
.jh-free-action textarea { min-height:120px; border:1px solid #cdd6c0; background:#fffdf7; border-radius:4px; font-size:15px; padding:15px; }
.jh-writing-meta { display:flex; justify-content:space-between; gap:12px; font-size:10px; color:#818775; margin:11px 0 8px; }
.jh-inspiration { display:flex; flex-wrap:wrap; gap:7px; }
.jh-idea { border:1px solid #cdd7bf; background:transparent; color:#657854; border-radius:3px; padding:5px 9px; min-height:32px; font-size:11px!important; }
.jh-idea:not(:disabled):hover { background:#f4f5eb; border-color:#8fa47a; }
.jh-input-footer { flex-direction:row; align-items:center; justify-content:space-between; gap:18px; margin-top:18px; }
.jh-input-footer small { flex:1; max-width:310px; color:#78826e; font-size:10px; }
.jh-input-footer button { width:auto; flex-shrink:0; min-height:45px; }
.jh-itinerary { display:flex; gap:18px; align-items:center; padding:23px 25px; background:#e6ebde; border:1px solid #cbd5bf; border-radius:4px; margin-bottom:28px; }
.jh-itinerary-mark { display:grid; place-items:center; width:40px; height:40px; flex-shrink:0; border:1px solid #adbc9e; border-radius:50%; color:#627d4f; font-size:23px; }
.jh-itinerary>div:not(.jh-itinerary-tools) { flex:1; min-width:0; }
.jh-itinerary .jh-eyebrow { color:#7d876e; font-size:10px; letter-spacing:1px; }
.jh-itinerary h3 { font-size:22px; margin:4px 0 7px; }
.jh-itinerary p { font-size:12px; color:#687b5b; line-height:1.9; }
.jh-itinerary p span { color:#9ba58a; margin-inline:4px; }
.jh-itinerary-tools { display:flex; flex-direction:column; align-items:center; flex-shrink:0; gap:3px; }
.jh-itinerary-tools small { max-width:150px; font-size:11px; color:#7c806c; }
.jh-itinerary-tools .jh-text-button { font-size:11px!important; min-height:30px; }
.jh-itinerary.is-compact { background:transparent; border:0; border-left:2px solid #bac6a6; border-radius:0; padding:2px 0 2px 18px; margin:26px 0; gap:12px; }
.jh-itinerary.is-compact .jh-itinerary-mark { display:none; }
.jh-itinerary.is-compact h3 { font-size:18px; }
.jh-itinerary.is-compact p { font-size:11px; }
.jh-atlas-key { display:flex; align-items:center; flex-wrap:wrap; gap:20px; margin:0 0 17px; color:#7f8977; font-size:11px; }
.jh-atlas-key>span { display:flex; align-items:center; gap:7px; }
.jh-atlas-key>span:last-child { margin-left:auto; }
.jh-atlas-key i { width:7px; height:7px; border:1px solid #9da98f; border-radius:50%; }
.jh-atlas-key i.is-current { background:#315d47; border-color:#315d47; }
.jh-map { padding:0; gap:18px; background:transparent; border:0; border-radius:0; }
.jh-map>.jh-landscape { display:none; }
.jh-map-place { padding:24px; border:1px solid #d7dccd; border-radius:4px; background:#faf9f2; }
.jh-map-place.is-current { background:#e7eddf; border-color:#9bad8c; box-shadow:none; }
.jh-map-place.is-tracked { border-color:#a68a58; box-shadow:inset 0 3px 0 #a68a58; }
.jh-place-top { display:flex; justify-content:space-between; gap:12px; align-items:center; }
.jh-place-top small { color:#748366; font-size:10px; }
.jh-place-index { color:#8a927b; font:11px -apple-system,sans-serif; letter-spacing:1px; }
.jh-map-place h2 { font-size:27px; margin:14px 0 10px; }
.jh-place-purposes { display:flex; flex-wrap:wrap; gap:9px; color:#8f7959; font-size:10px; margin-bottom:13px; }
.jh-place-purposes span+span { border-left:1px solid #d4c9af; padding-left:9px; }
.jh-map-place>p { min-height:49px; font-size:12px; line-height:1.9; margin-bottom:14px; }
.jh-map-people { color:#7f8b74; font-size:11px; padding-bottom:16px; border-bottom:1px solid #dbe0d0; }
.jh-map-controls { display:flex; justify-content:space-between; gap:10px; align-items:center; margin-top:15px; min-height:40px; }
.jh-map-controls .jh-primary,.jh-map-controls .jh-button { font-size:11px!important; min-height:38px; padding:8px 13px; }
.jh-map-controls .jh-text-button { font-size:11px!important; min-height:38px; }
.jh-distance { color:#8a8c7b; font-size:11px; }
.jh-atlas-note { color:#818878; font-size:11px; line-height:1.9; margin:20px 0 0!important; }
.jh-view-filters { display:flex; flex-wrap:wrap; gap:9px; margin:0 0 23px; }
.jh-view-filters button { display:flex; align-items:center; gap:10px; border:1px solid #d4dbcb; border-radius:4px; padding:9px 15px; background:transparent; color:#6c7d65; min-height:40px; font-size:12px; }
.jh-view-filters button[aria-pressed="true"] { color:#f5f5e8; background:#315642; border-color:#315642; }
.jh-view-filters button span { opacity:.6; font:12px Georgia,serif; }
.jh-person { padding:27px; border-radius:4px; border-color:#d8ddcf; }
.jh-person-top { gap:12px; }
.jh-person-status { font-size:10px; text-align:right; }
.jh-person-goal { padding:12px 0 0; border-top:1px solid #e1e4d8; }
.jh-person-goal>span { display:block; font-size:10px; color:#9c8c6b; margin-bottom:3px; letter-spacing:1px; }
.jh-person-travel { display:flex; flex-direction:column; gap:8px; }
.jh-person-travel .jh-button { align-self:flex-start; font-size:12px!important; }
.jh-person-travel small { color:#8a8d7d; font-size:10px; line-height:1.8; }
.jh-routine { margin-top:19px; padding:12px 0 0; background:transparent; border:0; border-top:1px solid #dde2d3; border-radius:0; }
.jh-routine summary { font-size:11px; color:#5c7552; cursor:pointer; }
.jh-routine summary>span { margin-left:10px; color:#9a9d8b; font-size:10px; }
.jh-routine dl { background:#f0f2e8; border-radius:4px; padding:15px; }
.jh-routine .is-now dt { color:#937747; }
.jh-empty-state { grid-column:1/-1; text-align:center; padding:45px 20px; color:#6d7b62; }
.jh-empty-state>span { font:23px var(--jh-serif); }
.jh-empty-state p { font-size:12px; line-height:1.9; margin-top:13px; color:#8a8f7c; }
.jh-chronicle-stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; padding:20px 0 28px; margin-bottom:26px; border-bottom:1px solid #d8decc; }
.jh-chronicle-stats>div { padding-left:18px; border-left:1px solid #cbd5bf; }
.jh-chronicle-stats strong { display:block; font:34px Georgia,serif; color:#3e654b; }
.jh-chronicle-stats strong small { color:#9ba58b; font-size:15px; }
.jh-chronicle-stats span { display:block; font-size:11px; color:#849076; margin-top:9px; }
.jh-evidence-track { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:25px 0; }
.jh-evidence-track>div { border-top:2px solid #d9dfcc; padding-top:13px; color:#8f987f; }
.jh-evidence-track>div.is-found { color:#557843; border-color:#7d9c63; }
.jh-evidence-track span { display:block; font:20px Georgia,serif; margin-bottom:6px; }
.jh-evidence-track strong { font-size:11px; font-weight:400; }
.jh-action-feedback { display:flex; align-items:center; flex-wrap:wrap; gap:13px; padding:15px 18px; margin-bottom:18px; background:#e4eddb; border:1px solid #c4d4b4; border-radius:4px; }
.jh-feedback-check { color:#567843; font-size:19px; }
.jh-action-feedback>div { flex:1; min-width:180px; }
.jh-action-feedback strong { color:#3f6233; font-size:13px; font-weight:500; }
.jh-action-feedback p { color:#748365; font-size:11px; line-height:1.9; margin-top:4px; }
.jh-action-feedback .jh-text-button { font-size:11px!important; min-height:30px; }
.jh-build-presets { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:19px 0 3px; }
.jh-build-presets button { text-align:left; padding:14px; border:1px solid #d7ddcd; background:transparent; color:#5b7250; border-radius:4px; }
.jh-build-presets button[aria-pressed="true"] { border-color:#6e8b5c; background:#eaf0df; }
.jh-build-presets strong { display:block; font-size:13px; font-weight:500; }
.jh-build-presets small { display:block; margin-top:6px; font-size:10px; color:#829073; line-height:1.7; }
.jh-reading-setting { border-top:1px solid #d7ddcc; padding-top:23px; margin-top:25px; }
.jh-reading-setting h3 { font-size:19px; margin-bottom:15px; }
.jh-reading-options { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.jh-reading-options button,.jh-focus-option { background:transparent; border:1px solid #cdd7bf; border-radius:4px; padding:17px; text-align:left; color:#49663d; }
.jh-reading-options button[aria-pressed="true"],.jh-focus-option[aria-pressed="true"] { background:#e8efdb; border-color:#729058; }
.jh-reading-setting strong { display:block; font-size:14px; font-weight:500; }
.jh-reading-setting small { display:block; color:#7c896e; font-size:11px; line-height:1.8; margin-top:7px; }
.jh-focus-option { width:100%; display:flex; gap:20px; align-items:center; justify-content:space-between; }
.jh-focus-option b { white-space:nowrap; font-size:11px; font-weight:400; }
.jh-reading-sample { padding:22px 0 0; margin-top:22px!important; font-family:var(--jh-serif); border-top:1px dashed #d7ddcc; }
.jianghu-app .jh-action-card .sim-decision-meta { display:flex; gap:3px 10px; color:#8c8d79; font-size:10px; font-weight:400; margin-top:9px; padding-top:8px; border-top:1px dashed #dce0d1; }
.jianghu-app .jh-action-card .sim-decision-outcome,.jianghu-app .jh-action-card .sim-decision-limit { color:#7d886d; font-size:10px; font-weight:400; }
.jianghu-app .sim-turn-receipt { background:#eef0e5; border-color:#d3ddc7; border-radius:4px; box-shadow:none; padding:17px 20px; margin-bottom:20px; }
.jianghu-app .sim-receipt-heading strong { color:#49673b; }
.jh-is-focused .jh-game-layout { grid-template-columns:1fr; max-width:1180px; margin-inline:auto; }
.jh-is-focused .jh-player-sidebar { display:none; }
.jh-is-focused .jh-scene-layout { grid-template-columns:minmax(0,1fr) 270px; gap:34px; }
.jh-is-focused .jh-story-paper { padding-inline:46px; }
@media(min-width:901px) and (max-width:1250px) {
  .jh-game-layout { grid-template-columns:185px minmax(0,1fr); gap:22px; }
  .jh-player-sidebar { padding-inline:17px; }
  .jh-scene-layout { grid-template-columns:minmax(0,1fr); }
  .jh-decisions { display:block; }
  .jh-decisions .jh-actions { grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 22px; }
  .jh-discovery-links { display:flex; flex-wrap:wrap; gap:20px; }
  .jh-people-grid { grid-template-columns:1fr; }
  .jh-is-focused .jh-scene-layout { grid-template-columns:minmax(0,1fr) 270px; gap:24px; }
  .jh-is-focused .jh-decisions .jh-actions { grid-template-columns:1fr; }
}
@media(max-width:900px) {
  .jh-game-layout,.jh-is-focused .jh-game-layout { grid-template-columns:1fr; }
  .jh-player-sidebar { border-radius:5px; }
  .jh-scene-layout,.jh-is-focused .jh-scene-layout { grid-template-columns:1fr; gap:25px; }
  .jh-decisions { display:block; }
  .jh-decisions .jh-actions { grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 22px; }
  .jh-tabs { background:#f2f0e9; }
  .jh-discovery-links { display:flex; flex-wrap:wrap; gap:22px; }
  .jh-hero { min-height:540px; }
}
@media(max-width:600px) {
  .jh-header { margin-bottom:0; border-bottom:0; }
  .jh-header-tools { gap:8px; }
  .jh-header-tools .jh-text-button { font-size:11px!important; }
  .jh-hero { min-height:565px; padding-top:48px; }
  .jh-hero h1 { font-size:46px; letter-spacing:6px; }
  .jh-intro-grid { gap:25px; padding-block:31px; }
  .jh-intro-grid article { padding-inline:19px 5px; }
  .jh-intro-grid .jh-text-button { margin-top:6px; min-height:32px; }
  .jh-opening-note { padding:24px 3px; }
  .jh-player-sidebar { padding:17px 17px 12px; }
  .jh-game-layout { gap:18px; }
  .jh-tabs { padding-bottom:8px; gap:3px; margin-bottom:17px; }
  .jh-tabs button { padding:8px 2px; font-size:10px; }
  .jh-scene-title { min-height:170px; padding:23px 22px; border-radius:4px; }
  .jh-scene-title h1 { font-size:29px; margin:7px 0 10px; }
  .jh-scene-title p { font-size:12px; line-height:1.9; }
  .jh-presence { padding:10px 0 15px; gap:3px 12px; }
  .jh-presence-note { flex-basis:100%; margin:4px 0 0; font-size:10px; }
  .jh-story-paper,.jh-is-focused .jh-story-paper { padding-inline:22px; }
  .jh-entry { padding:25px 0; }
  .jh-entry h3 { font-size:26px; letter-spacing:1px; margin:19px 0; }
  .jh-entry-meta { font-size:10px; }
  .jh-entry>p { font-size:var(--jh-story-size); }
  .jh-reading-bar { font-size:17px; }
  .jh-reading-bar small { font-size:10px; margin-left:7px; }
  .jh-itinerary { flex-wrap:wrap; padding:20px; gap:13px; margin-bottom:22px; }
  .jh-itinerary-mark { width:33px; height:33px; font-size:19px; }
  .jh-itinerary h3 { font-size:21px; }
  .jh-itinerary p { font-size:11px; }
  .jh-itinerary-tools { flex-basis:100%; flex-direction:row; justify-content:space-between; margin-top:3px; }
  .jh-itinerary-tools .jh-primary { flex:1; font-size:12px!important; }
  .jh-itinerary.is-compact { flex-wrap:nowrap; align-items:flex-start; padding:2px 0 2px 14px; gap:5px; margin-block:22px; }
  .jh-itinerary.is-compact .jh-itinerary-tools { flex-basis:auto; flex-direction:column; margin:0; }
  .jh-itinerary.is-compact .jh-text-button { padding:1px 0; min-height:27px; font-size:10px!important; }
  .jh-itinerary.is-compact h3 { font-size:17px; }
  .jh-itinerary.is-compact p { font-size:10px; }
  .jh-free-action { padding:22px 20px; margin-top:23px; }
  .jh-free-action .jh-panel-title h3 { font-size:23px; }
  .jh-free-action textarea { font-size:16px; min-height:120px; }
  .jh-input-footer { flex-direction:column; align-items:stretch; gap:12px; }
  .jh-input-footer small { max-width:none; }
  .jh-input-footer button { width:100%; }
  .jh-decisions .jh-actions { grid-template-columns:1fr; }
  .jh-action-section .jh-panel-title h3 { font-size:23px; }
  .jh-action-filters { gap:8px; }
  .jh-action-filters button { padding-block:9px; min-height:39px; }
  .jh-decisions .jh-action-card { padding-block:17px; }
  .jh-decisions .jh-action-card small { font-size:12px; }
  .jh-discovery-links { justify-content:space-between; gap:10px; }
  .jh-discovery-links button { font-size:10px!important; }
  .jh-map { grid-template-columns:1fr; gap:15px; }
  .jh-map-place { padding:23px; }
  .jh-atlas-key { gap:12px; font-size:10px; }
  .jh-atlas-key>span:last-child { display:none; }
  .jh-map-place>p { min-height:0; }
  .jh-view-filters { gap:7px; }
  .jh-view-filters button { padding:8px 11px; font-size:11px; gap:7px; }
  .jh-person { padding:23px; }
  .jh-chronicle-stats { gap:9px; }
  .jh-chronicle-stats>div { padding-left:11px; }
  .jh-chronicle-stats strong { font-size:28px; }
  .jh-chronicle-stats strong small { font-size:11px; }
  .jh-chronicle-stats span { font-size:9px; }
  .jh-evidence-track { gap:8px; }
  .jh-evidence-track strong { font-size:9px; }
  .jh-build-presets { grid-template-columns:1fr; }
  .jh-build-presets button { display:flex; align-items:center; gap:13px; padding:13px; }
  .jh-build-presets small { margin:0; font-size:10px; }
  .jh-build-presets strong { flex-shrink:0; font-size:12px; }
  .jh-action-feedback { padding:13px; gap:8px; }
}
