:root{--bg:#16181c;--panel:#1d2026;--panel2:#23272e;--line:#2d323b;--text:#e4e6ea;--muted:#9aa0aa;--accent:#c9a66b;--accent-d:#8a6f3f;--danger:#d77a7a;--player:#262b33;--safe-b:env(safe-area-inset-bottom,0px)}
*{box-sizing:border-box}
html,body{height:100%;margin:0;background:var(--bg);color:var(--text);font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;-webkit-text-size-adjust:100%}
.screen{height:100vh;height:100dvh;display:flex;flex-direction:column}
[hidden]{display:none!important}
.muted{color:var(--muted)}.small{font-size:13px}
.btn{background:var(--panel2);color:var(--text);border:1px solid var(--line);border-radius:10px;padding:10px 14px;font-size:15px;cursor:pointer;min-height:44px}
.btn:hover{border-color:var(--accent-d)}.btn.primary{background:var(--accent);color:#1a1610;border-color:var(--accent);font-weight:600}.btn.primary:disabled{opacity:.45;cursor:default}
.btn.icon{padding:10px 14px;font-size:18px;line-height:1}
.login-card{margin:auto;padding:28px 24px;width:min(92vw,380px);background:var(--panel);border:1px solid var(--line);border-radius:16px;text-align:center}
.login-card h1{margin:0 0 6px;font-size:22px;letter-spacing:.12em;font-weight:600}
#tg-widget{margin:20px 0 8px;display:flex;justify-content:center;min-height:44px}
.bar{display:flex;gap:8px;align-items:center;padding:10px 12px;padding-top:max(10px,env(safe-area-inset-top,0px));background:var(--panel);border-bottom:1px solid var(--line)}
.bar select{flex:1;width:100%;min-width:0;background:var(--panel2);color:var(--text);border:1px solid var(--line);border-radius:10px;padding:10px 12px;font-size:16px;min-height:44px}
.menu{position:absolute;right:12px;top:calc(60px + env(safe-area-inset-top,0px));z-index:20;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:6px;display:flex;flex-direction:column;min-width:240px;box-shadow:0 8px 28px rgba(0,0,0,.5)}
.menu button{background:none;border:0;color:var(--text);text-align:left;padding:12px 12px;font-size:15px;border-radius:8px;cursor:pointer}
.menu button:hover{background:var(--panel2)}.menu .danger{color:var(--danger)}
@media (max-width:480px){.menu button{min-height:44px}}   /* [owner 11.11 17:45] a finger's target, the PDF item too */
.menu-hero{padding:10px 12px 8px;font-size:14px;color:var(--accent);border-bottom:1px solid var(--line);margin-bottom:4px;overflow-wrap:anywhere}
.chat{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:18px 14px 8px;scroll-behavior:auto}
.chat-inner{max-width:720px;margin:0 auto}
.turn{margin:0 0 26px}
.player{background:var(--player);border:1px solid var(--line);border-radius:12px;padding:10px 14px;margin:0 0 12px auto;max-width:88%;width:fit-content;font-size:16px;line-height:1.5;white-space:pre-wrap;word-wrap:break-word;color:#cfd3da}
.narr{font-family:Georgia,"Iowan Old Style","Times New Roman",serif;font-size:19px;line-height:1.7;color:var(--text)}
.narr p{margin:0 0 14px;word-wrap:break-word}
.dice{font-family:ui-monospace,"SF Mono",Menlo,Consolas,"DejaVu Sans Mono",monospace;font-size:15px;line-height:1.5;white-space:pre-wrap;word-wrap:break-word;color:var(--text);margin:0 0 12px}
.scene-header{font-size:15px;line-height:1.5;color:var(--text);margin:0 0 12px;overflow-wrap:anywhere;word-wrap:break-word;display:grid;grid-template-columns:1.6em max-content minmax(0,1fr);column-gap:8px;row-gap:2px;align-items:baseline}
.scene-header strong{font-weight:700}
/* [task_1531] the three cells of a line in the header's grid: icon | label | value */
.sh-line{display:contents}.sh-icon{text-align:center}.sh-label{white-space:nowrap}.sh-value{min-width:0}
.where-line{font-size:15px;line-height:1.5;color:var(--text);margin:0 0 12px;overflow-wrap:anywhere;word-wrap:break-word}
.where-line strong{font-weight:700}
.scene-header+.where-line{margin-top:-6px}
.meta{font-size:12px;color:var(--muted);margin:0 0 8px;letter-spacing:.03em}
.note{border-left:3px solid var(--accent-d);padding:6px 12px;color:var(--muted);font-size:15px;margin:6px 0;white-space:pre-wrap}
.note.err{border-color:var(--danger);color:#d8a0a0}
.status{padding:8px 16px;font-size:14px;color:var(--accent);text-align:center;border-top:1px solid var(--line);background:var(--panel)}
/* [task_atmo_indicator] the Game Master's phrase and (task_1425 (Г)) the turn's status apart: one line on a computer,
   on a phone the phrase in two lines at most and the bar's height fixed (two lines reserved), the status a small line
   under it */
.atmo{display:flex;align-items:center;gap:12px;padding:8px 16px;font-size:14px;line-height:1.35;color:var(--accent);border-top:1px solid var(--line);background:var(--panel)}
.atmo[hidden]{display:none}
.atmo-phrase{flex:1;min-width:0;font-weight:600;text-align:center}
.atmo-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
.atmo-fade{animation:atmo-in .3s ease-out}
@keyframes atmo-in{from{opacity:0}to{opacity:1}}
.atmo-status{flex:none;color:var(--muted);font-size:12px;font-weight:400;white-space:nowrap}   /* [task_1425 (Г)] the real status, no timer */
.atmo-status:empty{display:none}
@media (max-width:600px){.atmo{padding:6px 12px;gap:2px 8px;font-size:13px;flex-wrap:wrap}.atmo-phrase{text-align:left;height:calc(2 * 1.35em);display:flex;align-items:center}.atmo-status{flex-basis:100%;font-size:11px}}
@media (prefers-reduced-motion:reduce){.atmo-fade{animation:none}}
.composer{display:flex;gap:8px;align-items:flex-end;padding:10px 12px calc(10px + var(--safe-b));background:var(--panel);border-top:1px solid var(--line)}
.composer textarea{flex:1;resize:none;max-height:40vh;background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:12px;padding:11px 13px;font-size:16px;line-height:1.4;font-family:inherit;min-height:46px}
.composer textarea:focus{outline:none;border-color:var(--accent-d)}
/* [task_1805] the counter of the turn's characters under the field; red above 500 */
.composer-field{flex:1;min-width:0;display:flex;flex-direction:column}.composer-field textarea{flex:none;width:100%}
.input-count{font-size:12px;height:15px;line-height:15px;color:var(--muted);text-align:right;margin-top:3px;font-variant-numeric:tabular-nums}.input-count.over{color:var(--danger);font-weight:600}.composer>.btn{margin-bottom:18px}   /* level with the field, above the counter's line */
.diag{position:absolute;right:0;top:0;bottom:0;width:min(100vw,420px);z-index:30;background:var(--panel);border-left:1px solid var(--line);display:flex;flex-direction:column}
.diag-head{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;padding-top:max(10px,env(safe-area-inset-top,0px));border-bottom:1px solid var(--line)}
.diag-body{overflow:auto;padding:12px 14px;font-family:ui-monospace,Menlo,Consolas,monospace;white-space:pre-wrap;word-break:break-word;line-height:1.5}
@media (max-width:480px){.narr{font-size:18px}.player{max-width:94%}}

.model-bar{display:flex;gap:6px;align-items:stretch;padding:8px 10px;background:var(--panel);border-bottom:1px solid var(--line)}
.model-btn{flex:1 1 0;min-width:0;background:var(--panel2);color:var(--text);border:1px solid var(--line);border-radius:12px;padding:7px 10px;font-size:13px;line-height:1.25;cursor:pointer;min-height:44px;text-align:left}
.model-btn small{display:block;color:var(--muted);font-size:11px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.model-btn[aria-checked="true"]{border-color:var(--accent);background:#2b2619;color:var(--accent)}
.model-btn[aria-checked="true"] small{color:#b8975f}   /* [Н-8] 5.4:1 on #2b2619 (accent-d was 3.18) */
.model-btn:disabled{opacity:.4;cursor:default}
.model-btn.unc{border-style:dashed}

/* the new narrative appears word by word (REVEAL): each word fades in, a small «Показать сразу» under it */
.narr.typing{cursor:pointer}
.w{animation:word-in .22s ease-out both}   /* [task_1430] each word fades in */
@keyframes word-in{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.w{animation:none}}
.skip{background:none;border:1px solid var(--line);color:var(--muted);border-radius:8px;padding:4px 12px;font-size:14px;min-height:44px;cursor:pointer;margin:2px 0 0}
.skip:hover{border-color:var(--accent-d);color:var(--text)}
.hero-line{padding:6px 14px;font-size:14px;color:var(--accent);background:var(--panel);border-bottom:1px solid var(--line);overflow-wrap:anywhere}
.birth{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:18px 14px calc(24px + var(--safe-b));-webkit-overflow-scrolling:touch}
.birth-step{max-width:720px;margin:0 auto;font-size:16px;line-height:1.55}
.birth-text{white-space:pre-wrap;margin:0 0 14px;overflow-wrap:anywhere}
.birth-thinking{color:var(--accent);font-size:18px}
.birth-answer{background:var(--player);border:1px solid var(--line);border-radius:12px;padding:8px 12px;margin:0 0 10px;white-space:pre-wrap;overflow-wrap:anywhere}
.clan-card{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:12px 14px;margin:0 0 12px}
.clan-card p{margin:6px 0 10px}.clan-card.locked{opacity:.55;padding:6px 8px}.clan-card .locked-btn{width:100%;text-align:left;background:none;border:0}
.clan-card.test-character{border-style:dashed}   /* [ЭКСП., TEST_CHARACTER_0.1] the test sheet at the end of the clan list */
.birth-input{width:100%;background:var(--panel2);color:var(--text);border:1px solid var(--line);border-radius:10px;padding:10px 12px;font-size:16px;font-family:inherit;margin:0 0 8px;resize:vertical}
.birth-input.birth-age{width:10em;max-width:100%;text-align:center}
.field-error{color:var(--danger);font-size:14px;margin:0 0 12px;white-space:pre-wrap}
.birth-actions{display:flex;gap:8px;flex-wrap:wrap;margin:8px 0 16px}.birth-actions .btn{flex:1 1 140px}
.birth-restart{margin:28px 0 0;padding-top:12px;border-top:1px solid var(--line);display:flex;gap:8px;flex-wrap:wrap;justify-content:center}.birth-restart .birth-text{flex:1 1 100%;text-align:center;color:var(--muted)}
.birth-restart .btn.quiet{background:none;border-color:transparent;color:var(--muted);font-size:14px}.birth-restart .btn.danger{color:var(--danger);border-color:var(--danger)}
.birth-story{margin:0 0 16px}.birth-story p{margin:0 0 14px;font-size:18px;line-height:1.6;overflow-wrap:anywhere}
.birth-card{background:var(--panel);border:1px solid var(--accent-d);border-radius:12px;padding:12px 14px;margin:0 0 12px}
.birth-card p{margin:0 0 10px;overflow-wrap:anywhere}.birth-title{color:var(--accent);letter-spacing:.06em}.birth-name{font-weight:600}
.mortal-question{font-weight:600}.mortal-hint{margin:-6px 0 12px}
.mortal-field{margin:0 0 18px}.mortal-field .mortal-question{display:block;margin:0 0 8px}.mortal-field .mortal-hint{margin:-4px 0 8px}
.mortal-field .mortal-relations{margin:0 0 8px}.mortal-field .mortal-suggest{margin:0}
.birth-step .btn.mortal-row{display:block;width:100%;text-align:left;white-space:normal;overflow-wrap:anywhere;margin:0 0 8px;font-size:15px}.birth-step .btn.mortal-row.muted{color:var(--muted)}
.mortal-ideas{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:10px 12px;margin:0 0 12px}.mortal-ideas .btn{display:block;width:100%;white-space:normal;text-align:left;margin:0 0 8px;overflow-wrap:anywhere}
.birth-actions .btn.quiet{background:none;color:var(--muted)}
/* [task_1516, owner 12.11 15:15] «Помоги придумать» of step 13: the ideas a column 8 px apart, «Ещё варианты»/«Не надо»
   a row of their own under a line, the chosen idea lit; the next field's title 16 px under the help */
.beliefs-help{margin:8px 0 0}.beliefs-help>p{margin:0 0 8px}.beliefs-help+*{margin-top:16px}
.beliefs-ideas{display:flex;flex-direction:column;gap:8px}.beliefs-ideas .btn{white-space:normal;text-align:left;overflow-wrap:anywhere;line-height:1.35}
.beliefs-tools{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;padding-top:12px;border-top:1px dashed var(--line)}.beliefs-tools .btn.quiet{background:none;color:var(--muted)}
/* [ЭКСП., CHARACTER_SHEET_VIEW_0.1] the «Персонаж» screen: a panel over the chat; three columns, one on a phone */
.sheet{position:absolute;right:0;top:0;bottom:0;width:min(100vw,900px);z-index:25;background:var(--bg);border-left:1px solid var(--line);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-bottom:calc(24px + var(--safe-b))}
.cs{padding:0 16px}
.cs-head{position:sticky;top:0;z-index:1;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:10px 0;padding-top:max(10px,env(safe-area-inset-top,0px));background:var(--bg);border-bottom:1px solid var(--line)}
.cs-name{margin:0;font-size:20px;line-height:1.3;color:var(--accent);font-weight:600;overflow-wrap:anywhere}
.cs-sub{color:var(--muted);margin:10px 0 4px;font-size:15px}
.cs-state{margin:10px 0 0}
.cs-title{font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--accent);margin:20px 0 8px;font-weight:600}
.cs-cols{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 18px}
.cs-group{font-size:13px;color:var(--muted);margin:0 0 4px}
.cs-row{display:flex;justify-content:space-between;align-items:baseline;gap:10px;padding:3px 0;font-size:15px;line-height:1.4}
.cs-label{min-width:0;overflow-wrap:break-word;hyphens:auto}
.cs-val{white-space:nowrap}
.cs-dots{color:var(--accent);letter-spacing:1px;white-space:nowrap}
.cs-lost{color:var(--danger);letter-spacing:1px;white-space:nowrap}
.cs-num{color:var(--muted);font-size:13px;white-space:nowrap}
.cs-row.zero{color:var(--muted);opacity:.55}.cs-row.zero .cs-dots{color:var(--muted)}
.cs-powers{color:var(--muted);font-size:14px;margin:0 0 8px 12px;overflow-wrap:anywhere}
.cs-origin{margin:0 0 10px;font-size:15px;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}
.cs-origin strong{color:var(--accent);font-weight:600}
.cs-note{margin:14px 0}
.cs-pdf{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:10px 0}
.cs-pdf-note{color:var(--muted);font-size:15px}
.cs-pdf-note.err{color:#d8a0a0}
@media (max-width:760px){.cs-cols{grid-template-columns:1fr}.cs-col+.cs-col{margin-top:12px}}
/* [ЭКСП., PROGRESSIVE_SHEET_0.1] the first use of a provisional trait: the card under the player's line; the composer
   waits; on «Персонаж» a provisional trait has outlined dots and the mark «не закреплено» */
.alloc-card{background:var(--panel);border:1px solid var(--accent-d);border-radius:12px;padding:12px 14px;margin:0 0 12px;font-size:16px;line-height:1.5}
.alloc-card p{margin:0 0 10px;overflow-wrap:anywhere}.alloc-q{font-weight:600}.alloc-hint{color:var(--muted)}
.alloc-actions{display:flex;gap:8px;flex-wrap:wrap}.alloc-actions .btn{flex:1 1 180px;white-space:normal;overflow-wrap:anywhere;text-align:left}
.alloc-actions .btn:disabled{opacity:.5;cursor:default}.alloc-actions .btn.quiet{background:none;color:var(--muted);flex:0 1 auto}
.alloc-error{margin:10px 0 0}
.composer-lock{padding:8px 16px;font-size:14px;color:var(--accent);text-align:center;border-top:1px solid var(--line);background:var(--panel)}
.cs-prov-note{color:var(--muted);font-size:14px;margin:14px 0 0}
.cs-prov{color:var(--muted);font-size:12px;white-space:nowrap}
.cs-row.provisional .cs-dots{color:var(--accent-d)}
/* [ЭКСП., PROGRESSIVE_SHEET_0.2] mode pool: the card's stepper and «Персонаж» while editable (phone: buttons ≥ 44px) */
.pool-btn{min-width:44px;min-height:44px;padding:0 10px;font-size:20px;line-height:1;text-align:center}
.pool-btn:disabled{opacity:.4;cursor:default}
.alloc-stepper{display:flex;align-items:center;gap:12px;margin:0 0 10px}
.alloc-value{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}
.alloc-pool-left,.cs-pool-left{color:var(--accent)}
.alloc-card p.alloc-note,.cs-pool-note{color:var(--muted);font-size:13px;margin:10px 0 0}
.cs-pool{margin:14px 0 0}.cs-pool p{margin:0 0 4px}.cs-pool-msg{color:var(--muted)}
.cs-step{display:inline-flex;align-items:center;gap:6px}
.cs-row.changed .cs-dots{color:var(--text)}
.cs-pool-actions{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0 0}.cs-pool-actions .btn{min-height:44px;flex:1 1 140px}
.cs-pool-actions .btn:disabled{opacity:.5;cursor:default}
.cs-pool-error{margin:10px 0 0}
/* [ЭКСП., V5 creation] the book's steps of «Рождение»: one choice per phone screen, buttons ≥ 44px */
.v5-row{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:10px 12px;margin:0 0 10px}
.v5-row p{margin:0 0 6px;overflow-wrap:anywhere}.v5-name{font-weight:600}.v5-group{font-weight:600;margin:0 0 4px}
.v5-counter{margin:0 0 10px}.v5-intro{margin:0 0 8px}.v5-dots{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 6px}
.v5-dots .btn{flex:1 1 0;min-width:44px;min-height:44px;padding:8px 6px;letter-spacing:.05em}
.v5-tabs .btn{flex:1 1 auto;letter-spacing:normal;padding:8px 12px}
.v5-cats{display:flex;flex-direction:column;gap:6px;margin:6px 0 10px}.v5-cats .btn{min-height:44px;text-align:left}
/* [owner 12.11 00:32] merits and flaws: one flat list under the category filter; a row folded is one tap wide (▸),
   open in place (▾, the accent bar on its left): «Взято», what it is, the levels as large buttons, «Что даёт» in the
   reading size, the params' fields; the taken held over the panel, folded to one line */
.v5-filter{display:flex;align-items:center;gap:10px;margin:8px 0 10px}.v5-filter select{flex:1 1 auto;margin:0}
.v5-list>.v5-sub{margin:12px 0 4px}
.v5-line{padding:0;margin:0 0 6px;overflow:hidden}.v5-line.open{border-left:3px solid var(--accent);padding-bottom:10px}
.v5-line-head{display:block;width:100%;min-height:48px;text-align:left;white-space:normal;overflow-wrap:anywhere;background:none;border:0;border-radius:0;padding:10px 34px 10px 12px;position:relative;scroll-margin:8px 0 160px}
.v5-line-head::after{content:'▸';position:absolute;right:12px;top:50%;transform:translateY(-50%);color:var(--muted)}
.v5-line-head[aria-expanded="true"]::after{content:'▾'}.v5-line.on>.v5-line-head{font-weight:600}
.v5-line>:not(.v5-line-head){margin-left:12px;margin-right:12px}.v5-line>p{margin-top:2px;margin-bottom:6px}
.v5-badge{display:inline-block;background:var(--accent);color:#1a1610;border-radius:6px;padding:2px 8px;font-size:13px;font-weight:600}
.v5-points .v5-sub{margin:10px 0 6px}.v5-line>.v5-sub{margin:10px 12px 6px}
/* [task_ui_newbie_wave3] «Точки», «Что даёт» of an opened row not under 14 px; an experience level past what is left */
.v5-line .v5-sub{font-size:14px}.v5-dots .btn.off{opacity:.4;cursor:default}
.v5-levels{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 6px}.v5-levels .btn{flex:1 1 28%;min-height:48px;font-size:16px;padding:8px 6px}
.v5-levels .btn.off{opacity:.4}.v5-gives{font-size:16px;line-height:1.45;color:var(--text)}
/* [task_ui_unavailable] what cannot be taken now: grey with 🔒, why readable in the row; a level a cell (button + why) */
.v5-item.off,.clan-card.off{opacity:1}.v5-item.off>*:not(.v5-why):not(.field-error),.clan-card.off>*:not(.v5-why):not(.field-error){opacity:.55}
.v5-why{margin:2px 0 6px;font-size:14px;color:var(--text)}
.v5-levels .v5-level-cell,.v5-dots .v5-level-cell{flex:1 1 28%;display:flex;flex-direction:column;gap:4px;min-width:0}
.v5-level-cell .btn{flex:none;width:100%}
/* [task_ui_levels п. 2] the levels told: a list, the button and what that level gives beside it; the one taken lit */
.v5-levels.told{flex-direction:column;flex-wrap:nowrap}.v5-levels.told .v5-level-cell{flex:none;display:grid;grid-template-columns:minmax(104px,auto) 1fr;gap:2px 10px;align-items:center}
.v5-levels.told .v5-level-cell .btn{grid-row:span 2;width:auto;min-width:104px}.v5-level-gives{margin:0;line-height:1.35;color:var(--text)}
.v5-level-cell.on .v5-level-gives{color:var(--accent);font-weight:600}.v5-level-cell.off .v5-level-gives{opacity:.6}
.v5-gives-level{color:var(--accent)}.v5-gives-level:empty{display:none}
.v5-level-why{margin:0;font-size:13px;line-height:1.3}
.v5-fields>.v5-param{margin:8px 0 4px}.v5-fields>input,.v5-fields>select{margin:4px 0 0;width:100%}.v5-fields .v5-take{min-height:48px;margin-top:8px}
.v5-points .v5-take{min-height:48px;width:100%}
.v5-panel{display:flex;flex-direction:column}.v5-taken{order:-1;margin:0 0 6px;max-height:45vh;overflow:auto}.v5-taken-head{width:100%;min-height:44px;text-align:left}
.v5-taken .v5-chosen{margin:4px 0 0}
.btn.on,.v5-dots .btn.on{background:var(--accent);color:#1a1610;border-color:var(--accent);font-weight:600}
select.v5-select{min-height:44px;appearance:auto}.clan-card.on{border-color:var(--accent)}
.v5-chosen .btn,.v5-item .btn{min-height:44px}.v5-item.off{opacity:.55}.v5-sheet h3{color:var(--accent);font-size:15px;margin:14px 0 6px;letter-spacing:.04em}
.v5-sheet p{margin:0 0 4px;overflow-wrap:anywhere}
/* [task_ui_flaws] merits/flaws: the dots counter stays on top; categories say what is inside; the flaws as compact rows
   (name and one line on the left, the levels on the right) under small category headings */
.v5-counter.done{color:var(--accent);font-weight:600}
.v5-screen[data-screen^="advantages"] .v5-chosen{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 10px;padding:6px 10px;margin:0 0 4px}
.v5-screen[data-screen^="advantages"] .v5-chosen p{margin:0}.v5-screen[data-screen^="advantages"] .v5-chosen .field-error{flex-basis:100%}
.v5-sub{color:var(--muted);font-size:13px;font-weight:600;margin:8px 0 3px}.v5-granted{border-style:dashed}
.v5-cats .btn{white-space:normal;overflow-wrap:anywhere;line-height:1.35}.v5-item.on{border-color:var(--accent)}
.v5-compact{display:grid;grid-template-columns:1fr auto;column-gap:10px;align-items:center;padding:4px 10px;margin:0 0 3px}
.v5-compact>p{grid-column:1;margin:0}.v5-compact>p.muted{line-height:1.25}
.v5-compact>.v5-dots{grid-column:2;grid-row:1/span 2;margin:0;flex-wrap:nowrap}.v5-compact>.v5-dots .btn{flex:0 0 auto}
.v5-compact>.v5-param,.v5-compact>input,.v5-compact>select,.v5-compact>.v5-take,.v5-compact>.field-error{grid-column:1/-1;margin-top:4px}
/* [clan screen] the card of one clan: the screen's width (the whole screen on a phone), sections apart */
.clan-detail{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:12px 14px;margin:0 0 12px}
.clan-detail .clan-close{float:right;margin:-4px -6px 0 8px}.clan-detail h3{margin:4px 0 6px}.clan-detail h4{margin:12px 0 4px;font-size:1rem}
.clan-detail ul{margin:4px 0 8px;padding-left:20px}.clan-detail li{margin:2px 0}
.clan-card{scroll-margin-top:8px}.clan-card .clan-detail{background:none;border:0;border-top:1px solid var(--line);border-radius:0;padding:4px 0 0;margin:10px 0 0}
.clan-card .clan-detail .birth-sticky{margin-bottom:-12px}
.clan-section.plus h4{color:var(--accent)}.clan-section.minus h4,.clan-section.bane h4,.clan-section.compulsion h4{color:var(--danger)}
.clan-buttons{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.clan-off{margin:4px 0}
/* [«Вторая жизнь»] the three ranges (lit by the years typed: .btn.on), the two fields side by side, the summary */
.sl-bands .btn{display:flex;flex-direction:column;align-items:center;gap:2px}
.sl-range{font-size:13px;color:var(--muted)}.sl-bands .btn.on .sl-range{color:inherit;opacity:.8}
.sl-fields{display:flex;gap:12px;flex-wrap:wrap}
.sl-field{display:flex;flex-direction:column;gap:4px;flex:1 1 140px}
.sl-input{text-align:center}
/* [USABILITY_AUDIT_0.1, first wave] В-1: the chronicle picker shows a label cut to its width over a select whose own
   text is transparent — the open list keeps the whole titles */
.chron-pick{flex:1;min-width:0;position:relative;display:flex}
.chron-pick select{color:transparent}
.chron-pick select option{color:var(--text);background:var(--panel2)}
.chron-label{position:absolute;left:13px;right:34px;top:50%;transform:translateY(-50%);pointer-events:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:16px;color:var(--text)}
/* В-2: the sun's words — a plate under the story; the dawn question again over the input while it is open */
.sun-note{border:1px solid var(--accent);border-left-width:4px;border-radius:10px;background:#2b2619;color:var(--text);padding:10px 14px;margin:8px 0 12px;font-size:16px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.sun-line{padding:8px 16px;font-size:15px;line-height:1.4;color:var(--text);background:#2b2619;border-top:2px solid var(--accent);overflow-wrap:anywhere}
.sun-line::before{content:"☀ ";color:var(--accent)}
/* С-5: a visible focus ring for the keyboard (the input, buttons, selects) */
.composer textarea:focus-visible,.btn:focus-visible,button:focus-visible,select:focus-visible,.birth-input:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.sheet:focus{outline:none}
.chron-pick select:focus-visible{outline-offset:1px}
/* С-8: on a phone no text under 14px (hints, the turn line, counters, the model's labels) */
/* [ЭКСП., task_ui_ghoul_proto] the prototype of «Характеристики» (?ui=2): the groups left, the places and the help in a
   column held at the side on a computer, one column on a phone; a row's dots one slider (each dot's target ≥ 44px) */
.birth-step.v5p-wide{max-width:1180px}
.v5p-steps{list-style:none;display:flex;gap:6px;overflow-x:auto;margin:0 0 16px;padding:0 0 6px;scrollbar-width:thin}
.v5p-steps li{flex:0 0 auto;padding:4px 10px;border:1px solid var(--line);border-radius:999px;font-size:13px;line-height:1.4;color:var(--muted);white-space:nowrap}
.v5p-steps li.done{color:var(--text);border-color:var(--accent-d)}
.v5p-steps li.on{background:var(--accent);border-color:var(--accent);color:#1a1610;font-weight:600}
.v5p-grid{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:24px;align-items:start}
.v5p-side{position:sticky;top:0;display:flex;flex-direction:column;gap:12px}
.v5p-group{margin:0 0 18px}.v5p-group-title{color:var(--accent);font-size:15px;letter-spacing:.06em;margin:0 0 8px;font-weight:600}
.v5p-row{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:4px 12px;background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:6px 10px;margin:0 0 8px}
/* [task_ui_unavailable] the error at its row under both columns; width 0: its text does not widen the column of the buttons */
.v5p-row>.field-error{grid-column:1/-1;margin:2px 0 0;width:0;min-width:100%}
.v5p-row.set{border-color:var(--accent-d)}
.v5p-row>.v5p-more{grid-column:2/-1;margin:0 0 4px}
.btn.v5p-help{width:44px;min-height:44px;padding:0;border-radius:50%;font-weight:600;color:var(--accent)}
.btn.v5p-help[aria-expanded="true"]{background:var(--accent);color:#1a1610;border-color:var(--accent)}
.v5p-name{margin:0;font-weight:600;overflow-wrap:anywhere}.v5p-line{margin:2px 0 0;line-height:1.35;overflow-wrap:anywhere}
.v5p-dots{display:flex;border-radius:10px}
.v5p-dots:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.v5p-dot{width:40px;height:44px;display:flex;align-items:center;justify-content:center;cursor:pointer}
.v5p-dot::before{content:'';width:15px;height:15px;transform:rotate(45deg);border:2px solid var(--accent-d);border-radius:2px}
.v5p-dot.on::before{background:var(--accent);border-color:var(--accent)}
.v5p-dot:not(.off):hover::before{border-color:var(--accent)}
.v5p-dot.off{cursor:default;opacity:.35}.v5p-dot.off::before{border-style:dashed}
.v5p-example{margin:0 0 4px;color:var(--text);overflow-wrap:anywhere}.v5p-more .v5p-example{color:var(--muted)}
.v5p-card{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:12px 14px}
.v5p-card p{margin:0 0 6px}.v5p-card-title{color:var(--accent);font-size:15px;margin:0 0 10px;font-weight:600}
.v5p-level{display:grid;grid-template-columns:4.6em minmax(0,1fr);align-items:center;gap:8px;margin:0 0 8px}
.v5p-level-dots{color:var(--accent);letter-spacing:1px;font-size:13px;white-space:nowrap}
.v5p-cells{display:flex;flex-wrap:wrap;gap:6px}
.btn.v5p-cell{min-width:44px;min-height:44px;padding:6px 9px;font-size:13px;line-height:1.2}
.btn.v5p-cell.empty{border-style:dashed;color:var(--muted)}.btn.v5p-cell.empty.on{background:var(--panel2);border-style:solid;border-color:var(--accent);color:var(--accent)}
.btn.v5p-cell.full{border-color:var(--accent-d);color:var(--accent)}.btn.v5p-cell.over{border-color:var(--danger);color:var(--danger)}
.v5p-pick{border-top:1px solid var(--line);margin:4px 0 8px;padding-top:8px;display:flex;flex-wrap:wrap;gap:6px}
.v5p-pick-title{flex:1 1 100%;color:var(--muted)}.btn.v5p-pick-btn{min-height:44px;font-size:14px}
.v5p-card p.v5p-need{margin:10px 0 0;color:var(--accent)}.v5p-card p.v5p-need.done{font-weight:600}
.v5p-sub{color:var(--muted);font-weight:600;margin:10px 0 4px}
.v5p .v5-panel{margin-top:4px}
.v5p-bar-mid{min-width:0;text-align:center}.v5p-bar-mid p{margin:0}
.v5p-bar-need{color:var(--muted);line-height:1.3;overflow-wrap:anywhere}
@media (min-width:900px){.v5p-steps{flex-wrap:wrap;overflow:visible}}
/* [task_ui_attrs_one_screen] the rows of the default: the name (+ «?» on a phone), what it is, the examples, the big buttons */
.v5p-row{grid-template-columns:minmax(0,1fr) auto}
.v5p-head{display:flex;align-items:center;gap:8px}.v5p-head .v5p-name{flex:1 1 auto}
.v5p-row .v5p-levels{margin:0;flex-wrap:nowrap}.v5p-row .v5p-levels .btn{flex:0 0 auto;min-width:52px;font-size:16px}
.v5p-more .v5p-sub{margin:6px 0 2px}
@media (min-width:561px){.v5p-row .btn.v5p-help{display:none}}
@media (min-width:900px) and (max-width:1199px){.v5p-grid{grid-template-columns:minmax(0,1fr) 300px}}
/* [task_ui_attrs_addendum 1] «Навыки» on one screen: a row is the name with «?», the help when open, the buttons under
   them; a computer puts the three groups in three columns */
@media (min-width:561px){.v5s-row .btn.v5p-help{display:inline-flex;align-items:center;justify-content:center}}
.v5s-row{grid-template-columns:minmax(0,1fr)}.v5s-row>.v5p-more,.v5s-row>.field-error{grid-column:1/-1;margin:0}
.v5s-row .v5p-levels .btn{flex:1 1 0;min-width:44px}
.v5s-cells{margin:0 0 2px;color:var(--accent);letter-spacing:.02em}
@media (min-width:900px){.v5s-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 16px;align-items:start}}
@media (max-width:899px){.v5p-grid{grid-template-columns:minmax(0,1fr);gap:8px}.v5p-side{position:static}}
@media (max-width:560px){
  .v5p-row{grid-template-columns:minmax(0,1fr)}
  .v5p-row>.v5p-dots{grid-column:2/-1;justify-content:flex-start}
  .v5p-row .v5p-levels .btn{flex:1 1 0;min-width:44px}
  .v5p-row:not(.open) .v5p-more{display:none}
  .v5p-dot{width:44px}
  .v5p-steps li,.v5p-level-dots,.btn.v5p-cell{font-size:14px}   /* the audit's phone floor of 14px */
}
@media (max-width:480px){
  .small,.meta,.v5-counter,.sl-range,.cs-title,.cs-group,.cs-num,.cs-prov,.alloc-card p.alloc-note,.cs-pool-note{font-size:14px}
  .model-btn{font-size:14px}.model-btn small{font-size:14px}
}
/* [С-7 USABILITY_AUDIT_0.1] «Шаг N из M · …» over every step of «Рождение», a thin bar under it */
.birth-progress{margin:0 0 6px;font-size:14px;color:var(--muted);letter-spacing:.02em}
.birth-progress-bar{display:block;width:100%;height:3px;border:0;border-radius:2px;background:var(--line);margin:0 0 14px;overflow:hidden;-webkit-appearance:none;appearance:none}
.birth-progress-bar::-webkit-progress-bar{background:var(--line)}.birth-progress-bar::-webkit-progress-value{background:var(--accent)}.birth-progress-bar::-moz-progress-bar{background:var(--accent)}
/* [С-9] the panel of the dots' screens and [Н-4] «Выбрать» of the clan's card: held at the bottom of the screen */
/* bottom: past .birth's own bottom padding, which a sticky box otherwise stops at */
.v5-panel,.birth-actions.birth-sticky{position:sticky;bottom:calc(-24px - var(--safe-b));z-index:2;background:var(--bg);border-top:1px solid var(--line);padding:8px 0 calc(10px + var(--safe-b));margin:8px 0 0}
.v5-panel .birth-actions{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;margin:0}
.v5-panel .birth-actions .btn{flex:none;white-space:nowrap}
.v5-panel .v5-counter{margin:0}
/* [task_ui_levels (е)] the counter of points: large, the accent; on top of the list held while it scrolls; done — the
   accent, «Дальше» lit; over — red */
.v5-meter{color:var(--accent);text-align:center}.v5-meter-text{margin:0;font-size:18px;font-weight:700;line-height:1.3}
.v5-meter-dots{margin:2px 0 0;font-size:20px;letter-spacing:3px;line-height:1.1;overflow-wrap:anywhere}.v5-meter-dot{opacity:.45}.v5-meter-dot.on{opacity:1}
.v5-meter.over{color:var(--danger,#e05252)}.v5-meter-dot.over{opacity:1}
.v5-meter-top{position:sticky;top:0;z-index:2;background:var(--bg);padding:6px 0 8px;margin:0 0 8px;border-bottom:1px solid var(--line)}
.v5-panel-mid{display:flex;flex-direction:column;align-items:center;flex:1 1 auto;min-width:0}.v5-panel-mid .v5-meter-text{font-size:16px}
.v5-panel-mid .v5-meter-dots{font-size:16px;letter-spacing:2px}.v5-panel-step{margin:2px 0 0;text-align:center}
.birth-actions .primary.ready{outline:3px solid var(--accent);outline-offset:3px;font-weight:700}
.v5-panel-count{margin:0;text-align:center;font-size:14px;line-height:1.3;color:var(--muted);overflow-wrap:anywhere}.v5-panel-count.done{color:var(--accent);font-weight:600}
.v5-panel-error .field-error{margin:0 0 6px}
/* [task_ui_accordion_hints] «Например: …» in the fields: readable (4.7:1 on the field) and plainly paler than the text (12:1);
   the step's hint for a newcomer under the heading; «?» of a term inside its name, the help under the row */
:root{--ph:#8b919b}
.birth-input::placeholder,.composer textarea::placeholder{color:var(--ph);opacity:1}
.birth-hint{margin:0 0 12px;line-height:1.45}
.btn.v5-help{width:44px;min-height:44px;padding:0;margin-left:8px;border-radius:50%;font-weight:600;color:var(--accent);vertical-align:middle}
.btn.v5-help[aria-expanded="true"]{background:var(--accent);color:#1a1610;border-color:var(--accent)}
.v5-help-text{margin:4px 0 0}.v5-help-text p{margin:0 0 4px}
/* [task_ui_attrs_addendum 2] «было → станет» of the predator screens: the hero's numbers, the option picked marked */
.v5-effects{margin:6px 0 0}.v5-effect{margin:4px 0;color:var(--muted);line-height:1.35;overflow-wrap:anywhere}
.v5-effect.on{color:var(--text);border-left:3px solid var(--accent);padding-left:8px}
.clan-card .v5-effect{color:var(--accent)}
/* [task_1425 (Б)] «Новая хроника»: the site's own form; a phone: the card at the top, the buttons above the keyboard */
.modal{position:fixed;inset:0;z-index:40;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;padding:16px}
.modal[hidden]{display:none}
.modal-card{width:min(100%,440px);background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:20px;display:flex;flex-direction:column;gap:10px;box-shadow:0 12px 40px rgba(0,0,0,.55)}
.modal-title{margin:0 0 4px;font-size:19px;color:var(--accent)}
.modal-input{background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:10px;padding:11px 13px;font-size:16px;min-height:46px;font-family:inherit}
.modal-input:focus{outline:none;border-color:var(--accent-d)}
.modal-input[aria-invalid="true"]{border-color:var(--danger)}
.modal-card .field-error{margin:0}
.modal-card p{margin:0}
.modal-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:6px}
.modal-actions .btn{min-width:110px}
@media (max-width:600px){.modal{align-items:flex-start;padding:12px;padding-top:max(12px,env(safe-area-inset-top,0px))}.modal-actions .btn{flex:1}}
/* [owner 12.11 16:07, task_1608] the big blocks of prose «как в книгах»: by the width, words hyphenated by syllables (the
   page is lang="ru"), the last line of a paragraph to the left; the Storyteller's story in the chat (each paragraph of a
   turn), «Твоя история», the biography «До Становления», the long descriptions of the cards (a clan's about, bane,
   compulsion, play; a hunting style's essence and description; a skill mode's; what a merit gives), «Происхождение» of
   the sheet. Not the player's line, the scene's header, «где ты», hints, buttons, lists, fields. On a phone without
   hyphenation the gaps between words would gape: there by the width only where the browser hyphenates (html.hyph,
   app.js markHyphens). [16:09] Each
   paragraph of them, the first too, with the indent of its first line (красная строка), the gaps between them kept.
   [INV-4] the description of a thing in «Инвентарь» (.inv-desc). [16:31, task_1633] a word hyphenated from 7 letters, 3 at least before and after the break («ку-рьера», «из-дает»,
   «тво-его» never); the short words bound to the next one by app.js nbsp() */
.narr p,.birth-story p,.mortal-biography,.clan-detail p.birth-text:not(.clan-tagline),.clan-card>p.birth-text,
.v5-predator>p.muted.small:not(.v5-why),.v5-gives,.cs-origin,.inv-desc{text-align:justify;text-align-last:left;-webkit-hyphens:auto;hyphens:auto;
  text-indent:1.5em;hyphenate-limit-chars:7 3 3;-webkit-hyphenate-limit-before:3;-webkit-hyphenate-limit-after:3}
@media (max-width:600px){
  html:not(.hyph) :is(.narr p,.birth-story p,.mortal-biography,.clan-detail p.birth-text:not(.clan-tagline),.clan-card>p.birth-text,
  .v5-predator>p.muted.small:not(.v5-why),.v5-gives,.cs-origin,.inv-desc){text-align:left}}
/* [owner 12.11 15:15, task_1516] «Исправь везде слипшиеся объекты» — what tools/check_gaps.py found (tests/web/test_web_gaps.py):
   buttons, chips, fields 8 px apart at least; rows of one list 8 px; a title 12 px under a control, a hint 4 px under it */
.v5-dots,.v5p-cells,.v5p-steps,.v5-cats{gap:8px}
.v5-line,.v5-row.v5-item{margin-bottom:8px}.v5-chosen{margin-bottom:8px}
.v5-help{margin-left:8px}.v5p-help{margin-right:8px}
.v5-row .birth-input+p,.v5-row select+p,.btn+.v5-short,.btn+p.muted.small{margin-top:6px}
.v5-row .beliefs-help+*{margin-top:16px}
.v5p-cells+.v5p-need,.v5-take+.v5-sub{margin-top:12px}
.v5-taken-head+*{margin-top:12px}
.v5s-row{row-gap:8px}.v5p-head+.v5p-line{margin-top:6px}.v5p-card p.v5p-need{margin-top:12px}
.v5-panel>.v5-taken{margin-bottom:14px}.v5-points+.v5-sub{margin-top:12px}.v5-row p.v5-name:has(>.v5-help){margin-bottom:8px}
.v5-screen[data-screen^="advantages"] .v5-chosen{margin-bottom:8px}.v5-screen[data-screen^="advantages"] .v5-taken .v5-chosen{margin:8px 0 0}
.sl-input+.sl-summary,.sl-fields+.sl-summary{margin-top:12px}
/* [ЭКСП., INVENTORY_TOOL_0.1 §7.1, INV-4] «Инвентарь»: the panel of «Персонаж», narrower (a list, not three columns);
   a thing a row (the whole row is its button, 44 px and up), rows of a list 8 px apart, a group's title 20 px under the
   last row; the description of the chosen thing a book's paragraph (as the big blocks of task_1608), the rest left */
.inv-panel{position:fixed;width:min(100vw,560px)}   /* fixed: the same place (the screen is 100dvh, the page never scrolls), a layer of its own over the chat */
.inv-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.inv-item{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%;min-height:44px;padding:10px 14px;text-align:left;
  background:var(--panel2);color:var(--text);border:1px solid var(--line);border-radius:10px;font:inherit;cursor:pointer}
.inv-item:hover,.inv-item.open{border-color:var(--accent-d)}
.inv-item:focus-visible{outline:2px solid var(--accent-d);outline-offset:2px}
.inv-name{font-size:16px;line-height:1.35;overflow-wrap:anywhere}
.inv-meta{font-size:14px;line-height:1.35;color:var(--muted);overflow-wrap:anywhere}
.inv-details{margin:8px 0 0;padding:12px 14px;background:var(--panel);border:1px solid var(--line);border-radius:10px}
.inv-details>p{margin:0}.inv-details>p+p{margin-top:6px}.inv-desc+.inv-line{margin-top:12px}
.inv-desc{font-size:15px;line-height:1.55;overflow-wrap:break-word}   /* by the width: the rule of task_1608 above */
.inv-line{font-size:15px;line-height:1.45;overflow-wrap:anywhere}.inv-label{color:var(--muted)}
.inv-empty{margin:20px 0 0;font-size:15px;line-height:1.5}
.inv-chat{margin:20px 0 0;line-height:1.45}
.inv-exp{margin:0 0 16px;line-height:1.45}   /* [task_2350] the approved note under the head, out of the story's text */
/* [task_1751, owner 12.11 17:50] one frame on every step of «Рождение» as on step 7: the step line, the strip of steps
   (the shown one marked, the passed ones and the one reached are buttons, the later ones dimmed), the title and its
   hint, the bar held at the bottom «Назад | state | Дальше» (.birth-bar = .v5-panel) */
.birth-strip{margin:0 0 16px}.birth-strip .v5p-steps{margin:0}
.v5p-steps li{padding:0}.v5p-steps li.on{display:flex;align-items:center;min-height:42px;box-sizing:border-box;padding:0 12px}   /* as high as the buttons beside it (40 + the border) */
.v5p-steps .birth-strip-go{display:block;min-height:40px;margin:0;padding:8px 12px;border:0;border-radius:999px;background:none;color:inherit;font:inherit;line-height:1.4;white-space:nowrap;cursor:pointer}
.v5p-steps li.done .birth-strip-go:hover,.v5p-steps li.reached .birth-strip-go:hover{background:var(--line)}
.v5p-steps .birth-strip-go:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.v5p-steps li.reached{color:var(--text);border-color:var(--accent);border-style:dashed}
.v5p-steps li.later,.v5p-steps li.locked{opacity:.55}.v5p-steps li.later .birth-strip-go,.v5p-steps li.locked .birth-strip-go{cursor:default}
.birth-strip-hint{margin:8px 0 0}
.birth-bar{margin-top:16px}.birth-bar .birth-actions .btn[disabled]{opacity:.45}
/* the state keeps room for its words on a phone (no «дальш|е»): a long «Дальше: твоя история» wraps instead */
.v5-panel .birth-actions{grid-template-columns:auto minmax(6em,1fr) auto}
.v5-panel .birth-actions .btn:last-child{white-space:normal}.v5-panel .birth-state{overflow-wrap:normal;hyphens:manual}
.clan-card .clan-detail .clan-choose{margin:12px 0 0}
/* [task_1751, coordinator 18:26 variant В] a change on a step passed: the steps to pass again marked in the strip, the
   notice under it; a discipline lowered under its chosen powers asked first */
.v5p-steps li.broken{border-color:var(--danger);border-style:solid}
.birth-broken,.v5-cut{margin:0 0 16px;padding:12px;border:1px solid var(--danger);border-radius:10px}
.birth-broken .birth-text,.v5-cut .birth-text{margin:0 0 8px}.birth-broken .birth-actions,.v5-cut .birth-actions{margin:0}
.v5-cut{margin:12px 0 0}.v5-cut .btn.danger{color:var(--danger);border-color:var(--danger)}
