/* Katsubo V11.7.28 – Calm album gradient editor, strictly within compact Album & Creator. */
@media (min-width: 1100px) {
  /* Place gradient controls beside the 9:16 live preview instead of stacking two tall panels. */
  #kc26-shell #ka21-box {
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(250px,300px);
    grid-template-rows:auto auto minmax(0,1fr) auto auto;
    column-gap:24px;
    align-items:start;
    padding:16px;
  }
  #kc26-shell #ka21-box > h4,
  #kc26-shell #ka21-box > .ka21-intro {grid-column:1 / -1}
  #kc26-shell #ka21-box > .ka21-grid {
    grid-column:1;grid-row:3;display:grid;grid-template-columns:1fr;
    align-content:start;gap:14px;min-width:0;
  }
  #kc26-shell #ka21-box .ka21-grid > label {min-width:0;max-width:420px}
  #kc26-shell #ka21-box .ka21-grid select {min-width:0;width:100%;max-width:420px}
  #kc26-shell #ka21-box .ka21-grid fieldset {align-items:start;gap:12px 24px}
  #kc26-shell #ka22-preview {
    grid-column:2;grid-row:3 / span 3;align-self:start;
    display:flex;flex-direction:column;align-items:flex-start;
    gap:10px;margin:0;padding:12px;min-width:0;
  }
  #kc26-shell #ka22-preview .ka22-preview-wrap {gap:8px;align-items:flex-start}
  #kc26-shell #ka22-preview .ka22-note {max-width:210px}
  #kc26-shell #ka22-preview .ka22-explain {flex:0 1 auto}
  #kc26-shell #ka21-box > .ka21-note,
  #kc26-shell #ka21-box > #ka21-status {grid-column:1;max-width:600px}
  #kc26-shell .kc26-area {min-height:510px}
}
/* Prevent scroll anchoring from compensating for changes inside the edited album panel. */
#v115Pane-album #kc26-shell {overflow-anchor:none}
@media (max-width: 1099px) {
  /* Keep existing responsive layout and full preview. */
  #kc26-shell #ka21-box {display:block}
}
