[hidden] { display: none !important; }
:root { --valley-gold: #dfbd7b; --valley-muted: #98aaa9; --valley-line: #2d4147; --valley-green: #78bfa6; }
.valley-page { background: radial-gradient(ellipse at 15% 0, #17313c 0, transparent 55%), #0b141b; color: #e8edea; }
.valley-page .card { background: #12212af2; border-color: var(--valley-line); border-radius: 15px; box-shadow: 0 10px 32px #0002; }
.valley-page .brand { font-family: Georgia, serif; font-weight: 500; font-size: 23px; letter-spacing: -.03em; }
.brand-mark { color: var(--valley-gold); margin-right: 8px; }
.valley-page .muted { color: var(--valley-muted); }
.valley-page .nav a { font-size: 13px; padding: 9px 10px; color: #afbfbe; }
.valley-page .nav a.active, .valley-page .nav a:hover { background: #263940; color: #fff3d5; }
.valley-page button, .valley-page .button-link { background: var(--valley-gold); color: #182026; border-radius: 7px; }
.valley-page button.secondary { color: #deebe5; background: #2b4148; }
.valley-page button:disabled { opacity: .48; cursor: not-allowed; }
.valley-page button:focus-visible, .valley-page a:focus-visible, .valley-page summary:focus-visible { outline: 2px solid #f0d79f; outline-offset: 4px; }
.valley-page input, .valley-page textarea, .valley-page select { border-color: #3c5157; background: #0d1b23; }
.identity-controls { display: flex; align-items: center; gap: 9px; font-size: 12px; }
.table-kicker { display: block; font: 700 10px/1.6 ui-sans-serif, system-ui, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--valley-gold); }
.table-text-link { display: inline-block; color: #dfc592; font-size: 12px; text-decoration: none; line-height: 1.6; }
.table-text-link:hover { color: #fff2cf; text-decoration: underline; }
.table-empty { font-size: 12px; line-height: 1.7; color: var(--valley-muted); }
.valley-page .table-subtle { color: var(--valley-muted); background: transparent; border: 1px solid var(--valley-line); font-size: 11px; padding: 7px 9px; }
.table-shell { width: min(1550px, calc(100% - 48px)); padding-top: 22px; }
.table-page .topbar { margin-bottom: 20px; }
.table-banner { position: relative; display: flex; justify-content: space-between; gap: 18px; align-items: end; min-height: 170px; padding: 28px; border-radius: 14px; border: 1px solid #415254; background: linear-gradient(90deg, #10202bee, #10202b99 60%, #10202b66), url('/assets/generated/misty-valley-v1.png') center 48%/cover; margin-bottom: 22px; }
.table-banner h1 { font: 400 clamp(25px, 2.6vw, 38px)/1.2 Georgia, serif; margin: 8px 0 9px; color: #fff0cf; }
.table-banner p { font-size: 12px; color: #c1cfcc; margin: 0; }
.table-connection { display: flex; flex-direction: column; gap: 9px; align-items: end; flex-shrink: 0; font-size: 10px; color: #aabeba; }
.table-layout { display: grid; grid-template-columns: minmax(270px, 310px) minmax(350px, 1fr) minmax(230px, 270px); gap: 18px; align-items: start; }
.table-own { position: sticky; top: 16px; min-width: 0; }
.table-center, .table-right { display: grid; gap: 18px; min-width: 0; }
.table-layout .card { padding: 22px; min-width: 0; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.section-heading h2 { margin: 4px 0 0; }
.table-layout h2 { font: 400 23px/1.25 Georgia, serif; color: #efe6d4; }
.table-layout h3 { font: 600 13px/1.5 ui-sans-serif, system-ui, sans-serif; color: #d7e0da; }
.table-character-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.table-character-heading h2 { font-size: 25px; margin: 4px 0; overflow-wrap: anywhere; }
.table-character-heading p { margin: 0; font-size: 11px; line-height: 1.6; }
.character-emblem { display: grid; place-items: center; flex: 0 0 49px; height: 57px; font: 30px/1 Georgia, serif; color: var(--valley-gold); background: #24363b; border: 1px solid #6a624d; border-radius: 11px 11px 18px 18px; }
.table-resources { display: grid; gap: 12px; }
.table-resource > div { display: flex; align-items: center; justify-content: space-between; margin-bottom: 5px; font-size: 11px; }
.table-resource > div span { color: #b6c7c4; }
.table-resource > div strong { font-variant-numeric: tabular-nums; font-size: 12px; }
.table-resource progress { appearance: none; display: block; width: 100%; height: 6px; border: 0; border-radius: 10px; background: #26373c; overflow: hidden; }
.table-resource progress::-webkit-progress-bar { background: #26373c; }
.table-resource progress::-webkit-progress-value { background: #bc7775; border-radius: 10px; }
.table-resource.soul progress::-webkit-progress-value { background: #7aa9c3; }
.table-resource.influence progress::-webkit-progress-value { background: #c5a1ce; }
.table-resource progress::-moz-progress-bar { background: #bc7775; }
.table-resource.soul progress::-moz-progress-bar { background: #7aa9c3; }
.table-resource.influence progress::-moz-progress-bar { background: #c5a1ce; }
.table-gauges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 21px 0; }
.table-gauges > div { padding: 10px 4px; text-align: center; background: #0d1b23; border: 1px solid #2b3d44; border-radius: 8px; }
.table-gauges span { display: block; font-size: 9px; color: #9db1af; margin-bottom: 4px; }
.table-gauges strong { font-size: 20px; color: #e4cc9a; font-weight: 500; }
.character-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--valley-line); margin: 8px 0 15px; gap: 4px; }
.valley-page .character-tabs button { padding: 10px 0; background: transparent; color: #9bafad; font-size: 11px; border-radius: 0; border-bottom: 2px solid transparent; }
.valley-page .character-tabs button[aria-selected=true] { color: #e9d4a7; border-color: #d3b77f; }
.table-inventory input { padding: 9px 11px; font-size: 11px; border-radius: 7px; }
.inventory-caption { color: #8fa4a2; font-size: 10px; margin: 11px 0; }
.table-item-list { max-height: 340px; overflow: auto; scrollbar-width: thin; }
.table-item { border-bottom: 1px solid #293c43; padding: 9px 0; }
.table-item summary { display: flex; align-items: center; gap: 9px; cursor: pointer; list-style: none; }
.table-item summary::-webkit-details-marker { display: none; }
.table-item summary > span:nth-child(2) { flex: 1; min-width: 0; }
.table-item strong { font-size: 11px; line-height: 1.4; display: block; }
.table-item small { display: block; color: #829d98; font-size: 9px; margin-top: 3px; }
.table-item summary > b { font-size: 10px; color: #b3c3ba; font-weight: 400; }
.item-mark { display: grid; place-items: center; width: 29px; height: 31px; background: #24373c; border-radius: 6px; color: #d6bd89; font-size: 17px; }
.table-item p, .ability-detail p { font-size: 11px; line-height: 1.7; color: #b3c4c0; margin-bottom: 7px; }
.item-unusable strong { color: #c28585; text-decoration: line-through; }
.item-unusable .item-mark { color: #b16e70; }
.item-story strong { color: #bba5dc; }
.table-item .item-usage { color: #d7c18e; }
.ability-detail { padding: 11px 0; border-bottom: 1px solid var(--valley-line); }
.ability-detail summary { cursor: pointer; font-size: 12px; color: #dce4dc; }
.secret-detail { margin-top: 8px; padding: 13px; border: 1px solid #67577b; background: #2a263a; border-radius: 8px; }
.secret-detail .table-kicker { color: #c6b0e3; margin-top: 15px; }
.roll-entry { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--valley-line); align-items: center; }
.roll-total { display: grid; place-items: center; min-width: 37px; height: 37px; font-size: 22px; color: #e5cd9b; border: 1px solid #71664b; border-radius: 8px; }
.roll-entry div > strong { font-size: 11px; }
.roll-entry p { font-size: 10px; margin: 3px 0 0; }
.table-effects { padding: 10px 12px; margin: 0 0 15px; border: 1px solid #756044; border-radius: 8px; background: #332c22; }
.table-effects h3 { margin-top: 0; }
.table-effects p { font-size: 11px; color: #e2c798; line-height: 1.6; }
.character-panel-footer { display: grid; gap: 10px; border-top: 1px solid var(--valley-line); margin-top: 16px; padding-top: 14px; }
.character-panel-footer small { font-size: 9px; line-height: 1.6; }
.character-panel > #my-character > .muted { font-size: 12px; line-height: 1.7; }
.quickstart-list { display: grid; gap: 8px; margin: 18px 0; }
.valley-page .quickstart-option { display: flex; align-items: center; gap: 12px; text-align: left; padding: 12px; color: #e4e8df; background: #1d323a; border: 1px solid #3a4e52; }
.quickstart-option:hover { border-color: #c6ab73; }
.quickstart-option strong, .quickstart-option small { display: block; }
.quickstart-option strong { font-size: 12px; }
.quickstart-option small { color: #99afab; font-size: 10px; margin-top: 3px; }
.preset-emblem { color: #d6ba7d; width: 26px; text-align: center; font-size: 24px; }
.preset-arrow { margin-left: auto; color: #b8a379; }
.table-voice-card h2 { font-size: 25px; margin-bottom: 5px; }
#voice-status { font-size: 12px; line-height: 1.7; color: #b9c9c4; margin: 0 0 16px; }
.table-voice-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.table-voice-actions > button { font-size: 12px; padding: 12px 16px; }
.table-voice-actions > button span { margin-left: 15px; }
.room-control-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0; }
.room-control-row p { flex: 1; font-size: 10px; }
.room-control-row button { font-size: 10px; padding: 8px; }
.valley-page .talk-button { width: 100%; min-height: 47px; background: #294a45; border: 1px solid #608b79; color: #c8e9d9; }
.valley-page .talk-button.talking { background: #4a292e; border-color: #bc7476; color: #fff0de; box-shadow: 0 0 0 3px #bc74761c; }
.microphone-hint { font-size: 10px; color: #9db5ae; text-align: center; line-height: 1.6; }
.voice-help { font-size: 10px; color: #829b99; line-height: 1.7; margin-bottom: 0; }
.backend-status { color: #9bcdb9; font-size: 10px; white-space: nowrap; }
.scene-round { font-size: 10px; color: #8fa6a2; }
.scene-card h2 { margin: 9px 0; font-size: 22px; }
.turn-instruction { padding: 11px 13px; border-left: 2px solid #d2b77f; background: #c9a9650a; color: #d6c8a8; font-size: 12px; line-height: 1.6; }
.scene-card.is-my-turn { border-color: #7eb69c; box-shadow: 0 0 25px #57947916; }
.scene-card.is-my-turn .turn-instruction { border-color: #8fceaf; color: #bee7cf; background: #72bd920c; }
.scene-narration { color: #c9d3cc; font: 16px/1.9 Georgia, serif; white-space: pre-wrap; }
.table-disclosure { border-top: 1px solid var(--valley-line); padding-top: 14px; margin-top: 17px; }
.table-disclosure summary, .transcript-card > summary { color: #acbeba; font-size: 11px; cursor: pointer; }
.table-disclosure p { color: #9aafaa; font-size: 11px; line-height: 1.7; }
.last-roll { border: 1px solid #766740; background: #3d35221f; padding: 12px; color: #e1c98f; font-size: 12px; border-radius: 8px; line-height: 1.6; }
.journal-card h2 { margin: 3px 0; }
.journal-stamp { font-size: 8px; letter-spacing: .09em; color: #83978b; white-space: nowrap; }
.journal-summary { color: #a8bcb6; font-size: 12px; line-height: 1.8; }
.journal-quest { display: flex; gap: 13px; padding: 14px 0; border-bottom: 1px solid var(--valley-line); }
.quest-mark { font-size: 20px; line-height: 1; color: #dbc18b; }
.journal-quest strong { font-size: 12px; color: #e4dbbf; }
.journal-quest p { font-size: 11px; line-height: 1.7; color: #9db3ae; margin: 5px 0; }
.journal-quest small { font-size: 9px; }
.quest-completed .quest-mark { color: #86c3a3; }
.quest-completed strong { color: #9dc0ad; }
.quest-failed strong { color: #ba8a88; }
.journal-section { margin-top: 17px; }
.journal-section summary { font-size: 12px; color: #d2d9c9; cursor: pointer; }
.journal-known { margin: 14px 0 0 12px; padding-left: 13px; border-left: 1px solid #425950; }
.journal-known strong { font-size: 11px; }
.journal-known p { font-size: 11px; color: #9eb2ad; line-height: 1.7; margin: 6px 0; }
.transcript-card > summary { font-size: 13px; }
.transcript-card > summary > span { float: right; color: #7c9694; font-size: 10px; }
.transcript-card .live-transcripts { margin-top: 15px; max-height: 330px; font-size: 12px; }
.live-transcripts strong { font-size: 10px; color: #d5bb83; }
.online-count { display: grid; place-items: center; height: 27px; min-width: 27px; color: #acdbc5; background: #27473e; border-radius: 50%; font-size: 12px; }
.table-party-card h2 { margin-top: 3px; }
.table-member { padding: 13px 0; border-bottom: 1px solid #2b4146; }
.member-heading { display: flex; gap: 8px; align-items: center; }
.member-heading > div { flex: 1; min-width: 0; }
.member-heading strong { display: block; font-size: 12px; overflow-wrap: anywhere; }
.member-heading small { display: block; font-size: 9px; margin-top: 4px; line-height: 1.5; }
.member-mic { font-size: 8px; color: #88ad9e; white-space: nowrap; }
.online-dot { width: 6px; height: 6px; flex-shrink: 0; background: #536762; border-radius: 50%; }
.online-dot.is-online { background: #87cba6; box-shadow: 0 0 7px #87cba64d; }
.member-active .member-heading strong { color: #c8dba2; }
.compact-resources { grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 11px; }
.compact-resources .table-resource > div { gap: 2px; flex-wrap: wrap; font-size: 8px; }
.compact-resources .table-resource strong { font-size: 9px; }
.compact-resources progress { height: 3px; }
.table-party-card > .table-text-link { margin-top: 17px; }
.table-map-card h2 { margin: 3px 0 13px; }
.valley-map { width: 100%; height: auto; display: block; margin-bottom: 13px; }
.map-location-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.valley-page .map-location-buttons button { background: #20373d; color: #afc4bc; border: 1px solid #354d50; font-size: 9px; padding: 8px 4px; }
.valley-page .map-location-buttons button[aria-pressed=true] { border-color: #ad945e; color: #e4ce9b; }
.map-description { color: #99b0a7; font-size: 11px; line-height: 1.7; margin-bottom: 0; }
.map-description strong { color: #ddccaa; display: block; margin-bottom: 4px; }
.table-reference a { display: flex; justify-content: space-between; color: #a8bdb6; text-decoration: none; font-size: 11px; padding-top: 13px; }
.table-reference a:hover { color: #e9cf9c; }
.table-footnote { color: #6f8883; text-align: center; font-size: 10px; margin-top: 26px; line-height: 1.7; }
.adventure-home { width: min(1280px, calc(100% - 48px)); }
.adventure-cover { min-height: 570px; position: relative; display: flex; align-items: center; border: 1px solid #3b4d4d; border-radius: 16px; overflow: hidden; }
.adventure-cover > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.adventure-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #0a1922e8, #0b1c2580 50%, #0a192200), linear-gradient(0deg, #0a1723c9, transparent 40%); pointer-events: none; }
.adventure-cover-copy { padding: 60px; position: relative; z-index: 1; }
.adventure-cover h1 { font: 400 clamp(38px, 4.8vw, 64px)/1.1 Georgia, serif; color: #fff0d2; letter-spacing: -.03em; margin: 18px 0 21px; text-shadow: 0 3px 15px #0006; }
.adventure-cover-copy p { font: 17px/1.8 Georgia, serif; color: #d1d6c5; margin-bottom: 30px; }
.adventure-cover-copy .button-link { font-size: 12px; padding: 14px 19px; }
.adventure-cover-copy .button-link span { margin-left: 20px; }
.cover-caption { position: absolute; bottom: 22px; left: 60px; z-index: 1; color: #b8c3b3; font-size: 10px; letter-spacing: .04em; }
.cover-caption span { margin: 0 10px; color: #d4bc82; }
.adventure-intro { max-width: 660px; margin: 75px auto 55px; }
.adventure-intro h2 { font: 400 clamp(29px, 4vw, 42px)/1.2 Georgia, serif; color: #eee4cb; margin: 15px 0 26px; }
.adventure-intro p { color: #abbeb6; font-size: 14px; line-height: 1.95; }
.adventure-intro .adventure-question { color: #d9c597; }
.adventure-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.adventure-features .card { padding: 29px; }
.feature-number { color: #927f58; font: 16px/1 Georgia, serif; }
.adventure-features h2 { margin: 24px 0 13px; font: 400 24px/1.2 Georgia, serif; color: #e9dec5; }
.adventure-features p { color: #9cb1a8; font-size: 12px; line-height: 1.8; margin-bottom: 19px; }
.adventure-promise { margin-top: 25px; text-align: center; padding: 45px !important; }
.adventure-promise h2 { font: 400 29px/1.3 Georgia, serif; color: #ecdfbf; margin: 10px 0 16px; }
.adventure-promise p { max-width: 660px; margin: 0 auto 24px; color: #a9bcb1; font-size: 13px; line-height: 1.8; }
.valley-page .login { background: #10212bec; backdrop-filter: blur(12px); }
.valley-page:has(.login) { background: linear-gradient(#0b1a2280, #0b1a22e0), url('/assets/generated/misty-valley-v1.png') center/cover fixed; }
@media(min-width:1500px) { .table-layout { grid-template-columns: 330px minmax(400px, 1fr) 300px; gap: 22px; } }
@media(max-width:1200px) { .table-shell { width: min(1120px, calc(100% - 32px)); } .table-layout { grid-template-columns: minmax(270px, 300px) minmax(0, 1fr); } .table-right { grid-column: 1/-1; grid-template-columns: 1fr 1fr; align-items: start; } .table-reference { grid-column: 1/-1; } .table-page .topbar { flex-wrap: wrap; gap: 13px; } .table-page .nav { order: 3; flex-basis: 100%; justify-content: flex-start; } }
@media(max-width:800px) { .table-shell, .adventure-home { width: calc(100% - 24px); padding-top: 16px; } .table-layout { display: flex; flex-direction: column; gap: 15px; } .table-center { order: 0; width: 100%; } .table-own { order: 1; position: static; width: 100%; } .table-right { order: 2; width: 100%; grid-template-columns: 1fr; } .table-layout .card { padding: 21px; } .table-banner { padding: 23px; min-height: 190px; align-items: start; flex-direction: column; background-position: 62% center; } .table-banner h1 { max-width: 400px; font-size: 30px; } .table-connection { align-items: center; flex-direction: row; font-size: 9px; } .identity-controls { margin-left: auto; } .identity-controls #identity { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .valley-page .topbar { flex-wrap: wrap; gap: 14px; } .valley-page .nav { flex-basis: 100%; order: 3; justify-content: start; gap: 0; flex-wrap: wrap; } .valley-page .nav a { font-size: 11px; padding: 8px; } .valley-page .brand { font-size: 21px; } .adventure-cover { min-height: 530px; } .adventure-cover-copy { padding: 28px; } .adventure-cover > img { object-position: 64% center; } .adventure-cover::after { background: linear-gradient(90deg, #0a1922e0, #0b1c2570), linear-gradient(0deg, #0a1723e0, transparent 80%); } .adventure-cover h1 { font-size: 43px; } .cover-caption { left: 28px; right: 20px; line-height: 1.8; font-size: 9px; } .adventure-intro { margin: 50px 12px 35px; } .adventure-features { grid-template-columns: 1fr; gap: 14px; } .adventure-promise { padding: 28px !important; } .journal-stamp { white-space: normal; max-width: 70px; text-align: right; } }
@media(prefers-reduced-motion:reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
.sync-error { color: #e7a09c; }
@media(max-width:800px) { .table-center { display: contents; } .table-voice-card { order: 0; width: 100%; } .scene-card { order: 1; width: 100%; } .table-own { order: 2; } .journal-card { order: 3; width: 100%; } .table-right { order: 4; } .transcript-card { order: 5; width: 100%; } }
