/* Problem-specific content styles; the worksheet shell lives in /site-src/worksheet.css. */
[data-problem-id="10"] .problem-content {
  --ink: #172c45;
  --muted: #587087;
  --paper: #fffdf7;
  --screen: #e7eef4;
  --rotom-red: #d9364b;
  --rotom-dark: #96283b;
  --electric: #17a6c8;
  --electric-dark: #087991;
  --spark: #ffd84a;
  --line: #b9ccd6;
  --soft-blue: #edf8fa;
  --soft-yellow: #fff8d9;
}

[data-problem-id="10"] .problem-content {
  font-size: 0.16in;
  line-height: 1.36;
}

[data-problem-id="10"] .problem-setup {
  margin-bottom: 0.08in;
  padding: 0.08in 0.12in;
  background: linear-gradient(90deg, rgb(217 54 75 / 7%), transparent 75%);
  border-left: 0.045in solid var(--rotom-red);
  border-radius: 0.07in;
}

[data-problem-id="10"] .problem-setup p {
  margin: 0;
}

[data-problem-id="10"] .pokedex-panel {
  margin: 0.08in auto 0.09in;
  padding: 0.08in;
  background: var(--rotom-red);
  border: 0.025in solid var(--rotom-dark);
  border-radius: 0.17in 0.17in 0.11in 0.11in;
  box-shadow: 0 0.045in 0 rgb(150 40 59 / 24%);
  break-inside: avoid;
}

[data-problem-id="10"] .pokedex-topbar {
  display: flex;
  min-height: 0.22in;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.06in 0.04in;
  color: #ffffff;
}

[data-problem-id="10"] .device-lights {
  display: flex;
  align-items: center;
  gap: 0.055in;
}

[data-problem-id="10"] .device-light {
  width: 0.095in;
  height: 0.095in;
  background: var(--spark);
  border: 0.018in solid rgb(255 255 255 / 85%);
  border-radius: 50%;
}

[data-problem-id="10"] .device-light:first-child {
  width: 0.19in;
  height: 0.19in;
  background: #65dbf2;
  border-width: 0.025in;
  box-shadow: 0 0 0 0.018in var(--rotom-dark);
}

[data-problem-id="10"] .device-light:last-child {
  background: #91d96b;
}

[data-problem-id="10"] .device-label {
  font-size: 0.125in;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

[data-problem-id="10"] .pokedex-screen {
  display: grid;
  grid-template-columns: 1fr 4.52in;
  gap: 0.1in;
  align-items: center;
  padding: 0.07in 0.09in 0.09in;
  background: #eef8f6;
  border: 0.04in solid #f7e8df;
  border-radius: 0.08in;
  box-shadow: inset 0 0 0 1px #8eaba9;
}

[data-problem-id="10"] .move-key {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.09in;
}

[data-problem-id="10"] .chart-sample {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 0.07in;
  font-size: 0.125in;
  font-weight: 800;
  text-align: center;
}

[data-problem-id="10"] .chart-sample > * {
  padding: 0.035in 0.015in;
  border-right: 1px solid #d7e5e9;
  border-bottom: 1px solid #d7e5e9;
}

[data-problem-id="10"] .chart-sample > :nth-child(5n) {
  border-right: 0;
}

[data-problem-id="10"] .chart-sample > :nth-child(n + 6) {
  border-bottom: 0;
}

[data-problem-id="10"] .chart-sample strong {
  color: var(--electric-dark);
  background: var(--soft-blue);
}

[data-problem-id="10"] .move-pill {
  display: flex;
  align-items: center;
  gap: 0.07in;
  padding: 0.07in 0.075in;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 0.07in;
  font-size: 0.125in;
  font-weight: 850;
  line-height: 1.15;
}

[data-problem-id="10"] .move-arrow {
  display: grid;
  width: 0.25in;
  height: 0.25in;
  flex: 0 0 auto;
  place-items: center;
  color: #ffffff;
  background: var(--electric-dark);
  border-radius: 50%;
  font-size: 0.16in;
}

[data-problem-id="10"] .chart-wrap {
  position: relative;
  height: 1.48in;
  padding: 0.16in 0.16in;
  overflow: hidden;
  background-color: #ffffff;
  background-image:
  linear-gradient(to right, rgb(23 166 200 / 18%) 1px, transparent 1px),
  linear-gradient(to bottom, rgb(23 166 200 / 18%) 1px, transparent 1px);
  background-size: 10% 10%;
  border: 1px solid #91b9c2;
  border-radius: 0.055in;
}

[data-problem-id="10"] .rectangle {
  position: absolute;
  inset: 0.28in 0.68in 0.32in 0.62in;
  border: 0.045in solid var(--electric-dark);
  background: rgb(255 216 74 / 11%);
  box-shadow: 0 0 0 0.018in rgb(255 255 255 / 90%);
}

[data-problem-id="10"] .rectangle::before,
[data-problem-id="10"] .rectangle::after {
  position: absolute;
  content: "";
  top: 50%;
  left: 50%;
  width: 111%;
  height: 0.018in;
  background: repeating-linear-gradient(
  90deg,
  rgb(8 121 145 / 35%) 0 0.07in,
  transparent 0.07in 0.12in
  );
  transform-origin: center;
}

[data-problem-id="10"] .rectangle::before {
  transform: translate(-50%, -50%) rotate(26deg);
}

[data-problem-id="10"] .rectangle::after {
  transform: translate(-50%, -50%) rotate(-26deg);
}

[data-problem-id="10"] .mon-badge {
  position: absolute;
  z-index: 2;
  display: flex;
  min-height: 0.34in;
  align-items: center;
  gap: 0.045in;
  padding: 0.035in 0.075in 0.035in 0.04in;
  color: var(--ink);
  background: #ffffff;
  border: 0.018in solid currentColor;
  border-radius: 999px;
  box-shadow: 0 0.025in 0.012in rgb(23 44 69 / 18%);
  font-size: 0.125in;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

[data-problem-id="10"] .mon-badge::before {
  display: grid;
  width: 0.235in;
  height: 0.235in;
  place-items: center;
  content: attr(data-mark);
  color: var(--ink);
  background: var(--badge-color);
  border-radius: 50%;
  font-size: 0.125in;
}

[data-problem-id="10"] .eevee {
  --badge-color: #d7a268;
  top: -0.2in;
  left: -0.31in;
  color: #815224;
}

[data-problem-id="10"] .pikachu {
  --badge-color: #ffdc38;
  top: -0.2in;
  right: -0.35in;
  color: #9b7410;
}

[data-problem-id="10"] .charmander {
  --badge-color: #ff9857;
  bottom: -0.2in;
  left: -0.43in;
  color: #a74e1c;
}

[data-problem-id="10"] .squirtle {
  --badge-color: #74c9e6;
  right: -0.36in;
  bottom: -0.2in;
  color: #247696;
}

[data-problem-id="10"] .hidden-number {
  position: absolute;
  z-index: 1;
  display: grid;
  width: 0.22in;
  height: 0.22in;
  place-items: center;
  color: #ffffff;
  background: var(--rotom-dark);
  border: 0.015in solid #ffffff;
  border-radius: 50%;
  font-size: 0.125in;
  font-weight: 950;
}

[data-problem-id="10"] .hidden-number.nw {
  top: -0.13in;
  left: -0.13in;
}

[data-problem-id="10"] .hidden-number.ne {
  top: -0.13in;
  right: -0.13in;
}

[data-problem-id="10"] .hidden-number.sw {
  bottom: -0.13in;
  left: -0.13in;
}

[data-problem-id="10"] .hidden-number.se {
  right: -0.13in;
  bottom: -0.13in;
}

[data-problem-id="10"] .problem-question {
  margin: 0.08in 0 0.07in;
  padding: 0.09in 0.12in;
  background: var(--soft-yellow);
  border: 1px solid #edd375;
  border-left: 0.055in solid var(--spark);
  border-radius: 0.09in;
  break-inside: avoid;
}

[data-problem-id="10"] .section-label {
  margin: 0 0 0.035in;
  color: var(--rotom-dark);
  font-size: 0.125in;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

[data-problem-id="10"] .problem-question p {
  margin: 0;
  font-size: 0.19in;
  font-weight: 800;
  line-height: 1.34;
}

[data-problem-id="10"] .problem-directions {
  display: flex;
  align-items: baseline;
  gap: 0.09in;
  margin: 0 0.02in;
  padding: 0 0.04in;
  color: var(--muted);
  font-size: 0.125in;
  line-height: 1.3;
}

[data-problem-id="10"] .problem-directions .section-label {
  flex: 0 0 auto;
  margin: 0;
  color: var(--electric-dark);
}

[data-problem-id="10"] .problem-directions p {
  margin: 0;
}
