/* /Views/Categorization/Approve.cshtml.rz.scp.css */
/* Views/Categorization/Approve.cshtml.css - isolated styles. */

.page-header[b-811lsexdm9] {
  padding: 1.25rem 1.5rem;
  border-left: 0.4rem solid var(--accent-color);
  background: color-mix(in srgb, var(--surface-color) 70%, transparent);
}

.eyebrow[b-811lsexdm9] {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-color);
}

/* One card per proposed category. */
.card[b-811lsexdm9] {
  border-radius: 1rem;
  border-color: var(--border-color);
  background: var(--surface-color);
}
/* /Views/Categorization/Categorize.cshtml.rz.scp.css */
/* Views/Categorization/Categorize.cshtml.css - isolated styles.
   <label>, <textarea> and <a> are tag-helper output, so ::deep reaches them. */

.page-header[b-vutr6w5ql3] {
  padding: 1.25rem 1.5rem;
  border-left: 0.4rem solid var(--accent-color);
  background: color-mix(in srgb, var(--surface-color) 70%, transparent);
}

.eyebrow[b-vutr6w5ql3] {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.card[b-vutr6w5ql3] {
  border-radius: 1rem;
  border-color: var(--border-color);
  background: var(--surface-color);
}

.categorize-page[b-vutr6w5ql3]  .form-label {
  font-weight: 600;
}

.categorize-page[b-vutr6w5ql3]  .form-control {
  border-color: var(--border-color);
}
/* /Views/Categorization/Index.cshtml.rz.scp.css */
/* Views/Categorization/Index.cshtml.css - isolated styles for the dashboard. */

.page-header[b-9i8lv29weq] {
  padding: 1.25rem 1.5rem;
  border-left: 0.4rem solid var(--accent-color);
  background: color-mix(in srgb, var(--surface-color) 70%, transparent);
}

/* The table is generated with plain elements, so ::deep is not needed
   for these, but table cells inherit the themed border color. */
.summary-table th[b-9i8lv29weq],
.summary-table td[b-9i8lv29weq] {
  border-color: var(--border-color);
}
/* /Views/DemographicInsights/Index.cshtml.rz.scp.css */
/* Daniel Endara Guarderas
   Prameswara Wardhana

   Assignment 9 - Demographic Insights
   Responsive styling for demographic controls and charts.
*/

/* Keep the chart cards consistent with the site theme. */
.demographic-insights .card[b-uoqpk0vg0p] {
    border-radius: 0.75rem;
}

/* Provide clear and consistent filter labels. */
.demographic-insights .form-label[b-uoqpk0vg0p] {
    font-weight: 600;
}

/* Control chart dimensions on desktop displays. */
.chart-container[b-uoqpk0vg0p] {
    position: relative;
    width: 100%;
    height: 320px;
}

/* Indicate that demographic chart bars are interactive. */
#demographicChart[b-uoqpk0vg0p] {
    cursor: pointer;
}

/* Keep aggregate summaries readable. */
#demographicSummary[b-uoqpk0vg0p],
#answerSummary[b-uoqpk0vg0p] {
    line-height: 1.6;
    overflow-wrap: anywhere;
}

/* Adjust chart dimensions and controls for mobile displays. */
@media (max-width: 576px) {
    .chart-container[b-uoqpk0vg0p] {
        height: 240px;
    }

    .demographic-insights .btn[b-uoqpk0vg0p] {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}
/* /Views/Demographics/Edit.cshtml.rz.scp.css */
/* ==========================================================================
   Views/Demographics/Edit.cshtml.css  -  CSS isolation file
   Daniel Endara Guarderas / Prameswara Wardhana

   CSS isolation: ASP.NET stamps every element in Edit.cshtml with a unique
   attribute (like b-x1y2z3) and rewrites each selector below to match it, so
   these rules apply to THIS page only and cannot leak to other pages.

   Colors come from the variables defined in wwwroot/css/site.css, so every
   rule below works in both light and dark mode with no extra media query.
   ========================================================================== */

/* 1. Soft fixed background behind the editor.
      position: fixed + inset: 0 pins it to the viewport so it stays put while
      the page scrolls; z-index: -1 sends it behind the content; low opacity
      keeps it low-contrast; pointer-events: none lets clicks pass through. */
.demographics-edit[b-toz808vhoe]::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.55;
  background:
    radial-gradient(60rem 30rem at 10% -10%,
      light-dark(rgb(52 81 209 / 14%), rgb(143 163 255 / 14%)), transparent 70%),
    radial-gradient(50rem 30rem at 100% 100%,
      light-dark(rgb(25 135 84 / 12%), rgb(117 183 152 / 12%)), transparent 70%);
}

/* 2. Page header: translucent themed surface with a primary-color left accent. */
.page-header[b-toz808vhoe] {
  padding: 1.25rem 1.5rem;
  border-left: 0.4rem solid var(--accent-color);
  background: color-mix(in srgb, var(--surface-color) 70%, transparent);
  backdrop-filter: blur(6px);
}

/* 3. The small "eyebrow" label above the title. */
.eyebrow[b-toz808vhoe] {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-color);
}

/* 4. Cards: translucent, rounded, theme-aware. */
.card[b-toz808vhoe] {
  border-radius: 1rem;
  border-color: var(--border-color);
  background: color-mix(in srgb, var(--surface-color) 82%, transparent);
  backdrop-filter: blur(6px);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

/* 5. Small lift and deeper shadow when a card is hovered. */
.card:hover[b-toz808vhoe] {
  transform: translateY(-2px);
  box-shadow: 0 0.75rem 1.75rem light-dark(rgb(20 29 39 / 14%), rgb(0 0 0 / 45%));
}

/* 6. Section titles: the <legend> is styled as the card header. */
.card > legend.card-header[b-toz808vhoe] {
  float: none;                 /* undo Bootstrap's float on <legend> */
  width: auto;
  margin-bottom: 0;
  padding: 0.85rem 1.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  background: color-mix(in srgb, var(--accent-color) 10%, transparent);
  border-bottom: 1px solid var(--border-color);
  border-top-left-radius: calc(1rem - 1px);
  border-top-right-radius: calc(1rem - 1px);
}

/* ::deep matters for the next three rules. Labels, inputs and selects written
   with asp-for are generated by tag helpers at render time, and CSS isolation
   does not stamp its scope attribute on them. `.demographics-edit ::deep X`
   means "any X anywhere inside the scoped wrapper", so those elements are
   styled too. */

/* 7. Consistent spacing and weight under/around form labels. */
.demographics-edit[b-toz808vhoe]  .form-label {
  margin-bottom: 0.4rem;
  font-weight: 600;
}

/* 8. Taller inputs and selects: easier to scan and to tap on a phone. */
.demographics-edit[b-toz808vhoe]  .form-control,
.demographics-edit[b-toz808vhoe]  .form-select {
  min-height: 2.9rem;
  border-radius: 0.65rem;
}

/* 9. Translucent input surfaces that match the current theme. */
.demographics-edit[b-toz808vhoe]  .form-control,
.demographics-edit[b-toz808vhoe]  .form-select {
  background-color: color-mix(in srgb, var(--bg-color) 70%, transparent);
  border-color: var(--border-color);
}

/* 10. Sticky action bar: Save/Cancel stay reachable on this long form. */
.form-actions[b-toz808vhoe] {
  position: sticky;
  bottom: 1rem;
  border: 1px solid var(--border-color);
  background: color-mix(in srgb, var(--surface-color) 88%, transparent);
  backdrop-filter: blur(8px);
  box-shadow: 0 0.5rem 1.5rem light-dark(rgb(20 29 39 / 12%), rgb(0 0 0 / 40%));
}

/* 11. Cancel button: Bootstrap's gray outline is low-contrast in dark mode,
      so its colors come from our theme variables instead. The Cancel link is
      an asp-action tag helper, so it needs ::deep like the form fields. */
.demographics-edit[b-toz808vhoe]  .btn-outline-secondary {
  --bs-btn-color: var(--text-color);
  --bs-btn-border-color: var(--muted-color);
  --bs-btn-hover-color: var(--bg-color);
  --bs-btn-hover-bg: var(--text-color);
  --bs-btn-hover-border-color: var(--text-color);
  --bs-btn-active-color: var(--bg-color);
  --bs-btn-active-bg: var(--text-color);
  --bs-btn-active-border-color: var(--text-color);
}

/* Respect people who ask their system to reduce motion. */
@media (prefers-reduced-motion: reduce) {
  .card[b-toz808vhoe] {
    transition: none;
  }

  .card:hover[b-toz808vhoe] {
    transform: none;
  }
}
/* /Views/Encyclopedia/SpinOrSpell.cshtml.rz.scp.css */
/* ==========================================================================
   Views/Encyclopedia/SpinOrSpell.cshtml.css   (CSS isolation file)
   Daniel Endara Guarderas / Prameswara Wardhana

   RESPONSIVE LAYOUT. Sections 0-8 are the style-only CSS from
   SpinOrSpellStyleOnly.cshtml.css (colors, fonts, spacing, states). Section 9
   at the bottom adds layout on top of it:

     - CSS Grid arranges the major panels of the dashboard (2 dimensions).
     - Flexbox arranges the contents inside each panel (1 dimension).
     - Mobile first: the base rules are written for a phone. Each
       @media (min-width: ...) block then ADDS room-based changes for
       tablet (576px), monitor (992px), large monitor (1399px), and
       widescreen (1800px). The HTML is the same at every size; only the
       named grid areas move.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Page chrome above the game (follows the site's light/dark theme)
   -------------------------------------------------------------------------- */

/* The "View: Raw HTML | Visual Styling | Responsive Layout" links. These are
   asp-action tag helpers, so they need ::deep (see the Demographics page). */
nav[b-ifvye4h037]  a {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 0.4rem;
  font-weight: 600;
  text-decoration: none;
}

nav[b-ifvye4h037]  a:hover,
nav[b-ifvye4h037]  a:focus-visible {
  background: color-mix(in srgb, var(--accent-color) 18%, transparent);
  text-decoration: underline;
}

/* The accessibility note: a calm callout, colored from the site variables. */
section[aria-labelledby="letter-feedback-note"][b-ifvye4h037] {
  margin: 1rem 0 1.5rem;
  padding: 0.75rem 1.25rem;
  border-left: 0.35rem solid var(--accent-color);
  border-radius: 0.5rem;
  background: color-mix(in srgb, var(--surface-color) 85%, transparent);
}

section[aria-labelledby="letter-feedback-note"] h2[b-ifvye4h037] {
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   1. The game shell: design tokens and the stage
   -------------------------------------------------------------------------- */
#game-shell[b-ifvye4h037] {
  --sp-navy: #0b1d4d;
  --sp-navy-light: #163a8a;
  --sp-gold: #ffc83d;
  --sp-gold-deep: #e29a00;
  --sp-cream: #fff7e0;
  --sp-green: #177a49;
  --sp-red-bg: #5a2330;
  --sp-red-text: #ffd9d9;

  margin-bottom: 2rem;
  padding: 1.25rem;
  border: 3px solid var(--sp-gold);
  border-radius: 1.5rem;
  color: var(--sp-cream);
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  line-height: 1.5;
  /* A spotlight: lighter navy at the top fading to deep navy. */
  background:
    radial-gradient(70rem 24rem at 50% -8rem, var(--sp-navy-light), transparent 70%),
    var(--sp-navy);
  box-shadow: 0 1rem 2.5rem rgb(0 0 0 / 45%), inset 0 0 0 4px rgb(0 0 0 / 25%);
}

/* Every panel in the game shares this card look. */
.game-panel[b-ifvye4h037] {
  margin-bottom: 1.25rem;
  padding: 1.25rem;
  border: 1px solid rgb(255 200 61 / 40%);
  border-radius: 1rem;
  background: rgb(255 255 255 / 7%);
  box-shadow: 0 0.25rem 0.75rem rgb(0 0 0 / 25%);
}

/* Panel headings: small, uppercase, gold, widely spaced. */
#game-shell h2[b-ifvye4h037] {
  margin: 0 0 0.75rem;
  color: var(--sp-gold);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#game-shell h3[b-ifvye4h037] {
  margin: 1rem 0 0.5rem;
  color: var(--sp-gold);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

#game-shell p[b-ifvye4h037] {
  margin: 0 0 0.75rem;
}

/* --------------------------------------------------------------------------
   2. Header: marquee title, round badge, help button
   -------------------------------------------------------------------------- */

/* The <img class="marquee-accent"> is hidden, and the same picture is drawn
   as the header's background instead (purely decorative, so CSS is right). */
.marquee-accent[b-ifvye4h037] {
  display: none;
}

#app-header[b-ifvye4h037] {
  padding-bottom: 7.5rem;       /* room for the marquee background below */
  text-align: center;
  background:
    url("/images/SpinOrSpell/marquee-accent.png") no-repeat center bottom 0.75rem / 19rem auto,
    linear-gradient(180deg, rgb(255 255 255 / 10%), rgb(255 255 255 / 3%));
}

#app-header > div:first-child p[b-ifvye4h037] {
  margin-bottom: 0.25rem;
  color: var(--sp-cream);
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

#game-shell #game-title[b-ifvye4h037] {
  margin-bottom: 0.5rem;
  color: var(--sp-gold);
  font-size: clamp(2rem, 7vw, 3.5rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-shadow: 0 0 0.6rem rgb(255 200 61 / 55%), 0 0.15rem 0 var(--sp-gold-deep);
}

#app-header > div:last-child[b-ifvye4h037] {
  margin-top: 0.5rem;
}

/* "Round 2" as a pill badge. */
#app-header strong[b-ifvye4h037] {
  display: inline-block;
  margin-right: 0.75rem;
  padding: 0.25rem 1rem;
  border-radius: 999px;
  background: var(--sp-gold);
  color: var(--sp-navy);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* The round "?" help button (44px, comfortable to tap). */
#spin-help-button[b-ifvye4h037] {
  width: 2.75rem;
  height: 2.75rem;
  border: 2px solid var(--sp-gold);
  border-radius: 50%;
  background: transparent;
  color: var(--sp-gold);
  font-size: 1.25rem;
  font-weight: 800;
  cursor: pointer;
}

#spin-help-button:hover[b-ifvye4h037] {
  background: var(--sp-gold);
  color: var(--sp-navy);
}

/* --------------------------------------------------------------------------
   3. Phrase board: tiles and the host message
   -------------------------------------------------------------------------- */
#phrase-board [role="group"][b-ifvye4h037] {
  margin-bottom: 1rem;
  text-align: center;
}

/* Each word stays together on one line. */
.phrase-word[b-ifvye4h037] {
  display: inline-block;
  margin: 0 1rem 0.75rem 0;
  white-space: nowrap;
}

/* A tile: cream card with navy lettering. A hidden letter shows as "_",
   which reads as an empty slot. */
.phrase-tile[b-ifvye4h037] {
  display: inline-block;
  width: 2.25rem;
  height: 3rem;
  margin: 0 0.15rem;
  border: 2px solid var(--sp-gold-deep);
  border-radius: 0.4rem;
  background: linear-gradient(180deg, #ffffff, var(--sp-cream));
  box-shadow: 0 0.2rem 0 var(--sp-gold-deep);
  color: var(--sp-navy);
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 2.7rem;
  text-align: center;
}

/* The host's message as a quotation. */
#game-message blockquote[b-ifvye4h037] {
  margin: 0;
  padding: 0.75rem 1rem;
  border-left: 0.35rem solid var(--sp-gold);
  border-radius: 0.5rem;
  background: rgb(0 0 0 / 25%);
  font-size: 1.05rem;
  font-style: italic;
}

#game-message blockquote p[b-ifvye4h037] {
  margin-bottom: 0.25rem;
}

#game-message footer[b-ifvye4h037] {
  color: var(--sp-gold);
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   4. Letter bank: buttons and their four states
   -------------------------------------------------------------------------- */
.letter-options[b-ifvye4h037],
.vowel-options[b-ifvye4h037] {
  text-align: center;
}

/* Base letter button (also the "available" state): gold, 44px+ touch target. */
.letter-options button[b-ifvye4h037],
.vowel-options button[b-ifvye4h037] {
  min-width: 2.75rem;
  height: 2.75rem;
  margin: 0.2rem;
  padding: 0 0.5rem;
  border: 2px solid var(--sp-gold-deep);
  border-radius: 0.6rem;
  background: linear-gradient(180deg, #ffe08a, var(--sp-gold));
  color: var(--sp-navy);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

/* Hover and keyboard focus feedback only for buttons that can be used. */
.letter-options button:not(:disabled):hover[b-ifvye4h037],
.vowel-options button:not(:disabled):hover[b-ifvye4h037] {
  transform: translateY(-2px);
  box-shadow: 0 0.35rem 0.75rem rgb(0 0 0 / 40%);
}

#game-shell button:focus-visible[b-ifvye4h037] {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

/* Correct guess: green, with a check mark (not color alone). */
.letter-options button.selected[b-ifvye4h037],
.vowel-options button.selected[b-ifvye4h037] {
  border-color: #7ee2a8;
  background: var(--sp-green);
  color: #ffffff;
  cursor: not-allowed;
}

.letter-options button.selected[b-ifvye4h037]::after,
.vowel-options button.selected[b-ifvye4h037]::after {
  content: " \2713";             /* check mark */
  font-size: 0.8em;
}

/* Incorrect guess: dark red, struck through, dashed border, with a cross. */
.letter-options button.incorrect[b-ifvye4h037],
.vowel-options button.incorrect[b-ifvye4h037] {
  border-style: dashed;
  border-color: #ff9a9a;
  background: var(--sp-red-bg);
  color: var(--sp-red-text);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  cursor: not-allowed;
}

.letter-options button.incorrect[b-ifvye4h037]::after,
.vowel-options button.incorrect[b-ifvye4h037]::after {
  content: " \2715";             /* multiplication x */
  font-size: 0.8em;
  text-decoration: none;
}

#letter-bank > p[b-ifvye4h037] {
  margin: 1rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px dashed rgb(255 200 61 / 40%);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   5. Wheel panel and the "Solve" panel
   -------------------------------------------------------------------------- */
#wheel-panel[b-ifvye4h037],
#turn-actions[b-ifvye4h037] {
  text-align: center;
}

/* The ▼ pointer sits just over the top of the wheel. */
#wheel-panel span[aria-hidden="true"][b-ifvye4h037] {
  display: block;
  margin-bottom: -0.6rem;
  color: var(--sp-gold);
  font-size: 2rem;
  line-height: 1;
  text-shadow: 0 0.15rem 0.3rem rgb(0 0 0 / 60%);
}

#wheel-image[b-ifvye4h037] {
  display: block;
  width: min(18rem, 100%);
  height: auto;
  margin: 0 auto 1rem;
  filter: drop-shadow(0 0.75rem 1rem rgb(0 0 0 / 55%));
}

#wheel-panel strong[b-ifvye4h037] {
  color: var(--sp-gold);
  font-size: 1.5rem;
}

/* The small "Final answer?" label above the Solve heading. */
#turn-actions p:first-child[b-ifvye4h037] {
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

/* The two big action buttons: Spin and Solve. */
#wheel-panel > button[b-ifvye4h037],
#turn-actions > button[b-ifvye4h037] {
  min-width: 11rem;
  min-height: 3rem;
  padding: 0.6rem 2rem;
  border: 2px solid var(--sp-gold-deep);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe08a, var(--sp-gold));
  color: var(--sp-navy);
  font: inherit;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0.3rem 0 var(--sp-gold-deep);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

#wheel-panel > button:hover[b-ifvye4h037],
#turn-actions > button:hover[b-ifvye4h037] {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 0 var(--sp-gold-deep), 0 0.75rem 1.25rem rgb(0 0 0 / 40%);
}

#wheel-panel > button:active[b-ifvye4h037],
#turn-actions > button:active[b-ifvye4h037] {
  transform: translateY(2px);
  box-shadow: 0 0.1rem 0 var(--sp-gold-deep);
}

/* The Spin button gently pulses to say "do this next". It is switched off
   for anyone who asked their system to reduce motion. */
@media (prefers-reduced-motion: no-preference) {
  #wheel-panel > button[b-ifvye4h037] {
    animation: spin-pulse-b-ifvye4h037 1.8s ease-in-out infinite;
  }
}

@keyframes spin-pulse-b-ifvye4h037 {
  0%, 100% { box-shadow: 0 0.3rem 0 var(--sp-gold-deep), 0 0 0 0 rgb(255 200 61 / 55%); }
  50%      { box-shadow: 0 0.3rem 0 var(--sp-gold-deep), 0 0 0 0.9rem rgb(255 200 61 / 0%); }
}

/* --------------------------------------------------------------------------
   6. Player status: score cards and the current player
   -------------------------------------------------------------------------- */
.score-card[b-ifvye4h037] {
  margin-bottom: 0.6rem;
  padding: 0.5rem 1rem;
  border: 2px solid rgb(255 200 61 / 30%);
  border-radius: 0.75rem;
  background: rgb(0 0 0 / 25%);
}

#game-shell .score-card h3[b-ifvye4h037] {
  margin: 0;
  color: var(--sp-cream);
  font-size: 1rem;
  text-transform: none;
}

#game-shell .score-card p[b-ifvye4h037] {
  margin: 0;
  color: var(--sp-gold);
  font-size: 1.4rem;
  font-weight: 800;
}

/* The player whose turn it is: thick gold border and a ▶ marker. */
.score-card.active[b-ifvye4h037] {
  border: 3px solid var(--sp-gold);
  background: rgb(255 200 61 / 18%);
}

.score-card.active h3[b-ifvye4h037]::before {
  content: "\25B6\00a0";          /* ▶ and a non-breaking space */
  color: var(--sp-gold);
}

/* "MC" avatar circle. */
#current-player > div:first-child[b-ifvye4h037] {
  display: inline-block;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 0.5rem;
  border-radius: 50%;
  background: var(--sp-gold);
  color: var(--sp-navy);
  font-weight: 900;
  line-height: 3.25rem;
  text-align: center;
}

#game-shell .turn-status[b-ifvye4h037] {
  margin-bottom: 0;
  color: var(--sp-gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

#game-shell #player-heading[b-ifvye4h037] {
  margin-bottom: 0.4rem;
  color: var(--sp-cream);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

.wheel-result strong[b-ifvye4h037] {
  color: var(--sp-gold);
  font-size: 1.2rem;
}

#game-shell .turn-instruction[b-ifvye4h037] {
  margin-bottom: 0;
  font-style: italic;
}

/* --------------------------------------------------------------------------
   7. Leaderboard table
   -------------------------------------------------------------------------- */
#leaderboard table[b-ifvye4h037] {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0.75rem;
}

#leaderboard th[b-ifvye4h037],
#leaderboard td[b-ifvye4h037] {
  padding: 0.55rem 0.75rem;
  text-align: left;
}

#leaderboard thead th[b-ifvye4h037] {
  border-bottom: 2px solid var(--sp-gold);
  color: var(--sp-gold);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#leaderboard tbody tr:nth-child(even)[b-ifvye4h037] {
  background: rgb(255 255 255 / 7%);
}

#leaderboard tbody th[b-ifvye4h037] {
  color: var(--sp-gold);
  font-weight: 800;
}

/* Totals line up on their right edge, with equal-width digits. */
#leaderboard th:last-child[b-ifvye4h037],
#leaderboard td:last-child[b-ifvye4h037] {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

#game-shell .round-progress[b-ifvye4h037] {
  margin-bottom: 0;
  font-size: 0.85rem;
  text-align: right;
}

/* --------------------------------------------------------------------------
   8. Game log, sponsor ad, footer
   -------------------------------------------------------------------------- */
#game-log ol[b-ifvye4h037] {
  margin: 0;
  padding-left: 1.75rem;
}

#game-log li[b-ifvye4h037] {
  padding: 0.3rem 0;
  border-bottom: 1px dotted rgb(255 247 224 / 25%);
  font-size: 0.95rem;
}

#game-log li[b-ifvye4h037]::marker {
  color: var(--sp-gold);
  font-weight: 700;
}

#ad-panel[b-ifvye4h037] {
  text-align: center;
}

#ad-panel img[b-ifvye4h037] {
  display: block;
  width: min(16rem, 100%);
  height: auto;
  margin: 0 auto 0.5rem;
  border-radius: 0.75rem;
}

#ad-panel p[b-ifvye4h037] {
  margin-bottom: 0;
  font-size: 0.9rem;
  font-style: italic;
}

#game-footer[b-ifvye4h037] {
  margin-bottom: 0;
  font-size: 0.85rem;
  text-align: center;
  background: rgb(0 0 0 / 25%);
}

#game-footer span[b-ifvye4h037] {
  display: block;
}

/* Everyone who asked for less motion also gets quiet buttons. */
@media (prefers-reduced-motion: reduce) {
  .letter-options button[b-ifvye4h037],
  .vowel-options button[b-ifvye4h037],
  #wheel-panel > button[b-ifvye4h037],
  #turn-actions > button[b-ifvye4h037] {
    transition: none;
  }
}


/* ==========================================================================
   9. RESPONSIVE LAYER (Grid for the page, Flexbox inside the panels)
   ========================================================================== */

/* ---- 9.1 Name each region once. The grid below decides where they go. ---- */
#app-header[b-ifvye4h037]    { grid-area: header; }
#phrase-board[b-ifvye4h037]  { grid-area: phrase; }
#letter-bank[b-ifvye4h037]   { grid-area: letters; }
#wheel-panel[b-ifvye4h037]   { grid-area: wheel; }
#turn-actions[b-ifvye4h037]  { grid-area: actions; }
#player-status[b-ifvye4h037] { grid-area: status; }
#leaderboard[b-ifvye4h037]   { grid-area: leaders; }
#game-log[b-ifvye4h037]      { grid-area: log; }
#ad-panel[b-ifvye4h037]      { grid-area: ad; }
#game-footer[b-ifvye4h037]   { grid-area: footer; }

/* ---- 9.2 PHONE (base, under 576px): one column, in reading order ---- */
#game-shell[b-ifvye4h037] {
  display: grid;
  gap: 0.75rem;
  padding: 0.75rem;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "header"
    "phrase"
    "letters"
    "wheel"
    "actions"
    "status"
    "leaders"
    "log"
    "ad"
    "footer";
}

/* Grid items may shrink below their content width (stops wide tables or
   tiles from forcing a horizontal scroll bar), and the grid's gap now
   replaces the panels' old bottom margins. */
#game-shell > *[b-ifvye4h037] {
  min-width: 0;
}

#game-shell .game-panel[b-ifvye4h037] {
  margin-bottom: 0;
  padding: 1rem;
}

/* Header (Flex): everything stacked and centered on a phone. */
#game-shell #app-header[b-ifvye4h037] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 6.25rem;
  background:
    url("/images/SpinOrSpell/marquee-accent.png") no-repeat center bottom 0.5rem / 14rem auto,
    linear-gradient(180deg, rgb(255 255 255 / 10%), rgb(255 255 255 / 3%));
}

#app-header > div:last-child[b-ifvye4h037] {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0;
}

#app-header strong[b-ifvye4h037] {
  margin-right: 0;
}

/* Phrase board (Flex): words wrap as whole words; tiles center their letter. */
#phrase-board [role="group"][b-ifvye4h037] {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1rem;
}

.phrase-word[b-ifvye4h037] {
  display: flex;                 /* ignores the spaces between the tiles */
  gap: 0.15rem;
  margin: 0;
}

.phrase-tile[b-ifvye4h037] {
  display: flex;
  align-items: center;           /* center the letter vertically... */
  justify-content: center;       /* ...and horizontally */
  flex: 0 1 auto;
  min-width: 0;
  width: clamp(1.25rem, 6.5vw, 2.25rem);   /* tiles shrink with the screen */
  height: auto;
  aspect-ratio: 3 / 4;
  margin: 0;
  font-size: clamp(0.9rem, 4.5vw, 1.5rem);
  line-height: 1;
}

/* Letter bank (Flex): the keyboard wraps into as many rows as fit. */
.letter-options[b-ifvye4h037],
.vowel-options[b-ifvye4h037] {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}

.letter-options br[b-ifvye4h037] {
  display: none;                 /* the HTML's row breaks are not needed now */
}

.letter-options button[b-ifvye4h037],
.vowel-options button[b-ifvye4h037] {
  margin: 0;
}

/* Wheel and Solve panels (Flex): center the controls in a column. */
#wheel-panel[b-ifvye4h037],
#turn-actions[b-ifvye4h037] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

#turn-actions[b-ifvye4h037] {
  justify-content: center;
}

#wheel-panel p[b-ifvye4h037],
#turn-actions p[b-ifvye4h037],
#wheel-image[b-ifvye4h037] {
  margin-bottom: 0;
}

/* Player status (Flex): scoreboard and current player share a column. */
#player-status[b-ifvye4h037] {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

#player-status > .game-panel[b-ifvye4h037] {
  flex: 1 1 auto;
}

/* Score cards (Flex): three cards in a row that wrap when space runs out. */
#scoreboard > div[b-ifvye4h037] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

#game-shell .score-card[b-ifvye4h037] {
  flex: 1 1 5.5rem;
  margin-bottom: 0;
  padding: 0.5rem;
  text-align: center;
}

/* Current player (Flex): avatar on the left, text on the right. */
#current-player[b-ifvye4h037] {
  display: flex;
  align-items: center;
  gap: 1rem;
}

#current-player > div:first-child[b-ifvye4h037] {
  flex: none;
  margin-bottom: 0;
}

#current-player > div:last-child[b-ifvye4h037] {
  flex: 1 1 auto;
  min-width: 0;
}

/* Footer (Flex): the two messages sit side by side if they fit. */
#game-footer[b-ifvye4h037] {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1.5rem;
}

/* Sponsor ad (Flex): centered column. */
#ad-panel[b-ifvye4h037] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#ad-panel img[b-ifvye4h037],
#ad-panel p[b-ifvye4h037] {
  margin-bottom: 0;
}

/* ---- 9.3 TABLET (576px and up): two columns ---- */
@media (min-width: 576px) {
  #game-shell[b-ifvye4h037] {
    gap: 1rem;
    padding: 1.25rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "header  header"
      "phrase  phrase"
      "letters wheel"
      "letters actions"
      "status  status"
      "leaders log"
      "ad      ad"
      "footer  footer";
  }

  #game-shell .game-panel[b-ifvye4h037] {
    padding: 1.25rem;
  }

  #game-shell #app-header[b-ifvye4h037] {
    padding-bottom: 7.5rem;
    background:
      url("/images/SpinOrSpell/marquee-accent.png") no-repeat center bottom 0.75rem / 19rem auto,
      linear-gradient(180deg, rgb(255 255 255 / 10%), rgb(255 255 255 / 3%));
  }

  /* Status panels sit side by side across the full width. */
  #player-status[b-ifvye4h037] {
    flex-direction: row;
  }

  #player-status > .game-panel[b-ifvye4h037] {
    flex: 1 1 0;
  }
}

/* ---- 9.4 MONITOR (992px and up): three columns ---- */
@media (min-width: 992px) {
  #game-shell[b-ifvye4h037] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
      "header  header  header"
      "phrase  phrase  phrase"
      "letters wheel   status"
      "letters actions status"
      "leaders log     ad"
      "footer  footer  footer";
  }

  /* Header becomes one row: title on the left, round and help on the right,
     marquee in the middle. */
  #game-shell #app-header[b-ifvye4h037] {
    flex-direction: row;
    justify-content: space-between;
    padding-bottom: 1.25rem;
    text-align: left;
    background:
      url("/images/SpinOrSpell/marquee-accent.png") no-repeat center center / 14rem auto,
      linear-gradient(180deg, rgb(255 255 255 / 10%), rgb(255 255 255 / 3%));
  }

  #game-shell #game-title[b-ifvye4h037] {
    font-size: 2.6rem;
  }

  /* Status is now a narrow right-hand column, so its panels stack again. */
  #player-status[b-ifvye4h037] {
    flex-direction: column;
  }

  #player-status > .game-panel[b-ifvye4h037] {
    flex: 1 1 auto;
  }
}

/* ---- 9.5 LARGE MONITOR (1399px and up): four columns, wider than the
        site's centered container so the extra width is actually used ---- */
@media (min-width: 1399px) {
  #game-shell[b-ifvye4h037] {
    --shell-width: min(96vw, 100rem);
    width: var(--shell-width);
    /* % here is the container's width: this centers the wider shell. */
    margin-left: calc(50% - var(--shell-width) / 2);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-areas:
      "header  header  header  header"
      "phrase  phrase  phrase  status"
      "letters wheel   actions status"
      "letters leaders log     ad"
      "footer  footer  footer  footer";
  }

  .phrase-tile[b-ifvye4h037] {
    width: 2.75rem;
    font-size: 1.9rem;
  }
}

/* ---- 9.6 WIDESCREEN (1800px and up): five columns with side rails.
        The game board is in the middle, letters and status frame it. ---- */
@media (min-width: 1800px) {
  #game-shell[b-ifvye4h037] {
    --shell-width: min(96vw, 118rem);
    grid-template-columns:
      minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.1fr);
    grid-template-areas:
      "header  header  header  header  header"
      "letters phrase  phrase  phrase  status"
      "letters wheel   wheel   actions status"
      "leaders log     log     ad      ad"
      "footer  footer  footer  footer  footer";
  }

  .phrase-tile[b-ifvye4h037] {
    width: 3.25rem;
    font-size: 2.2rem;
  }

  #wheel-image[b-ifvye4h037] {
    width: min(22rem, 100%);
  }
}
/* /Views/Encyclopedia/SpinOrSpellStyleOnly.cshtml.rz.scp.css */
/* ==========================================================================
   Views/Encyclopedia/SpinOrSpellStyleOnly.cshtml.css   (CSS isolation file)
   Daniel Endara Guarderas / Prameswara Wardhana

   STYLE ONLY: colors, fonts, spacing, borders, shadows, states.
   No Bootstrap classes, and NO Grid or Flexbox. Everything stacks in source
   order; Assignment 6's responsive version adds layout on top of this file.
   The provided HTML is not changed: every rule hangs on the ids, classes,
   and elements that are already there.

   Theme: a game-show stage (deep navy, gold, cream). The game keeps its own
   look in both light and dark OS modes, so its variables live on #game-shell.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Page chrome above the game (follows the site's light/dark theme)
   -------------------------------------------------------------------------- */

/* The "View: Raw HTML | Visual Styling | Responsive Layout" links. These are
   asp-action tag helpers, so they need ::deep (see the Demographics page). */
nav[b-94h24luvgq]  a {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 0.4rem;
  font-weight: 600;
  text-decoration: none;
}

nav[b-94h24luvgq]  a:hover,
nav[b-94h24luvgq]  a:focus-visible {
  background: color-mix(in srgb, var(--accent-color) 18%, transparent);
  text-decoration: underline;
}

/* The accessibility note: a calm callout, colored from the site variables. */
section[aria-labelledby="letter-feedback-note"][b-94h24luvgq] {
  margin: 1rem 0 1.5rem;
  padding: 0.75rem 1.25rem;
  border-left: 0.35rem solid var(--accent-color);
  border-radius: 0.5rem;
  background: color-mix(in srgb, var(--surface-color) 85%, transparent);
}

section[aria-labelledby="letter-feedback-note"] h2[b-94h24luvgq] {
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   1. The game shell: design tokens and the stage
   -------------------------------------------------------------------------- */
#game-shell[b-94h24luvgq] {
  --sp-navy: #0b1d4d;
  --sp-navy-light: #163a8a;
  --sp-gold: #ffc83d;
  --sp-gold-deep: #e29a00;
  --sp-cream: #fff7e0;
  --sp-green: #177a49;
  --sp-red-bg: #5a2330;
  --sp-red-text: #ffd9d9;

  margin-bottom: 2rem;
  padding: 1.25rem;
  border: 3px solid var(--sp-gold);
  border-radius: 1.5rem;
  color: var(--sp-cream);
  font-family: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  line-height: 1.5;
  /* A spotlight: lighter navy at the top fading to deep navy. */
  background:
    radial-gradient(70rem 24rem at 50% -8rem, var(--sp-navy-light), transparent 70%),
    var(--sp-navy);
  box-shadow: 0 1rem 2.5rem rgb(0 0 0 / 45%), inset 0 0 0 4px rgb(0 0 0 / 25%);
}

/* Every panel in the game shares this card look. */
.game-panel[b-94h24luvgq] {
  margin-bottom: 1.25rem;
  padding: 1.25rem;
  border: 1px solid rgb(255 200 61 / 40%);
  border-radius: 1rem;
  background: rgb(255 255 255 / 7%);
  box-shadow: 0 0.25rem 0.75rem rgb(0 0 0 / 25%);
}

/* Panel headings: small, uppercase, gold, widely spaced. */
#game-shell h2[b-94h24luvgq] {
  margin: 0 0 0.75rem;
  color: var(--sp-gold);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#game-shell h3[b-94h24luvgq] {
  margin: 1rem 0 0.5rem;
  color: var(--sp-gold);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

#game-shell p[b-94h24luvgq] {
  margin: 0 0 0.75rem;
}

/* --------------------------------------------------------------------------
   2. Header: marquee title, round badge, help button
   -------------------------------------------------------------------------- */

/* The <img class="marquee-accent"> is hidden, and the same picture is drawn
   as the header's background instead (purely decorative, so CSS is right). */
.marquee-accent[b-94h24luvgq] {
  display: none;
}

#app-header[b-94h24luvgq] {
  padding-bottom: 7.5rem;       /* room for the marquee background below */
  text-align: center;
  background:
    url("/images/SpinOrSpell/marquee-accent.png") no-repeat center bottom 0.75rem / 19rem auto,
    linear-gradient(180deg, rgb(255 255 255 / 10%), rgb(255 255 255 / 3%));
}

#app-header > div:first-child p[b-94h24luvgq] {
  margin-bottom: 0.25rem;
  color: var(--sp-cream);
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

#game-shell #game-title[b-94h24luvgq] {
  margin-bottom: 0.5rem;
  color: var(--sp-gold);
  font-size: clamp(2rem, 7vw, 3.5rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-shadow: 0 0 0.6rem rgb(255 200 61 / 55%), 0 0.15rem 0 var(--sp-gold-deep);
}

#app-header > div:last-child[b-94h24luvgq] {
  margin-top: 0.5rem;
}

/* "Round 2" as a pill badge. */
#app-header strong[b-94h24luvgq] {
  display: inline-block;
  margin-right: 0.75rem;
  padding: 0.25rem 1rem;
  border-radius: 999px;
  background: var(--sp-gold);
  color: var(--sp-navy);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* The round "?" help button (44px, comfortable to tap). */
#spin-help-button[b-94h24luvgq] {
  width: 2.75rem;
  height: 2.75rem;
  border: 2px solid var(--sp-gold);
  border-radius: 50%;
  background: transparent;
  color: var(--sp-gold);
  font-size: 1.25rem;
  font-weight: 800;
  cursor: pointer;
}

#spin-help-button:hover[b-94h24luvgq] {
  background: var(--sp-gold);
  color: var(--sp-navy);
}

/* --------------------------------------------------------------------------
   3. Phrase board: tiles and the host message
   -------------------------------------------------------------------------- */
#phrase-board [role="group"][b-94h24luvgq] {
  margin-bottom: 1rem;
  text-align: center;
}

/* Each word stays together on one line. */
.phrase-word[b-94h24luvgq] {
  display: inline-block;
  margin: 0 1rem 0.75rem 0;
  white-space: nowrap;
}

/* A tile: cream card with navy lettering. A hidden letter shows as "_",
   which reads as an empty slot. */
.phrase-tile[b-94h24luvgq] {
  display: inline-block;
  width: 2.25rem;
  height: 3rem;
  margin: 0 0.15rem;
  border: 2px solid var(--sp-gold-deep);
  border-radius: 0.4rem;
  background: linear-gradient(180deg, #ffffff, var(--sp-cream));
  box-shadow: 0 0.2rem 0 var(--sp-gold-deep);
  color: var(--sp-navy);
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 2.7rem;
  text-align: center;
}

/* The host's message as a quotation. */
#game-message blockquote[b-94h24luvgq] {
  margin: 0;
  padding: 0.75rem 1rem;
  border-left: 0.35rem solid var(--sp-gold);
  border-radius: 0.5rem;
  background: rgb(0 0 0 / 25%);
  font-size: 1.05rem;
  font-style: italic;
}

#game-message blockquote p[b-94h24luvgq] {
  margin-bottom: 0.25rem;
}

#game-message footer[b-94h24luvgq] {
  color: var(--sp-gold);
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   4. Letter bank: buttons and their four states
   -------------------------------------------------------------------------- */
.letter-options[b-94h24luvgq],
.vowel-options[b-94h24luvgq] {
  text-align: center;
}

/* Base letter button (also the "available" state): gold, 44px+ touch target. */
.letter-options button[b-94h24luvgq],
.vowel-options button[b-94h24luvgq] {
  min-width: 2.75rem;
  height: 2.75rem;
  margin: 0.2rem;
  padding: 0 0.5rem;
  border: 2px solid var(--sp-gold-deep);
  border-radius: 0.6rem;
  background: linear-gradient(180deg, #ffe08a, var(--sp-gold));
  color: var(--sp-navy);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

/* Hover and keyboard focus feedback only for buttons that can be used. */
.letter-options button:not(:disabled):hover[b-94h24luvgq],
.vowel-options button:not(:disabled):hover[b-94h24luvgq] {
  transform: translateY(-2px);
  box-shadow: 0 0.35rem 0.75rem rgb(0 0 0 / 40%);
}

#game-shell button:focus-visible[b-94h24luvgq] {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

/* Correct guess: green, with a check mark (not color alone). */
.letter-options button.selected[b-94h24luvgq],
.vowel-options button.selected[b-94h24luvgq] {
  border-color: #7ee2a8;
  background: var(--sp-green);
  color: #ffffff;
  cursor: not-allowed;
}

.letter-options button.selected[b-94h24luvgq]::after,
.vowel-options button.selected[b-94h24luvgq]::after {
  content: " \2713";             /* check mark */
  font-size: 0.8em;
}

/* Incorrect guess: dark red, struck through, dashed border, with a cross. */
.letter-options button.incorrect[b-94h24luvgq],
.vowel-options button.incorrect[b-94h24luvgq] {
  border-style: dashed;
  border-color: #ff9a9a;
  background: var(--sp-red-bg);
  color: var(--sp-red-text);
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  cursor: not-allowed;
}

.letter-options button.incorrect[b-94h24luvgq]::after,
.vowel-options button.incorrect[b-94h24luvgq]::after {
  content: " \2715";             /* multiplication x */
  font-size: 0.8em;
  text-decoration: none;
}

#letter-bank > p[b-94h24luvgq] {
  margin: 1rem 0 0;
  padding-top: 0.75rem;
  border-top: 1px dashed rgb(255 200 61 / 40%);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   5. Wheel panel and the "Solve" panel
   -------------------------------------------------------------------------- */
#wheel-panel[b-94h24luvgq],
#turn-actions[b-94h24luvgq] {
  text-align: center;
}

/* The ▼ pointer sits just over the top of the wheel. */
#wheel-panel span[aria-hidden="true"][b-94h24luvgq] {
  display: block;
  margin-bottom: -0.6rem;
  color: var(--sp-gold);
  font-size: 2rem;
  line-height: 1;
  text-shadow: 0 0.15rem 0.3rem rgb(0 0 0 / 60%);
}

#wheel-image[b-94h24luvgq] {
  display: block;
  width: min(18rem, 100%);
  height: auto;
  margin: 0 auto 1rem;
  filter: drop-shadow(0 0.75rem 1rem rgb(0 0 0 / 55%));
}

#wheel-panel strong[b-94h24luvgq] {
  color: var(--sp-gold);
  font-size: 1.5rem;
}

/* The small "Final answer?" label above the Solve heading. */
#turn-actions p:first-child[b-94h24luvgq] {
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

/* The two big action buttons: Spin and Solve. */
#wheel-panel > button[b-94h24luvgq],
#turn-actions > button[b-94h24luvgq] {
  min-width: 11rem;
  min-height: 3rem;
  padding: 0.6rem 2rem;
  border: 2px solid var(--sp-gold-deep);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffe08a, var(--sp-gold));
  color: var(--sp-navy);
  font: inherit;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0.3rem 0 var(--sp-gold-deep);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

#wheel-panel > button:hover[b-94h24luvgq],
#turn-actions > button:hover[b-94h24luvgq] {
  transform: translateY(-2px);
  box-shadow: 0 0.5rem 0 var(--sp-gold-deep), 0 0.75rem 1.25rem rgb(0 0 0 / 40%);
}

#wheel-panel > button:active[b-94h24luvgq],
#turn-actions > button:active[b-94h24luvgq] {
  transform: translateY(2px);
  box-shadow: 0 0.1rem 0 var(--sp-gold-deep);
}

/* The Spin button gently pulses to say "do this next". It is switched off
   for anyone who asked their system to reduce motion. */
@media (prefers-reduced-motion: no-preference) {
  #wheel-panel > button[b-94h24luvgq] {
    animation: spin-pulse-b-94h24luvgq 1.8s ease-in-out infinite;
  }
}

@keyframes spin-pulse-b-94h24luvgq {
  0%, 100% { box-shadow: 0 0.3rem 0 var(--sp-gold-deep), 0 0 0 0 rgb(255 200 61 / 55%); }
  50%      { box-shadow: 0 0.3rem 0 var(--sp-gold-deep), 0 0 0 0.9rem rgb(255 200 61 / 0%); }
}

/* --------------------------------------------------------------------------
   6. Player status: score cards and the current player
   -------------------------------------------------------------------------- */
.score-card[b-94h24luvgq] {
  margin-bottom: 0.6rem;
  padding: 0.5rem 1rem;
  border: 2px solid rgb(255 200 61 / 30%);
  border-radius: 0.75rem;
  background: rgb(0 0 0 / 25%);
}

#game-shell .score-card h3[b-94h24luvgq] {
  margin: 0;
  color: var(--sp-cream);
  font-size: 1rem;
  text-transform: none;
}

#game-shell .score-card p[b-94h24luvgq] {
  margin: 0;
  color: var(--sp-gold);
  font-size: 1.4rem;
  font-weight: 800;
}

/* The player whose turn it is: thick gold border and a ▶ marker. */
.score-card.active[b-94h24luvgq] {
  border: 3px solid var(--sp-gold);
  background: rgb(255 200 61 / 18%);
}

.score-card.active h3[b-94h24luvgq]::before {
  content: "\25B6\00a0";          /* ▶ and a non-breaking space */
  color: var(--sp-gold);
}

/* "MC" avatar circle. */
#current-player > div:first-child[b-94h24luvgq] {
  display: inline-block;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 0.5rem;
  border-radius: 50%;
  background: var(--sp-gold);
  color: var(--sp-navy);
  font-weight: 900;
  line-height: 3.25rem;
  text-align: center;
}

#game-shell .turn-status[b-94h24luvgq] {
  margin-bottom: 0;
  color: var(--sp-gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

#game-shell #player-heading[b-94h24luvgq] {
  margin-bottom: 0.4rem;
  color: var(--sp-cream);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

.wheel-result strong[b-94h24luvgq] {
  color: var(--sp-gold);
  font-size: 1.2rem;
}

#game-shell .turn-instruction[b-94h24luvgq] {
  margin-bottom: 0;
  font-style: italic;
}

/* --------------------------------------------------------------------------
   7. Leaderboard table
   -------------------------------------------------------------------------- */
#leaderboard table[b-94h24luvgq] {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0.75rem;
}

#leaderboard th[b-94h24luvgq],
#leaderboard td[b-94h24luvgq] {
  padding: 0.55rem 0.75rem;
  text-align: left;
}

#leaderboard thead th[b-94h24luvgq] {
  border-bottom: 2px solid var(--sp-gold);
  color: var(--sp-gold);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#leaderboard tbody tr:nth-child(even)[b-94h24luvgq] {
  background: rgb(255 255 255 / 7%);
}

#leaderboard tbody th[b-94h24luvgq] {
  color: var(--sp-gold);
  font-weight: 800;
}

/* Totals line up on their right edge, with equal-width digits. */
#leaderboard th:last-child[b-94h24luvgq],
#leaderboard td:last-child[b-94h24luvgq] {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

#game-shell .round-progress[b-94h24luvgq] {
  margin-bottom: 0;
  font-size: 0.85rem;
  text-align: right;
}

/* --------------------------------------------------------------------------
   8. Game log, sponsor ad, footer
   -------------------------------------------------------------------------- */
#game-log ol[b-94h24luvgq] {
  margin: 0;
  padding-left: 1.75rem;
}

#game-log li[b-94h24luvgq] {
  padding: 0.3rem 0;
  border-bottom: 1px dotted rgb(255 247 224 / 25%);
  font-size: 0.95rem;
}

#game-log li[b-94h24luvgq]::marker {
  color: var(--sp-gold);
  font-weight: 700;
}

#ad-panel[b-94h24luvgq] {
  text-align: center;
}

#ad-panel img[b-94h24luvgq] {
  display: block;
  width: min(16rem, 100%);
  height: auto;
  margin: 0 auto 0.5rem;
  border-radius: 0.75rem;
}

#ad-panel p[b-94h24luvgq] {
  margin-bottom: 0;
  font-size: 0.9rem;
  font-style: italic;
}

#game-footer[b-94h24luvgq] {
  margin-bottom: 0;
  font-size: 0.85rem;
  text-align: center;
  background: rgb(0 0 0 / 25%);
}

#game-footer span[b-94h24luvgq] {
  display: block;
}

/* Everyone who asked for less motion also gets quiet buttons. */
@media (prefers-reduced-motion: reduce) {
  .letter-options button[b-94h24luvgq],
  .vowel-options button[b-94h24luvgq],
  #wheel-panel > button[b-94h24luvgq],
  #turn-actions > button[b-94h24luvgq] {
    transition: none;
  }
}
/* /Views/OrderingGame/Index.cshtml.rz.scp.css */
/* ==========================================================================
   Views/OrderingGame/Index.cshtml.css - CSS isolation for the game page.
   Colors come from the variables in wwwroot/css/site.css (light and dark).
   <form asp-action> and <a asp-action> are tag-helper output without the
   scope attribute, so the game panel is wrapped in plain elements instead.
   ========================================================================== */

.page-header[b-rxppjhvjw4] {
  padding: 1.25rem 1.5rem;
  border-left: 0.4rem solid var(--accent-color);
  background: color-mix(in srgb, var(--surface-color) 70%, transparent);
}

.eyebrow[b-rxppjhvjw4] {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.board-card[b-rxppjhvjw4] {
  border-radius: 1rem;
  border-color: var(--border-color);
  background: var(--surface-color);
}

/* The sortable list: one rounded row per category. */
.ordering-list[b-rxppjhvjw4] {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.ordering-item[b-rxppjhvjw4] {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  background: color-mix(in srgb, var(--surface-color) 85%, var(--accent-color) 15%);
}

/* The number is filled in by JavaScript so it always matches the position. */
.rank-badge[b-rxppjhvjw4] {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  font-weight: 700;
  color: #fff;
  background: var(--accent-color);
}

.ordering-name[b-rxppjhvjw4] {
  flex: 1 1 auto;
  font-weight: 600;
}

.ordering-buttons[b-rxppjhvjw4] {
  display: flex;
  gap: 0.4rem;
}

/* Touch-friendly buttons. */
.ordering-buttons .btn[b-rxppjhvjw4] {
  min-height: 2.75rem;
  min-width: 2.75rem;
}

/* On phones show only the arrows to save space. */
.button-text[b-rxppjhvjw4] {
  display: none;
}

@media (min-width: 576px) {
  .button-text[b-rxppjhvjw4] {
    display: inline;
  }
}

.score-line[b-rxppjhvjw4] {
  font-size: 1.5rem;
}

/* Correct and wrong rows differ by text and a left bar, not color alone. */
.row-correct > *[b-rxppjhvjw4] {
  border-left: 0;
}

.row-correct th[b-rxppjhvjw4] {
  border-left: 0.35rem solid var(--bs-success, #198754);
}

.row-wrong th[b-rxppjhvjw4] {
  border-left: 0.35rem dashed var(--bs-danger, #dc3545);
}
/* /Views/OrderingGame/Leaderboard.cshtml.rz.scp.css */
/* Views/OrderingGame/Leaderboard.cshtml.css - isolated styles. */

.page-header[b-ngdtsl8hf8] {
  padding: 1.25rem 1.5rem;
  border-left: 0.4rem solid var(--accent-color);
  background: color-mix(in srgb, var(--surface-color) 70%, transparent);
}

.leaderboard-table th[b-ngdtsl8hf8],
.leaderboard-table td[b-ngdtsl8hf8] {
  border-color: var(--border-color);
}

/* The signed-in player's row is highlighted with a bar and a badge. */
.current-player th[b-ngdtsl8hf8] {
  border-left: 0.35rem solid var(--accent-color);
}

.current-player[b-ngdtsl8hf8] {
  font-weight: 600;
}
/* /Views/OrderingGameAdmin/Index.cshtml.rz.scp.css */
/* Views/OrderingGameAdmin/Index.cshtml.css - isolated styles for the admin page. */

.page-header[b-ecd985thkn] {
  padding: 1.25rem 1.5rem;
  border-left: 0.4rem solid var(--accent-color);
  background: color-mix(in srgb, var(--surface-color) 70%, transparent);
}

.eyebrow[b-ecd985thkn] {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.stats-card[b-ecd985thkn],
.choose-card[b-ecd985thkn] {
  border-radius: 1rem;
  border-color: var(--border-color);
  background: var(--surface-color);
}

/* A tiny bar chart: each row is a label, a bar, and a number. */
.distribution[b-ecd985thkn] {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: grid;
  gap: 0.35rem;
}

.distribution li[b-ecd985thkn] {
  display: grid;
  grid-template-columns: 5rem 1fr 2rem;
  align-items: center;
  gap: 0.5rem;
}

.distribution-bar[b-ecd985thkn] {
  display: block;
  min-width: 0.25rem;
  height: 0.9rem;
  border-radius: 0.45rem;
  background: var(--accent-color);
}

.distribution-count[b-ecd985thkn] {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* The select and filter are plain elements; ::deep reaches the generated ones. */
.game-admin-page[b-ecd985thkn]  .form-select {
  border-color: var(--border-color);
}
/* /Views/OrderingGameAdmin/Review.cshtml.rz.scp.css */
/* Views/OrderingGameAdmin/Review.cshtml.css - isolated styles. */

.page-header[b-ncgazizjr0] {
  padding: 1.25rem 1.5rem;
  border-left: 0.4rem solid var(--accent-color);
  background: color-mix(in srgb, var(--surface-color) 70%, transparent);
}

.eyebrow[b-ncgazizjr0] {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.top-table th[b-ncgazizjr0],
.top-table td[b-ncgazizjr0] {
  border-color: var(--border-color);
}

/* <a asp-action> and <form asp-action> are generated, so reach buttons with ::deep. */
.review-page[b-ncgazizjr0]  .btn {
  min-height: 2.75rem;
}
/* /Views/Responses/Create.cshtml.rz.scp.css */
/* ==========================================================================
   Views/Responses/Create.cshtml.css  -  CSS isolation file for this view only.
   Colors come from the variables in wwwroot/css/site.css (light and dark).

   The <label>, <textarea> and <a> are generated by tag helpers (asp-for,
   asp-action), and CSS isolation does not stamp its scope attribute on those.
   ::deep reaches them from inside the scoped wrapper.
   ========================================================================== */

.page-header[b-rkgwc54pci] {
  padding: 1.25rem 1.5rem;
  border-left: 0.4rem solid var(--accent-color);
  background: color-mix(in srgb, var(--surface-color) 70%, transparent);
}

/* The small label above the question. */
.eyebrow[b-rkgwc54pci] {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-color);
}

.card[b-rkgwc54pci] {
  border-radius: 1rem;
  border-color: var(--border-color);
  background: var(--surface-color);
}

.response-create[b-rkgwc54pci]  .form-label {
  font-weight: 600;
}

.response-create[b-rkgwc54pci]  .form-control {
  border-radius: 0.65rem;
  background-color: color-mix(in srgb, var(--bg-color) 70%, transparent);
  border-color: var(--border-color);
}

/* Cancel button stays readable in dark mode. */
.response-create[b-rkgwc54pci]  .btn-outline-secondary {
  --bs-btn-color: var(--text-color);
  --bs-btn-border-color: var(--muted-color);
  --bs-btn-hover-color: var(--bg-color);
  --bs-btn-hover-bg: var(--text-color);
  --bs-btn-hover-border-color: var(--text-color);
  --bs-btn-active-color: var(--bg-color);
  --bs-btn-active-bg: var(--text-color);
  --bs-btn-active-border-color: var(--text-color);
}
/* /Views/Responses/Index.cshtml.rz.scp.css */
/* ==========================================================================
   Views/Responses/Index.cshtml.css  -  CSS isolation file for this view only.
   Colors come from the variables in wwwroot/css/site.css, so every rule
   works in both light and dark mode.
   ========================================================================== */

/* Page header: themed surface with an accent bar. */
.page-header[b-o6cf1mpmf7] {
  padding: 1.25rem 1.5rem;
  border-left: 0.4rem solid var(--accent-color);
  background: color-mix(in srgb, var(--surface-color) 70%, transparent);
}

/* Question cards: rounded, themed, with a small lift on hover. */
.card[b-o6cf1mpmf7] {
  border-radius: 1rem;
  border-color: var(--border-color);
  background: var(--surface-color);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover[b-o6cf1mpmf7] {
  transform: translateY(-2px);
  box-shadow: 0 0.75rem 1.75rem light-dark(rgb(20 29 39 / 14%), rgb(0 0 0 / 45%));
}

/* Respect people who ask their system to reduce motion. */
@media (prefers-reduced-motion: reduce) {
  .card[b-o6cf1mpmf7] {
    transition: none;
  }

  .card:hover[b-o6cf1mpmf7] {
    transform: none;
  }
}
/* /Views/Shared/_Layout.cshtml.rz.scp.css */
/* Please see documentation at https://learn.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand[b-7xbm306efb] {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

a[b-7xbm306efb] {
  color: var(--accent-color);
}

.btn-primary[b-7xbm306efb] {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active[b-7xbm306efb], .nav-pills .show > .nav-link[b-7xbm306efb] {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.border-top[b-7xbm306efb] {
  border-top: 1px solid var(--border-color);
}
.border-bottom[b-7xbm306efb] {
  border-bottom: 1px solid var(--border-color);
}

.box-shadow[b-7xbm306efb] {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy[b-7xbm306efb] {
  font-size: 1rem;
  line-height: inherit;
}

.footer[b-7xbm306efb] {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
}
