/* ===== practice scripts: database page + scene pages (loaded after waa.css) ===== */

/* scene page: role picker */
.waa-sc-role { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 14px; background: var(--sand); border: 1px solid var(--line); }
.waa-sc-role label { font-family: var(--display); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.waa-sc-role select { min-height: 40px; padding: 0 34px 0 12px; border: 2px solid var(--ink); background: #fff; font: 600 15px var(--body); color: var(--ink); }
.waa-sc-role .waa-muted { font-size: 14px; flex: 1 1 240px; }

/* the scene, laid out like a script page */
.waa-scene { background: var(--cream); border: 1px solid var(--line); box-shadow: 8px 8px 0 var(--ink); padding: 44px 48px; margin-right: 8px; }
.waa-scene p { margin: 0; }
.waa-sc-h { font-family: var(--display); font-weight: 900; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin: 6px 0 14px !important; }
.waa-sc-a { font-size: 16px; line-height: 1.6; color: var(--ink-3); margin: 0 0 18px !important; max-width: 640px; }
.waa-sc-sp { margin: 0 0 16px; padding: 4px 0 4px 18%; border-left: 4px solid transparent; }
.waa-sc-c { font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 2px !important; padding-left: 18%; }
.waa-sc-p { font-size: 15px; font-style: italic; color: var(--muted); padding-left: 9%; }
.waa-sc-d { font-family: var(--serif); font-size: 20px; line-height: 1.55; color: #1A1A1A; max-width: 560px; }
.waa-sc-sp.is-me { border-left-color: var(--orange); background: linear-gradient(90deg, var(--orange-bg), rgba(255, 241, 222, 0) 85%); }
.waa-sc-sp.is-me .waa-sc-c::after { content: "You"; margin-left: 8px; padding: 2px 6px; background: var(--ink); color: #fff; font-size: 10px; letter-spacing: .1em; vertical-align: 2px; }
.waa-sc-d [data-t].is-hidden { color: transparent; cursor: pointer; background: repeating-linear-gradient(90deg, var(--line-2) 0 10px, transparent 10px 14px); background-size: auto 2px; background-repeat: repeat-x; background-position: 0 70%; border-radius: 2px; }
.waa-sc-d [data-t].is-hidden:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
.waa-sc-d [data-t].is-hidden.is-peek { color: var(--ink-3); background: none; }
.waa-sc-practice .waa-script__foot { margin-top: 22px; }

/* scenes that only exist as a scanned page */
.waa-sc-scan { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 32px; background: var(--cream); border: 1px solid var(--line); box-shadow: 8px 8px 0 var(--ink); margin-right: 8px; }
.waa-sc-scan p { margin: 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); max-width: 620px; }
.waa-sc-scan .waa-h3 { margin: 0; }

.waa-sc-single .waa-related > p { margin: 14px 0 0; }

/* database page: the original article copy inside "About these scripts" */
.waa-sc-about__orig { margin-top: 8px; }
.waa-sc-about__orig h3 { margin: 26px 0 10px; }
.waa-sc-about__orig h4 { margin: 18px 0 6px; font-family: var(--display); font-size: 17px; font-weight: 800; letter-spacing: -.01em; }
.waa-sc-about__orig hr { display: none; }

@media (max-width: 760px) {
  .waa-scene, .waa-sc-scan { padding: 26px 18px; box-shadow: 6px 6px 0 var(--ink); margin-right: 6px; }
  .waa-sc-sp { padding-left: 10px; }
  .waa-sc-c { padding-left: 0; }
  .waa-sc-p { padding-left: 0; }
  .waa-sc-d { font-size: 18px; }
  .waa-sc-role select { flex: 1 1 100%; }
}

/* scene page: the column already spaces its sections (44px gap), so the signup box doesn't need its own margin on top */
.waa-sc-single .waa-main > .waa-signup { margin-top: 0; margin-bottom: 0; }

/* ===== My list page ===== */
.waa-ml__hero { padding-bottom: 8px; }
.waa-ml__hero .waa-lede { margin-top: 10px; }
.waa-ml__note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-top: 18px; padding: 16px 18px; background: var(--orange-bg); border-left: 4px solid var(--orange); }
.waa-ml__note p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); max-width: 620px; }
.waa-ml__noteact { display: flex; align-items: center; gap: 16px; }
.waa-ml__jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.waa-ml__jump .waa-chip span { margin-left: 6px; font-weight: 800; }
.waa-ml__share { margin-left: auto; }
.waa-ml__body { display: flex; flex-direction: column; gap: 44px; padding-top: 28px; padding-bottom: 64px; }
.waa-ml__sec .waa-results__bar { border-bottom: 2px solid var(--ink); padding-bottom: 10px; margin-bottom: 0; }
.waa-ml__sec .waa-h4 .waa-muted { margin-left: 6px; }
.waa-ml__empty { padding: 26px 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); }
.waa-ml__empty p { margin: 0; color: var(--muted); }
.waa-ml .waa-row.is-removed { opacity: .45; }
.waa-ml .waa-row.is-removed .waa-row__c { text-decoration: line-through; text-decoration-thickness: 2px; }
.waa-ml__foot { margin: 0; font-size: 14px; }
@media (max-width: 760px) {
  .waa-ml__share { margin-left: 0; }
  .waa-ml__noteact { width: 100%; }
}
