@charset "UTF-8";*,:before,:after{box-sizing:border-box}html{font-family:system-ui,Segoe UI,Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";line-height:1.15;-webkit-text-size-adjust:100%;tab-size:4}body{margin:0}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-color:currentcolor}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}legend{padding:0}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}:root{--theme-font-display: "Cinzel", Georgia, serif;--theme-font-body: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--theme-font-accent: "Lora", Georgia, serif;--theme-text-primary: #2a241a;--theme-text-secondary: #544630;--theme-text-tertiary: #7a6a55;--theme-text-on-dark: #ffffff;--theme-text-banner: #6b5033;--theme-text-banner-subtitle: #7a5d3d;--theme-text-banner-shadow-main: #1a3650;--theme-text-banner-shadow-glow: rgba(12, 34, 52, .8);--theme-color-source-default: #ffffff;--theme-color-source-treasure: #fdda56;--theme-color-source-victory: #8efb49;--theme-color-source-curse: #d45ffb;--theme-color-source-duration: #ff8d34;--theme-color-source-event: #ffe0a8;--theme-color-source-landmark: #ffd09d;--theme-color-source-project: #b6f1ad;--theme-color-way: #9fc6ff;--theme-color-source-boon: #a4f0ff;--theme-color-source-hex: #f2a9ff;--theme-color-source-state: #c4d4ff;--theme-color-source-artifact: #ffdca8;--theme-color-winner: #b89340;--theme-surface-app-start: #efe7da;--theme-surface-app-end: #e4d7c1;--theme-surface-header: #c1a277;--theme-surface-nav: #e6dac6;--theme-surface-panel: #e8d8c1;--theme-surface-card: #f2e9da;--theme-surface-danger-soft: #f9dfd8;--theme-surface-count-badge: #c1a277;--theme-border-subtle: #bca98d;--theme-border-medium: #9e8b72;--theme-border-section-light: #c8b798;--theme-border-strong: #7f6746;--theme-border-action: #826a48;--theme-border-danger: #b84d38;--theme-action-secondary-bg: #f4ecde;--theme-action-nav-selected-bg: #dbc39a;--theme-action-primary-bg: #dcc093;--theme-action-primary-muted-bg: #e1c89e;--theme-action-danger-soft-bg: #f0cbcb;--theme-action-disabled-bg: #d8d0c2;--theme-action-disabled-opacity: .65;--theme-border-disabled: #a99981;--theme-text-disabled: #6b6153;--theme-accent-gold: #8b6f47;--theme-color-ready: #2e7d32;--theme-overlay-color: #000000;--theme-overlay-alpha-soft: .5;--theme-overlay-alpha-medium: .6;--theme-overlay-alpha-strong: .8;--theme-panel-bg: rgba(0, 0, 0, var(--theme-overlay-alpha-medium));--card-width: 150px;--card-height: 240px;--card-small-height: 150px;--card-landscape-width: 280px;--card-landscape-height: 124px}:root[data-theme=dark]{--theme-text-primary: #e8dfd2;--theme-text-secondary: #a99b87;--theme-text-tertiary: #7a6e5e;--theme-text-banner: #5a4220;--theme-text-banner-subtitle: #6b5033;--theme-text-banner-shadow-main: #000000;--theme-text-banner-shadow-glow: rgba(0, 0, 0, .9);--theme-color-source-default: #f0e8dc;--theme-color-source-treasure: #e6c54a;--theme-color-source-victory: #6fa84a;--theme-color-source-curse: #b054d4;--theme-color-source-duration: #d97a2c;--theme-color-winner: #e6c54a;--theme-surface-app-start: #1a1714;--theme-surface-app-end: #231f1a;--theme-surface-header: #3d3226;--theme-surface-nav: #231f1a;--theme-surface-panel: #2c2620;--theme-surface-card: #342d25;--theme-surface-danger-soft: #4a2620;--theme-surface-count-badge: #5a4e3e;--theme-border-subtle: #3d3429;--theme-border-medium: #5a4e3e;--theme-border-section-light: #4a3f32;--theme-border-strong: #8b7a62;--theme-border-action: #6b5d48;--theme-border-danger: #c45a42;--theme-accent-gold: #c9a84c;--theme-action-secondary-bg: #2c2620;--theme-action-nav-selected-bg: #4a3f32;--theme-action-primary-bg: #5a4e3e;--theme-action-primary-muted-bg: #453b2e;--theme-action-danger-soft-bg: #5a2e25;--theme-action-disabled-bg: #2a251f;--theme-border-disabled: #4a4238;--theme-text-disabled: #6b6153;--theme-color-ready: var(--theme-color-source-victory)}html,body{margin:0;padding:0;min-height:100%;background:linear-gradient(150deg,var(--theme-surface-app-start) 0%,var(--theme-surface-app-end) 100%);color:var(--theme-text-primary);font-family:var(--theme-font-body);transition:background-color .18s ease,color .18s ease}h1,h2,h3,h4{font-family:var(--theme-font-display);letter-spacing:.02em}button,input,select,textarea{font-family:inherit}button{transition:background-color .12s ease,border-color .12s ease,color .12s ease,opacity .12s ease,filter .12s ease}button:not(:disabled){cursor:pointer}button:disabled{cursor:not-allowed;background:var(--theme-action-disabled-bg);border-color:var(--theme-border-disabled);color:var(--theme-text-disabled);opacity:var(--theme-action-disabled-opacity);filter:saturate(.45)}hr{all:unset}.close-button{position:absolute;top:2px;right:2px;z-index:1;font-size:24px;color:var(--theme-text-on-dark);background:var(--theme-border-danger);padding:2px 4px;cursor:pointer;pointer-events:auto}.form-field{display:flex;flex-direction:column;gap:4px}.form-label{font-weight:600;font-size:.875rem;color:var(--theme-text-secondary)}.form-input{width:100%;padding:10px 12px;border:1px solid var(--theme-border-action);border-radius:6px;background:var(--theme-surface-panel);color:var(--theme-text-primary);font-size:1rem;outline:none;box-sizing:border-box}.form-input:focus{border-color:var(--theme-border-strong);box-shadow:0 0 0 2px #826a4833}.form-input:disabled{opacity:.5;cursor:not-allowed}.form-input-wrapper{position:relative;display:flex;align-items:center}.form-input-wrapper .form-input{padding-right:40px}.form-input-toggle{position:absolute;right:8px;background:none;border:none;cursor:pointer;padding:4px;color:var(--theme-text-secondary);display:flex;align-items:center;border-radius:4px}.form-input-toggle:hover{color:var(--theme-text-primary)}.form-input-toggle:focus-visible{outline:2px solid var(--theme-border-strong);outline-offset:2px}.form-field-error{margin:0;color:var(--theme-border-danger);font-size:.875rem;font-weight:500}
