#reviewBanner{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:8px 16px;background:var(--panel);color:var(--muted);border-bottom:1px solid var(--line);font-size:13px}#reviewBanner button{padding:6px 10px;font-size:13px}
#connectedShell[hidden]{display:none!important}#connectedShell{margin:12px 0;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--panel);color:var(--text);box-sizing:border-box;min-width:0}
#connectedShell .connected-trail{padding-bottom:12px;margin-bottom:16px;border-bottom:1px solid var(--line)}#connectedShell h2{font:24px/1.3 Georgia,serif;color:var(--gold);margin:12px 0 18px}
#connectedShell button{min-height:48px;padding:10px 14px;font:16px/1.4 Georgia,serif;white-space:normal}#connectedShell .connected-objects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#connectedShell .connected-object{display:flex;flex-direction:column;gap:12px;text-align:left;min-width:0;background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:14px}
#connectedShell .connected-object canvas{width:100%;height:180px;object-fit:contain}#connectedShell .connected-object small{color:var(--muted)}#connectedShell .connected-object span{min-height:3em}
#connectedShell .connected-action-tray{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:12px 0}#connectedShell .connected-action-tray>*{min-width:0}
#connectedShell>.connected-inspect,#connectedBody>.connected-inspect{display:block;width:min(100%,460px);height:220px;object-fit:contain;margin:12px auto}
#connectedShell .connected-links{display:flex;flex-wrap:wrap;gap:12px}#connectedShell .connected-mini{max-width:300px}#connectedShell .connected-mini-art img,#connectedShell .connected-mini-art canvas{max-width:100%;height:120px;object-fit:contain}
#connectedShell details{border:1px solid var(--line);border-radius:10px;padding:12px;margin:12px 0}#connectedShell summary{color:var(--gold);cursor:pointer}#connectedShell .connected-extra{margin:12px 0}
@media(max-width:650px){#connectedShell{padding:12px}#connectedShell .connected-object canvas{height:130px}#connectedShell button{font-size:15px}}
/* Plant sheet: illustration + actions first; study/name next; prose on request. */
#connectedShell .connected-item-sheet{color:var(--text);line-height:1.5}
#connectedShell .connected-item-overview{display:grid;grid-template-columns:minmax(200px,.8fr) minmax(0,1.8fr);gap:24px;align-items:start;margin:16px 0 20px}
#connectedShell .connected-item-visual{margin:0;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--bg);min-width:0}
#connectedShell .connected-item-visual .connected-inspect{display:block;width:100%;height:210px;max-height:210px;object-fit:contain;margin:0}
#connectedShell .connected-item-visual .connected-stock{text-align:center;margin:12px 0 0;padding:10px 0 0;border:0;border-top:1px solid var(--line);color:var(--muted);font-size:15px}
#connectedShell .connected-item-actions h3{margin:0 0 12px;font:normal 21px/1.4 Georgia,serif;color:var(--gold)}
#connectedShell .connected-item-sheet .card-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:auto;max-height:none;overflow:visible;gap:12px;padding:0;margin:0;scrollbar-gutter:auto}
#connectedShell .connected-item-sheet .food-batch{display:flex;flex-direction:column;gap:8px;min-width:0;padding:12px;background:var(--bg);border:1px solid var(--line);border-radius:9px}
#connectedShell .connected-item-sheet .food-batch>.plant-actions{display:flex;margin:0}
#connectedShell .connected-item-sheet .food-batch>.plant-actions>button{flex:1 1 auto}
#connectedShell .connected-item-sheet .food-state{display:block;color:var(--muted);font-size:14px;min-height:42px}
#connectedShell .connected-item-sheet button{font-size:16px;min-height:48px;padding:10px 14px;box-sizing:border-box}
#connectedShell .connected-item-sheet .card-actions>button{grid-column:1/-1}
#connectedShell .connected-item-routes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}
#connectedShell .connected-item-routes p,#connectedShell .connected-item-routes .connected-extra{margin:0;display:contents}
#connectedShell .connected-item-routes button{width:100%;height:100%;margin:0}
#connectedShell .connected-item-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
#connectedShell .connected-item-choices>details{margin:0;padding:16px;background:var(--bg);border-color:var(--line)}
#connectedShell .connected-item-sheet summary{font-size:19px;line-height:1.4;color:var(--gold)}
#connectedShell .connected-item-sheet p{color:var(--text);font-size:16px;line-height:1.6}
#connectedShell .connected-item-sheet .muted{color:var(--muted)}
#connectedShell .connected-item-sheet .study-time{max-height:none;grid-auto-rows:auto;overflow:visible;scrollbar-gutter:auto;padding:0;gap:10px}
#connectedShell .connected-item-sheet .discovery-name .plant-actions{display:grid;grid-template-columns:1fr;gap:10px;margin-top:16px}
#connectedShell .connected-item-sheet input{width:100%;box-sizing:border-box;padding:12px;color:var(--text);background:var(--panel);border:1px solid var(--line);border-radius:7px;font:16px Georgia,serif}
#connectedShell .connected-item-sheet>.discovery-notes{margin:18px 0 0;border-color:var(--line);padding:16px}
#connectedShell .connected-item-sheet .known-observations{border:0;padding:0;max-width:70ch;margin:16px auto}
#connectedShell .connected-item-sheet .connected-scroll-hint{display:none}
@media(max-width:650px){#connectedShell .connected-item-overview{grid-template-columns:1fr;gap:16px}#connectedShell .connected-item-visual{padding:10px}#connectedShell .connected-item-visual .connected-inspect{height:160px}#connectedShell .connected-item-choices{grid-template-columns:1fr;gap:12px}#connectedShell .connected-item-routes{grid-template-columns:1fr}#connectedShell .connected-item-sheet button{font-size:15px}#connectedShell .connected-item-sheet .food-batch{padding:10px}}

#connectedShell .connected-item-visual{background:var(--panel)}
@media(max-width:650px){#connectedShell .connected-item-sheet .food-state{min-height:42px}#connectedShell .connected-item-sheet .food-batch>.plant-actions>button{min-height:82px}}

/* Reserve the space used by the unchanged canon corner controls. */
@media(min-width:769px){#reviewBanner{padding-right:350px}}
@media(max-width:768px){#reviewBanner{padding-top:62px}}

/* Keep the active subject in focus; the root suggestions return with All choices. */
#nowCard .suggest{max-height:var(--suggest-height,1200px);overflow:hidden;opacity:1;transition:max-height 420ms ease,opacity 220ms ease,margin 420ms ease}
body.connected-browsing #nowCard .suggest{max-height:0;opacity:0;margin-block:0;pointer-events:none}
@media(prefers-reduced-motion:reduce){#nowCard .suggest{transition:none}}
#connectedShell .connected-section-heading{display:inline-flex;gap:12px;align-items:center;vertical-align:middle}
#connectedShell .connected-section-heading svg{width:36px;height:36px;flex:none;stroke:currentColor;stroke-width:1.5;fill:none;stroke-linecap:round;stroke-linejoin:round;padding:8px;border:1px solid var(--line);border-radius:10px;background:var(--bg);box-sizing:content-box}
#connectedShell .connected-section-heading strong{display:block;font:normal 22px/1.3 Georgia,serif;color:var(--gold)}
#connectedShell .connected-section-heading small{display:block;font:14px/1.5 Georgia,serif;color:var(--muted);margin-top:3px}
#connectedShell .discovery-notes>summary{padding:4px 0}

/* Dense late-game food variants remain readable, rather than narrow columns. */
#reviewStages{display:flex;gap:8px;align-items:center;flex-wrap:wrap}#reviewStages[hidden]{display:none}
#reviewStages select{max-width:100%;font:inherit;color:var(--text);background:var(--bg);border:1px solid var(--line);border-radius:6px;padding:8px}
#connectedShell .discovery-notes>summary{display:flex;align-items:center;gap:10px}
#connectedShell .discovery-notes>summary::before{content:'▸';color:var(--gold)}
#connectedShell .discovery-notes[open]>summary::before{content:'▾'}
#connectedShell .discovery-notes>summary::-webkit-details-marker{display:none}
@media(max-width:650px){
 #connectedShell .connected-item-sheet .card-actions{grid-template-columns:1fr!important}
 #connectedShell .connected-item-sheet .food-batch{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);align-items:center;gap:12px}
 #connectedShell .connected-item-sheet .food-state{min-height:0}
 #connectedShell .connected-item-sheet .food-batch>.plant-actions>button{min-height:48px}
}

/* Camp has the same category -> subject -> actions rhythm as the clearing. */
body.connected-camp #nightChoices .location-work{display:none}
body.connected-camp-inventory #carryTitle,body.connected-camp-inventory #hands,body.connected-camp-inventory #pileShow{display:none!important}
#connectedCampMenu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:16px 0 24px}
#connectedCampMenu .connected-object{display:flex;flex-direction:column;gap:10px;min-width:0;text-align:left;padding:16px;background:var(--panel);border:1px solid var(--line);border-radius:12px;color:var(--gold);font:20px Georgia,serif}
#connectedCampMenu canvas{width:100%;height:160px;object-fit:contain}#connectedCampMenu small{font:14px Georgia,serif;color:var(--muted)}
#connectedShell .inventory-item-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
#connectedShell .inventory-entry{min-width:0}#connectedShell .inventory-item{margin:0;height:auto}
#connectedShell .inventory-item summary canvas,#connectedShell .inventory-item summary img{height:140px;width:100%;object-fit:contain;background:transparent}
#connectedShell .camp-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
#connectedShell .camp-actions>.activity-picture{width:auto;min-width:0;margin:0}
#connectedShell .activity-picture canvas{background:transparent}
#connectedShell .connected-intro{color:var(--muted);line-height:1.6}
@media(max-width:650px){#connectedCampMenu canvas{height:120px}#connectedCampMenu .connected-object{font-size:17px;padding:12px}#connectedShell .inventory-item-grid,#connectedShell .camp-actions{grid-template-columns:1fr}}

#connectedCampMenu{grid-column:1/-1;width:100%;box-sizing:border-box}
#connectedCampMenu .connected-object>img,#connectedCampMenu .connected-belongings-art{width:100%;height:160px;object-fit:contain}
#connectedCampMenu .connected-belongings-art{display:flex;align-items:center;justify-content:center;gap:6px}
#connectedCampMenu .connected-belongings-art :is(img,canvas){width:30%;height:140px;object-fit:contain}
#connectedShell .inventory-item-grid{max-height:none;overflow:visible;scrollbar-gutter:auto;padding:6px;align-items:start;scroll-behavior:smooth}
@media(max-width:650px){#connectedShell .inventory-item-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:none}#connectedShell .inventory-item summary img,#connectedShell .inventory-item summary canvas{height:100px}#connectedShell .inventory-item{padding:8px}#connectedShell .inventory-item-label{font-size:14px}#connectedCampMenu .connected-object>img,#connectedCampMenu .connected-belongings-art{height:120px}}
@media(prefers-reduced-motion:reduce){#connectedShell .inventory-item-grid{scroll-behavior:auto}}

/* Review43: one action-card frame for native and connected presentations. */
#connectedShell .activity-picture{padding:0;margin:0;min-width:0;width:100%;box-sizing:border-box}
#connectedShell .activity-picture>summary{padding:14px}
#connectedShell .activity-picture-title{display:flex;min-height:3em;align-items:center;font-size:18px;line-height:1.35}
#connectedShell .activity-picture>summary>:is(img,canvas,svg){width:100%;height:180px;box-sizing:border-box}
.activity-picture.object-illustration>summary>img{object-fit:contain;background:transparent}
.activity-picture .action-symbol{display:block;width:100%;height:140px;color:var(--gold);padding:18px;box-sizing:border-box;background:transparent}
.activity-picture .danger-action-art{display:block;width:100%;height:140px;overflow:hidden;background:#000;border-radius:8px}
.activity-picture.equipment-selected{border-color:var(--gold)}
.activity-picture.equipment-selected .activity-picture-title:before{content:'✓';font-style:normal}
#connectedShell .hand-choice>p{line-height:1.5;margin:20px 0 12px;color:var(--muted)}
#connectedShell .connected-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}
#connectedShell .connected-mini{max-width:none;width:100%;box-sizing:border-box}
#connectedShell .connected-object>img{width:100%;height:180px;object-fit:contain}
#connectedShell .connected-object>span{color:var(--gold);font-size:18px;line-height:1.4}
#connectedShell .connected-action-tray{align-items:start}
#connectedShell .inventory-item-grid{gap:12px;padding:2px}
#connectedShell .inventory-item{padding:10px}
#connectedShell .inventory-item-label{line-height:1.4;overflow-wrap:anywhere}
@media(max-width:650px){
 #connectedShell .activity-picture>summary{padding:10px}
 #connectedShell .activity-picture-title{font-size:16px;min-height:3em}
 #connectedShell .activity-picture>summary>:is(img,canvas,svg){height:140px}
 #connectedShell .connected-object>img{height:130px}
 #connectedShell .connected-object{padding:10px;gap:8px}
 #connectedShell .connected-object>span{font-size:16px}
}

.activity-picture.equipment-selected .activity-picture-title{position:relative;padding-left:24px}
.activity-picture.equipment-selected .activity-picture-title:before{position:absolute;left:0}
.activity-picture .activity-picture-title:after{margin-left:auto}
#connectedShell .inventory-item-label{min-height:4.2em;align-items:start}
#connectedShell .inventory-space{display:block;min-height:2.8em}
#connectedShell .inventory-section{min-width:0}
/* Actions without new artwork retain a calm, equally sized illustrated frame. */
#connectedShell .connected-objects,#connectedShell .connected-action-tray{scroll-behavior:smooth}
@media(prefers-reduced-motion:reduce){#connectedShell .connected-objects,#connectedShell .connected-action-tray{scroll-behavior:auto}}

/* Two choices per tray; expanded item prose keeps its natural page height. */
#connectedShell :is(.connected-objects,.connected-action-tray){max-height:none;overflow:visible;scrollbar-gutter:auto;padding:2px 4px 8px 2px}
#connectedShell .connected-mini-art{display:block;width:100%;height:180px;min-height:0;overflow:hidden}
#connectedShell .connected-mini-art>.category-art{width:100%;height:100%;margin:0;background-size:cover;background-position:center}
#connectedShell .connected-mini-art .danger-header{background:#000;border-radius:8px}
#connectedShell .connected-mini-art :is(img,canvas,svg){max-width:100%;height:100%;object-fit:contain}
@media(max-width:650px){#connectedShell .connected-mini-art{height:130px}}

/* Ordinary preview controls inherit the chosen game theme; dream art is intentionally separate. */
#deathPreviewDialog{background:var(--panel);color:var(--text);border-color:var(--line)}
#deathPreviewDialog h2{color:var(--gold)}
#deathPreviewDialog .muted{color:var(--muted)}
#deathPreviewDialog :is(button,select){background:var(--bg);color:var(--text);border-color:var(--line)}
#deathPreviewClose{position:sticky;bottom:0;display:block;width:100%;box-shadow:0 -8px 18px var(--panel)}

/* Focused equipment follows the same object sheet as plants; use the full approved picture. */
#connectedShell .connected-equipment-art :is(img,svg,canvas){display:block;width:100%;height:220px;object-fit:contain}
#connectedShell .connected-equipment-art svg{color:var(--gold)}
#connectedShell .connected-equipment-recipe{margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}

/* One readable label and a separate requirements line, including cloned action buttons. */
#connectedShell button small{display:block;margin-top:6px;font-size:14px;line-height:1.55;color:var(--muted)}
#connectedShell .connected-uses{margin:0;padding:14px;align-self:start}
#connectedShell .connected-uses>summary{list-style:none}
#connectedShell .connected-uses>summary::-webkit-details-marker{display:none}
#connectedShell .connected-uses>.card-actions{margin-top:16px}
#connectedShell .connected-uses>details{margin-top:12px;background:var(--bg)}

#connectedShell .connected-uses .connected-use-choice{margin:0;padding:12px;background:var(--bg);width:100%;box-sizing:border-box}
#connectedShell .connected-uses :is(.card-actions,.connected-item-routes){display:grid!important;grid-template-columns:1fr!important;gap:12px}
#connectedShell .connected-use-choice>summary{font:18px/1.5 Georgia,serif;color:var(--gold)}
#connectedShell .connected-use-choice>button,#connectedShell .connected-use-choice>div,#connectedShell .connected-use-choice>p{margin-top:12px}

/* Shared visual grammar: an action button acts; marked disclosures reveal decisions. */
:is(#connectedShell,#nightChoices .location-work) .connected-choice-heading{position:relative;padding-right:76px;list-style:none}
:is(#connectedShell,#nightChoices .location-work) .connected-choice-heading::-webkit-details-marker{display:none}
:is(#connectedShell,#nightChoices .location-work) .connected-choice-kind{position:absolute;right:0;top:2px;font:12px/1.5 Georgia,serif;color:var(--muted);white-space:nowrap}
:is(#connectedShell,#nightChoices .location-work) .has-subchoices::after{content:' ▾';color:var(--gold)}
:is(#connectedShell,#nightChoices .location-work) details[open]>.connected-choice-heading>.has-subchoices::after{content:' ▴'}
:is(#connectedShell,#nightChoices .location-work) .connected-direct-action{display:flex;flex-direction:column;align-items:stretch;text-align:left;gap:14px;padding:14px;background:var(--panel);border:1px solid var(--line);border-radius:10px;width:100%;box-sizing:border-box}
:is(#connectedShell,#nightChoices .location-work) .connected-direct-action::before{display:none}
:is(#connectedShell,#nightChoices .location-work) .connected-direct-title{font:italic 20px/1.4 Georgia,serif;color:var(--gold)}
:is(#connectedShell,#nightChoices .location-work) .connected-direct-action :is(img,svg,canvas){width:100%;height:180px;object-fit:contain;background:transparent}
:is(#connectedShell,#nightChoices .location-work) .connected-direct-action svg{color:var(--gold)}
:is(#connectedShell,#nightChoices .location-work) .connected-direct-label{font:16px/1.5 Georgia,serif;color:var(--text)}
:is(#connectedShell,#nightChoices .location-work) .connected-direct-label::before{content:'→ ';color:var(--gold)}
@media(max-width:650px){:is(#connectedShell,#nightChoices .location-work) .connected-direct-action :is(img,svg,canvas){height:140px}:is(#connectedShell,#nightChoices .location-work) .connected-direct-title{font-size:17px}}

:is(#connectedShell,#nightChoices .location-work) .activity-picture>.connected-choice-heading{padding-right:14px}
:is(#connectedShell,#nightChoices .location-work) .activity-picture .activity-picture-title{padding-right:64px}
:is(#connectedShell,#nightChoices .location-work) .activity-picture .activity-picture-title::after,:is(#connectedShell,#nightChoices .location-work) .craft-recipe-title::after,:is(#connectedShell,#nightChoices .location-work) .discovery-notes>.connected-choice-heading::before{content:none}
:is(#connectedShell,#nightChoices .location-work) .activity-picture .connected-choice-kind{top:14px;right:14px}
:is(#connectedShell,#nightChoices .location-work) .discovery-notes>.connected-choice-heading{padding-right:76px}

:is(#connectedShell,#nightChoices .location-work) .connected-direct-label::before{content:none}
:is(#connectedShell,#nightChoices .location-work) .connected-direct-title::before{content:'→ ';font-style:normal}
@media(max-width:650px){
 :is(#connectedShell,#nightChoices .location-work) .connected-choice-heading,:is(#connectedShell,#nightChoices .location-work) .discovery-notes>.connected-choice-heading{padding-right:0;display:block}
 :is(#connectedShell,#nightChoices .location-work) .connected-choice-kind{position:static;display:block;text-align:right;margin-top:8px}
 :is(#connectedShell,#nightChoices .location-work) .activity-picture .activity-picture-title{padding-right:0}
}

/* One workstone grid, independent of whether a recipe originally came from tasks or crafts. */
#nowCard #nightChoices .location-work .place-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:stretch}
#nowCard #nightChoices .location-work .place-actions>.location-action-heading{grid-column:1/-1}
#nowCard #nightChoices .location-work .place-actions>:is(.craft-choices,.tasks){display:contents}
#nowCard #nightChoices .location-work .connected-direct-action{display:grid;grid-template-rows:minmax(84px,auto) 180px minmax(68px,1fr);gap:14px;height:100%;align-self:stretch;align-content:start;margin:0;min-width:0}
#nowCard #nightChoices .location-work .connected-direct-title{align-self:start;font-size:20px;line-height:28px}
#nowCard #nightChoices .location-work .connected-direct-action>:is(img,svg,canvas,.connected-direct-media){display:block;height:180px;width:100%;object-fit:contain;align-self:center}
#nowCard #nightChoices .location-work .connected-direct-label{align-self:start}
@media(max-width:1000px){#nowCard #nightChoices .location-work .place-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:500px){#nowCard #nightChoices .location-work .place-actions{grid-template-columns:1fr}}

#pause .pause-acts button small{display:block;margin-top:6px;line-height:1.5;color:var(--muted)}

/* 52: stock is a set of equal item doors; actions live on the chosen item. */
#connectedShell .inventory-item-grid{align-items:stretch}
#connectedShell .connected-inventory-door{width:100%;height:100%;display:flex;flex-direction:column;gap:12px;align-items:stretch;padding:16px;text-align:left}
#connectedShell .connected-inventory-door img,#connectedShell .connected-inventory-door canvas{width:100%;height:160px;object-fit:contain;order:1}
#connectedShell .connected-inventory-door .inventory-item-label{order:0;min-height:4.2em;display:flex;justify-content:space-between;gap:12px}
#connectedShell .connected-inventory-door small{order:2}
#connectedShell .connected-inventory-door>small:last-child{margin-top:auto}
@media(max-width:650px){#connectedShell .connected-inventory-door{padding:10px}#connectedShell .connected-inventory-door img,#connectedShell .connected-inventory-door canvas{height:110px}}

#connectedShell .inventory-sections{display:block}
#connectedShell .inventory-section{margin:0 0 20px}
#connectedShell .inventory-item-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
#connectedShell .connected-inventory-door .inventory-item-label:after{content:none}
#connectedShell .connected-inventory-door:before{content:none}
@media(max-width:650px){#connectedShell .inventory-item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

#connectedShell .connected-inventory-door svg{width:100%;height:160px;order:1}

#connectedShell .camp-actions>.camp-food{grid-column:1/-1;min-width:0}
#connectedShell .camp-food .food-batch{display:block;border-top:1px solid var(--line);padding:16px 0}
#connectedShell .camp-food .plant-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media(max-width:650px){#connectedShell .camp-food .plant-actions{grid-template-columns:1fr}}

/* 53: preparation variants are compared side by side, on both layouts. */
#connectedShell .camp-food{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:stretch}
#connectedShell .camp-food>h3,#connectedShell .camp-food>p{grid-column:1/-1;margin-bottom:0}
#connectedShell .camp-food .food-batch{min-width:0;display:flex;flex-direction:column;gap:8px}
#connectedShell .camp-food .plant-actions{display:grid;grid-template-columns:1fr;flex:1}
#connectedShell .camp-food .connected-direct-action{height:100%;width:100%;min-width:0}
#connectedShell .camp-food .connected-direct-title{font-size:clamp(16px,1.6vw,20px);line-height:1.4}
#connectedShell .camp-food img,#connectedShell .camp-food canvas{width:100%;height:160px;object-fit:contain}
#connectedShell .connected-stock-category{margin:18px 0 24px}
#connectedShell .connected-stock-category>h4{font-family:var(--card-title-font);font-size:20px;color:var(--gold);margin:0 0 12px}
#connectedShell .connected-stock-category .inventory-item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}

#connectedShell .camp-food .food-batch{display:grid;grid-template-rows:subgrid;grid-row:span 3}
#connectedShell .camp-food .connected-direct-action{display:grid;grid-template-rows:minmax(80px,auto) auto 160px minmax(70px,auto);align-content:start;gap:8px;padding:12px}
#connectedShell .camp-food .connected-direct-action img,#connectedShell .camp-food .connected-direct-action canvas{margin:0}

#connectedShell .connected-preparation-family{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}

/* 55: knowledge, naming and study are peer doors, not nested accordions. */
#connectedShell .connected-information-door{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:14px;min-height:110px;padding:20px;color:var(--gold);font-family:var(--card-title-font);font-size:20px;text-align:left;width:100%}
#connectedShell .connected-information-door small{font-size:14px;color:var(--muted)}
#connectedShell .connected-item-actions>.connected-information-door{margin:10px 0}
#connectedShell .connected-discovery-page{font-size:18px;line-height:1.7;padding:12px 0 24px;max-width:75ch}
#connectedShell .connected-discovery-page input{max-width:100%;box-sizing:border-box}

/* 56: peer navigation and recognisable shared discovery glyphs. */
#connectedShell .connected-trail{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
#connectedShell .connected-trail .connected-top{margin-left:auto}
#connectedShell .connected-discovery-icon{width:52px;height:52px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round;stroke-linecap:round}
#connectedShell .connected-information-door{display:grid;grid-template-columns:52px 1fr;column-gap:20px;row-gap:8px;align-items:center;min-height:124px}
#connectedShell .connected-information-door:before{content:none}
#connectedShell .connected-information-door .connected-discovery-icon{grid-row:1/3}
#connectedShell .connected-information-door>small{grid-column:2}
@media(max-width:500px){#connectedShell .connected-information-door{grid-template-columns:40px 1fr;column-gap:12px;padding:14px}#connectedShell .connected-discovery-icon{width:40px;height:40px}}

#connectedShell .connected-trail button:before{content:none}

/* 57: browser scroll anchoring must not fight the explicit panel transition. */
#connectedShell,#nightChoices{overflow-anchor:none}

/* Shared item glyphs retain the same visual frame as raster item art. */
.connected-item-visual svg.action-symbol{display:block;width:100%;height:200px;padding:24px;box-sizing:border-box;color:var(--gold)}

/* Chapter ending is a reading page in the same theme, not a score panel.
   Behaviour and arrival motion remain ui.renderPause/putPause/chapterEndingInView. */
#nowCard #pause .chapter-ending{box-sizing:border-box;width:100%;max-width:72ch;margin:18px auto;padding:clamp(22px,4vw,46px);border:1px solid var(--line);border-radius:16px;background:var(--panel);color:var(--text)}
#pause .chapter-ending>p:first-child{margin:0 0 14px;font-size:.8em;letter-spacing:.14em;text-transform:uppercase;color:var(--muted)}
#pause .chapter-ending #chapterEndTitle{font-family:var(--card-title-font,Georgia,serif);font-weight:normal;font-size:clamp(30px,4vw,44px);line-height:1.15;margin:0 0 26px;color:var(--gold);outline:none}
#pause .chapter-ending>p:not(:first-child),#pause .chapter-ending details p{font-size:1.08em;line-height:1.75;margin:20px 0}
#pause .chapter-ending>details{margin:28px 0;border-block:1px solid var(--line);padding:18px 0}
#pause .chapter-ending>details>summary{color:var(--gold);font-family:var(--card-title-font,Georgia,serif);font-size:1.1em;cursor:pointer}
#pause .chapter-ending .plant-actions{margin-top:26px}
#pause .chapter-ending #chapterEndAccount:empty{display:none}

/* 64: keep preparation pairs side by side without squeezing names beside counts. */
@media(max-width:650px){
 #connectedShell .inventory-section{padding:8px}
 #connectedShell .connected-stock-category{padding:6px}
 #connectedShell .connected-inventory-door .inventory-item-label{flex-direction:column;gap:4px;min-height:6em}
 #connectedShell .connected-inventory-door .inventory-item-label strong{align-self:flex-end}
}

/* Diagnostic controls retain the shared reading width and warm UI palette. */
#executionSettings{line-height:1.5;margin-top:1rem}
#executionSettings select{display:block;box-sizing:border-box;width:100%;max-width:100%;font:inherit;color:inherit;background:transparent;border:1px solid var(--line,#a58c61);border-radius:.45rem;padding:.55rem;margin:.4rem 0 .8rem}
#executionSettings .plant-actions{gap:.65rem}

/* Shared Go/Pause geometry and visibility: never remove its reserved footprint. */
#pauseInline{min-inline-size:8.5ch;flex-shrink:0;box-sizing:border-box}
#pauseBtn{min-inline-size:8.5ch;box-sizing:border-box}
#bottomGo{min-inline-size:12ch;opacity:0;visibility:hidden;pointer-events:none;transition:opacity 240ms ease,visibility 0s linear 240ms}
#bottomGo.go-visible{opacity:1;visibility:visible;pointer-events:auto;transition-delay:0s}
@media(prefers-reduced-motion:reduce){#bottomGo{transition:none}}

/* A single page surface prevents overview/detail margins and navigation from snapping. */
#connectedPageSurface{display:flow-root;min-width:0;overflow-anchor:none}

/* Travel has one address below every choice page; native cards remain its source. */
#nightChoices [data-action-category="locations"]{display:none!important}
#connectedTravel{margin-top:24px;padding-top:18px;border-top:1px solid var(--gold);clear:both}
#connectedTravel[hidden]{display:none}
#connectedTravel h2{font:italic 24px/1.4 Georgia,serif;color:var(--gold);margin:0 0 14px}
#connectedTravel .location-destinations{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
#connectedTravel .location-card{min-width:0;margin:0}
#connectedTravel .location-destination{width:100%;height:100%;display:flex;flex-direction:column;gap:12px;text-align:left}
#connectedTravel .location-destination :is(canvas,.category-art){display:block;width:100%;height:130px;object-fit:contain;margin:auto}
@media(max-width:650px){#connectedTravel .location-destinations{gap:8px}#connectedTravel .location-destination{padding:8px;font-size:15px}#connectedTravel .location-destination :is(canvas,.category-art){height:86px}}
#nowCard #connectedTravel button.location-destination{padding:10px;margin:0;min-width:0;display:flex;align-items:stretch;box-sizing:border-box}
#nowCard #connectedTravel button.location-destination::before{content:none}
#connectedTravel .location-name{padding:0;min-height:54px;text-align:left;hyphens:none;overflow-wrap:normal}
@media(max-width:650px){#nowCard #connectedTravel button.location-destination{padding:6px}#connectedTravel .location-name{font-size:16px;line-height:22px;min-height:44px}}
#nowCard #connectedTravel .location-card{padding:0;border:0;background:transparent;box-shadow:none}
@media(max-width:650px){#connectedTravel .location-name{min-height:66px}}

.connected-companion{margin:20px auto;max-width:500px;text-align:center}.connected-companion img{max-width:100%;max-height:360px;object-fit:contain}

/* Danger keeps its black field after conversion to the shared direct-action card. */
:is(#connectedShell,#nightChoices .location-work) .connected-direct-action .danger-action-art{background:#000}

#connectedShell .connected-water-section{margin:0 0 24px}#connectedShell .connected-water-section>h3{color:var(--gold)}

/* The direct water page has no extra category-navigation step. */
#connectedShell .connected-trail:empty{display:none}
#connectedShell .connected-water-section .connected-direct-action:only-child{grid-column:1/-1}
@media(max-width:650px){#connectedShell .connected-water-section .body-actions,#connectedShell .connected-water-section .connected-action-tray{grid-template-columns:1fr}}

/* Overview doors live outside connectedShell: constrain the shared card frame here too. */
#connectedDiscoveryDoors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px;min-width:0}
#connectedDiscoveryDoors>button{display:flex;flex-direction:column;gap:8px;min-width:0;width:100%;box-sizing:border-box;padding:0;border:0;background:transparent;text-align:left;box-shadow:none}
#nowCard #connectedDiscoveryDoors>button::before{display:none!important}
#connectedDiscoveryDoors>button>span{color:var(--gold);font:italic 600 1em Georgia,serif;line-height:1.4}
#connectedDiscoveryDoors>button>:is(img,canvas){display:block;width:100%;max-width:100%;height:112px;object-fit:contain;box-sizing:border-box;border:1px solid var(--line);border-radius:8px;background:var(--panel)}

@media(max-width:650px){#connectedDiscoveryDoors{grid-template-columns:1fr}}

/* William 11-01: one previous-page control beside the native action guidance/Go control. */
#nowCard .nowrow{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px}
#workNow{text-align:center;min-width:0;margin:0}
#connectedBack{min-height:44px;min-inline-size:8.5ch;margin:0;box-sizing:border-box}
#connectedBack::before{content:none}
#connectedBack:disabled{opacity:.4}
.food-comparison{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%;min-width:0}
.food-comparison>span{display:flex;flex-direction:column;align-items:center;min-width:0}
:is(#connectedBody,#nightChoices) .food-comparison img{display:block;width:100%;height:140px;object-fit:contain;margin:0;border:0;background:transparent}
.food-comparison small{display:block;text-align:center;color:var(--muted);font-size:12px}
@media(max-width:650px){#nowCard .nowrow{gap:6px}#workNow{font-size:13px}#connectedBack,#pauseInline{min-inline-size:7ch;padding:8px 6px} :is(#connectedBody,#nightChoices) .food-comparison img{height:95px}}

/* Workshop96: shelter scene fills its build card; bedding remains an isolated object. */
#connectedShell .connected-direct-action:is([data-build="shelter_lean"],[data-build="leaf_roof"]){position:relative;isolation:isolate;overflow:hidden;aspect-ratio:16/9;min-height:220px;justify-content:space-between;padding:18px;background:#263422}
#connectedShell .connected-direct-action:is([data-build="shelter_lean"],[data-build="leaf_roof"])>img{position:absolute;inset:0;z-index:-2;width:100%;height:100%;max-width:none;margin:0;padding:0;object-fit:cover;border-radius:inherit}
#connectedShell .connected-direct-action:is([data-build="shelter_lean"],[data-build="leaf_roof"])::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(0,0,0,.65),transparent 30%,transparent 75%,rgba(0,0,0,.35));pointer-events:none}
#connectedShell .connected-direct-action:is([data-build="shelter_lean"],[data-build="leaf_roof"])>.connected-direct-title{color:#ffe3a1;text-shadow:0 1px 3px #000}
#connectedShell .connected-direct-action:is([data-build="shelter_lean"],[data-build="leaf_roof"])>.connected-direct-title{position:absolute;top:18px;left:18px;right:18px;margin:0;z-index:1}

/*97: every discovered animal shares the full-width native thumbnail ground. */
#connectedDiscoveryDoors>button>.connected-wildlife-art{display:flex;justify-content:center;align-items:center;width:100%;height:112px;min-height:0;box-sizing:border-box;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:#2f3a28}
#connectedDiscoveryDoors .connected-wildlife-art>canvas{display:block;flex:1 1 0;min-width:0;width:0;max-width:100%;height:112px;object-fit:contain;background:#2f3a28}

/* Journey management uses the same theme, with reading and destructive housekeeping separated. */
#journeySettings{padding:20px!important;border:1px solid var(--line);border-radius:12px;margin-top:20px;line-height:1.5}
#journeySettings h3{margin:0 0 8px;color:var(--gold);font-size:1.2em}
#journeySettings .journey-intro{margin:0 0 16px;max-width:52ch}
#journeySettings .journey-status{padding:10px 12px;border-radius:8px;background:color-mix(in srgb,var(--gold) 9%,transparent);font-size:.9em}
#journeyGuestLabel{display:flex;align-items:flex-start;gap:10px;margin:18px 0;cursor:pointer}
#journeyGuestLabel[hidden]{display:none}#journeyGuestLabel input{margin:5px 0 0;flex:none}
#journeyGuestLabel small,#journeySettings button small{display:block;color:var(--muted);font-size:.82em;font-weight:normal;margin-top:4px}
#journeySettings .journey-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
#journeySettings .journey-actions button{width:100%;min-width:0;min-height:76px;margin:0;text-align:left;white-space:normal;padding:12px;font:inherit}
#journeyOpen{grid-column:1/-1}#journeySettings .journey-hint{font-size:.88em;color:var(--muted);margin:12px 0 18px}
#journeySettings .journey-manage{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding-top:16px;border-top:1px solid var(--line)}
#journeySettings .journey-manage span{font-size:.85em;color:var(--muted);flex:1 1 150px}
#journeySettings #executionSettings{margin-top:18px;padding-top:14px;border-top:1px solid var(--line)}
#journeySettings #executionRuns{max-width:100%;width:100%;margin:8px 0}
@media(max-width:480px){#journeySettings{padding:14px!important}#journeySettings .journey-actions{grid-template-columns:1fr}#journeyOpen{grid-column:auto}}

#combatPracticeDetails{margin-top:12px;padding:10px 12px;border:1px solid #8d794d;border-radius:8px;font-size:.85em;line-height:1.5;color:#d9cfb3;background:#18211d}#combatPracticeDetails summary{cursor:pointer;color:#e2c47f}#combatPracticeResults{padding-left:22px}#combatPracticeResults li{margin:8px 0}

#fightSetupDialog{width:min(720px,calc(100vw - 24px));max-height:90dvh;overflow:auto;padding:clamp(14px,3vw,28px);box-sizing:border-box;border:1px solid var(--line);border-radius:14px;background:var(--bg);color:var(--text)}#fightSetupDialog[open]{animation:softIn .35s ease}#fightSetupDialog::backdrop{background:#050b08b8}#fightSetupDialog fieldset{margin:16px 0;padding:14px;border:1px solid var(--line);border-radius:10px}.practice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.practice-grid label{display:grid;gap:6px;min-width:0}.practice-grid input,.practice-grid select{width:100%;box-sizing:border-box;min-width:0;min-height:44px;font:inherit;padding:8px}.practice-grid .practice-check{display:flex;align-items:center;gap:8px}.practice-grid input[type=checkbox]{width:20px;min-height:20px;flex:none}.practice-buttons{display:flex;gap:10px;flex-wrap:wrap}.practice-buttons button{min-height:44px}#fightSetupDialog p{line-height:1.5}#fightSetupStatus{color:var(--gold)}@media(max-width:480px){.practice-grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){#fightSetupDialog[open]{animation:none}}

/* Full equipment sheets, not a small inventory thumbnail beside nested cards. */
#connectedShell .connected-equipment-sheet .connected-item-overview{align-items:start}
#connectedShell .connected-equipment-sheet .connected-item-actions{min-width:0;padding:8px 0}
#connectedShell .connected-equipment-recipe{margin:22px 0 0;padding:18px 0 0;border:0;border-top:1px solid var(--line);border-radius:0;background:none}
#connectedShell .connected-equipment-recipe h3{margin-bottom:8px}#connectedShell .connected-equipment-recipe p{margin:0 0 14px}
#connectedShell .connected-equipped-status{display:inline-block;margin:4px 0 0;padding:7px 12px;border:1px solid var(--line);border-radius:20px;color:var(--gold);font-size:15px}
#connectedShell .connected-equipment-routes{margin-top:12px}#connectedShell .connected-equipment-routes button,#connectedShell .connected-equipment-recipe button{margin:0;min-height:48px}
@media(max-width:650px){#connectedShell .connected-equipment-sheet .connected-item-overview{grid-template-columns:1fr;gap:16px}#connectedShell .connected-equipment-routes button,#connectedShell .connected-equipment-recipe button{width:100%}}

/* Combat exchanges: prose first, measured damage beneath it. */
#combatPrompt {max-width:76ch;line-height:1.45;margin:10px auto;}
#combatPrompt .combat-damage-summary {display:block;margin-top:7px;opacity:.72;font-size:.8em;}

/* A final moment for the life, shared by real endings and the copied preview. */
.death-memorial{position:relative;isolation:isolate;overflow:hidden;background:#080b09;color:#e8e2d4;border:1px solid #41402f;border-radius:16px;min-height:580px;display:flex;align-items:center;justify-content:center;padding:64px 32px;text-align:center;box-shadow:0 24px 80px #0008;animation:death-arrival 1.6s ease both}
.death-landscape{position:absolute;inset:0;z-index:-1;background:linear-gradient(#080b09bb,#080b09 90%),url('brightness_dawn_full.png') center/cover;opacity:.24;animation:death-darken 4s ease forwards}
.death-content{width:100%;max-width:620px;animation:death-words 1.8s ease both}
.death-memorial .death-kicker{color:#b5a887;font-size:.78rem;letter-spacing:.17em;text-transform:uppercase;margin:0 0 20px}
.death-memorial h2{color:#efe5cf;font-size:clamp(2.4rem,6vw,4.6rem);font-weight:400;line-height:1.1;margin:0;overflow-wrap:anywhere}
.death-rule{width:64px;height:1px;background:#a68e55;margin:28px auto}
.death-cause{color:#c1ac7e;font-size:1.05rem;margin:0 0 16px}.death-prose{font-size:1.2rem;line-height:1.75;max-width:45ch;margin:0 auto 16px}.death-age{color:#a49d8f;font-size:.85rem}
.death-next{margin-top:34px}.death-mode{font-size:.85rem;color:#c4b99e}.death-memorial .death-explanation{color:#aaa696;font-size:.9rem;line-height:1.6;max-width:48ch;margin:18px auto}.death-memorial .deathchoice{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.death-memorial button{min-height:48px;padding:12px 22px}.death-remembrance{text-align:left;margin:28px auto 0;border-top:1px solid #3c3c2f;border-bottom:1px solid #3c3c2f;padding:16px;color:#c9c1ae}.death-remembrance summary{text-align:center;cursor:pointer;color:#cbb47e}.death-remembrance p{font-size:.95rem;line-height:1.7}
body:has(#start .death-ending) #sceneWorkspace,body:has(#start .death-ending) #journeyPanel{display:none}#start:has(.death-ending){padding:0;background:transparent;border:0}#deathPreviewContent .death-memorial{min-height:520px}#pause:has(.deathcard){width:100%}
@keyframes death-darken{from{opacity:.5}to{opacity:.12}}@keyframes death-arrival{from{opacity:0}to{opacity:1}}@keyframes death-words{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media(max-width:600px){.death-memorial{padding:40px 20px;min-height:520px;border-radius:12px}.death-memorial .deathchoice button{flex:1}.death-prose{font-size:1.08rem}.death-remembrance{padding:14px 4px}}
@media(prefers-reduced-motion:reduce){.death-memorial,.death-content,.death-landscape{animation:none}.death-landscape{opacity:.12}}

/* The introduction and its footer share one reading column. */
body:has(#start:not([hidden]) #introBegin) footer{max-width:760px;padding-left:16px;padding-right:16px}
@media(max-width:480px){body:has(#start:not([hidden]) #introBegin) footer{padding-left:12px;padding-right:12px}}

/* Character choices share one aligned action area below the memories. */
.creation-choice-footer{margin-top:24px;padding-top:20px;border-top:1px solid var(--line);display:grid;gap:16px}
.creation-choice-footer .previous-character{display:grid;gap:8px}
.creation-choice-footer .previous-character p{margin:0;line-height:1.5}
.creation-choice-footer button{margin:0;min-height:48px;white-space:normal;box-sizing:border-box}
.creation-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:stretch}
@media(max-width:480px){.creation-actions{grid-template-columns:1fr}.creation-actions .primary{grid-row:1}}

.flashes button{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start}

.setting-choice-box{margin:18px 0;padding:16px;border:1px solid var(--line);border-radius:10px;background:var(--panel)}
.setting-choice-box>p:first-child{margin-top:0}
.settings .setting-choice-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:10px 0 0}
.settings .setting-choice-cards button{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:8px;min-width:0;width:100%;margin:0;padding:14px;border-width:2px;text-align:left;white-space:normal}
.settings .setting-choice-cards button::before{display:none!important}
.settings .setting-choice-cards small{display:block;font-size:.9em;font-weight:normal;line-height:1.5;color:var(--text)}
.settings .setting-choice-cards button[aria-pressed="true"]{background:color-mix(in srgb,var(--gold) 18%,var(--panel));box-shadow:inset 0 0 0 1px var(--gold)}
@media(max-width:480px){.setting-choice-box{padding:12px}.settings .setting-choice-cards{grid-template-columns:1fr}}

#start .weapon-choice{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
#start .weapon-choice button{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:10px;min-width:0;margin:0;padding:14px;white-space:normal;text-align:left;border-width:2px}
#start .weapon-choice button::before{display:none!important}
#start .weapon-choice button small{font-size:.9em;font-weight:normal;line-height:1.5}
#start .weapon-choice button[aria-pressed="true"]{border-color:var(--gold);background:color-mix(in srgb,var(--gold) 18%,var(--panel))}
.setting-option{display:flex;flex-direction:column;gap:8px;min-width:0}.settings .setting-option>button{flex:1}
.setting-preview{border:1px solid var(--line);border-radius:8px;padding:10px}.setting-preview summary{cursor:pointer;color:var(--gold);min-height:24px}.setting-preview video{display:block;width:100%;max-width:100%;margin-top:10px;border-radius:6px;background:#101712}
@media(max-width:650px){#start .weapon-choice{grid-template-columns:1fr}}

/* Always-visible return route, including before destinations are understood. */
#connectedTravel .connected-clearing-return{display:block;width:100%;min-height:44px;margin:0 0 12px;box-sizing:border-box;text-align:center}

/* Ended-life journal access stays readable on the dark memorial in both themes. */
.death-memorial [data-ended-journey]{color:#efe5cf;background:#18221a;border-color:#b39960;margin-top:16px;max-width:100%;text-align:center}
.death-memorial [data-ended-journey]:hover{background:#253329;color:#fff6e2}
.death-memorial [data-ended-journey] small{display:block;color:#c9c1ae;margin-top:5px;line-height:1.45}

/* Long translated location names retain readable card widths on phones. */
@media(max-width:650px){#connectedTravel .location-destinations{grid-template-columns:repeat(2,minmax(0,1fr))}#connectedTravel .location-name{hyphens:auto;overflow-wrap:anywhere;min-height:44px}}
@media(max-width:480px){#nowCard .nowrow{grid-template-columns:1fr 1fr;gap:8px}#nowCard #workNow{grid-column:1/-1;grid-row:1}#nowCard #connectedBack{grid-column:1;grid-row:2;justify-self:start}#nowCard #pauseInline{grid-column:2;grid-row:2;justify-self:end}}
