/* SchoolDay v271.34: Games Settings > Success Videos (admin-success-videos-v27134.js). */
.svm-wrap-v27134 { display: grid; gap: .8rem; margin-top: .9rem; }
.svm-wrap-v27134 .is-busy-v27134 { cursor: progress; }
.svm-lead-v27134 { margin: 0; max-width: 64rem; }
.svm-bar-v27134 { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; }
#tab-phonics .svm-new-v27134, #tab-phonics .svm-replace-v27134 { position: relative; display: inline-flex; align-items: center; min-height: 2.5rem; margin: 0; padding: .45rem 1rem;
  border-radius: 999px; background: var(--blue-2, #144f8c); color: #fff; font-weight: 800; cursor: pointer; }
#tab-phonics .svm-replace-v27134 { background: #eef2f7; color: #144f8c; }
.svm-new-v27134 input, .svm-replace-v27134 input, .svm-add-v27134 input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.svm-new-v27134:focus-within, .svm-add-v27134:focus-within, .svm-replace-v27134:focus-within { outline: 3px solid #93c5fd; outline-offset: 2px; }
#tab-phonics .svm-chance-v27134 { display: inline-flex; align-items: center; gap: .4rem; margin: 0; font-weight: 700; }
#tab-phonics .svm-chance-v27134 input { width: 5rem; margin: 0; }
.svm-say-v27134 { font-size: .9rem; }
.svm-layout-v27134 { display: grid; grid-template-columns: minmax(0, 3fr) minmax(16rem, 1fr); gap: 1rem; align-items: start; }
.svm-rows-v27134 { display: grid; gap: .7rem; max-height: 72vh; overflow-y: auto; padding-right: .3rem; }
.svm-empty-v27134 { padding: 1.4rem; border: 2px dashed #cbd5e1; border-radius: 14px; text-align: center; }
.svm-row-v27134 { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; align-items: center; gap: .3rem .8rem;
  padding: .6rem .8rem; border: 1px solid rgba(20, 79, 140, .18); border-radius: 14px; background: #fff; }
.svm-row-v27134.is-drop { border: 2px dashed #2563eb; background: #eff6ff; }
.svm-row-v27134.is-previewing { box-shadow: inset 4px 0 0 #2563eb; }
.svm-row-name-v27134 { grid-column: 1 / -1; margin: 0; font-size: .8rem; font-weight: 800; color: #52606d; text-transform: uppercase; letter-spacing: .04em; }
.svm-tiles-v27134 { display: flex; flex-wrap: wrap; gap: .6rem; }
#tab-phonics .svm-tile-v27134, .svm-add-v27134 { position: relative; display: grid; justify-items: center; align-content: start; gap: .25rem; width: 6.2rem; margin: 0; padding: 0;
  border: 0 !important; background: none !important; box-shadow: none !important; color: inherit !important; cursor: pointer; text-align: center; }
.svm-thumb-v27134 { width: 6.2rem; height: 6.2rem; object-fit: cover; border-radius: .8rem; background: #0f172a; border: 2px solid #e2e8f0; pointer-events: none; }
.svm-tile-v27134.is-loop .svm-thumb-v27134 { border-color: #144f8c; }
.svm-tile-v27134:hover .svm-thumb-v27134, .svm-tile-v27134:focus-visible .svm-thumb-v27134 { border-color: #2563eb; }
.svm-tag-v27134 { position: absolute; top: .3rem; left: .3rem; padding: .05rem .4rem; border-radius: 999px; background: rgba(15, 23, 42, .75); color: #fff; font-size: .7rem; font-weight: 800; }
.svm-caption-v27134 { display: block; width: 100%; font-size: .72rem; line-height: 1.25; color: #334155; overflow-wrap: anywhere; }
.svm-caption-v27134.is-empty { color: #94a3b8; font-style: italic; }
.svm-add-v27134 > span[aria-hidden] { display: grid; place-items: center; width: 6.2rem; height: 6.2rem; border-radius: .8rem; border: 2px dashed #94a3b8; color: #64748b; font-size: 2rem; font-weight: 300; }
.svm-add-v27134:hover > span[aria-hidden] { border-color: #2563eb; color: #2563eb; }
#tab-phonics .svm-preview-btn-v27134 { grid-row: 2; grid-column: 2; margin: 0; }
.svm-preview-v27134 { position: sticky; top: 1rem; display: grid; gap: .5rem; justify-items: center; }
.svm-stage-v27134 { width: 100%; }
.svm-pick-v27134 { position: absolute; /*c27253*/top: 0; /*c27253*/right: 0; /*c27253*/bottom: 0; /*c27253*/left: 0; inset: 0; display: grid; place-items: center; margin: 0; padding: 1rem; color: #cbd5e1; font-weight: 700; text-align: center; }
.svm-dots-v27134 { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem; }
#tab-phonics .svm-dot-v27134 { width: 2.1rem; height: 2.1rem; min-height: 0; margin: 0; padding: 0; border-radius: 50%; border: 2px solid #cbd5e1 !important; background: #fff !important; color: #334155 !important; font-weight: 800; }
#tab-phonics .svm-dot-v27134.is-on { border-color: #144f8c !important; background: #144f8c !important; color: #fff !important; }
.svm-pop-v27134 { position: fixed; /*c27253*/top: 0; /*c27253*/right: 0; /*c27253*/bottom: 0; /*c27253*/left: 0; inset: 0; z-index: 1300; display: grid; place-items: center; padding: 1rem; background: rgba(15, 23, 42, .45); }
.svm-pop-v27134[hidden] { display: none; }
.svm-pop-card-v27134 { width: min(100%, 30rem); display: grid; gap: .7rem; padding: 1.1rem 1.2rem; border-radius: 1rem; background: #fff; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.svm-pop-card-v27134 h4 { margin: 0; }
.svm-pop-card-v27134 label { display: grid; gap: .3rem; font-weight: 700; }
.svm-pop-acts-v27134 { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.svm-pop-acts-v27134 button { margin: 0; }
.svm-pop-acts-v27134 .danger { background: #fde9e9 !important; color: #8f1d1d !important; }
@media (max-width: 900px) { .svm-layout-v27134 { grid-template-columns: 1fr; } .svm-preview-v27134 { position: static; order: -1; max-width: 22rem; margin: 0 auto; } .svm-rows-v27134 { max-height: none; } }

/* v272.23: Random or Story. A Random type's loop set apart by a line; a Story's parts in order with arrows, each with its
   own loop (or none); its title and theme above. */
.svm-kind-v27223 { display: inline-block; margin-right: .35rem; padding: .05rem .5rem; border-radius: 999px; background: #e0f2fe; color: #075985; font-size: .78rem; font-weight: 800; vertical-align: 1px; }
.svm-kind-v27223.is-story { background: #dcfce7; color: #166534; }
.svm-sep-v27223 { align-self: stretch; width: 0; margin: 0 .6rem 0 .3rem; border-left: 2px solid #cbd5e1; }
.svm-row-v27134 .svm-tile-v27134.is-loop { margin-right: .2rem; }
.svm-story-head-v27223 { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; margin-bottom: .45rem; }
.svm-story-head-v27223 label { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; }
.svm-story-head-v27223 input[type="text"] { width: 14rem; max-width: 100%; }
.svm-story-tiles-v27223 { align-items: center; }
.svm-step-v27223 { display: inline-flex; align-items: flex-end; gap: .25rem; }
.svm-tile-v27134.is-small-v27223 { transform: scale(.82); transform-origin: bottom right; opacity: .9; }
.svm-noloop-v27223 { align-self: center; font-size: .7rem; color: #64748b; writing-mode: vertical-rl; transform: rotate(180deg); }
.svm-arrow-v27223 { align-self: center; font-size: 1.6rem; font-weight: 900; color: #16a34a; padding: 0 .1rem; }
.svm-pop-story-v27223 { margin: .3rem 0 .4rem; padding: .5rem .6rem; border: 1px dashed #86efac; border-radius: 10px; background: #f0fdf4; }
.svm-pop-story-v27223 p { margin: 0 0 .4rem; }
.svm-new-story-v27223 { background: #dcfce7 !important; color: #166534 !important; border-color: #86efac !important; }
/* v272.23: a Story's title and theme across the whole row, its parts under them. */
.svm-row-v27134.is-story-v27223 .svm-story-head-v27223 { grid-column: 1 / -1; }
.svm-row-v27134.is-story-v27223 .svm-story-tiles-v27223 { grid-row: 2; grid-column: 1; }
.svm-story-head-v27223 select { min-width: 10rem; }

/* v273.08: filenames stay inside their tile/editor, including unbroken names. */
.svm-wrap-v27134, .svm-layout-v27134, .svm-rows-v27134, .svm-row-v27134, .svm-tiles-v27134, .svm-story-head-v27223, .svm-preview-v27134 { min-width: 0; }
.svm-caption-v27134, .svm-pop-card-v27134 h4, .svm-pop-story-v27223 p { min-width: 0; max-width: 100%; overflow-wrap: anywhere; word-break: break-word; white-space: normal; }
.svm-pop-card-v27134 { box-sizing: border-box; min-width: 0; max-width: 100%; grid-template-columns: minmax(0, 1fr); max-height: calc(100vh - 2rem); overflow: auto; }
.svm-pop-card-v27134 label, .svm-pop-card-v27134 input { box-sizing: border-box; min-width: 0; max-width: 100%; }
.svm-step-v27223 { min-width: 0; max-width: 100%; flex-wrap: wrap; }
@media (max-width: 600px) {
 .svm-row-v27134 { grid-template-columns: minmax(0, 1fr); }
 #tab-phonics .svm-preview-btn-v27134 { grid-column: 1; grid-row: auto; justify-self: end; }
 .svm-story-head-v27223 label { min-width: 0; max-width: 100%; flex-wrap: wrap; }
}
