@charset "UTF-8";
/* Match link typography and baseline across both privacy footer actions. */
footer .footer-links{align-items:baseline}footer .privacy-settings{font:inherit;color:var(--green);padding:0;border:0;line-height:inherit;text-decoration:underline;text-underline-offset:initial}
:root{--ink:#243b34;--green:#294d43;--leaf:#e9eee7;--paper:#fffdf8;--bg:#f5f2eb;--line:#dedfd3;--muted:#656f65;--gold:#ac8040;--red:#a34b3b;font-family:"Yu Gothic UI","Hiragino Kaku Gothic ProN",Meiryo,sans-serif;color:var(--ink);background:var(--bg);font-size:14px;line-height:1.65}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select,summary{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}button,input,select{border-radius: 7px;}button{border:1px solid transparent;padding:9px 15px;background:var(--leaf);color:var(--ink)}button:hover{filter:brightness(.96)}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--gold);outline-offset:3px}input,select{border:1px solid var(--line);background:var(--paper);padding:9px 11px;color:var(--ink);max-width:100%}input[type=number]{width:74px;text-align:right;padding:6px 8px}input[type=checkbox]{accent-color:var(--green);width:17px;height:17px}a{color:var(--green)}h1,h2,h3,p{margin-top:0}h2{font-size:19px;letter-spacing:.025em;margin-bottom:0}h3{font-size:17px;margin-bottom:8px}.muted{color:var(--muted)}.small{font-size:12px}.tiny{font-size:11px}.topbar{max-width:1200px;margin:auto;padding:23px 32px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);gap:16px}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;line-height:1.4;font-size:16px;letter-spacing:.08em}.brand small{display:block;font-size:10px;letter-spacing:.1em;color:var(--muted);margin-top:4px}.seal{background:var(--green);color:var(--paper);font-family:serif;font-size:23px;width:42px;height:44px;display:grid;place-items:center;border-radius:5px}.outline{background:transparent;border:1px solid var(--line)}.primary{background:var(--green);color:white}.text-button{background:transparent;padding:3px;color:var(--muted);font-size:12px;text-decoration:underline;text-underline-offset:3px}main{max-width:1136px;margin:auto;padding:0 24px}.hero{display:flex;justify-content:space-between;align-items:center;padding:43px 15px 31px;gap:24px}.eyebrow{font-size:11px;letter-spacing:.15em;color:var(--gold)}h1{font-family:"Yu Mincho","Hiragino Mincho ProN",serif;font-weight:500;font-size:44px;letter-spacing:.09em;line-height:1.45;margin:14px 0 18px}.hero p{color:var(--muted);font-size:13px;line-height:1.9;margin-bottom:0}.hero-art{width:300px;height:230px;position:relative;flex-shrink:0;overflow:hidden}.orbit{position:absolute;border:1px solid #cbd3c3;border-radius:50%;width:205px;height:205px;left:34px;top:8px}.o2{width:185px;height:185px;left:44px;top:18px;border-style:dashed}.art-word{position:absolute;left:106px;top:47px;font-family:serif;font-size:31px;letter-spacing:.26em;color:var(--green);line-height:1.55}.sprig{position:absolute;right:32px;top:2px;font-size:74px;color:#adbb9b;transform:rotate(15deg)}.art-note{position:absolute;left:85px;bottom:0;font-size:10px;letter-spacing:.24em;color:var(--gold)}.stats{display:flex;flex-wrap:wrap;gap:12px 32px;padding:14px 15px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);font-size:12px}.stats b{font-size:17px;font-weight:600;margin-right:4px}.stats>span:last-child{margin-left:auto}.tabs{display:flex;gap:24px;margin:27px 0 24px;border-bottom:1px solid var(--line)}.tabs button{background:none;border-radius:0;border-bottom:3px solid transparent;padding:12px 4px;color:var(--muted);display:flex;gap:12px;align-items:center;font-size:12px}.tabs b{font-size:15px;font-weight:500}.tabs .active{border-bottom-color:var(--green);color:var(--green)}.farm-layout{display:grid;grid-template-columns:340px minmax(0,1fr);gap:28px;align-items:start}.paper{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:20px}.section-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.selector p{margin:8px 0 16px}.search{display:flex;align-items:center;gap:8px;background:var(--paper);border:1px solid var(--line);border-radius:7px;padding:0 10px}.search>span{font-size:24px;color:var(--muted)}.search input{width:100%;border:0;background:none;min-width:0;outline-offset:0}.material-list{max-height:595px;overflow:auto;padding:8px 3px 2px 0;scrollbar-width:thin}.material-row{padding:10px 0;border-bottom:1px solid #eeeee4}.material-top{display:flex;justify-content:space-between;align-items:center;gap:4px}.material-top>label{display:flex;align-items:center;gap:7px;cursor:pointer}.material-top span{font-size:11px;color:var(--muted)}.material-fields{display:flex;align-items:center;justify-content:space-between;margin-top:8px;gap:4px;font-size:11px}.material-fields label{display:flex;align-items:center;gap:4px}.material-fields input[type=number]{width:52px}.priority{font-size:11px;padding:4px 7px;border:1px solid var(--line);background:transparent}.priority.on{background:var(--green);color:white}.filters{display:flex;gap:14px;align-items:end;flex-wrap:wrap;margin-bottom:14px}.filters>label:not(.search){font-size:11px;color:var(--muted);display:flex;flex-direction:column;gap:5px}.filters select{font-size:12px;min-height:41px}.filters .search{flex:1;min-width:190px}.method{font-size:11px;color:var(--muted);line-height:1.8;margin:12px 0 18px}.badge{font-size:11px;padding:3px 9px;background:var(--leaf);border-radius:20px;white-space:nowrap}.needs{display:flex;gap:6px;flex-wrap:wrap;margin:15px 0}.chip{font-size:11px;background:#eeeee5;border-radius:4px;padding:3px 7px;display:inline-block}.chip.match{background:#dfeade;color:var(--green);font-weight:600}.chip.important{border:1px solid var(--gold)}.empty{text-align:center;padding:40px 20px;border:1px dashed #c8cfbf;border-radius:12px;background:#f9f8f1;color:var(--muted)}.empty-symbol{font-size:35px;color:#9aaa90;margin-bottom:10px}.empty h3{font-size:16px;color:var(--ink)}.stage-card{background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:17px;margin-bottom:12px}.stage-card.best{border:1px solid var(--green);box-shadow:0 2px 0 #d6dfd0}.card-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:9px}.stage-id{color:var(--green);font-size:20px;font-family:Georgia,serif;letter-spacing:.07em}.stage-id small{font-family:sans-serif;font-size:10px;letter-spacing:0;margin-left:10px;color:var(--muted)}.card-title{font-size:15px;font-weight:600;margin-bottom:7px}.chips{display:flex;flex-wrap:wrap;gap:5px}.card-meta{font-size:10px;color:var(--muted);margin:10px 0 0}.card-best{color:var(--green);font-size:10px;font-weight:600;letter-spacing:.05em}.warning{color:var(--red);font-size:12px;background:#f8eee7;padding:12px;border-radius:7px;margin:10px 0}.combo{border-top:1px solid var(--line);margin-top:22px;padding-top:18px}.combo h3{font-size:15px}.combo-row{display:flex;gap:12px;padding:7px 0;font-size:12px}.combo-row strong{white-space:nowrap}.stage-section{margin-top:45px;border-top:1px solid var(--line);padding-top:27px}.stage-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.stage-grid .stage-card{margin:0}.stage-grid .stage-id{font-size:17px}.gift-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px}.gift-card{background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:18px}.gift-card h3{font-family:"Yu Mincho",serif;font-size:20px;font-weight:500;margin:9px 0}.gift-card .gift-quantity{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-top:12px;margin-top:15px;font-size:12px}.gift-card details{font-size:11px;margin-top:13px}.gift-card details .chips{margin-top:8px}.gift-summary{display:flex;gap:10px;flex-wrap:wrap}.gift-summary label{font-size:12px}.gift-cart-row{display:flex;align-items:center;gap:8px;margin-bottom:10px}#gift-summary{margin:15px 0}.gift-note{font-size:12px;background:var(--leaf);border-radius:6px;padding:10px;margin:12px 0}.gift-note button{margin-left:8px}.recipe-direct{font-size:12px;line-height:1.9}.recipe-direct span{display:inline-block;margin-right:9px}footer{margin:50px 0 20px;padding-top:20px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}footer details{max-width:800px}footer summary{cursor:pointer;color:var(--ink)}footer p{margin:12px 0;line-height:1.9}.footer-bottom{display:flex;justify-content:space-between;gap:12px;font-size:10px;letter-spacing:.04em;margin-top:30px}dialog{border:1px solid var(--line);border-radius:14px;max-width:580px;width:calc(100% - 28px);padding:24px;color:var(--ink);background:var(--paper);max-height:85vh}dialog::backdrop{background:#18392b66;backdrop-filter:blur(3px)}#inventory-list{max-height:48vh;overflow:auto;margin:12px 0}.inventory-row{display:flex;justify-content:space-between;gap:12px;padding:7px 3px;border-bottom:1px solid var(--line)}.inventory-row label{display:flex;justify-content:space-between;width:100%;align-items:center;gap:15px}.inventory-row small{color:var(--muted);margin-left:8px}.backup-actions{display:flex;gap:10px;flex-wrap:wrap}.import-label{padding:9px 15px;border-radius:7px;cursor:pointer}.import-label input{position:absolute;width:1px;height:1px;opacity:0}#toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);background:var(--green);color:white;padding:13px 22px;border-radius:9px;z-index:5;max-width:calc(100% - 30px);box-shadow:0 5px 20px #0002}.result-more{width:100%;margin-top:4px}[hidden]{display:none!important}@media(max-width:900px){.farm-layout{grid-template-columns:290px minmax(0,1fr);gap:18px}.paper{padding:16px}.stage-grid,.gift-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-art{width:250px}}@media(max-width:650px){.topbar{padding:16px}.brand{font-size:13px;gap:9px}.topbar button{font-size:10px;padding:8px}.brand small{font-size:9px}.seal{width:33px;height:36px;font-size:20px}main{padding:0 16px}.hero{padding:30px 0 25px;gap:0}h1{font-size:32px}.hero-art{width:120px;height:180px;opacity:.8}.orbit{width:120px;height:120px;left:0;top:25px}.o2{width:104px;height:104px;left:8px;top:33px}.sprig{font-size:43px;right:0;top:0}.art-word{left:32px;top:46px;font-size:23px}.art-note{left:0;font-size:8px;bottom:15px}.hero p{font-size:11px}.eyebrow{font-size:9px}.stats{padding:12px 0;gap:8px 15px;font-size:10px}.stats b{font-size:14px}.stats>span:last-child{margin-left:0}.tabs{gap:16px}.tabs button{gap:7px;font-size:10px}.tabs b{font-size:12px}.farm-layout{grid-template-columns:1fr;gap:26px}.material-list{max-height:340px}.material-fields{justify-content:start;gap:14px}.material-fields input[type=number]{width:65px}.stage-grid,.gift-grid{grid-template-columns:1fr}.section-title{flex-wrap:wrap}.section-title h2{font-size:17px}.filters{gap:10px}.filters>label:not(.search){flex:1}.filters select{width:100%}.stage-section{margin-top:32px}.gift-card{padding:18px}.footer-bottom{flex-wrap:wrap}dialog{padding:18px}.material-top span{font-size:10px}}
@media(max-width:650px){h1{font-size:26px;letter-spacing:.06em}.hero-art{width:100px}}@media(max-width:360px){.hero-art{display:none}h1{font-size:30px}}

/* v0.2 readability and new sections */
:root{font-size:16px;line-height:1.7}button{padding:10px 16px}input,select{padding:10px 12px}input[type=number]{width:78px;padding:7px 8px}input[type=checkbox]{width:18px;height:18px}h2{font-size:22px}h3{font-size:19px}.small{font-size:14px}.tiny{font-size:12px}.text-button{font-size:13px}.brand{font-size:17px}.brand small{font-size:11px}.tabs{gap:21px;overflow-x:auto;scrollbar-width:thin}.tabs b{white-space:nowrap}.method{font-size:13px}.badge,.chip{font-size:12px}.material-top span{font-size:12px}.material-fields{font-size:13px}.material-fields input[type=number]{width:60px}.priority{font-size:12px}.filters>label:not(.search){font-size:13px}.filters select{font-size:14px}.card-title{font-size:17px}.card-meta,.card-best{font-size:12px}.stage-id small{font-size:12px}.gift-card .gift-quantity{font-size:14px}.gift-card details{font-size:13px}.gift-note,.recipe-direct,.warning{font-size:13px}footer{font-size:13px}.footer-bottom{font-size:11px}.footer-links{display:flex;gap:20px;flex-wrap:wrap;margin-top:22px}.danger-outline{background:transparent;border:1px solid #c99085;color:var(--red)}.button-link{display:inline-flex;text-decoration:none;padding:9px 15px;border:1px solid var(--line);border-radius:7px}.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.stage-filters{max-width:770px}.chapter-filter{min-width:190px}.combo{border:1px solid #b7c8b7;background:linear-gradient(135deg,#edf3e9,#fffdf8);border-radius:12px;margin:18px 0;padding:20px;box-shadow:0 2px 0 #d6dfd0}.combo h3{font-size:18px;margin-bottom:4px}.combo-kicker{display:block;color:var(--gold);font-size:11px;font-weight:700;letter-spacing:.12em;margin-bottom:6px}.combo-list{display:grid;gap:9px;margin-top:14px}.combo-row{display:flex;align-items:center;gap:12px;padding:10px 12px;background:#ffffffb5;border-radius:8px;font-size:14px}.combo-row strong{color:var(--green);font-size:16px}.auto-label{background:#e3ecdf;color:var(--green)!important;padding:2px 6px;border-radius:10px;font-size:10px!important}.material-row.automatic input[readonly]{background:#f0f3ed;color:var(--green)}.event-notice{color:#76551f;background:#f6eddb;padding:12px;border-radius:7px;margin:10px 0;font-size:13px}.event-notice.compact{padding:9px;margin:8px 0}.sword-picker{display:grid;grid-template-columns:minmax(180px,1fr) minmax(180px,1fr);gap:18px;max-width:800px}.sword-picker>label{display:flex;flex-direction:column;gap:6px;font-size:13px;color:var(--muted)}#sword-detail{grid-column:1/-1;border-top:1px solid var(--line);padding-top:18px}.sword-picker>.primary{grid-column:1/-1;justify-self:start}.sword-name{font-family:"Yu Mincho",serif;font-size:25px;margin-bottom:5px}.source-note{font-size:13px;color:var(--muted);margin-top:16px}.policy-page{max-width:850px;padding-top:48px}.policy-page h1{font-size:40px}.policy-lead{font-size:17px;color:var(--muted);margin-bottom:42px}.policy-page>section{border-top:1px solid var(--line);padding:28px 0 8px}.policy-page>section h2{margin-bottom:13px}.policy-page>section p{line-height:2}.policy-date{text-align:right;color:var(--muted);font-size:13px;margin-top:28px}
@media(max-width:650px){.brand{font-size:12px;line-height:1.45}.brand small{font-size:10px}.topbar button,.topbar .button-link{font-size:11px}.seal{width:36px;height:38px;font-size:21px;flex:0 0 auto}.hero p{font-size:13px}.eyebrow{font-size:10px}.stats{font-size:11px}.stats b{font-size:15px}.tabs button{font-size:11px}.tabs b{font-size:13px}.section-title h2{font-size:20px}.material-top span{font-size:11px}.sword-picker{grid-template-columns:1fr}.sword-picker>label,#sword-detail,.sword-picker>.primary{grid-column:1}.combo{padding:16px}.combo-row{align-items:flex-start}.policy-page{padding-top:32px}.policy-page h1{font-size:31px}}

/* v0.3 consent, aligned filters, and multi-character selection */
.filters .search,.filters select{height:48px;min-height:48px}.filters .search input{height:100%;padding-top:0;padding-bottom:0}.sword-actions{grid-column:1/-1;display:flex;gap:10px}.sword-selection{grid-column:1/-1;border-top:1px solid var(--line);padding-top:18px}.sword-selection .section-title{margin-bottom:8px}.sword-selection-row{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;padding:11px 0;border-bottom:1px solid var(--line)}.sword-selection-row p{margin:0}.sword-selection-row .text-button{flex-shrink:0}#apply-swords{margin-top:16px}.consent-banner{position:fixed;z-index:1000;left:18px;right:18px;bottom:18px;max-width:760px;margin:auto;padding:20px;background:var(--paper);border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 45px #152d2266}.consent-banner h2{margin-bottom:7px}.consent-banner p{margin:0;color:var(--muted);font-size:13px}.consent-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:16px}@media(max-width:650px){.filters .search{flex-basis:100%}.sword-actions,.sword-selection{grid-column:1}.consent-banner{left:10px;right:10px;bottom:10px;padding:16px}.consent-actions button{flex:1}}
