/* Помощник использует ту же ось и шрифты, что форма выбора истории. */
.random-story-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:8px 0 18px}
.random-story-button{min-height:48px;padding:11px 14px;border:1px solid transparent;border-radius:10px;font:700 14px/1.4 var(--game-font-body);cursor:pointer;text-wrap:balance}
.random-story-life{background:var(--gold);color:#182f31}.random-story-fantasy{background:#8b5bc7;color:#fff}
.random-story-romance{background:#e89aba;color:#38212e}.random-story-horror{background:#782d46;color:#fff}
.random-story-romance:hover{background:#f2b0cc}.random-story-horror:hover{background:#903b57}
.random-story-life:hover{background:#f4bf71}.random-story-fantasy:hover{background:#9a6cd4}
.random-story-button:disabled{opacity:.6;cursor:wait}.random-story-button:focus-visible{outline:2px solid #fff7e5;outline-offset:3px}
.theme-form .random-story-status{margin:0 0 14px;color:#bcd1d1;font-size:13px;line-height:1.5}.theme-form .random-story-status.is-error{color:#ffc2ae}
@media(max-width:600px){.random-story-actions{grid-template-columns:1fr}}
.helper-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;margin:18px 0 0;padding:14px 0;text-align:left;border:0;border-top:1px solid #ffffff24;border-bottom:1px solid #ffffff24;background:transparent;color:var(--gold);font-size:15px;font-weight:700;line-height:1.45;cursor:pointer}
.helper-toggle>span{font-size:24px;flex:none}.helper-toggle[aria-expanded="true"]>span{transform:rotate(45deg)}
.story-helper{margin:20px 0 26px;padding:20px;background:#102126;border:1px solid #edb15a45;border-radius:14px;min-width:0}
.story-helper h2{margin:0;font:900 25px/1.15 var(--game-font-heading);letter-spacing:-.04em;text-wrap:balance}
.story-helper .helper-intro{margin:12px 0 24px;font-size:14px;line-height:1.6;color:#bcd1d1}
.helper-field{margin-top:22px;padding-top:20px;border-top:1px solid #ffffff1c;min-width:0}.helper-field:first-of-type{margin-top:0;padding-top:0;border-top:0}
.story-helper .helper-field>label{font-size:16px;font-weight:750;line-height:1.4;margin:0 0 10px}
.story-helper textarea{padding:12px;min-height:78px;font-size:15px;line-height:1.6;background:#0a181d;resize:vertical}.story-helper textarea:disabled{opacity:.65}
.helper-self-option{margin:0 0 10px}
.theme-form .helper-self-label{display:flex;align-items:flex-start;gap:8px;min-height:40px;padding:6px 0;margin:0;color:#bcd1d1;font-size:13px;line-height:1.5;font-weight:400;cursor:pointer}
.helper-self-label input{flex:none;width:16px;height:16px;margin:2px 0 0;accent-color:var(--gold);cursor:pointer}
.helper-self-label input:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.helper-self-option a{color:var(--gold);text-underline-offset:3px}
.helper-self-option .helper-profile-note{margin:0 0 0 24px;font-size:13px;line-height:1.5;color:#bcd1d1}
.helper-self-option .is-error{color:#ffc2ae}
.helper-chips{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0 0}
.helper-chips button{min-height:38px;padding:8px 12px;border:1px solid #ffffff35;border-radius:9px;background:transparent;color:#cfe1df;font-size:13px;line-height:1.3;cursor:pointer}
.helper-random{display:inline-flex;align-items:center;gap:7px;min-height:40px;margin-top:10px;padding:8px 0;border:0;background:transparent;color:var(--gold);font-size:14px;font-weight:650;cursor:pointer}.helper-random:before{content:"✦";font-size:17px}.helper-random:disabled{opacity:.55;cursor:wait}
.story-helper .helper-field-status,.story-helper .helper-status,.story-helper .helper-profile-note{margin:8px 0 0;font-size:13px;line-height:1.5;color:#bcd1d1;overflow-wrap:anywhere}.story-helper .is-error{color:#ffc2ae}
.helper-examples{margin:10px 0 0;font-size:13px;color:#bcd1d1}.helper-examples summary{min-height:30px;cursor:pointer}.helper-examples p{margin:10px 0;padding-left:12px;border-left:2px solid #edb15a66;line-height:1.6}
.helper-more{margin-top:22px;border-top:1px solid #ffffff24}.helper-more>summary{padding:16px 0;color:var(--gold);font-size:15px;font-weight:700;cursor:pointer}.helper-more>summary span{display:block;margin:5px 0 0 17px;color:#94b0b1;font-size:12px;font-weight:400}.helper-more-fields{padding-bottom:10px}
.helper-actions{margin-top:24px}.helper-build{display:flex;align-items:center;justify-content:space-between;gap:15px;width:100%;min-height:48px;padding:12px 16px;border:1px solid var(--gold);border-radius:10px;background:var(--gold);color:#182f31;font-size:15px;font-weight:750;cursor:pointer}.helper-build:disabled{opacity:.55;cursor:wait}
.helper-ideas{display:grid;gap:12px;margin-top:20px}.helper-idea{padding:18px;background:#fff7e5;color:var(--ink);border:2px solid transparent;border-radius:12px;overflow-wrap:anywhere}.helper-idea h3{margin:0;font:900 20px/1.2 var(--game-font-heading);letter-spacing:-.04em}.helper-idea p{margin:10px 0 14px;font-size:15px;line-height:1.6;color:#405254}.helper-idea button{min-height:42px;padding:9px 14px;border:1px solid #ad7a31;border-radius:8px;background:transparent;color:#694716;font:700 14px/1.4 var(--game-font-body);cursor:pointer}.helper-idea.is-selected{border-color:var(--gold)}
@media(max-width:600px){.story-helper{padding:16px 12px}.story-helper h2{font-size:23px}.helper-toggle{font-size:14px}.helper-chips button{min-height:42px}.story-helper textarea{font-size:16px}.helper-idea{padding:15px}.helper-idea h3{font-size:19px}}
