/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.container{width:100%}@media (width>=40rem){.container{max-width:40rem}}@media (width>=48rem){.container{max-width:48rem}}@media (width>=64rem){.container{max-width:64rem}}@media (width>=80rem){.container{max-width:80rem}}@media (width>=96rem){.container{max-width:96rem}}.block{display:block}.contents{display:contents}.flex{display:flex}.table{display:table}}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--background:#fbf8fe;--foreground:#3a2f4f;--card:#fff;--card-foreground:#3a2f4f;--popover:#fff;--popover-foreground:#3a2f4f;--primary:#7b5cc7;--primary-foreground:#fff;--secondary:#f3eefb;--secondary-foreground:#4a3d63;--muted:#f5f1fa;--muted-foreground:#73688a;--accent:#f2a7c3;--accent-foreground:#3a2f4f;--gold:#e58fb0;--gold-soft:#fdeff5;--destructive:oklch(56% .2 28);--border:#ece4f5;--input:#ece4f5;--ring:#b9a3ec;--wuxing-wood:oklch(48% .11 160);--wuxing-fire:oklch(52% .18 28);--wuxing-earth:oklch(48% .09 65);--wuxing-metal:oklch(53% .12 80);--wuxing-water:oklch(45% .12 248);--sky-top:#e7ddfb;--sky-mid:#fbeff6;--sky-bottom:#ffd3df;--sky-ink:#3b2a5c;--sky-gold:#a84f78;--radius:.75rem;--font-sans:"Hiragino Maru Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", sans-serif}html,body,#root{min-height:100%}body{background:var(--background);color:var(--foreground);font-family:var(--font-sans);-webkit-text-size-adjust:100%;-webkit-font-smoothing:antialiased;margin:0}.page{box-sizing:border-box;max-width:480px;min-height:100svh;padding:max(24px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));margin:0 auto}.page-center{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;display:flex}.page-title{color:var(--primary);margin:0;font-size:1.5rem;font-weight:600;line-height:1.4}.page-lead{margin:0;font-size:1rem;line-height:1.8}.page-note{color:var(--muted-foreground);margin:0;font-size:.875rem}.button{border-radius:var(--radius);background:var(--primary);min-height:44px;color:var(--primary-foreground);font:inherit;cursor:pointer;border:0;margin-top:12px;padding:0 28px;font-size:1rem}.button:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.stack{flex-direction:column;gap:20px;display:flex}.stack-tight{flex-direction:column;gap:6px;display:flex}.page-note-center{text-align:center;font-size:.75rem}.field-group{border:0;flex-direction:column;gap:8px;min-width:0;margin:0;padding:0;display:flex}.field-label{color:var(--secondary-foreground);padding:0;font-size:.875rem;font-weight:600}.field-sub{border-radius:var(--radius);background:var(--secondary);flex-direction:column;gap:8px;padding:12px;display:flex}.field-sub-label{font-size:.875rem}.field-hint,.field-note{color:var(--muted-foreground);margin:0;font-size:.8125rem;line-height:1.6}.field-warning{color:var(--wuxing-earth);margin:0;font-size:.8125rem;line-height:1.6}.field-error{color:var(--destructive);margin:0;font-size:.8125rem;line-height:1.6}.input{box-sizing:border-box;border:1px solid var(--input);border-radius:var(--radius);background:var(--card);width:100%;min-height:44px;color:var(--foreground);font:inherit;padding:0 12px;font-size:1rem}.input:focus-visible{outline:2px solid var(--ring);outline-offset:1px}.input[aria-invalid=true]{border-color:var(--destructive)}.choice-row{gap:8px;display:flex}.choice-row-stack{flex-direction:column}.choice{border:1px solid var(--input);border-radius:var(--radius);background:var(--card);cursor:pointer;flex:1;align-items:center;gap:10px;min-height:44px;padding:0 12px;font-size:1rem;display:flex;position:relative}.choice:has(input:checked){border-color:var(--primary);background:var(--gold-soft)}.choice:has(input:focus-visible){outline:2px solid var(--ring);outline-offset:2px}.choice input{width:20px;height:20px;accent-color:var(--primary);margin:0}.suggestions{border:1px solid var(--border);border-radius:var(--radius);background:var(--card);flex-direction:column;margin:0;padding:0;list-style:none;display:flex;overflow:hidden}.suggestions li+li{border-top:1px solid var(--border)}.suggestion{width:100%;min-height:44px;color:inherit;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;padding:10px 12px;font-size:.9375rem;line-height:1.5;display:block}.suggestion:focus-visible{outline:2px solid var(--ring);outline-offset:-2px}.link-button{min-height:44px;color:var(--primary);font:inherit;cursor:pointer;background:0 0;border:0;padding:0 4px;text-decoration:underline}.gift{border:1px solid var(--gold);border-radius:var(--radius);background:var(--gold-soft);text-align:center;margin:0;padding:12px 14px;font-size:.9375rem}.gift-title{margin:0;font-weight:700}.gift-detail{color:var(--muted-foreground);text-align:left;margin:4px 0 0;font-size:.8125rem}.button-primary{width:100%;margin-top:0}.button-secondary{border:1px solid var(--border);width:100%;color:var(--primary);background:0 0;margin-top:0}.button:disabled{opacity:.6;cursor:default}.summary{border:1px solid var(--border);border-radius:var(--radius);background:var(--card);flex-direction:column;margin:0;display:flex}.summary-row{flex-direction:column;gap:2px;padding:12px 14px;display:flex}.summary-row+.summary-row{border-top:1px solid var(--border)}.summary dt{color:var(--muted-foreground);font-size:.8125rem}.summary dd{margin:0;font-size:1rem;line-height:1.5}.home{gap:16px}.home-header{justify-content:space-between;align-items:center;display:flex}.home-logo{width:auto;height:24px;display:block}.credit-badge{background:var(--gold-soft);color:var(--sky-gold);white-space:nowrap;border-radius:999px;padding:4px 10px;font-size:.8125rem;font-weight:600}.sky-card{background:linear-gradient(180deg, var(--sky-top) 0%, var(--sky-mid) 72%, var(--sky-bottom) 100%);color:var(--sky-ink);border-radius:16px;flex-direction:column;gap:16px;padding:24px 20px 28px;display:flex}.sky-eyebrow{letter-spacing:.08em;margin:0;font-size:.8125rem}.sky-archetype{overflow-wrap:anywhere;margin:0;font-size:2.125rem;font-weight:700;line-height:1.3}.sky-slogan{border-left:3px solid var(--sky-gold);margin:0;padding-left:12px;font-size:1rem;line-height:1.8}.sky-tags{flex-wrap:wrap;gap:4px 14px;margin:0;padding:0;font-size:.875rem;list-style:none;display:flex}.sky-card-status{gap:12px}.sky-status-title{margin:0;font-size:1.25rem;font-weight:600;line-height:1.5}.sky-status-hint{margin:0;font-size:.875rem;line-height:1.7}.progress-dots{gap:8px;padding:12px 0 4px;display:flex}.progress-dots span{background:var(--sky-gold);border-radius:50%;width:10px;height:10px;animation:1.4s cubic-bezier(.22,1,.36,1) infinite progress-pulse}.progress-dots span:nth-child(2){animation-delay:.2s}.progress-dots span:nth-child(3){animation-delay:.4s}@keyframes progress-pulse{0%,to{opacity:.25}50%{opacity:1}}@media (prefers-reduced-motion:reduce){.progress-dots span{animation:none}}.share-slot:empty{display:none}.notice-card{border:1px solid var(--border);background:var(--card);border-radius:16px;flex-direction:column;gap:8px;padding:20px;display:flex}.notice-title{color:var(--primary);margin:0;font-size:1.125rem;font-weight:600}.notice-body,.notice-balance,.notice-soon{margin:0;font-size:.9375rem;line-height:1.7}.notice-balance{font-weight:600}.notice-soon{color:var(--wuxing-earth)}.notice-card .button-primary{margin-top:8px}.home-list{border:1px solid var(--border);border-radius:var(--radius);background:var(--card);flex-direction:column;display:flex}.home-list-item{min-height:48px;color:inherit;justify-content:space-between;align-items:center;padding:0 14px;font-size:.9375rem;text-decoration:none;display:flex}.home-list-item+.home-list-item{border-top:1px solid var(--border)}.home-list-item:focus-visible,.back-link:focus-visible{outline:2px solid var(--ring);outline-offset:-2px}.script-fallback{border:1px solid var(--border);background:var(--card);border-radius:16px;padding:20px}.back-link{min-height:44px;color:var(--primary);align-self:flex-start;align-items:center;font-size:.9375rem;text-decoration:none;display:inline-flex}.markdown{overflow-wrap:anywhere;min-width:0;font-size:1rem;line-height:1.9}.markdown>:first-child{margin-top:0}.markdown h2,.markdown h3,.markdown h4,.markdown h5,.markdown h6{color:var(--primary);margin:1.6em 0 .5em;font-weight:600;line-height:1.5}.markdown h2{font-size:1.3125rem}.markdown h3{font-size:1.125rem}.markdown h4,.markdown h5,.markdown h6{font-size:1rem}.markdown p{margin:.8em 0}.markdown ul,.markdown ol{margin:.8em 0;padding-left:1.4em}.markdown ul{list-style:outside}.markdown ol{list-style:decimal}.markdown blockquote{border-left:3px solid var(--gold);color:var(--secondary-foreground);margin:1em 0;padding:2px 0 2px 12px}.markdown blockquote p{margin:.3em 0}.markdown hr{border:0;border-top:1px solid var(--border);margin:1.6em 0}.markdown code{background:var(--muted);border-radius:4px;padding:1px 5px;font-size:.875em}.markdown pre{border-radius:var(--radius);background:var(--muted);padding:12px;overflow-x:auto}.markdown pre code{background:0 0;padding:0}.markdown-table{margin:1em 0;overflow-x:auto}.markdown table{border-collapse:collapse;width:100%;font-size:.875rem;line-height:1.6}.markdown th,.markdown td{border:1px solid var(--border);text-align:left;vertical-align:top;padding:8px 10px}.markdown th{background:var(--secondary);font-weight:600}.button-line{color:#fff;background:#06c755;width:100%;min-height:52px;margin-top:0;font-weight:700}.button-line:focus-visible{outline-color:#06c755}.share-notice{text-align:center;color:var(--muted-foreground);margin-top:8px;font-size:.875rem}.share-notice:empty{display:none}.share-notice p{margin:0}.share-link{border:1px solid var(--border);border-radius:var(--radius);background:var(--card);color:var(--foreground);word-break:break-all;-webkit-user-select:all;user-select:all;margin-top:6px;padding:10px 12px;font-size:.75rem}.section-title{color:var(--primary);margin:0;font-size:1rem;font-weight:600}.pillars{grid-template-columns:repeat(4,1fr);gap:8px;display:grid}.pillar{border:1px solid var(--border);border-radius:var(--radius);background:var(--card);text-align:center;flex-direction:column;align-items:center;gap:4px;padding:12px 4px;display:flex}.pillar-label{color:var(--muted-foreground);font-size:.75rem}.pillar-gz{color:var(--primary);font-size:1.5rem;font-weight:600;line-height:1.3}.pillar-god{min-height:1.2em;color:var(--muted-foreground);font-size:.75rem}.pillar-unknown{color:var(--muted-foreground);margin:auto 0;padding:16px 0;font-size:1rem}.luck-list{grid-template-columns:repeat(2,1fr);gap:8px;margin:0;padding:0;list-style:none;display:grid}.luck-item{border:1px solid var(--border);border-radius:var(--radius);background:var(--card);justify-content:space-between;align-items:baseline;gap:8px;padding:10px 12px;display:flex}.luck-age{color:var(--muted-foreground);font-size:.8125rem}.luck-gz{color:var(--primary);font-size:1.125rem;font-weight:600}.modal-backdrop{z-index:10;background:#3a2f4f73;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.modal{box-sizing:border-box;width:100%;max-width:480px;max-height:92svh;padding:24px 20px max(24px, env(safe-area-inset-bottom));border-radius:var(--radius) var(--radius) 0 0;background:var(--background);overflow-y:auto}.modal-title{color:var(--primary);margin:0;font-size:1.25rem;font-weight:600}.modal-title:focus{outline:none}.chat{flex-direction:column;gap:12px;display:flex}.chat-header{justify-content:space-between;align-items:center;display:flex}.chat-messages{flex-direction:column;flex:1;gap:12px;display:flex}.chat-empty{text-align:center;margin:auto 0}.chat-empty-title{color:var(--primary);margin:0 0 4px;font-size:1.0625rem;font-weight:600}.chat-bubble{box-sizing:border-box;border-radius:var(--radius);overflow-wrap:anywhere;white-space:pre-wrap;max-width:88%;padding:10px 14px;font-size:.9375rem;line-height:1.7}.chat-bubble-user{background:var(--primary);color:var(--primary-foreground);align-self:flex-end}.chat-bubble-ai{border:1px solid var(--border);background:var(--card);white-space:normal;align-self:flex-start}.chat-bubble-ai .markdown>:first-child{margin-top:0}.chat-bubble-ai .markdown>:last-child{margin-bottom:0}.chat-thinking{color:var(--muted-foreground)}.chat-composer{padding:12px 0 max(0px, env(safe-area-inset-bottom));background:var(--background);flex-direction:column;gap:8px;display:flex;position:sticky;bottom:0}.chat-input{resize:none}.chat-meta{justify-content:space-between;align-items:baseline;gap:12px;font-size:.8125rem;display:flex}.chat-price,.chat-count{color:var(--muted-foreground)}.chat-count-over{color:var(--destructive)}.chat-composer .button{margin-top:0}.visually-hidden{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.home-settings-link{min-height:44px;color:var(--muted-foreground);text-underline-offset:3px;align-self:center;align-items:center;padding:0 12px;font-size:.8125rem;text-decoration:underline;display:inline-flex}.home-settings-link:focus-visible{outline:2px solid var(--ring);outline-offset:2px}.home-footer{align-self:center;align-items:center;display:flex}.home-footer-sep{color:var(--border);font-size:.8125rem}.share-bonus{color:var(--muted-foreground);text-align:center;margin:8px 0 0;font-size:.8125rem}.share-bonus p{margin:0}.share-bonus .share-bonus-left{color:var(--sky-gold);margin-top:2px;font-weight:700}.settings-heading{color:var(--muted-foreground);margin:0;font-size:.875rem;font-weight:600}.settings-actions{flex-direction:column;gap:12px;display:flex}.button-danger,.button-danger-outline{width:100%;margin-top:0}.button-danger{background:var(--destructive);color:var(--primary-foreground)}.button-danger-outline{border:1px solid var(--destructive);color:var(--destructive);background:0 0}.legal{padding-bottom:max(48px, env(safe-area-inset-bottom));flex-direction:column;gap:12px;display:flex}.legal-brand{letter-spacing:.08em;color:var(--muted-foreground);margin:0;font-size:.8125rem}.legal-title{margin-bottom:4px}.legal-section{flex-direction:column;gap:8px;margin-top:12px;display:flex}.legal-heading{color:var(--primary);margin:0;font-size:1.0625rem;font-weight:600;line-height:1.5}.legal-text,.legal-list{overflow-wrap:anywhere;margin:0;font-size:.9375rem;line-height:1.85}.legal-list{padding-left:1.25rem}.legal-list li+li{margin-top:4px}
