/* Primary titles and data remain. Decorative copy never consumes menu space. */
.scr .eyebrow,.menu-brand>p,.menu-brand-sub,.menu-label,.menu-action-copy small,.menu-scroll-hint,.menu-footer p,.augment-subtitle,.augment-footnote,.augment-action,.augment-details,.scroll-details,.choice-hint,#profile-subtitle,#collection-count,#recruitment-rules,#bond-sub,#lvl-wait,.account-intro,.account-note,#starter-choices small,#character-select small{display:none!important}
#scr-menu #hero-role,#scr-menu .ability-preview small,#scr-menu .ability-preview>span,#audio-menu{display:none!important}
.scr.dim .box.menu-panel{display:flex;flex-direction:column;overflow:hidden;min-height:0;max-height:calc(var(--game-height,100dvh) - 24px);border-width:38px 24px 34px;border-image-width:38px 24px 34px;padding:10px 18px 12px}
.scr.dim:has(.menu-panel){overflow:hidden;align-items:center;padding:12px}
.menu-panel-header{flex:none;min-width:0}.scr.dim .menu-panel-header h2{margin:0 0 12px;font-size:32px;line-height:1.1}
.menu-panel-content{flex:1 1 auto;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-right:6px;scrollbar-color:#8d815f #e8dec0}
.scr.dim .menu-panel-content p{margin:0 0 12px}.scr.dim .menu-panel-content:focus{outline:none}
.scr.dim .menu-panel-actions{flex:none;display:grid;grid-template-columns:repeat(var(--menu-action-cols,2),minmax(0,1fr));gap:8px;margin-top:10px;padding-top:10px;border-top:1px solid #ad9f77;background:transparent}
.scr.dim .menu-panel-actions:empty{display:none}
.scr.dim .menu-panel-actions>:is(.actions,.settings-links,.account-actions,.account-entry-actions){display:contents;position:static;margin:0;padding:0;border:0;background:none}
.scr.dim .menu-panel-actions .btn{margin:0!important;min-height:44px;min-width:0;width:100%;padding:9px 10px;font-size:19px;line-height:1.15}
.scr.dim .menu-panel-actions [hidden]{display:none!important}
#scr-settings .menu-panel-actions #fullscreen-menu{font:19px Pixelify,monospace;color:#f8efd7;background:#303b30;border:2px solid #6b735a;min-height:44px;padding:9px}
#scr-collection #collection-detail:empty{display:none}#scr-collection #collection-detail{font-size:19px;margin:8px 0 0;min-height:0}
#character-select{margin:0;gap:10px}#character-select .character-card{min-height:120px;gap:6px;padding:10px 6px}#character-select .character-card span{font-size:21px}
#recruitment-pool{margin:14px 0;gap:8px}#recruitment-pool>span{padding:6px 8px;font-size:19px}#recruitment-balance{font-size:24px!important;margin-bottom:8px!important}
#starter-choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:4px 0}#starter-choices button{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;min-height:116px;padding:8px 4px;gap:6px;font-size:21px;text-align:center}#starter-choices canvas{width:64px;height:64px}
#scr-training .menu-panel-content>#training-list{margin:10px 0}#scr-training .training-card{padding:12px;gap:8px}.scr.dim .training-card small{font-size:18px}
#scr-training .training-price{display:inline-flex;align-items:center;justify-content:center;gap:4px;white-space:nowrap}
#scr-help .help-controls{display:grid;grid-template-columns:max-content minmax(0,1fr);gap:10px 18px;margin:0}#scr-help .help-controls dt{font-weight:700;font-size:21px}#scr-help .help-controls dd{margin:0;font-size:20px;line-height:1.3}
#scr-ability #hero-kit{display:grid!important}#scr-ability #hero-passive{margin-bottom:14px}#scr-ability .hero-stats{margin:12px 0}.scr.dim .menu-panel-content h3{margin:16px 0 8px}
/* Account actions and form submits live outside the scrolling form fields. */
#scr-account .menu-panel{width:min(700px,100%)}#scr-account #account-message{grid-column:1/-1;font-size:18px;line-height:1.25;margin:0;min-height:0;max-height:68px;overflow:auto}
#scr-account #account-message:empty{display:none}
#scr-account.account-auth-layout #account-title{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);margin:0}
#scr-account .account-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0 0 12px}
#scr-account .account-tabs .btn{font-size:19px;min-height:44px;padding:7px 4px;margin:0}
#scr-account label{font-size:20px;margin:0}#scr-account input.field{min-height:44px;font-size:22px;padding:7px 9px}#scr-account form{gap:6px}#scr-account .account-checkbox{font-size:19px;margin:6px 0}
#scr-account .account-google-placeholder{justify-content:center;min-height:44px!important;font-size:18px!important}#scr-account .account-google-placeholder small{display:none}
#scr-account #account-profile-name{font-size:26px;margin-bottom:10px}#scr-account .account-conflict p{font-size:20px}#scr-account .account-conflict>div{padding:10px}
#scr-account .menu-panel-actions>.account-google-placeholder{order:2}#scr-account .menu-panel-actions>#account-back{order:3}
/* The full main menu fits; navigation is never an inner scroll list. */
#scr-menu{padding:14px 18px;gap:10px;overflow:hidden!important}.village-topbar{min-height:44px;gap:8px;flex-wrap:nowrap;justify-content:flex-end}
.resource-pill{padding:5px 8px;min-height:44px;gap:5px}.resource-pill>span:last-child:not([data-menu-icon]){display:none}.resource-pill b{font-size:20px}.resource-pill img{width:24px;height:24px}
.topbar-button{min-height:44px;font-size:18px;padding:7px 10px}#account-open{min-width:64px}#account-label{max-width:130px}body.guest-record #account-save{display:none}
.shinobi-menu{flex:1;min-height:0;gap:28px}.menu-left{padding-bottom:0}.menu-brand{margin-bottom:20px}.shinobi-display{gap:10px}.starting-jutsu{margin-top:6px}#hero-name{margin-bottom:5px}.ability-preview{min-height:44px;margin-top:10px;padding:8px 12px}.ability-preview strong{display:block!important;font-size:20px;color:#ebc288}
.menu-right{justify-content:center;gap:0}.menu-actions{flex:none;display:grid;grid-template-columns:1fr;overflow:visible;min-height:0;gap:0;border-width:32px 22px 30px;border-image-width:32px 22px 30px;padding:2px}
.menu-item{min-height:54px;padding:10px 8px;gap:12px}.menu-action-copy strong,.menu-play .menu-action-copy strong{font-size:26px;line-height:1.1}.menu-play{background:#b8542b;color:#fff0d2}.menu-play:hover{background:#c96a37}
.menu-record{display:none;pointer-events:none}.menu-record[data-alert=true]{display:block;position:fixed;left:12px;right:12px;top:calc(var(--game-top,0px) + 62px);z-index:12;max-height:74px;overflow:auto}.menu-record #best{display:none}.menu-record #save-status{white-space:normal;font-size:18px;margin:0}
.menu-footer{display:none}
/* Pause already has a separate content viewport and persistent actions. */
#scr-pause #profile-title{margin-bottom:10px}#scr-pause .profile-actions .btn{min-height:44px!important;font-size:19px}
/* Choices keep their paper and large effect text; actions stay at the bottom. */
.scr.dim.menu-choice-screen{overflow:hidden;align-items:center;padding:10px 8px}
.scr.dim.menu-choice-screen .box.choices{display:flex;flex-direction:column;min-height:0;max-height:calc(var(--game-height,100dvh) - 20px)!important;height:calc(var(--game-height,100dvh) - 20px);margin:0 auto;overflow:hidden!important}
.menu-choice-screen .augment-heading,.menu-choice-screen .augment-footer,.menu-choice-screen .box>h2,.menu-choice-screen #bond-back{flex:none}
#scr-levelup.menu-choice-screen .augment-heading h2{font-size:32px;margin:0 0 8px;line-height:1.1}
#scr-levelup.menu-choice-screen #cards{flex:1;min-height:0;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch;margin:0 0 8px;width:100%;gap:4px;overflow:hidden}
#scr-levelup.menu-choice-screen #cards .augment-card{--scroll-height:var(--menu-scroll-height,400px);height:100%;min-height:0;padding-top:calc(var(--scroll-height)*.20);padding-bottom:calc(var(--scroll-height)*.18)}
#scr-levelup.menu-choice-screen .augment-footer{display:flex;justify-content:center;min-height:44px;margin:0;padding:0}#scr-levelup.menu-choice-screen #lvl-reroll{min-height:44px;font-size:19px;padding:9px 20px}#scr-levelup #lvl-reroll kbd{display:none}
#scr-levelup.menu-choice-screen #cards .augment-card .ico{width:56px;height:56px;margin-bottom:8px}#scr-levelup.menu-choice-screen #cards .augment-card .ico img{width:48px;height:48px}
#scr-bond.menu-choice-screen .box>h2,#scr-item.menu-choice-screen .box>h2{font-size:30px;margin:0 0 8px}
#scr-bond.menu-choice-screen #bond-cards,#scr-item.menu-choice-screen #item-cards{flex:1;min-height:0;overflow:auto;margin:0;width:100%;align-items:start;overscroll-behavior:contain}
#scr-bond.menu-choice-screen #bond-back{align-self:center;min-height:44px;font-size:19px;margin:8px 0 0;padding:9px 20px}
body[data-menu-short=true] .scr.dim:has(.menu-panel){padding:8px 12px}
body[data-menu-short=true] .scr.dim .box.menu-panel{max-height:calc(var(--game-height,100dvh) - 16px);border-width:22px 16px 20px;border-image-width:22px 16px 20px;padding:6px 10px}
body[data-menu-short=true] .menu-panel-header h2{font-size:30px;margin-bottom:8px}body[data-menu-short=true] .menu-panel-actions{gap:6px;margin-top:6px;padding-top:6px}body[data-menu-short=true] .menu-panel-actions .btn{font-size:18px;padding:7px 8px;min-height:44px}
body[data-menu-short=true] #scr-account .account-tabs{margin-bottom:8px}body[data-menu-short=true] #scr-account .account-tabs .btn{font-size:18px}body[data-menu-short=true] #scr-account .account-message{max-height:44px}
body[data-menu-short=true] #starter-choices button{min-height:88px;font-size:20px}body[data-menu-short=true] #starter-choices canvas{width:48px;height:48px}
body:is([data-menu-short=true],[data-menu-compact=true]) #scr-menu{padding:6px 12px;gap:6px}body:is([data-menu-short=true],[data-menu-compact=true]) .shinobi-menu{grid-template-columns:minmax(0,.85fr) minmax(0,1.2fr);gap:16px}
body:is([data-menu-short=true],[data-menu-compact=true]) .menu-actions{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;border-width:18px 14px 16px;border-image-width:18px 14px 16px;padding:2px}
body:is([data-menu-short=true],[data-menu-compact=true]) .menu-item{min-height:44px;justify-content:center;padding:6px 3px;border:1px solid #b7ae8b66;text-align:center}body:is([data-menu-short=true],[data-menu-compact=true]) .menu-item-icon{display:none}body:is([data-menu-short=true],[data-menu-compact=true]) .menu-action-copy strong,body:is([data-menu-short=true],[data-menu-compact=true]) .menu-play .menu-action-copy strong{font-size:20px}
body:is([data-menu-short=true],[data-menu-compact=true]) .menu-brand{margin:0 0 6px}body:is([data-menu-short=true],[data-menu-compact=true]) .menu-brand h1{font-size:28px}body:is([data-menu-short=true],[data-menu-compact=true]) .shinobi-display{gap:5px}body:is([data-menu-short=true],[data-menu-compact=true]) .shinobi-stage{width:150px;height:104px}body:is([data-menu-short=true],[data-menu-compact=true]) #hero-preview{width:100px;height:100px}body:is([data-menu-short=true],[data-menu-compact=true]) #hero-name{font-size:25px}body:is([data-menu-short=true],[data-menu-compact=true]) .starting-jutsu{display:none}body:is([data-menu-short=true],[data-menu-compact=true]) .ability-preview{margin-top:4px;min-height:44px}body:is([data-menu-short=true],[data-menu-compact=true]) .ability-preview strong{font-size:18px}
body[data-menu-tiny=true] .menu-brand h1{font-size:25px}body[data-menu-tiny=true] .shinobi-stage{width:118px;height:78px}body[data-menu-tiny=true] #hero-preview{width:76px;height:76px}body[data-menu-tiny=true] #hero-name{font-size:23px}
body[data-menu-portrait=true] #scr-menu{padding:10px 12px;gap:10px}body[data-menu-portrait=true] .village-topbar{justify-content:center;gap:6px;flex-wrap:nowrap}body[data-menu-portrait=true] .resource-pill{padding:5px;gap:3px}body[data-menu-portrait=true] .resource-pill b{font-size:18px}body[data-menu-portrait=true] #account-label{max-width:100px}
body[data-menu-portrait=true] .shinobi-menu{display:flex;flex-direction:column;flex:1;min-height:0;gap:12px}body[data-menu-portrait=true] .menu-left{display:grid;grid-template-columns:112px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:8px;flex:1;min-height:0;padding:0;align-content:center}body[data-menu-portrait=true] .menu-brand{grid-column:1/-1;margin:0}body[data-menu-portrait=true] .menu-brand h1{font-size:32px}
body[data-menu-portrait=true] .shinobi-display{display:contents}body[data-menu-portrait=true] .shinobi-stage{width:112px;height:112px}body[data-menu-portrait=true] #hero-preview{width:108px;height:108px}body[data-menu-portrait=true] #hero-name{font-size:25px}body[data-menu-portrait=true] .starting-jutsu{display:none}body[data-menu-portrait=true] .ability-preview{margin-top:8px;min-height:44px;padding:6px 8px}body[data-menu-portrait=true] .ability-preview strong{font-size:18px}
body[data-menu-portrait=true] .menu-right{flex:none}body[data-menu-portrait=true] .menu-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;border-width:24px 18px 22px;border-image-width:24px 18px 22px;padding:4px}body[data-menu-portrait=true] .menu-item{min-height:48px;padding:6px;gap:8px;border:1px solid #b7ae8b66;justify-content:flex-start;text-align:left}body[data-menu-portrait=true] .menu-action-copy strong,body[data-menu-portrait=true] .menu-play .menu-action-copy strong{font-size:21px}body[data-menu-portrait=true] .menu-item-icon{display:grid;width:24px;flex-basis:24px}body[data-menu-portrait=true] .menu-item-icon img{width:24px;height:24px}
body[data-menu-portrait=true] #character-select{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}body[data-menu-portrait=true] #character-select .character-card{min-height:100px;padding:7px 3px}body[data-menu-portrait=true] #character-select .character-card canvas{width:48px;height:48px}body[data-menu-portrait=true] #character-select .character-card span{font-size:19px}
body[data-menu-portrait=true] #starter-choices{grid-template-columns:repeat(3,minmax(0,1fr))}body[data-menu-portrait=true] #starter-choices canvas{width:48px;height:48px}body[data-menu-portrait=true] #starter-choices button{min-height:100px;font-size:20px}
body[data-menu-portrait=true] #scr-bond.menu-choice-screen #bond-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px}body[data-menu-portrait=true] #scr-bond #bond-cards .choice-scroll{--scroll-height:330px}
body[data-menu-portrait=true] #scr-item.menu-choice-screen #item-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0;align-items:stretch;overflow:hidden}body[data-menu-portrait=true] #scr-item #item-cards .choice-scroll{--scroll-height:var(--menu-scroll-height,400px);height:100%;padding-top:22%;padding-bottom:20%}
@media(max-width:360px){body[data-menu-portrait=true] .menu-left{grid-template-columns:92px minmax(0,1fr)}body[data-menu-portrait=true] .shinobi-stage{width:92px;height:100px}body[data-menu-portrait=true] #hero-preview{width:92px;height:92px}body[data-menu-portrait=true] .menu-brand h1{font-size:30px}body[data-menu-portrait=true] #hero-name{font-size:23px}body[data-menu-portrait=true] .menu-item-icon{display:none}body[data-menu-portrait=true] .menu-item{justify-content:center;text-align:center}}

/* Override the previous entry-only form grid after controls move to the footer. */
#scr-account.is-entry #account-body.account-auth{display:block}
#scr-account .menu-panel-actions .account-actions>.btn{flex:none}
#scr-account .menu-panel-actions .account-google-placeholder{grid-column:1/-1;white-space:nowrap}
#scr-account .menu-panel-actions .btn{align-self:stretch}
#scr-settings #fullscreen-menu{display:block}
body[data-menu-short=true] #scr-account .menu-panel-actions .account-google-placeholder{grid-column:auto}
body[data-menu-short=true] #scr-account .menu-panel-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
#scr-account .menu-panel-actions>:is(.account-actions,.account-entry-actions){display:contents;margin:0;padding:0}
#scr-account.is-entry .menu-panel{border-width:38px 24px 34px;border-image-width:38px 24px 34px;padding:10px 18px 12px}
body[data-menu-short=true] #scr-account.is-entry .menu-panel{border-width:22px 16px 20px;border-image-width:22px 16px 20px;padding:6px 10px}
body[data-menu-short=true] .village-topbar .resource-pill,body[data-menu-short=true] .village-topbar .topbar-button{min-height:44px}

body[data-menu-short=true] #scr-levelup.menu-choice-screen #cards .augment-card{padding-top:calc(var(--scroll-height)*.19);padding-bottom:calc(var(--scroll-height)*.17)}
body[data-menu-short=true] #scr-levelup.menu-choice-screen #cards .augment-card .ico{width:32px;height:32px;margin-bottom:4px}
body[data-menu-short=true] #scr-levelup.menu-choice-screen #cards .augment-card .ico img{width:28px;height:28px}
body[data-menu-tiny=true] #scr-levelup.menu-choice-screen #cards .augment-card .ico{display:none}
.scr.dim .menu-panel-content .snd-row{margin:8px 0;min-height:44px}
.scr.dim .menu-panel-content .snd-row input{min-height:44px}
body[data-menu-short=true] #scr-account #account-form{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px}
body[data-menu-short=true] #account-form label[for=account-username]{grid-column:1;grid-row:1}
body[data-menu-short=true] #account-form #account-username{grid-column:1;grid-row:2}
body[data-menu-short=true] #account-form label[for=account-password]{grid-column:2;grid-row:1}
body[data-menu-short=true] #account-form #account-password{grid-column:2;grid-row:2}
body[data-menu-short=true] #account-form .account-checkbox{grid-column:1/-1}
body[data-menu-short=true] #scr-account #account-message{max-height:40px}
body[data-menu-short=true] #scr-levelup.menu-choice-screen #cards .augment-card .ds{font-size:18px;line-height:1.25}
body[data-menu-portrait=true] #scr-item.menu-choice-screen #item-cards .choice-scroll{padding-top:calc(var(--scroll-height)*.20);padding-bottom:calc(var(--scroll-height)*.18)}

body[data-menu-portrait=true] #scr-levelup.menu-choice-screen #cards .augment-card{padding-top:calc(var(--roll-top) + 8px);padding-bottom:calc(var(--roll-bottom) + 8px)}
#cards .augment-progression{display:block;font:inherit;line-height:1.15;margin-top:4px}
:is(#bond-cards,#item-cards) .choice-level{display:block;font-size:20px;line-height:1.15;margin-top:4px}
body[data-menu-short=true] :is(#bond-cards,#item-cards) .choice-level{font-size:18px}
body[data-menu-short=true] #cards .augment-card .nm{max-height:2.4em;overflow-y:auto;overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin}
#starter-choices strong,#character-select .character-card span{max-width:100%;overflow-wrap:anywhere}
#scr-help .help-controls dd{min-width:0;overflow-wrap:anywhere}
body[data-menu-portrait=true] #character-select .character-card canvas,body[data-menu-portrait=true] #starter-choices canvas,body[data-menu-short=true] #starter-choices canvas{width:48px!important;height:48px!important}
.scr.dim .menu-panel-content .summary{grid-template-columns:repeat(2,minmax(0,1fr))}
.scr.dim .menu-panel-content .summary>div{min-width:0;padding:10px}
.scr.dim .menu-panel-content .summary :is(span,b,p){max-width:100%;overflow-wrap:anywhere}

/* Messages participate in the content flow; primary controls stay clear. */
#local-toast.panel-notice{position:static!important;transform:none!important;inset:auto!important;width:100%;max-width:100%;margin:0 0 10px;padding:8px 10px;font-size:20px;line-height:1.2;text-align:left;box-sizing:border-box}
body.in-village #ach-pop,body:has(.scr.dim:not(.hidden)) #ach-pop{display:none!important}
#ach-pop small{display:none!important}

#promo-form{display:grid;gap:6px;margin:14px 0 4px}#promo-form label{font-size:21px}#promo-code{width:100%;min-width:0;min-height:46px;font:22px Pixelify,monospace;padding:8px;background:#fbf2d7;border:2px solid #766c51;color:#282b20}#promo-status{grid-column:1/-1;font-size:20px;line-height:1.2;margin:0!important;max-height:64px;overflow:auto;overflow-wrap:anywhere}#promo-status.is-error{color:#922d23}#scr-settings .settings-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}#scr-settings .settings-links .btn{margin:0;min-height:44px;font-size:20px}

/* Opening choices are a direct Home action in every orientation. */
#opening-open{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;max-width:100%;padding:7px 10px;border:1px solid #869173;background:#17271fcc;color:#f4edda;font:20px Pixelify,monospace;text-shadow:2px 2px 0 #0a1d13}
#opening-open:hover{background:#344735}.opening-compact{display:none}
#hero-start{flex-direction:column;align-items:flex-start;flex-wrap:nowrap;gap:4px}
#scr-opening .box{width:min(620px,100%)}#opening-balance{font-size:21px;margin:0 0 12px}
.opening-field{display:grid;gap:8px;padding:14px 0;border-top:1px solid #ad9f77}.opening-field:first-child{border-top:0;padding-top:0}
.opening-field label,.opening-field p{font-size:22px;margin:0!important;line-height:1.2}
.opening-picker{min-width:0}.opening-picker-trigger,.opening-picker-option{display:flex;align-items:center;gap:10px;width:100%;min-width:0;min-height:48px;padding:8px 10px;font:22px Pixelify,monospace;text-align:left;line-height:1.2;background:#303b30;color:#fff0d2;border:2px solid #766c51}
.opening-picker :is(img,.opening-icon-empty),.opening-default img{width:32px;height:32px;flex:none;image-rendering:pixelated}.opening-choice-name{min-width:0;overflow-wrap:anywhere}.opening-picker-arrow{margin-left:auto;flex:none}.opening-picker-choices{display:grid;border:2px solid #766c51;border-top:0}.opening-picker-choices[hidden]{display:none}.opening-picker-option{border:0;border-left:3px solid transparent}.opening-picker-option[aria-selected=true]{border-left-color:#ffc052}.opening-picker-option:is(:hover,[data-active=true]){background:#4b6044}.opening-picker-trigger:focus-visible{outline:2px solid #b65a2d;outline-offset:2px}.opening-default{display:flex;align-items:center;gap:10px}
.opening-field .btn{margin:0;min-height:44px;font-size:20px}
#opening-status{grid-column:1/-1;font-size:20px;line-height:1.2;margin:0;max-height:64px;overflow:auto;color:#922d23}
body[data-menu-short=true] #scr-opening .menu-panel-header{display:flex;align-items:baseline;justify-content:space-between;gap:12px}body[data-menu-short=true] #opening-balance{flex:none;font-size:20px;margin:0}
body:is([data-menu-short=true],[data-menu-compact=true],[data-menu-portrait=true]) .starting-jutsu{display:flex;margin-top:5px}
body:is([data-menu-short=true],[data-menu-compact=true],[data-menu-portrait=true]) #hero-start{display:none}
body:is([data-menu-short=true],[data-menu-compact=true],[data-menu-portrait=true]) .opening-compact{display:inline}
body:is([data-menu-short=true],[data-menu-compact=true],[data-menu-portrait=true]) #opening-open{font-size:19px;padding:7px 8px}
body[data-menu-tiny=true] .shinobi-stage{display:none}
body[data-menu-portrait=true] .menu-left{grid-template-rows:auto auto}
@media(max-width:360px){
 body[data-menu-portrait=true] .shinobi-menu{gap:8px}
 body[data-menu-portrait=true] .menu-actions{border-width:14px 14px 12px;border-image-width:14px 14px 12px}
}
body[data-menu-tiny=true] .shinobi-menu{grid-template-columns:minmax(0,.6fr) minmax(0,1.4fr);gap:12px}
body[data-menu-tiny=true] .menu-brand{display:none}
body[data-menu-tiny=true] .menu-actions{border-left-width:10px;border-right-width:10px;border-image-width:18px 10px 16px}
body[data-menu-tiny=true] .ability-preview{max-width:100%}
body[data-menu-tiny=true] .menu-item{padding-left:0;padding-right:0;border-left:0;border-right:0}
