:root{--paper:#fbf7ed;--white:#fffef9;--ink:#243b30;--muted:#6a7367;--line:#ddd9c5;--green:#315f4c;--gold:#b18a38;--purple:#73568a;font-family:"BiauKaiWeb","Kaiti TC","DFKai-SB","KaiTi","Noto Serif TC",serif;color:var(--ink);background:var(--paper);font-synthesis:none}
.year-kind{font-size:1rem;font-weight:600;line-height:1.6;margin:0 0 12px;color:var(--green)}.year-card--trough .year-kind,.year-card--trough .year-top strong{color:#625982}.year-card--empty .empty{color:var(--muted)}
.result-footer{margin-top:28px}.feedback{min-width:0;margin:0;padding:0;border:0}.feedback legend{width:100%;margin-bottom:14px;padding:0;text-align:center;font-size:1.125rem}.feedback-options{display:flex;flex-wrap:wrap;justify-content:center;gap:10px}.feedback-options label{position:relative;display:flex;flex-direction:row;align-items:center;gap:9px;min-height:48px;padding:10px 14px;border:1px solid var(--line);border-radius:8px;background:var(--white);font-size:1rem;cursor:pointer}.feedback-options input{width:18px;height:18px;min-height:0;margin:0;padding:0;flex-shrink:0;accent-color:var(--green)}.feedback-options input:checked+span{color:var(--green);font-weight:700}.feedback-options label:has(input:checked){border-color:var(--green);background:#edf2e9;box-shadow:inset 0 0 0 1px var(--green)}.feedback-options label:hover{border-color:var(--green)}#feedbackNote{margin:12px 0 20px;color:var(--muted);font-size:.875rem;text-align:center}.result-actions{display:flex;flex-direction:column;align-items:stretch;gap:12px}.result-actions>*{display:flex;align-items:center;justify-content:center;min-width:0;min-height:52px;padding:12px 18px;border-radius:8px;font-size:1rem;line-height:1.7;text-align:center;text-decoration:none;cursor:pointer;overflow-wrap:anywhere}.restart-button{flex:none;border:1px solid var(--green);background:var(--white);color:var(--green)}.restart-button:hover{background:#edf2e9}.coffee-button{flex:none;border:1px solid #dfbb56;background:#ffdd80;color:#382d19;font-weight:700}.coffee-button:hover{background:#f5cd64}.coffee-button:focus-visible{outline:3px solid #c39a48;outline-offset:3px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
*{box-sizing:border-box}body{margin:0;line-height:1.85}button,input,select{font:inherit}[hidden]{display:none!important}.wrap{max-width:800px;margin:auto;padding:40px 24px 64px}header{padding:0 4px 24px}.brand{font-family:system-ui,sans-serif;font-size:13px;letter-spacing:.14em;color:var(--green)}.brand span{letter-spacing:.06em;color:var(--muted)}h1{font-size:clamp(32px,6vw,48px);font-weight:600;line-height:1.4;letter-spacing:.06em;margin:20px 0 12px}.intro{font-size:17px;color:var(--muted);margin:0}h2,h3,p{margin-top:0}.input-card{background:var(--white);border:1px solid var(--line);border-top:3px solid var(--gold);padding:26px 28px;border-radius:4px 4px 16px 16px}h2{font-size:22px;font-weight:600;margin-bottom:18px}.fields{display:grid;grid-template-columns:1.5fr 1.15fr .85fr;gap:14px}label{display:flex;flex-direction:column;gap:8px;font-size:15px}input,select{width:100%;min-width:0;min-height:48px;border:1px solid #c8d1c5;border-radius:8px;padding:8px 10px;background:#fff;color:var(--ink);font-size:16px;color-scheme:light}input:focus-visible,select:focus-visible,button:focus-visible{outline:3px solid #c39a48;outline-offset:3px}.hint,.privacy{font-size:13px;line-height:1.7;color:var(--muted);margin:14px 0}.primary{width:100%;min-height:52px;padding:12px 20px;border:0;border-radius:8px;background:var(--green);color:#fff;font-size:18px;cursor:pointer;display:flex;justify-content:space-between;align-items:center}.primary:hover{background:#234c3b}.primary:disabled{opacity:.7;cursor:wait}.privacy{margin-bottom:0;text-align:center}.status{font-size:14px;margin:10px 0 0;color:#954338}.status:empty{display:none}#result{margin-top:42px;scroll-margin-top:20px;outline:none}.result-heading{border-bottom:1px solid var(--line);padding-bottom:20px}.result-heading h2{font-size:28px;margin-bottom:6px}.result-heading p{font-size:14px;color:var(--muted);margin:0}.reading{padding:30px 4px;border-bottom:1px solid var(--line)}.section-label{display:flex;gap:14px;align-items:baseline;margin-bottom:18px}.section-label>span{font-family:Georgia,serif;font-size:24px;color:var(--gold)}.section-label h3{font-size:23px;font-weight:600;margin:0}.reading p{font-size:18px;line-height:1.95;margin:0 0 12px}.reading p:last-child{margin-bottom:0}.reading .basis{font-size:13px;color:var(--muted);margin-top:18px}.period-tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:16px}.period-tags span{background:#edf2e9;color:#345b43;border:1px solid #d8e3d2;border-radius:5px;font-size:14px;padding:5px 10px}.period-tags span+span{background:#f2edf6;color:#725583;border-color:#e3d9e9}.reading .section-intro{font-size:15px;color:var(--muted);margin-bottom:20px}.highlights{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.year-card{padding:22px;background:var(--white);border:1px solid var(--line);border-radius:10px}.year-top{display:flex;align-items:baseline;gap:10px;flex-wrap:wrap}.year-top strong{font-family:Georgia,serif;color:var(--green);font-size:38px;font-weight:400;line-height:1.3}.year-top span{color:var(--muted);font-size:14px}.year-card .source{font-size:13px;color:#947027;margin:8px 0 12px}.year-card p{font-size:16px}.highlights>.empty{grid-column:1/-1;font-size:16px;color:var(--muted)}.contact{background:var(--ink);color:#fff7e7;border-radius:12px;padding:30px;margin-top:30px}.contact p{font-size:22px;line-height:1.7;margin-bottom:16px}.contact>span{font-family:system-ui,sans-serif;font-size:13px;letter-spacing:.2em;color:#e6cb8f}.footnote{font-size:13px;color:var(--muted);padding:18px 4px 0;margin-bottom:0}@media(max-width:560px){.wrap{padding:24px 18px 40px}.input-card{padding:22px 18px}.fields{grid-template-columns:1fr 1fr}.fields label:first-child{grid-column:1/-1}.highlights{grid-template-columns:1fr}.reading{padding:25px 0}.reading p{font-size:17px}.contact{padding:24px}.contact p{font-size:20px}}@media(prefers-reduced-motion:no-preference){#result{animation:enter .35s ease-out}@keyframes enter{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}}
