/* Reusable illustration composition and its selection controls. */
.header-mascot.header-shopping{display:block;width:calc(100% + 8px);margin:14px -4px 0;padding:0;min-height:0;border:0;background:transparent}
.header-mascot.header-shopping img{display:block;width:100%;height:auto;max-width:none;border-radius:16px;object-fit:contain;box-shadow:none}
.header-mascot.mascot-composite{min-height:202px;padding:8px;flex-wrap:wrap;gap:14px;background:var(--paper)}
.mascot-composite .mascot-canvas{display:block;width:240px;height:360px;object-fit:contain;border-radius:12px;flex:0 0 auto;background:#ebe5d9}
.output-mascot.mascot-composite{height:auto;min-height:264px;justify-content:center;align-items:center;padding:8px;background:var(--paper);gap:8px;flex-wrap:wrap}
.output-mascot .mascot-canvas{width:320px;max-width:100%;height:auto;aspect-ratio:2/3}
.mascot-load-status{font-size:12px;line-height:1.5;color:var(--muted);max-width:240px}
.mascot-load-status:empty{display:none}
.mascot-choices{margin-top:10px;background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:12px}
.mascot-choices summary{cursor:pointer;font-size:14px;font-weight:800;color:#4a4338}
.mascot-select-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0}
.mascot-select-grid label{display:grid;gap:6px;font-size:12px;font-weight:700}
.mascot-select-grid select{font:inherit;font-size:14px;width:100%;min-height:42px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);padding:8px}
.mascot-random{border:1px solid #739073;border-radius:10px;background:#eef4ec;color:#244728;padding:10px 14px;font:inherit;font-size:14px;font-weight:800;cursor:pointer}
.mascot-auto{display:flex;align-items:center;gap:8px;margin-top:12px;font-size:12px;line-height:1.5;cursor:pointer}
.mascot-auto input{width:18px;height:18px;accent-color:var(--green)}
.mascot-choice-caption{font-size:12px;line-height:1.6;color:var(--muted);margin:10px 0 0}
.mascot-speech-label{display:grid;gap:6px;margin:0 0 14px;font-size:12px;font-weight:700}
.mascot-speech-label select{width:100%;font:inherit;font-size:14px;min-height:42px;padding:8px;border:1px solid var(--line);border-radius:10px;background:#fff}
@media(max-width:520px){.header-mascot.mascot-composite{min-height:190px}.header-mascot .mascot-canvas{width:208px;height:312px;max-width:100%}.header-mascot.mascot-composite>span{flex:1;min-width:120px}.mascot-select-grid{grid-template-columns:1fr}.output-mascot.mascot-composite{min-height:254px}}