/* The complete approved bitmap is the book. Live ink uses its 677×497
   coordinate space; no replacement border, cropped shell or stretched art.
   Ink scales with this book, rather than stopping at a fixed pixel ceiling
   while the painted labels and controls continue to grow. */
.ninja-owned-v2.ninja-owned-panel{position:relative;display:block!important;width:100%;height:auto!important;aspect-ratio:677/497;max-height:none!important;margin:0!important;padding:0!important;border:0!important;background:none!important;overflow:hidden!important;container-type:inline-size;color:#4d4b47;font-family:Arial,sans-serif;isolation:isolate}
.ninja-owned-v2 *{box-sizing:border-box}
.ninja-owned-v2 button{appearance:none;margin:0;padding:0;border:0;border-radius:0;background:none;color:inherit;font-family:inherit;cursor:pointer;min-width:0;min-height:0;line-height:1;text-transform:none;box-shadow:none}
.ninja-owned-v2 button:disabled{cursor:default;opacity:.6}
.ninja-owned-v2 .nov2-development{position:absolute;left:54.5%;top:11.3%;width:41%;height:81.6%;display:flex;flex-direction:column;min-height:0;padding:.6cqw;background:#fffdf7;overflow:hidden}
.ninja-owned-v2 .nov2-development-header{display:flex;align-items:center;gap:.8cqw;flex:none;min-height:3.4cqw;padding-bottom:.6cqw;border-bottom:1px solid #ded3bd;font-size:max(10px,1.75cqw)}
.ninja-owned-v2 .nov2-development-header>button{flex:none;padding:.5cqw .6cqw;border:1px solid #cbbc9f;border-radius:.5cqw;background:#f5eddb;color:#387897;font-size:inherit;line-height:1.1}
.ninja-owned-v2 .nov2-development-header>strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#765d41;font-size:inherit}
.ninja-owned-v2 .nov2-development>.nog-panel{flex:1;min-height:0}
.ninja-owned-v2[aria-busy="true"]{cursor:progress}
.ninja-owned-v2 :is(button,summary):focus-visible{outline:2px solid #1480b5;outline-offset:1px}
.ninja-owned-v2 :is(svg,svg *,img){pointer-events:none}
.ninja-owned-v2 .nov2-shell{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;pointer-events:none}
.ninja-owned-v2 :is(.nov2-text,.nov2-value,.nov2-control,.nov2-plus,.nov2-stars,.nov2-hero,.nov2-hero-name,.nov2-hero-role,.nov2-exp,.nov2-rule,.nov2-stat-icon,.nov2-stat-value,.nov2-skill-label,.nov2-skill-tile,.nov2-weapon,.nov2-menu,.nov2-row,.nov2-pager,.nov2-page-counter,.nov2-match-tip){position:absolute}
.ninja-owned-v2 .nov2-text{font-size:max(11px,2.068cqw);font-weight:600;line-height:1;white-space:nowrap}
.ninja-owned-v2 :is(.nov2-value,.nov2-stat-value){display:grid;place-items:center;border:1px solid #c9c9c5;border-radius:.7cqw;background:linear-gradient(#f6f7f5,#e7e7e7);font-size:max(11px,2.068cqw);font-weight:700;line-height:1}
.ninja-owned-v2 .nov2-long-value{font-size:max(9px,1.65cqw)}
.ninja-owned-v2 :is(.nov2-capacity,.nov2-double-count){color:#e40000}
.ninja-owned-v2 .nov2-aptitude{color:#09bce7;font-size:max(12px,2.36cqw)}
/* Labels never ellipsize. Native corner slices retain their round caps while
   the button's flat middle fills the available width. */
.ninja-owned-v2 .nov2-control{font-size:max(10px,1.77cqw);display:grid;place-items:center;text-shadow:0 1px #fff;white-space:nowrap;font-weight:600;isolation:isolate}
.ninja-owned-v2 .nov2-control>svg{position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;pointer-events:none}
.ninja-owned-v2 .nov2-control>span{position:relative;z-index:1;white-space:nowrap;transform:scaleX(.88);transform-origin:center}
.ninja-owned-v2 .nov2-control:has([data-classic-v2-art="controls:blueButton"]){color:#fff;text-shadow:0 1px #276287;font-size:max(12px,2.068cqw)}
.ninja-owned-v2 .nov2-control:has([data-classic-v2-art="controls:blueButton"])>span{transform:none}
.ninja-owned-v2 .nov2-equipment{color:#87621d;background:linear-gradient(#fff0aa,#e6bf50);border:1px solid #c9ae71;border-radius:.7cqw}
.ninja-owned-v2 .nov2-equipment>.nov2-control-paint{opacity:.22}
.ninja-owned-v2 .nov2-plus{background:linear-gradient(#d6edb0,#75bc27 45%,#51a015 65%,#9ec958);border:1px solid #87b655;border-radius:.4cqw;display:grid;place-items:center;color:#fff}
.ninja-owned-v2 .nov2-plus>svg{position:absolute;width:100%;height:100%;max-width:none;max-height:none;pointer-events:none}
.ninja-owned-v2 .nov2-plus>span{visibility:hidden}
.ninja-owned-v2 .nov2-row{border-bottom:1px solid #e8e4dc;border-radius:0;text-align:left;overflow:hidden}
/* Local edit: scrollable My Ninjas list. */
.ninja-owned-v2 .nov2-tier-bar{position:sticky;top:0;z-index:2;display:flex;gap:3px;padding:3px 0;background:#f3efe4}
.ninja-owned-v2 .nov2-tier-btn{flex:1;padding:3px 0;border:1px solid #b9ab8c;border-radius:5px;background:#fff;color:#4a3a28;font-weight:800;font-size:max(10px,1.8cqw);cursor:pointer;white-space:nowrap}
.ninja-owned-v2 .nov2-tier-btn.tier-gold{color:#b88a00}.ninja-owned-v2 .nov2-tier-btn.tier-red{color:#c4322a}.ninja-owned-v2 .nov2-tier-btn.tier-purple{color:#8a3fc8}.ninja-owned-v2 .nov2-tier-btn.tier-blue{color:#2f6cc6}
.ninja-owned-v2 .nov2-tier-btn.tier-all{flex:1.7}.ninja-owned-v2 .nov2-tier-btn.on{background:#4a3a28;color:#fff;border-color:#4a3a28}
.ninja-owned-v2 .nov2-tier-empty{text-align:center;color:#8a7a62;padding:20px}
.ninja-owned-v2 .nov2-tier-bar{display:flex;gap:2px;align-items:center;flex-wrap:nowrap}
.ninja-owned-v2 .nov2-tier-bar .nov2-f{font:600 9px system-ui,sans-serif!important;height:17px!important;min-height:0!important;line-height:15px!important;padding:0 1px!important;border:1px solid #b08a4c;border-radius:4px;background:#fff8e6;color:#4a3112;min-width:0;flex:0 0 auto;max-width:none;width:auto!important;box-sizing:border-box}
.ninja-owned-v2 .nov2-tier-bar{gap:4px!important}
.ninja-owned-v2 .nov2-tier-bar .nov2-f{padding:0 16px 0 4px!important;font-size:10px!important;height:21px!important;line-height:normal!important}
.ninja-owned-v2 .nov2-tier-bar [data-ninja-filter=tier]{min-width:52px}
.ninja-owned-v2 .nov2-tier-bar [data-ninja-filter=role]{min-width:72px}
.ninja-owned-v2 .nov2-tier-bar [data-ninja-filter=sort]{min-width:62px}
.ninja-owned-v2 .nov2-row .nov2-row-availability{left:1.5%!important;top:auto!important;bottom:6%!important;max-width:20%!important}
.ninja-owned-v2 .nov2-tier-bar .nov2-f-q{max-width:76px;flex:1 1 60px;padding:0 3px!important}
.ninja-owned-v2 .nov2-f-n{font:600 9px system-ui,sans-serif;color:#7a5a2a;margin-left:auto}
.ninja-owned-v2 .nov2-tier-bar{position:sticky;top:0;z-index:2;display:flex;gap:3px;padding:3px 0;background:#f3efe4}
.ninja-owned-v2 .nov2-tier-btn{flex:1;padding:3px 0;border:1px solid #b9ab8c;border-radius:5px;background:#fff;color:#4a3a28;font-weight:800;font-size:max(10px,1.8cqw);cursor:pointer;white-space:nowrap}
.ninja-owned-v2 .nov2-tier-btn.tier-gold{color:#b88a00}.ninja-owned-v2 .nov2-tier-btn.tier-red{color:#c4322a}.ninja-owned-v2 .nov2-tier-btn.tier-purple{color:#8a3fc8}.ninja-owned-v2 .nov2-tier-btn.tier-blue{color:#2f6cc6}
.ninja-owned-v2 .nov2-tier-btn.tier-all{flex:1.7}.ninja-owned-v2 .nov2-tier-btn.on{background:#4a3a28;color:#fff;border-color:#4a3a28}
.ninja-owned-v2 .nov2-tier-empty{text-align:center;color:#8a7a62;padding:20px}
.ninja-owned-v2 .nov2-tier-select{font:600 11px system-ui,sans-serif;padding:2px 4px;border:1px solid #b08a4c;border-radius:6px;background:#fff8e6;color:#4a3112;max-width:100%}
.ninja-owned-v2 .nov2-tier-bar{position:sticky;top:0;z-index:2;display:flex;gap:3px;padding:3px 0;background:#f3efe4}
.ninja-owned-v2 .nov2-tier-btn{flex:1;padding:3px 0;border:1px solid #b9ab8c;border-radius:5px;background:#fff;color:#4a3a28;font-weight:800;font-size:max(10px,1.8cqw);cursor:pointer;white-space:nowrap}
.ninja-owned-v2 .nov2-tier-btn.tier-gold{color:#b88a00}.ninja-owned-v2 .nov2-tier-btn.tier-red{color:#c4322a}.ninja-owned-v2 .nov2-tier-btn.tier-purple{color:#8a3fc8}.ninja-owned-v2 .nov2-tier-btn.tier-blue{color:#2f6cc6}
.ninja-owned-v2 .nov2-tier-btn.tier-all{flex:1.7}.ninja-owned-v2 .nov2-tier-btn.on{background:#4a3a28;color:#fff;border-color:#4a3a28}
.ninja-owned-v2 .nov2-tier-empty{text-align:center;color:#8a7a62;padding:20px}
.ninja-owned-v2 .nov2-scroll{position:absolute;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;touch-action:pan-y}
.ninja-owned-v2 .nov2-row.selected{background:#d5d0c2;border:2px solid #aaa08e;border-radius:1.45cqw}
.ninja-owned-v2 .nov2-row-face{position:absolute;left:2.84%;top:15.51%;width:14.18%;aspect-ratio:1;overflow:hidden;background:none;border:0;border-radius:10%}
.ninja-owned-v2 :is(.nov2-row-name,.nov2-row-level,.nov2-row-force-label,.nov2-row-force,.nov2-row-class,.nov2-row-job){position:absolute;font-size:max(11px,2.068cqw);font-weight:700;text-shadow:1px 1px #fff,-1px -1px #fff;white-space:nowrap;transform:scaleX(.84);transform-origin:left center;line-height:1}
.ninja-owned-v2 .nov2-row-name{left:23.4%;top:20.69%;width:23.05%;color:var(--nov2-grade);overflow:hidden;text-overflow:ellipsis;font-size:max(12px,2.215cqw)}
.ninja-owned-v2 .nov2-row-level{left:47.52%;top:20.69%;width:22%}
.ninja-owned-v2 .nov2-row-force-label{left:30.14%;top:58.62%}
.ninja-owned-v2 .nov2-row-force{left:47.52%;top:58.62%;max-width:22%;overflow:hidden}
.ninja-owned-v2 .nov2-row-class-icon{position:absolute;left:71.63%;top:22.41%;width:6.38%;aspect-ratio:1}
.ninja-owned-v2 .nov2-row-class-icon svg{display:block;width:100%;height:100%}
.ninja-owned-v2 .nov2-row-class{left:66.67%;top:60.34%;font-size:max(9px,1.77cqw);color:#815450;font-weight:600;max-width:20%;overflow:hidden;text-shadow:none}
.ninja-owned-v2 .nov2-row-job{left:84.04%;top:34.48%;font-size:max(9px,1.77cqw);color:#815450;font-weight:600;max-width:16%;overflow:hidden;text-shadow:none}
.ninja-owned-v2 .grade-blue{--nov2-grade:#1862bc}.ninja-owned-v2 .grade-purple{--nov2-grade:#9400cf}.ninja-owned-v2 .grade-red{--nov2-grade:#e40000}.ninja-owned-v2 .grade-gold{--nov2-grade:#b77a05}.ninja-owned-v2 .grade-legacy{--nov2-grade:#626256}
.ninja-owned-v2 .nov2-weapon{background:radial-gradient(#f9a153,#c13313 70%);border:1px solid #974924;border-radius:50%;box-shadow:0 1px #6b4029;color:#fff3c3;font-size:max(10px,1.92cqw);font-weight:700;text-shadow:1px 1px #713328}
.ninja-owned-v2 .nov2-weapon svg{position:absolute;left:21%;top:4%;width:58%;height:64%}
.ninja-owned-v2 .nov2-weapon span{position:absolute;left:0;right:0;bottom:16%}
/* Secondary routes use a native keyboard-operable menu, not extra tabs or
   tiny footer links on the reference page. */
.ninja-owned-v2 .nov2-menu{z-index:3;font-size:max(10px,1.77cqw)}
.ninja-owned-v2 .nov2-menu>summary{position:relative;display:grid;place-items:center;height:100%;list-style:none;cursor:pointer;font-weight:600;line-height:1;color:#665a43}
.ninja-owned-v2 .nov2-menu>summary::-webkit-details-marker{display:none}
.ninja-owned-v2 .nov2-menu>summary>svg{position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none}
.ninja-owned-v2 .nov2-menu>summary>span{position:relative}
.ninja-owned-v2 .nov2-menu>nav{position:absolute;top:calc(100% + .6cqw);right:0;width:29cqw;display:grid;grid-template-columns:1fr 1fr;gap:.7cqw;padding:1cqw;border:1px solid #b7a17a;border-radius:1cqw;background:#fffaf0;box-shadow:0 .4cqw 1.4cqw #55472a66}
.ninja-owned-v2 .nov2-menu:not([open])>nav{display:none}
.ninja-owned-v2 .nov2-menu>nav>button{min-height:3.6cqw;padding:.7cqw .4cqw;border:1px solid #d4c7ac;border-radius:.5cqw;background:#f6efdd;font-size:max(10px,1.7cqw);line-height:1.15;text-align:center}
.ninja-owned-v2 .nov2-menu>nav>button[aria-pressed="true"]{background:#dce6cf;border-color:#95a381;color:#4e6f3e}
.ninja-owned-v2 .nov2-pager{display:grid;place-items:center;color:#735633}
.ninja-owned-v2 .nov2-pager svg{position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none}
.ninja-owned-v2 .nov2-pager span{visibility:hidden}
.ninja-owned-v2 .nov2-page-counter{font-size:max(10px,1.77cqw);text-align:center;color:#937e59}
.ninja-owned-v2 .nov2-stars{display:flex;gap:.15cqw;padding:0;border:0;background:none;cursor:pointer}
.ninja-owned-v2 .nov2-stars svg{width:18%;height:100%;fill:#676966;stroke:#555753;stroke-width:1}
.ninja-owned-v2 .nov2-stars svg.filled{fill:#f3c758;stroke:#bc883a}
/* Absolute children have a definite viewport. A grid's intrinsic SVG row
   could grow to121px inside an86px hero and paint the feet over Force. */
#game-container .ninja-owned-v2 .nov2-hero{display:block;min-width:0;min-height:0;overflow:hidden}
#game-container .ninja-owned-v2 .nov2-hero .original-portrait{position:absolute;inset:0;display:block;width:100%;height:100%;min-width:0;min-height:0;overflow:hidden}
#game-container .ninja-owned-v2 .nov2-hero .original-portrait>svg{position:absolute;inset:0;display:block;width:100%;height:100%;min-width:0;min-height:0;max-width:none;max-height:none;overflow:hidden}
.ninja-owned-v2 .nov2-hero-name{font-size:max(12px,2.215cqw);font-weight:700;color:var(--nov2-grade);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1;text-shadow:1px 1px #fff;transform:scaleX(.9);transform-origin:left}
.ninja-owned-v2 .nov2-hero-role{display:flex;align-items:center;gap:.3cqw;font-size:max(10px,1.77cqw);white-space:nowrap}
.ninja-owned-v2 .nov2-hero-role svg{width:25%;height:100%;flex:none}
.ninja-owned-v2 .nov2-hero-role span{transform:scaleX(.83);transform-origin:left}
.ninja-owned-v2 .nov2-label{color:#80534d;font-size:max(10px,1.92cqw);transform:scaleX(.84);transform-origin:left}
.ninja-owned-v2 .nov2-class-line{color:#8a6d24;font-size:max(10px,1.92cqw);transform:scaleX(.84);transform-origin:left}
.ninja-owned-v2 .nov2-rule{border-top:1px solid #e7e4dd}
.ninja-owned-v2 .nov2-exp{appearance:none;display:block;padding:0;border:1px solid #92988a;border-radius:1cqw;background:#eee;overflow:hidden}
.ninja-owned-v2 .nov2-exp::-webkit-progress-bar{background:#ececea;box-shadow:inset 0 1px 2px #aaa}
.ninja-owned-v2 .nov2-exp::-webkit-progress-value{border-radius:1cqw;background:linear-gradient(#96e947,#55b12c)}
.ninja-owned-v2 .nov2-exp::-moz-progress-bar{background:linear-gradient(#96e947,#55b12c)}
.ninja-owned-v2 .nov2-stat-icon{overflow:hidden}
.ninja-owned-v2 .nov2-stat-icon :is(svg,img){display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}
.ninja-owned-v2 .nov2-stat-value{font-size:max(11px,2.068cqw)}
.ninja-owned-v2 .nov2-skill-label{display:block;font-size:max(9px,1.77cqw);line-height:1;white-space:nowrap;font-weight:600;text-align:center}
.ninja-owned-v2 .nov2-skill-label-text{position:absolute;left:50%;top:50%;width:max-content;transform:translate(-50%,-50%) scaleX(.94);transform-origin:center;line-height:1}
.ninja-owned-v2 .nov2-basic-label .nov2-skill-label-text{transform:translate(-50%,-50%) scaleX(.70)}
@container (width < 500px){
  /* Ellipsis is calculated before transforms. Give the ink its unscaled
     width so the short canonical aliases still fit at the 12px floor. */
  .ninja-owned-v2 .nov2-hero-name{width:9.601182%!important;transform:scaleX(.8)}
  .ninja-owned-v2 .nov2-row-name{width:26.174%;transform:scaleX(.84)}
  /* Keep the native button dimensions; only move the row into the paper.
     Its label floor is10px, so the compact labels need a modest X fit. */
  .ninja-owned-v2 .nov2-dismiss{left:69.423929%!important}
  .ninja-owned-v2 .nov2-locate{left:76.957164%!important}
  .ninja-owned-v2 .nov2-equipment{left:84.490399%!important}
  .ninja-owned-v2 :is(.nov2-dismiss,.nov2-locate,.nov2-equipment)>span{transform:scaleX(.76)}
  .ninja-owned-v2 .nov2-skill-label{top:68.812877%!important;height:4.828973%!important;min-height:18px}
  .ninja-owned-v2 .nov2-skill-label-text,.ninja-owned-v2 .nov2-basic-label .nov2-skill-label-text{transform:translate(-50%,-50%);white-space:normal}
  .ninja-owned-v2 .nov2-skill-label-text>span{display:block}
}
.ninja-owned-v2 .nov2-skill-tile{display:grid;place-items:center;overflow:hidden}
.ninja-owned-v2 .nov2-skill-tile>:is(svg,img){display:block;width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;object-fit:contain}
.ninja-owned-v2 .nov2-skill-tile.locked{opacity:.85}
.ninja-owned-v2 .nov2-match-tip{display:flex;flex-direction:column;justify-content:center;padding:.4cqw .6cqw;border:1px solid #c99776;border-radius:1.3cqw;background:#fff9ed;box-shadow:0 1px 1px #916746;text-align:center;color:#704529;font-size:max(9px,1.62cqw);font-weight:700;line-height:1.15}
.ninja-owned-v2 .nov2-tip-cycle{display:flex;align-items:center;justify-content:center;gap:.35cqw;height:47%;font-size:1.8cqw}
.ninja-owned-v2 .nov2-tip-cycle svg{width:13%;height:100%}
.ninja-owned-v2 .nov2-empty{position:absolute;left:56%;top:38%;width:37%;font-size:max(11px,2.068cqw);line-height:1.4;text-align:center}
.ninja-owned-v2 .nov2-empty-roster{left:8%;width:39%}
.ninja-owned-v2 .nov2-army-content{position:absolute;left:54.7%;top:17%;width:39.2%;height:73%;overflow:hidden}
.ninja-owned-v2[data-owned-page-size="3"] .nov2-row-face{width:18%;top:18%;left:3%}
.ninja-owned-v2[data-owned-page-size="3"] .nov2-row-name{left:25%;top:23%;font-size:max(12px,2.5cqw)}
.ninja-owned-v2[data-owned-page-size="3"] .nov2-row-level{top:23%;font-size:max(11px,2.3cqw)}
.ninja-owned-v2[data-owned-page-size="3"] :is(.nov2-row-force-label,.nov2-row-force){top:60%;font-size:max(11px,2.3cqw)}
.ninja-owned-v2[data-owned-page-size="3"] :is(.nov2-row-class,.nov2-row-job){font-size:max(9px,1.9cqw)}
/* The single Army/Combo tab pair belongs to the real host view. */
#game-container .ninja-owned-v2 .nov2-army-content .owned-army-detail{height:100%;max-height:100%;gap:.8cqw;margin:0;padding:0;border:0;background:none;font-size:1.65cqw;overflow:hidden}
#game-container .ninja-owned-v2 .owned-army-tabs{width:94%;gap:.3cqw}
#game-container .ninja-owned-v2 .owned-army-tabs>button{padding:.6cqw .4cqw;border-radius:.6cqw .6cqw 0 0;font-size:1.65cqw}
#game-container .ninja-owned-v2 .owned-army-summary{gap:.6cqw;font-size:1.6cqw;line-height:1.2}
#game-container .ninja-owned-v2 .owned-army-summary>span{gap:.5cqw}
#game-container .ninja-owned-v2 .owned-army-layout{grid-template-columns:minmax(0,7fr) minmax(0,3fr);gap:.6cqw;padding-right:.4cqw}
#game-container .ninja-owned-v2 .owned-army-board{gap:.6cqw;padding:.3cqw}
#game-container .ninja-owned-v2 .owned-army-slot{padding:.25cqw;border-width:1px;border-radius:.6cqw}
#game-container .ninja-owned-v2 .owned-army-slot>small{top:.2cqw;left:.4cqw;font-size:1.45cqw}
#game-container .ninja-owned-v2 .owned-army-tools{gap:.7cqw;font-size:1.5cqw;text-align:center}
#game-container .ninja-owned-v2 .owned-army-tools>.button{min-height:3.3cqw;padding:.6cqw .3cqw;font-size:1.5cqw;line-height:1.15}
#game-container .ninja-owned-v2 .owned-army-footer{gap:.6cqw}
#game-container .ninja-owned-v2 .owned-army-footer>.button{min-height:3.3cqw;padding:.6cqw .8cqw;font-size:1.6cqw;line-height:1.15}
#game-container .ninja-owned-v2 .owned-combo-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;min-height:0;gap:1cqw;padding:1cqw;font-size:1.7cqw;text-align:center}
#game-container .ninja-owned-v2 .owned-combo-empty>span{width:10cqw;height:10cqw}
#game-container .ninja-owned-v2 .owned-combo-empty>span>svg{width:100%;height:100%}
#game-container .ninja-owned-v2 .owned-combo-empty h3,#game-container .ninja-owned-v2 .owned-combo-empty p{margin:0;font-size:inherit;line-height:1.3}

/* Army reads the same ten-slot squad as Formation Setup. Keep face portraits,
   controls and counters inside the illustrated book's right-hand page. */
#game-container .ninja-owned-v2 .owned-army-summary{gap:.45cqw;font-size:1.4cqw}
#game-container .ninja-owned-v2 .owned-army-summary>span{justify-content:space-between;gap:.35cqw;padding:.45cqw .5cqw;border:1px solid #dfd5bf;border-radius:.5cqw;background:#faf5e8}
#game-container .ninja-owned-v2 .owned-army-summary>.owned-army-effect{justify-content:flex-start;background:none;border:0;padding:.15cqw 0}
#game-container .ninja-owned-v2 .owned-army-layout{grid-template-columns:minmax(0,68fr) minmax(0,32fr);gap:.8cqw;padding-right:0}
#game-container .ninja-owned-v2 .owned-army-gridbox{display:flex;flex-direction:column;gap:.4cqw;min-width:0;min-height:0}
#game-container .ninja-owned-v2 .owned-army-columns{display:grid;grid-template-columns:1fr 1fr;text-align:center;font-size:1.3cqw;color:#8a7959;line-height:1.1}
#game-container .ninja-owned-v2 .owned-army-board{flex:1;gap:.45cqw;padding:.2cqw}
#game-container .ninja-owned-v2 .owned-army-slot{display:flex;flex-direction:column;justify-content:center;gap:0;padding:.2cqw .8cqw .15cqw;background:#fffaf0}
#game-container .ninja-owned-v2 .owned-army-character{display:block;flex:1;min-width:0;min-height:0;width:100%;height:auto;overflow:hidden}
#game-container .ninja-owned-v2 .owned-army-character>.vector-portrait{display:block;width:100%;height:100%;min-height:0;margin:0}
#game-container .ninja-owned-v2 .owned-army-character svg{display:block;width:100%;height:100%;object-fit:contain;max-width:none;max-height:none}
#game-container .ninja-owned-v2 .owned-army-member-meta{display:flex;align-items:center;justify-content:center;gap:.25cqw;flex:none;width:100%;font-size:1.05cqw;line-height:1.2;color:#766b55}
#game-container .ninja-owned-v2 .owned-army-member-meta>.icon{width:1.3cqw;height:1.3cqw;flex:none}
#game-container .ninja-owned-v2 .owned-army-tools{gap:.65cqw;padding:.3cqw 0;font-size:1.3cqw;align-items:stretch}
#game-container .ninja-owned-v2 .owned-army-tools>strong{color:#728b44;white-space:nowrap;font-size:1.5cqw}
#game-container .ninja-owned-v2 .owned-army-array{padding:0 0 .6cqw;line-height:1.15;color:#8d7753}
#game-container .ninja-owned-v2 .owned-army-tools>.button{min-height:3.6cqw;padding:.5cqw .25cqw;font-size:1.4cqw;white-space:normal}
#game-container .ninja-owned-v2 .owned-army-footer{align-items:center;justify-content:space-between;gap:.6cqw;padding-top:.5cqw;border-top:1px solid #e5dbc7}
#game-container .ninja-owned-v2 .owned-army-footer>span{min-width:0;flex:1;font-size:1.2cqw;line-height:1.25;color:#8b7a5b}
#game-container .ninja-owned-v2 .owned-army-footer>.button{flex:none;min-height:3cqw;font-size:1.35cqw;padding:.4cqw .5cqw}

/* Coordinates belong to the complete book, like its name/EXP controls. */
.ninja-owned-v2 .nov2-event-label{position:absolute;display:flex;align-items:center;justify-content:flex-start;z-index:2;pointer-events:none}
.ninja-owned-v2 .nov2-event-label>.seasonal-earned-label{max-width:100%;height:100%;gap:.4cqw;padding:.22cqw .55cqw;font:800 clamp(7px,1.05cqw,12px)/1.1 Arial,sans-serif;letter-spacing:.025em}
.ninja-owned-v2 .nov2-event-label .seasonal-badge-pumpkin{width:1.8cqw;height:1.8cqw}
.ninja-owned-v2 .nov2-event-label .seasonal-badge-bat{width:1.35cqw;height:.85cqw}
