/* ================================================================
   Work & Quests — Tabularium
   Scoped to this scene so the quest-card contract shared by Road and
   profession views stays unchanged.
   ================================================================ */
.wq-scene {
  --fl-black: #070605;
  --fl-night: #100c09;
  --fl-ivory: #eee2ca;
  --fl-gold: #c99744;
  --fl-gold-hi: #e5c278;
  --wq-night: #0c0907;
  --wq-umber: #17100b;
  --wq-surface: rgba(17, 11, 8, .94);
  --wq-surface-soft: rgba(43, 28, 18, .94);
  --wq-text: #f1e4c5;
  --wq-muted: #b9aa8a;
  --wq-gold: #d9b75e;
  --wq-gold-hi: #edcf82;
  --wq-bronze: #8f6733;
  --wq-line: rgba(217, 183, 94, .34);
  --wq-line-soft: rgba(217, 183, 94, .16);
  --wq-line-strong: rgba(217, 183, 94, .68);
  --wq-ready: #d9b75e;
  --wq-radius: 8px;
  --wq-radius-small: 6px;
}

.wq-scene .wq-panel {
  gap: 12px;
}

.wq-scene .wq-panel > *,
.wq-scene .wq-route-body > * {
  width: 100%;
  box-sizing: border-box;
}

.wq-scene .wq-route-body {
  display: grid;
  width: 100%;
  gap: 10px;
}

.wq-scene .imm-card {
  color: var(--wq-text);
  background: linear-gradient(150deg, rgba(43, 28, 18, .94), rgba(17, 11, 8, .96));
  border-color: var(--wq-line);
  border-radius: var(--wq-radius);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 243, 205, .04);
}

.wq-scene .imm-card h2,
.wq-scene .imm-card h3,
.wq-scene .job-name,
.wq-scene .q-desc {
  color: var(--wq-text);
}

.wq-scene .cap-note,
.wq-scene .wq-section-head > p,
.wq-scene .job-min,
.wq-scene .job-lock,
.wq-scene .dr-note,
.wq-scene .offer-meta,
.wq-scene .offer-stats {
  color: var(--wq-muted);
}

/* Tabularium's locked reference uses a 1060 px content stage. The shared
   section-page default is 960 px, so this route pair opts into the approved
   width without changing other section-nav surfaces. */
@media (min-width: 900px) {
  .wq-scene .wq-panel.section-page {
    width: min(1060px, calc(100% - 32px));
  }
}

.wq-scene .section-nav {
  border-color: var(--wq-line);
  border-radius: var(--wq-radius);
  background: linear-gradient(180deg, rgba(49, 34, 21, .96), rgba(16, 10, 7, .97));
  box-shadow: 0 8px 25px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 243, 205, .035);
}

.wq-scene .section-nav__item {
  color: var(--wq-muted);
  border-right-color: var(--wq-line);
  font-size: 13px;
  letter-spacing: .12em;
}

.wq-scene .section-nav__item.is-active,
.wq-scene .section-nav__item.is-active:hover {
  color: var(--wq-gold-hi);
  background: linear-gradient(180deg, rgba(217, 183, 94, .16), rgba(217, 183, 94, .035));
  text-shadow: 0 0 10px rgba(217, 183, 94, .2);
}

.wq-scene .section-nav__item.is-active::after {
  display: block;
  right: 14px;
  left: 14px;
  background: var(--wq-gold);
  box-shadow: 0 0 10px rgba(217, 183, 94, .3);
}

/* The shared renderer always places this directly after section navigation. */
.wq-scene .wq-shift-deck {
  position: relative;
  display: grid;
  /* KOLMAS SARAKE ON RAJATTU, EI SISALLON MITTAINEN. Kun "Cancel shift"
     muuttuu kysymykseksi ja kahdeksi napiksi, auto-sarake kasvoi niin etta
     laskuri ja palkkio jaivat ilman tilaa - ja kortti leikkaa ylivuodon,
     joten tekstit menivat paallekkain sen sijaan etta kortti olisi
     levinnyt (omistaja 12.9.2026). Rajattu sarake katkaisee kysymyksen
     omien reunojensa sisalla. */
  grid-template-columns: 92px minmax(0, 1fr) clamp(184px, 24%, 268px);
  align-items: center;
  min-height: 66px;
  padding: 12px 16px;
  column-gap: 14px;
  row-gap: 4px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 0, rgba(217, 183, 94, .11), transparent 34%),
    linear-gradient(145deg, rgba(47, 30, 18, .97), rgba(17, 11, 8, .98));
  border-color: rgba(217, 183, 94, .48);
  border-top: 2px solid var(--wq-gold);
  border-radius: var(--wq-radius);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 243, 205, .045);
}

.wq-scene .wq-shift-deck::before { display: none; }

.wq-scene .wq-shift-heading,
.wq-scene .wq-shift-actions,
.wq-scene .wq-confirm-actions {
  display: flex;
  align-items: center;
}

.wq-scene .wq-shift-heading {
  grid-column: 1;
  grid-row: 1 / -1;
  align-items: flex-start;
  justify-content: center;
}

.wq-scene .wq-shift-kicker,
.wq-scene .wq-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: var(--wq-gold);
  font-family: var(--font-display, Georgia, serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.wq-scene .wq-shift-main {
  display: grid;
  grid-column: 2;
  grid-template-columns: minmax(212px, .9fr) minmax(190px, 1.15fr) minmax(168px, .6fr);
  align-items: center;
  gap: 14px;
}

.wq-scene .wq-shift-copy,
.wq-scene .wq-shift-progress,
.wq-scene .wq-shift-idle-copy {
  display: grid;
  gap: 5px;
}

.wq-scene .wq-shift-copy strong,
.wq-scene .wq-shift-idle-copy strong {
  color: var(--wq-text);
  font-family: var(--font-display, Georgia, serif);
  font-size: 15px;
}

.wq-scene .wq-shift-copy span,
.wq-scene .wq-shift-idle-copy span,
.wq-scene .wq-shift-time,
.wq-scene .wq-shift-note {
  color: var(--wq-muted);
}

.wq-scene .wq-progress {
  position: relative;
  height: 9px;
  overflow: hidden;
  background: #140f0b;
  border: 1px solid var(--wq-line);
  border-radius: 5px;
}

.wq-scene .wq-progress .fill {
  height: 100%;
  background: linear-gradient(90deg, #b9822f, var(--wq-gold-hi));
  box-shadow: 0 0 10px rgba(217, 183, 94, .2);
  transition: width .35s ease;
}

.wq-scene .wq-shift-pay,
.wq-scene .wq-shift-reward {
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  color: var(--wq-text);
  font-weight: 700;
}

.wq-scene .wq-shift-actions {
  grid-column: 3;
  grid-row: 1 / span 2;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 9px;
}

.wq-scene .wq-shift-collect[hidden] { display: none; }

.wq-scene .wq-shift-cancel,
.wq-scene .wq-confirm-actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.wq-scene .wq-shift-cancel[role="group"] { flex-direction: column; align-items: flex-end; gap: 7px; }
.wq-scene .wq-confirm-copy { color: #e7c68a; font-size: 12.5px; line-height: 1.3; text-align: right; }
.wq-scene .wq-shift-note {
  grid-column: 2;
  margin: 0;
  font-size: 12px;
}

.wq-scene .wq-feedback {
  grid-column: 2 / -1;
  margin: 0;
  color: var(--wq-muted);
  font-size: 12px;
}

.wq-scene .wq-feedback:empty,
.wq-scene .wq-route-feedback:empty { display: none; }

.wq-scene .wq-feedback.is-error,
.wq-scene .wq-route-feedback.is-error { color: #f0aaa0; }

.wq-scene .wq-route-feedback.is-warning { color: #e6c477; }

.wq-scene .wq-route-feedback {
  margin: 0;
  padding: 10px 12px;
  color: var(--wq-muted);
  background: rgba(16, 12, 9, .94);
  border: 1px solid var(--wq-line);
  border-left: 3px solid var(--wq-gold);
  border-radius: var(--wq-radius-small);
}

.wq-scene .wq-shift-idle-copy {
  grid-column: 2;
  max-width: 620px;
  margin: 0;
}

.wq-scene .wq-shift-slot-note {
  grid-column: 3;
  color: var(--wq-muted);
  font-size: 12px;
  white-space: nowrap;
}

.wq-scene .wq-section-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 9px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--wq-line-soft);
}

.wq-scene .wq-section-head::after {
  content: '';
  position: absolute;
  width: 46px;
  height: 1px;
  left: 0;
  bottom: -1px;
  background: var(--wq-gold);
}

.wq-scene .wq-section-head h2 {
  margin: 0;
  color: var(--wq-gold);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.wq-scene .wq-reset {
  color: var(--wq-muted);
  font-size: 13px;
}

.wq-scene .wq-catalog-note {
  margin: 0;
  padding: 9px 12px;
  color: #dfc276;
  background: rgba(16, 12, 9, .9);
  border-left: 3px solid var(--wq-gold);
  font-size: 12px;
}

.wq-scene .wq-work-section,
.wq-scene .wq-quest-section {
  padding: 15px;
  overflow: hidden;
}

.wq-scene .wq-section-head > p {
  max-width: 340px;
  margin: 2px 0 0;
  text-align: right;
}

.wq-scene .wq-trade-grid {
  display: grid;
  grid-template-columns: 110px repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.wq-scene .wq-trade-intro {
  display: grid;
  align-content: start;
  gap: 5px;
  padding: 10px 8px;
}

.wq-scene .wq-trade-intro strong {
  color: var(--wq-gold-hi);
  font: 700 16px/1.05 var(--font-display, Georgia, serif);
}

.wq-scene .wq-trade-intro span {
  color: var(--wq-muted);
  font-size: 13px;
}

.wq-scene .wq-city-contracts { min-width: 0; }

.wq-scene .wq-job-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 9px;
}

.wq-scene .wq-job-card,
.wq-scene .wq-train-card {
  position: relative;
  min-width: 0;
  padding: 12px;
  color: var(--wq-text);
  background: linear-gradient(150deg, rgba(48, 32, 20, .96), rgba(21, 14, 9, .98));
  border-color: var(--wq-line-soft);
  border-radius: var(--wq-radius);
  box-shadow: 0 8px 22px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 243, 205, .035);
  overflow: hidden;
}

.wq-scene .wq-train-card {
  min-height: 170px;
  align-content: end;
  background: #251a11;
}

.wq-scene .wq-train-card::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 1;
  background-image: linear-gradient(180deg, rgba(13, 9, 6, .08), rgba(13, 9, 6, .94)), var(--wq-trade-art);
  background-position: center;
  background-size: cover;
  pointer-events: none;
}

.wq-scene .wq-train-card > * { position: relative; }
.wq-scene .job-head { min-height: 42px; }
.wq-scene .job-foot { display: grid; gap: 10px; }
.wq-scene .job-pay { min-height: 28px; color: #e5c671; }

.wq-scene .job-drops.wq-job-drops {
  display: block;
  margin-top: 12px;
  padding-top: 8px;
  color: var(--wq-muted);
  border-top-color: var(--wq-line);
  font-size: 12px;
}

.wq-scene .wq-job-drops ul,
.wq-scene .wq-job-drops li {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wq-scene .wq-job-drops img {
  width: 31px;
  height: 31px;
  object-fit: cover;
  background: var(--wq-umber);
  border: 1px solid var(--wq-line);
  border-radius: var(--wq-radius-small);
}
.wq-scene .seg { margin: 10px 0; }

.wq-scene .seg-btn,
.wq-scene .btn,
.wq-scene .link-btn {
  border-radius: var(--wq-radius-small);
}

.wq-scene .seg {
  border-radius: var(--wq-radius-small);
  background: rgba(0, 0, 0, .2);
}

.wq-scene .seg-btn.on {
  color: #1b120a;
  background: linear-gradient(180deg, #e0bf69, #ae8139);
  box-shadow: inset 0 1px 0 rgba(255, 246, 214, .44);
}

.wq-scene .seg-btn,
.wq-scene .btn,
.wq-scene .link-btn,
.wq-scene .wq-context-link,
.wq-scene .wq-disclosure > summary { min-height: 44px; }

.wq-scene .wq-daily-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 11px;
  align-items: stretch;
}

.wq-scene .wq-daily-layout > * { width: auto; }

.wq-scene .wq-daily-quests {
  grid-column: 1;
  grid-row: 1;
}

.wq-scene .wq-daily-reward {
  grid-column: 2;
  grid-row: 1;
}

.wq-scene .wq-quest-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.wq-scene .quest-card.wq-quest-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px minmax(110px, auto);
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 11px;
  color: var(--wq-text);
  background-color: var(--wq-surface-soft);
  background-image:
    linear-gradient(90deg, rgba(39, 26, 16, .99) 0%, rgba(39, 26, 16, .94) 46%, rgba(22, 14, 9, .58) 100%),
    var(--wq-quest-art, url('/assets/scenes/tabularium.jpg'));
  background-position: center, 68% center;
  background-size: cover;
  border: 1px solid var(--wq-line-soft);
  border-left: 3px solid var(--wq-bronze);
  border-radius: var(--wq-radius);
  box-shadow: 0 7px 18px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 243, 205, .025);
}

.wq-scene .quest-card.wq-quest-row.ready {
  border-color: rgba(217, 183, 94, .5);
  border-left-color: var(--wq-gold);
  box-shadow: inset 3px 0 0 var(--wq-gold), 0 0 16px rgba(217, 183, 94, .08);
}

.wq-scene .quest-card.wq-quest-row.claimed { opacity: .67; }

.wq-scene .wq-quest-copy {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.wq-scene .q-desc { min-width: 0; font-weight: 700; }

/* Ohjerivi kuuluu kuvaukseen eikä ole toinen otsikko: kevyt paino, mykistetty
   väri ja negatiivinen ylämarginaali, joka kuroo kopiosarakkeen 7px:n gapin
   pariksi riviksi eikä kahdeksi erilliseksi lohkoksi. */
.wq-scene .q-how {
  min-width: 0;
  margin-top: -3px;
  color: var(--wq-muted);
  font-size: 12px;
  line-height: 1.45;
}

.wq-scene .q-rewards.reward-ledger {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  color: #d9bd75;
  background: transparent;
  border-color: var(--wq-line);
}

.wq-scene .q-rewards.reward-ledger.on-light {
  --info-text: #d9bd75;
  --info-muted: #b9aa8a;
  --info-line: rgba(201, 162, 75, .28);
  --info-bg: transparent;
}

.wq-scene .q-bar {
  margin: 0;
  background: #140f0b;
  border-color: var(--wq-line);
  border-radius: 5px;
}

.wq-scene .q-bar .lbl { color: #fff4d2; text-shadow: 0 1px 3px #000; }

.wq-scene .q-foot {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 44px;
}

.wq-scene .wq-context-link {
  display: inline-flex;
  align-items: center;
  color: var(--wq-gold);
  font-size: 12px;
}

.wq-scene .chain-step {
  display: inline-block;
  margin-left: 7px;
  color: var(--wq-gold);
  font-size: 12px;
  white-space: nowrap;
}

.wq-scene .wq-daily-reward {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
  padding: 16px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 34%, rgba(217, 183, 94, .2), transparent 43%),
    linear-gradient(155deg, rgba(50, 32, 19, .96), rgba(17, 11, 8, .98));
  border-top: 2px solid var(--wq-gold);
}

.wq-scene .wq-daily-reward h2 { margin: 5px 0 7px; }

.wq-scene .wq-reward-chest {
  width: 62px;
  height: 62px;
  margin: 4px auto 2px;
  object-fit: contain;
  filter: saturate(.75) brightness(.8);
}

.wq-scene .reward-ready .wq-reward-chest {
  filter: saturate(1.15) brightness(1.1) drop-shadow(0 0 12px rgba(221, 181, 77, .4));
}

.wq-scene .wq-seals { display: flex; gap: 9px; margin: 2px 0 12px; }

.wq-scene .wq-seals span {
  width: 12px;
  height: 12px;
  background: #17120c;
  border: 1px solid #756343;
  border-radius: 50%;
}

.wq-scene .wq-seals span.is-lit {
  background: var(--wq-ready);
  border-color: #f5da89;
  box-shadow: 0 0 9px rgba(221, 181, 77, .55);
}

.wq-scene .wq-daily-reward .dr-note { margin: 0 0 12px; }

.wq-scene .reward-item {
  width: 100%;
  color: var(--wq-text);
  background: rgba(0, 0, 0, .16);
  border-color: var(--wq-line);
  border-radius: var(--wq-radius-small);
}

.wq-scene .wq-disclosure { padding: 0; overflow: hidden; }

.wq-scene .wq-secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.wq-scene .wq-secondary-grid > * { min-width: 0; }

.wq-scene .wq-secondary-grid .wq-section-head {
  margin-bottom: 9px;
}

.wq-scene .wq-secondary-grid .quest-card.wq-quest-row {
  grid-template-columns: minmax(0, 1fr) 116px;
}

.wq-scene .wq-secondary-grid .quest-card.wq-quest-row .q-foot {
  grid-column: 1 / -1;
}

.wq-scene .wq-disclosure > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  color: var(--wq-gold);
  cursor: pointer;
  font-family: var(--font-display, Georgia, serif);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.wq-scene .wq-disclosure > summary small {
  color: var(--wq-muted);
  font-family: inherit;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}

.wq-scene .wq-disclosure-body {
  padding: 0 18px 18px;
  border-top: 1px solid var(--wq-line);
}

.wq-scene .wq-disclosure-body > .quest-section { padding-top: 14px; }

.wq-scene .wq-disclosure .pq-row {
  margin-top: 4px;
  padding: 9px 10px;
  background-color: var(--wq-surface-soft);
  background-image:
    linear-gradient(90deg, rgba(36, 25, 16, .98) 0%, rgba(36, 25, 16, .91) 52%, rgba(20, 14, 9, .56) 100%),
    var(--wq-quest-art, url('/assets/scenes/tabularium.jpg'));
  background-position: center, 72% center;
  background-size: cover;
  border: 1px solid var(--wq-line-soft);
  border-radius: var(--wq-radius-small);
}

.wq-scene :is(.btn, .link-btn, .wq-context-link, summary):focus-visible {
  outline: 2px solid #f0ca62;
  outline-offset: 2px;
}

@media (max-width: 1120px) {
  .wq-scene .wq-shift-main {
    grid-template-columns: minmax(180px, .8fr) minmax(220px, 1.2fr);
  }

  .wq-scene .wq-shift-pay {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .wq-scene .wq-job-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 900px) {
  .wq-scene::before {
    background: linear-gradient(180deg, rgba(8, 6, 4, .43), rgba(8, 6, 4, .72) 55%, rgba(8, 6, 4, .91));
  }
}

@media (max-width: 899px) {
  .wq-scene.imm-scene-cards {
    display: block;
    background: var(--wq-umber);
  }

  .wq-scene.imm-scene-cards::after {
    display: block;
    opacity: 1;
    mix-blend-mode: normal;
    background: linear-gradient(180deg, rgba(8, 6, 4, .43), rgba(8, 6, 4, .72) 55%, rgba(8, 6, 4, .91));
  }

  .wq-scene.imm-scene-cards .backdrop-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
  }

  .wq-scene .imm-stack {
    z-index: 3;
    width: 100%;
    padding: 12px;
  }
}

@media (max-width: 820px) {
  .wq-scene .wq-job-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .wq-scene .wq-secondary-grid { grid-template-columns: 1fr; }

  .wq-scene .quest-card.wq-quest-row {
    grid-template-columns: minmax(0, 1fr) minmax(150px, .6fr);
  }

  .wq-scene .quest-card.wq-quest-row .q-foot { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .wq-scene .wq-panel { gap: 10px; }
  .wq-scene .wq-shift-deck {
    grid-template-columns: 82px minmax(0, 1fr);
    min-height: 0;
    padding: 14px;
  }

  .wq-scene .wq-shift-heading {
    grid-column: 1;
    grid-row: 1 / span 2;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .wq-scene .wq-shift-main {
    grid-column: 2;
    grid-row: 1;
  }

  .wq-scene .wq-shift-actions {
    grid-column: 2;
    grid-row: 2;
    justify-content: flex-start;
  }

  .wq-scene .wq-shift-note,
  .wq-scene .wq-feedback {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .wq-scene .wq-shift-idle-copy {
    grid-column: 2;
    grid-row: 1;
  }

  .wq-scene .wq-shift-slot-note {
    grid-column: 2;
    grid-row: 2;
  }

  .wq-scene .wq-shift-main,
  .wq-scene .wq-daily-layout,
  .wq-scene .quest-card.wq-quest-row { grid-template-columns: 1fr; }

  .wq-scene .wq-daily-quests,
  .wq-scene .wq-daily-reward {
    grid-column: auto;
    grid-row: auto;
  }

  .wq-scene .wq-daily-layout.reward-first .wq-daily-reward {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 3px;
    align-items: center;
    padding: 12px;
    text-align: left;
  }

  .wq-scene .wq-daily-layout.reward-first .wq-reward-chest {
    grid-column: 1;
    grid-row: 1 / span 5;
    width: 64px;
    height: 64px;
    margin: 0;
  }

  .wq-scene .wq-daily-layout.reward-first :is(.wq-eyebrow, h2, .wq-seals, .dr-note, .dr-claim) {
    grid-column: 2;
    margin: 0;
  }

  .wq-scene .wq-daily-layout.reward-first .dr-claim {
    justify-self: start;
    white-space: nowrap;
    font-size: 12px;
    letter-spacing: .05em;
  }

  .wq-scene .wq-shift-pay,
  .wq-scene .quest-card.wq-quest-row .q-foot {
    grid-column: auto;
    justify-content: flex-start;
  }

  .wq-scene .wq-section-head { display: grid; gap: 9px; }

  .wq-scene .wq-section-head > p { max-width: none; text-align: left; }

  .wq-scene .wq-trade-grid,
  .wq-scene .wq-job-grid { grid-template-columns: 1fr; }

  .wq-scene .wq-work-section,
  .wq-scene .wq-quest-section { padding: 14px; }

  .wq-scene .wq-daily-reward { min-height: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .wq-scene .wq-progress .fill,
  .wq-scene .quest-card.ready .q-claim,
  .wq-scene .reward-ready .wq-reward-chest {
    animation: none !important;
    transition: none !important;
  }
}
