.ninja-menu{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.ninja-menu .button{min-height:38px;font-size:11px}.enhance-link{justify-content:center;width:100%;font-size:10px;padding:9px 0 0}.enhance-link .icon{width:12px;height:12px}.worker-button{font-size:10px!important}.worker-list{display:grid;gap:8px;margin-bottom:15px}.worker-choice{display:flex;align-items:center;gap:13px;text-align:left;background:#f3f4e5;border:1px solid #e1e6cd;border-radius:12px;padding:10px 13px;color:#638364}.worker-choice.selected{border-color:#d8b562;background:#f7edd0}.worker-choice>.raster-portrait{width:35px;height:47px}.worker-choice>svg:not(.icon){width:40px;height:47px}.worker-choice>span:not(.raster-portrait){flex:1}.worker-choice strong{display:block;font-size:12px}.worker-choice small{display:block;font-size:10px;color:#9ca58b;margin-top:5px}.worker-choice>.icon{width:17px;height:17px}.enhance-hero{display:flex;gap:20px;align-items:center;margin-bottom:22px;background:#edf1df;border-radius:13px;padding:17px}.enhance-hero>.raster-portrait{width:65px;height:87px}.enhance-hero p{font-size:11px;color:#93a184;margin-top:8px}.enhance-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.enhance-grid>div{background:#f5f3e2;border:1px solid #e4e7cc;border-radius:12px;padding:15px;text-align:center}.enhance-grid small{font-size:8px;color:#97a384;letter-spacing:1px}.enhance-grid h3{font-size:22px;margin:10px 0 15px;color:#7d986b}.enhance-grid .button{font-size:11px;flex-direction:column;gap:4px;width:100%;padding:10px}.enhance-grid .button small{font-size:8px;letter-spacing:0}.bag-grid{display:grid;grid-template-columns:repeat(2,minmax(200px,330px));gap:22px;margin-bottom:22px}.item-card{position:relative;text-align:center;padding:28px 23px}.item-art{font-size:60px;display:block;margin:8px auto 23px}.item-count{position:absolute;right:19px;top:19px;font-size:12px;background:#e9edda;color:#869a72;border-radius:7px;padding:5px 9px}.item-card p{font-size:12px;color:#96a488;line-height:1.7;margin:12px 0 22px;min-height:40px}.item-card .button{margin-top:10px}.saga-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.saga-card{text-align:center;display:flex;flex-direction:column}.saga-card.locked{opacity:.65}.saga-portrait{width:96px;height:128px;margin:0 auto 18px}.saga-card h2{font-size:20px}.saga-card .subtext{font-size:11px;margin:13px 0 19px;flex:1}.saga-actions{display:grid;gap:9px}.saga-actions .button{font-size:11px}.synthesis-materials{display:grid;gap:14px}.synthesis-materials label{font-size:11px;color:#8b9c7b}.synthesis-materials select{display:block;width:100%;background:#f7f7e8;border:1px solid #dce3c9;border-radius:9px;padding:11px;font-size:12px;color:#657c5b;margin-top:8px}.synthesis-warning{margin:17px 0;padding:13px;background:#f9ebd1;border:1px solid #eedab1;border-radius:10px;color:#b5945d;font-size:11px;line-height:1.7}.story-harvest{display:flex;align-items:center;justify-content:center;gap:4px;width:100%;border:0;background:none;font-size:10px;color:#829b69;padding:12px 0 0}.story-harvest .icon{width:13px;height:13px}.sound-button{border:1px solid #d9e1cf;background:#fffdf365;padding:8px;border-radius:10px;color:#96a38b;position:relative;display:grid;place-items:center}.sound-button .icon{width:16px;height:16px}.sound-button i{width:21px;height:2px;background:#bc9983;position:absolute;transform:rotate(-45deg)}
@media(max-width:820px){.saga-grid{grid-template-columns:repeat(2,1fr)}.ninja-menu{max-width:190px;gap:5px}.ninja-menu .button{font-size:9px;padding:9px;min-height:32px}.topbar{gap:10px}.sound-button{margin-left:0}}
@media(max-width:600px){.ninja-menu{max-width:140px}.ninja-menu .button{font-size:9px;padding:7px}.saga-grid{gap:13px}.saga-card{padding:20px 13px}.saga-card h2{font-size:17px}.saga-portrait{width:83px;height:111px}.saga-actions .button{font-size:9px;gap:4px;padding:10px 7px}.bag-grid{grid-template-columns:1fr 1fr;gap:13px}.item-card{padding:20px 13px}.item-card h2{font-size:19px}.item-card p{font-size:10px;min-height:51px}.item-art{font-size:49px}.item-card .button{font-size:10px}.enhance-grid{gap:10px}.enhance-grid>div{padding:12px}.sound-button{padding:7px}.sound-button .icon{width:14px;height:14px}.local-badge{display:none}.sound-button{margin-left:auto}.story-harvest{font-size:8px}}

.worker-choice{color:#496442}
.worker-choice small,.enhance-hero p,.enhance-grid small,.item-card p,
.synthesis-materials label{color:var(--muted)}
.enhance-grid h3,.item-count,.synthesis-materials select,.story-harvest{color:#526b45}
.synthesis-warning{color:#795329}
.saga-card.locked{opacity:.82}
.sound-button{color:#526647;background:#fffdf3;flex-shrink:0;width:36px;height:36px}
.sound-button:hover,.save-button:hover{background:#f2efdc;border-color:#b9c5a7}
.sound-button i{background:#9f654b}
.save-button{flex-shrink:0;min-height:36px}

@media(max-width:600px){
  .topbar{gap:8px}
  .topbar>.brand{margin-right:auto;min-width:0}
  .sound-button{margin-left:0;padding:7px}
  .save-button{min-width:36px;padding:7px}
  .worker-choice small,.enhance-hero p,.item-card p,.saga-card .subtext,
  .enhance-grid small,.synthesis-materials label,.story-harvest{font-size:11px}
  .saga-actions .button{font-size:10px;white-space:normal;min-height:38px}
  .ninja-menu .button{font-size:10px}
}

@media(max-width:420px){
  .topbar{gap:6px}
  .sound-button,.save-button{width:36px;height:36px;min-width:36px}
  .sound-button .icon,.save-button .icon{width:16px;height:16px}
  .ninja-menu{max-width:130px}
  .saga-grid,.bag-grid{gap:10px}
  .saga-card,.item-card{padding-inline:10px}
  .item-card h2,.saga-card h2{font-size:17px}
  .item-card .button{padding-inline:8px;white-space:normal}
}
