/* 2026-11-11: Story picker cards - presentation only. Original expanded style preserved. */
/* The two-column layout already exists: never change the source card order. */
.story-picker-content.sc-compact-cards .owned-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
}
.story-picker-content.sc-compact-cards .owned-grid .owned-slot:not(.sc-card-open){
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
}
.story-picker-content.sc-compact-cards .owned-grid .owned-slot:not(.sc-card-open)>.owned{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  justify-content:center!important;
  height:100%!important;
  min-height:76px!important;
  padding:10px 12px!important;
  gap:0!important;
  border-radius:17px!important;
  border-color:#e1b774!important;
  background:#fff!important;
  box-shadow:0 2px 8px rgba(90,67,30,.05)!important;
}
.story-picker-content.sc-compact-cards .owned-grid .owned-slot:not(.sc-card-open)>.owned.selected{
  border-color:#06ac65!important;
  background:#eaf9ef!important;
  box-shadow:0 0 0 2px rgba(6,199,85,.16)!important;
}
.story-picker-content.sc-compact-cards .owned-grid .owned-slot:not(.sc-card-open) .owned-picture,
.story-picker-content.sc-compact-cards .owned-grid .owned-slot:not(.sc-card-open) .owned-meta>small,
.story-picker-content.sc-compact-cards .owned-grid .owned-slot:not(.sc-card-open) .usage-pill,
.story-picker-content.sc-compact-cards .owned-grid .owned-slot:not(.sc-card-open)>.owned-speaker{
  display:none!important;
}
.story-picker-content.sc-compact-cards .owned-grid .owned-slot:not(.sc-card-open) .owned-meta{
  display:flex!important;
  flex-direction:column!important;
  gap:3px!important;
  align-items:flex-start!important;
  width:100%!important;
  min-width:0!important;
  padding:0!important;
}
.story-picker-content.sc-compact-cards .owned-grid .owned-slot:not(.sc-card-open) .owned-meta .owned-stage{
  display:block!important;
  color:#047c49!important;
  font-size:clamp(11px,2.9vw,13px)!important;
  font-weight:850!important;
  line-height:1.25!important;
}
.story-picker-content.sc-compact-cards .owned-grid .owned-slot:not(.sc-card-open) .owned-meta .owned-word{
  display:flex!important;
  align-items:center!important;
  gap:4px!important;
  width:100%!important;
  min-width:0!important;
  font-size:clamp(15px,4vw,19px)!important;
  font-weight:850!important;
  line-height:1.28!important;
  overflow-wrap:anywhere!important;
}
.sc-card-display-toggle .sc-compact-toggle-symbol{
  display:grid;place-items:center;width:100%;height:100%;
  font-size:25px;font-weight:750;line-height:1;color:#05794a;
}
@media(max-width:360px){
  .story-picker-content.sc-compact-cards .owned-grid{gap:7px!important}
  .story-picker-content.sc-compact-cards .owned-grid .owned-slot:not(.sc-card-open)>.owned{
    min-height:70px!important;padding:9px 8px!important;
  }
}

/* Card-list toggle sits immediately above the first two cards, not in the header. */
.story-picker-toolbar .sc-picker-toolbar-placeholder{visibility:hidden!important;pointer-events:none!important}
.story-picker-content .sc-card-display-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 12px;padding:0 2px}
.story-picker-content .sc-card-display-title{font-weight:850;font-size:16px;color:#146441}
.story-picker-content .sc-card-display-toggle{display:inline-flex;align-items:center;justify-content:center;gap:5px;width:auto;min-height:38px;padding:5px 11px;border:1px solid #158354;border-radius:999px;background:#fff;color:#096a46;font-size:13px;font-weight:800;cursor:pointer;margin:0;white-space:nowrap}
.story-picker-content .sc-card-display-toggle .sc-compact-toggle-symbol{font-size:20px;width:21px;height:21px;line-height:1}
.story-picker-content.sc-compact-cards .owned-grid .owned-slot.sc-card-open{min-width:0!important;height:auto!important}
/* An individually opened card inherits the exact original image, explanation,
   used badge, speaker and selected states; no replacement markup is needed. */
