.chat-page .chat-interaction-actions.has-guide-choices{display:flex;flex-direction:column;gap:12px}.chat-page .chat-interaction-actions.has-guide-choices>.player-thumb-rail{position:relative;right:auto;bottom:auto;display:flex;flex:none;justify-content:flex-end;padding-inline:8px}.story-state-sheet-content.is-guide{top:50%;bottom:auto;max-height:calc(var(--if-modal-viewport-height, 100dvh) - max(16px,env(safe-area-inset-top)) - max(16px,env(safe-area-inset-bottom)));transform:translate(-50%,-50%);width:min(400px,calc(100% - 24px));border:0;border-radius:18px;box-shadow:var(--if-glass-shadow-compact)}.story-state-guide{width:100%;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.65) transparent;padding:16px;color:var(--if-label);font-family:inherit;overflow-wrap:anywhere}.story-state-guide::-webkit-scrollbar{width:4px}.story-state-guide::-webkit-scrollbar-track{background:transparent}.story-state-guide::-webkit-scrollbar-thumb{border-radius:var(--if-radius-pill);background:#ffffffa6}.story-state-guide-header{display:flex;align-items:center;gap:8px;margin-bottom:8px;color:var(--if-label);font-size:16px;line-height:22px;font-weight:600}.story-state-guide-header img{width:28px;height:28px;border:0;border-radius:50%;object-fit:cover;object-position:center 20%}.story-state-guide h2{margin:0;color:var(--if-label-secondary);font-size:15px;line-height:1.45;font-weight:500}.story-state-guide h3{margin:18px 0 12px;font-size:12px;line-height:18px;font-weight:500;color:var(--if-label-secondary)}.story-state-guide dl{margin:0}.story-state-guide dt{font-size:14px;line-height:20px;font-weight:600}.story-state-guide dd{margin:3px 0 0;color:var(--if-label-secondary);font-size:13px;line-height:1.5}.story-state-guide dl>div+div{margin-top:14px}.story-state-guide-done{width:100%;min-height:40px;margin-top:18px;border:0;border-radius:var(--if-radius-pill);padding:10px 12px;background:var(--if-action-fill);color:var(--if-on-action);font:inherit;font-size:14px;line-height:20px;font-weight:600;cursor:pointer}.story-state-guide-done:hover,.story-state-guide-done:focus-visible{background:var(--if-action-hover);outline:0}.story-state-guide-nudge{position:absolute;right:calc(100% + 6px);top:50%;transform:translateY(-50%);border:0;border-radius:var(--if-radius-pill);background:var(--if-glass-clear);backdrop-filter:var(--if-glass-clear-filter);-webkit-backdrop-filter:var(--if-glass-clear-filter);display:flex;align-items:center;min-height:28px;padding:5px 10px;color:var(--if-label);font:500 12px/18px -apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;white-space:nowrap;pointer-events:auto}.story-state-sheet{--story-state-top: max(64px, calc(var(--if-safe-area-top) + 12px));position:fixed;z-index:84;inset:0;color:var(--if-label)}.story-state-sheet-scrim{position:absolute;inset:0;border:0;background:var(--if-material-standard)}.story-state-sheet-content{position:absolute;bottom:calc(100% - var(--story-state-toggle-top) + 8px);left:50%;display:flex;flex-direction:column;width:min(400px,calc(100% - 24px));max-height:calc(min(var(--story-state-toggle-top),var(--if-modal-viewport-height, 100dvh)) - var(--story-state-top) - 8px);overflow:hidden;border:0;border-radius:18px;background:var(--if-glass-regular-surface);box-shadow:var(--if-glass-shadow);backdrop-filter:var(--if-glass-regular-filter);-webkit-backdrop-filter:var(--if-glass-regular-filter);transform:translate(-50%)}.story-state-panel{display:grid;grid-template-rows:auto minmax(0,1fr);width:100%;min-height:0;max-height:inherit;overflow:hidden;color:var(--if-label);font-family:inherit;font-size:14px;line-height:1.5;overflow-wrap:anywhere}.story-state-panel-header{display:flex;justify-content:space-between;gap:8px;flex:0 0 auto;margin:0 16px;padding:16px 0 8px;align-items:flex-start}.story-state-panel-header h2{min-width:0;margin:0;font-size:16px;font-weight:600}.story-state-panel-status{display:inline-flex;align-items:center;gap:7px;color:var(--if-label-secondary);font-size:12px;white-space:nowrap}.story-state-panel-status:before{width:7px;height:7px;flex:0 0 auto;border-radius:50%;background:var(--if-success);content:""}.story-state-panel-status.is-pending:before{background:var(--if-accent)}.story-state-panel-body{flex:1 1 auto;min-height:0;overflow-y:auto;padding:0 16px 16px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.65) transparent}.story-state-action{padding:10px 0 14px}.story-state-action h3,.story-state-row dt{margin:0;color:var(--if-label-secondary);font-size:14px;font-weight:500;line-height:1.5}.story-state-action blockquote{margin:8px 0 0;padding:10px 12px;border-radius:12px;background:var(--if-material-standard);font-size:14px;white-space:pre-wrap}.story-state-group{padding-top:8px}.story-state-group+.story-state-group{margin-top:16px}.story-state-cast{display:flex;align-items:center;gap:8px}.story-state-cast img{width:28px;height:28px;flex:0 0 auto;border:0;border-radius:50%;object-fit:cover;object-position:center 20%}.story-state-cast h3{margin:0;font-size:14px;font-weight:650}.story-state-list{margin:10px 0 0}.story-state-list:first-child{margin-top:0}.story-state-row{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:8px 12px}.story-state-row+.story-state-row{margin-top:16px}.story-state-row dd{min-width:0;margin:0}.story-state-value{display:flex;align-items:center;gap:10px;border:0;border-radius:var(--if-radius-content);background:var(--if-material-standard);padding:8px 10px}.story-state-value strong{min-width:0;font-size:14px;font-weight:650;white-space:pre-wrap}.story-state-readout{display:flex;min-width:0;align-items:center;gap:10px}.story-state-row.is-number{row-gap:16px}.is-number .story-state-value{position:relative;justify-content:flex-end;align-items:center;gap:12px;background:var(--if-material-standard);padding:12px 12px 24px}.is-number .story-state-readout{display:block;min-width:56px;text-align:center}.story-state-gauge+.story-state-readout{padding-left:4px}.is-number .story-state-value:before{content:none}.is-number .story-state-value strong{display:block;font-size:22px;font-weight:700;font-variant-numeric:tabular-nums;line-height:1}.story-state-change{flex:0 0 auto;border:0;padding:0;color:var(--if-label-secondary);font-size:12px;font-style:normal;font-variant-numeric:tabular-nums}.is-number .story-state-change{display:inline-block;margin-bottom:6px;border:0;font-size:11px;line-height:1}.story-state-change[data-direction=up]{color:var(--if-success)}.story-state-change[data-direction=down]{color:var(--if-accent)}.story-state-gauge{position:relative;flex:1;min-width:0}.story-state-gauge meter{display:block;width:100%;height:10px;appearance:none;border:0;border-radius:0;background:var(--if-surface-raised);-webkit-mask-image:repeating-linear-gradient(to right,#000 0 calc(5% - 3px),transparent calc(5% - 3px) 5%);mask-image:repeating-linear-gradient(to right,#000 0 calc(5% - 3px),transparent calc(5% - 3px) 5%)}.story-state-gauge meter::-webkit-meter-bar{height:10px;border:0;border-radius:0;background:var(--if-surface-raised);box-shadow:none}.story-state-gauge meter::-webkit-meter-optimum-value,.story-state-gauge meter::-webkit-meter-suboptimum-value,.story-state-gauge meter::-webkit-meter-even-less-good-value{border-radius:0;background:var(--if-label)}.story-state-gauge meter::-moz-meter-bar{background:var(--if-label)}.story-state-scale{position:absolute;top:100%;left:0;right:0;display:flex;justify-content:space-between;margin-top:8px;color:var(--if-label-secondary);font-size:10px;font-variant-numeric:tabular-nums}.story-state-toggle{position:relative;display:grid;width:var(--if-control-min);height:var(--if-control-min);place-items:center;border:1px solid var(--if-glass-border);border-radius:var(--if-radius-pill);background:var(--if-glass-clear-surface);padding:0;color:var(--if-label);box-shadow:var(--if-glass-shadow-compact);backdrop-filter:var(--if-glass-clear-filter);-webkit-backdrop-filter:var(--if-glass-clear-filter);pointer-events:auto;touch-action:manipulation;cursor:pointer}.story-state-unread-badge{position:absolute;top:-2px;right:-2px;display:grid;width:16px;height:16px;place-items:center;border:1px solid var(--if-bg);border-radius:var(--if-radius-pill);background:var(--if-label);color:var(--if-bg);font:700 10px/1 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;pointer-events:none}.story-state-toggle:disabled{color:var(--if-label-tertiary);pointer-events:none}.story-state-toggle.is-relocated{visibility:hidden}.story-state-toggle.is-anchored{position:fixed;z-index:1}.story-state-toggle.is-open{background:var(--if-glass-regular-surface)}.story-state-toggle:focus-visible,.story-state-panel-body:focus-visible{outline:0}@media(prefers-reduced-transparency:reduce){.story-state-sheet-content,.story-state-toggle{background:var(--if-glass-thick);backdrop-filter:none;-webkit-backdrop-filter:none}}@media(prefers-contrast:more){.story-state-sheet-content,.story-state-value,.story-state-toggle,.story-state-change{border-color:var(--if-label-secondary)}}.story-state-scene{margin:3px 0 0;color:var(--if-label-secondary);font-size:12px}.story-state-panel-status{margin-top:4px;font-size:11px}.story-state-guide-link{display:flex;align-items:center;gap:5px;min-height:32px;border:0;border-radius:16px;padding:6px 10px;background:var(--if-material-standard);color:var(--if-label-secondary);font:inherit;font-size:12px;cursor:pointer}.story-state-empty{margin:12px 0 4px;color:var(--if-label-secondary);font-size:14px}.story-state-panel-body::-webkit-scrollbar{width:3px}.story-state-panel-body::-webkit-scrollbar-thumb{background:#ffffffa6;border-radius:3px}.mature-content-badge{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;vertical-align:middle;line-height:1}.mature-content-badge svg{display:block}
