/* A complete look stays in view: preview, nine choices, then one checkout. */
#shop-root.character-collection:has(.customise-showcase){display:flex;flex-direction:column;overflow:hidden}
.collection-header.customiser-header{flex:none;min-height:64px;padding:calc(10px + var(--safe-top)) clamp(18px,3vw,52px) 10px;gap:16px}
.customise-showcase.trading-showcase{flex:1;min-height:0;grid-template-rows:minmax(0,1fr);align-items:stretch;padding:14px clamp(18px,3vw,52px) calc(14px + var(--safe-bottom));overflow:hidden}
.customise-showcase .showcase-stage{display:flex;flex-direction:column;min-height:0}
.customise-showcase .showcase-stage .portrait-ocean{flex:1;height:auto;min-height:0}
.customise-showcase .character-navigation{flex:none;min-height:64px;padding-top:12px}
.customise-showcase .shark-trading-card{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto clamp(64px,10svh,105px) minmax(0,1fr);height:100%;max-height:760px;align-self:center;overflow:hidden}
.customise-showcase .shark-trading-card>.shark-card-head{grid-column:1;grid-row:1;padding:8px 14px}
.customise-showcase .shark-card-head h3{font-size:25px}
.customise-showcase .shark-trading-card>.shark-card-picture{grid-column:1;grid-row:2;height:auto;min-height:0}
.customise-showcase .shark-trading-card .character-detail{grid-area:auto;grid-column:1;grid-row:3;display:flex;flex-direction:column;min-height:0;padding:10px 12px}
.customise-showcase .character-detail .character-tabs{flex:none;margin:0 0 8px;padding:3px}
.customise-showcase .character-detail .character-tabs button{min-height:44px;font-size:14px;padding:6px 3px}
.customise-showcase .character-panel-content{flex:1;min-height:0}
.look-editor{height:100%;min-height:0;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:8px}
.look-editor>h4{margin:0;font:22px/1.1 Lilita,sans-serif;color:#125f75}
.look-groups{min-height:0;display:grid;grid-template-rows:repeat(3,minmax(0,1fr));gap:8px}
.look-group{min-width:0;min-height:0;margin:0;padding:0;border:0;display:flex;flex-direction:column}
.look-group>legend{padding:0;margin:0 0 4px;font:17px/1.1 Lilita,sans-serif;color:#174d61}
.look-options{flex:1;min-height:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.look-option{position:relative;min-width:0;min-height:54px;padding:6px 4px;display:grid;grid-template-columns:20px minmax(0,1fr);grid-template-rows:minmax(28px,1fr) auto;align-items:center;justify-items:center;gap:2px 4px;border:2px solid transparent;border-radius:10px;background:#e0eee6;color:#245c6c;font:400 14px/1.1 Fredoka,sans-serif;text-align:center}
.look-option[aria-pressed="true"]{border-color:#087e91;background:#c9eeea;color:#104c61}
.look-option:hover:enabled{background:#d2eae2;filter:none}
.look-name{width:100%;overflow-wrap:normal}
.look-option>small{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:3px;font:400 14px/1.05 Fredoka,sans-serif;color:#386674;font-variant-numeric:tabular-nums}
.look-option>small .icon{width:17px;height:17px;flex:none}
.look-colour,.look-mark{width:20px;height:20px;display:block;flex:none}
.look-colour{border-radius:50%;background:var(--look-colour);box-shadow:inset 0 1px 2px #164c6b33}
.look-option>.look-selected{position:absolute;right:2px;top:2px;width:13px;height:13px;color:#087084;background:#c9eeea;border-radius:50%}
.look-checkout{border-top:1px solid #d2dfca;padding-top:8px}
.look-actions{display:grid;grid-template-columns:auto minmax(0,1fr);align-items:stretch;gap:7px}
.look-reset{min-width:44px;min-height:46px;padding:6px 9px;border:0;border-radius:10px;background:#dfece4;color:#275d69;font:600 14px Fredoka,sans-serif}
.look-actions>.primary-button{margin:0;min-width:0;min-height:46px;padding:8px 6px;gap:5px;font-size:17px;white-space:nowrap}
.look-actions>.primary-button .icon{width:21px;height:21px;flex:none}
.look-status{margin:5px 0 0;color:#416a75;font:400 14px/1.2 Fredoka,sans-serif;min-height:17px}
.look-status-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:4px}
.look-status-row .look-status{margin:0}
.look-previous{flex:none;min-height:44px;padding:5px 9px;border:2px solid transparent;border-radius:10px;background:#dfece4;color:#275d69;font:600 14px Fredoka,sans-serif}
.look-previous[aria-pressed="true"]{border-color:#087e91;background:#c9eeea;color:#104c61}
.look-empty{grid-column:1/-1;align-self:center;margin:0;color:#416a75;font:400 14px Fredoka,sans-serif}
.look-editor-with-previous .look-groups{overflow-y:auto;grid-template-rows:repeat(3,minmax(77px,1fr));padding:2px;scrollbar-width:thin}
@media(max-width:719px){
 .collection-header.customiser-header{flex-wrap:nowrap;gap:10px;padding-inline:14px;min-height:64px}
 .customiser-header h1{display:none}
 .customiser-header .collection-sound{order:3}
 .customiser-header .collection-wallet{width:auto;margin-left:auto;gap:10px;font-size:18px}
 .customiser-header .collection-wallet .currency:not(.coins){display:none}
 .customise-showcase.trading-showcase{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);grid-template-areas:"details";padding:8px 12px calc(12px + var(--safe-bottom))}
 .customise-showcase .showcase-stage{display:none}
 .customise-showcase .shark-trading-card{width:min(440px,100%);max-height:790px;grid-template-rows:auto clamp(72px,14svh,130px) minmax(0,1fr)}
 .customise-showcase .shark-trading-card .character-detail{padding:8px 10px 10px}
 .customise-showcase .shark-card-head h3{font-size:25px}
 .look-groups{gap:7px}
 .look-option{padding:5px 4px}
}
/* Short landscape: the card portrait sits beside three columns of choices. */
@media(max-height:650px) and (orientation:landscape){
 .collection-header.customiser-header{min-height:54px;padding:calc(5px + var(--safe-top)) 16px 5px;gap:14px}
 .customiser-header h1{font-size:22px}
 .customiser-header .collection-wallet{width:auto;margin-left:auto;font-size:17px;gap:10px}
 .customiser-header .collection-wallet .currency:not(.coins){display:none}
 .customise-showcase.trading-showcase{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);grid-template-areas:"details";padding:6px 12px calc(8px + var(--safe-bottom))}
 .customise-showcase .showcase-stage{display:none}
 .customise-showcase .shark-trading-card{width:100%;max-width:100%;max-height:none;grid-template-columns:minmax(145px,.65fr) minmax(0,2fr);grid-template-rows:auto minmax(0,1fr)}
 .customise-showcase .shark-card-head{grid-column:1;grid-row:1}
 .customise-showcase .shark-card-head>span{display:none}
 .customise-showcase .shark-trading-card>.shark-card-picture{grid-column:1;grid-row:2;border-bottom:0}
 .customise-showcase .shark-trading-card .character-detail{grid-column:2;grid-row:1/3;padding:6px 10px}
 .customise-showcase .character-detail .character-tabs{margin-bottom:5px;padding:2px}
 .look-editor{grid-template-rows:minmax(0,1fr) auto;gap:6px}
 .look-editor>h4{display:none}
 .look-groups{grid-template-rows:minmax(0,1fr);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .look-group>legend{font-size:16px}
 .look-options{grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(3,minmax(0,1fr));gap:4px}
 .look-option{min-height:44px;grid-template-columns:20px minmax(0,1fr) auto;grid-template-rows:minmax(0,1fr);padding:3px 5px;gap:4px}
 .look-option>small{grid-column:3;flex-wrap:wrap;gap:1px;font-size:12px}
 .look-option>small .icon{width:14px;height:14px}
 .look-checkout{padding-top:5px}
 .look-status{font-size:13px;min-height:15px;margin-top:4px}
 .look-editor-with-previous .look-groups{grid-template-rows:minmax(165px,1fr)}
 .look-actions>.primary-button,.look-reset{min-height:44px}
}
@media(max-height:650px) and (orientation:landscape) and (max-width:900px){
 .customise-showcase .shark-trading-card{grid-template-columns:minmax(130px,.52fr) minmax(0,2fr)}
 .look-option{grid-template-columns:18px minmax(0,1fr);grid-template-rows:minmax(18px,1fr) auto;gap:0 3px;padding:3px}
 .look-option>small{grid-column:1/-1;grid-row:2;flex-wrap:nowrap;font-size:12px}
 .look-colour,.look-mark{width:18px;height:18px}
 .look-name{font-size:14px}
}
@media(prefers-reduced-motion:reduce){.look-option{transition:none}}
