﻿/* Topic-specific styles moved out of topics/shared/generic-topic.css. */
.div-topic .gt-grid {
  align-items: stretch;
}

.div-model-visual,
.div-exp-visual,
.div-case-visual {
  min-height: 210px;
  border: 1px solid rgba(148, 163, 184, .26);
  border-radius: 16px;
  background:
    linear-gradient(rgba(255,255,255,.76), rgba(255,255,255,.76)),
    repeating-linear-gradient(0deg, rgba(74, 131, 240, .06) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(90deg, rgba(74, 131, 240, .06) 0 1px, transparent 1px 28px);
  padding: 18px;
  overflow: hidden;
}

.div-scene-title {
  width: 100%;
  margin-bottom: 10px;
  color: #465668;
  font-weight: 900;
  font-size: .86rem;
}

.div-obj {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.08);
}

.div-obj-candy {
  width: 22px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffb3a8 0 18%, #ff6b5c 18% 82%, #ffb3a8 82%);
  border: 1px solid rgba(180, 63, 47, .25);
}

.div-obj-apple {
  width: 18px;
  height: 18px;
  border-radius: 55% 55% 48% 48%;
  background: radial-gradient(circle at 35% 30%, #ffd1c8 0 18%, #e25442 19% 100%);
}

.div-obj-apple::before {
  content: "";
  position: absolute;
  width: 4px;
  height: 7px;
  left: 8px;
  top: -5px;
  border-radius: 999px;
  background: #6f4a2f;
}

.div-obj-person,
.div-obj-student {
  width: 18px;
  height: 24px;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(#7fb0ff 0 35%, #5b82e8 36% 100%);
}

.div-obj-jersey {
  width: 22px;
  height: 24px;
  clip-path: polygon(18% 0, 38% 10%, 62% 10%, 82% 0, 100% 28%, 82% 42%, 82% 100%, 18% 100%, 18% 42%, 0 28%);
  background: linear-gradient(135deg, #5b82e8, #16a394);
  border-radius: 4px;
}

.div-obj-parcel {
  width: 22px;
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(135deg, #f2c36b, #d99b22);
  border: 1px solid rgba(120, 82, 12, .25);
}

.div-obj-token {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #5b82e8;
}

.div-case {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.div-case-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 10px;
  align-items: start;
}

.div-case-head span {
  grid-column: 1 / -1;
  width: fit-content;
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(91, 130, 232, .12);
  color: #3564ce;
  font-size: .78rem;
  font-weight: 900;
}

.div-case-head strong {
  font-size: 1.08rem;
  color: #172033;
}

.div-case-head em {
  font-style: normal;
  border-radius: 999px;
  padding: 5px 10px;
  background: #172033;
  color: #fff;
  font-size: .8rem;
  font-weight: 900;
  white-space: nowrap;
}

.div-case-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.div-case-metrics span {
  min-height: 54px;
  border-radius: 14px;
  background: #f4f7fb;
  border: 1px solid rgba(148, 163, 184, .24);
  padding: 8px;
  color: #667085;
  font-size: .78rem;
  font-weight: 800;
}

.div-case-metrics b {
  display: block;
  margin-top: 2px;
  color: #172033;
  font-size: 1rem;
}

.div-share-model,
.div-pack-model,
.div-bowls,
.div-teams,
.div-team-line,
.div-boxes,
.div-seats,
.div-badges,
.div-packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(86px, 1fr));
  gap: 10px;
  align-items: stretch;
}

.div-share-model section,
.div-pack-model section,
.div-bowls section,
.div-teams section,
.div-team-line section,
.div-boxes section,
.div-seats section,
.div-badges section,
.div-packages section {
  min-height: 74px;
  border: 2px solid rgba(76, 131, 240, .2);
  border-radius: 14px;
  background: rgba(255,255,255,.82);
  padding: 8px;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 5px;
}

.div-share-model strong,
.div-pack-model strong,
.div-bowls strong,
.div-teams strong,
.div-team-line strong,
.div-boxes strong,
.div-seats strong,
.div-badges strong,
.div-packages strong {
  width: 100%;
  font-size: .78rem;
  color: #465668;
}

.div-share-model i,
.div-pack-model i,
.div-bowls i,
.div-teams i,
.div-team-line i,
.div-boxes i,
.div-seats i,
.div-badges i,
.div-packages i {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #5b82e8;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.08);
}

.div-share-model .div-obj,
.div-pack-model .div-obj,
.div-bowls .div-obj,
.div-team-line .div-obj,
.div-warehouse .div-obj,
.div-classroom .div-obj,
.div-game-teams .div-obj,
.div-package-belt .div-obj {
  width: revert;
  height: revert;
}

.div-exp-workbench {
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  gap: 18px;
  border-top: 1px solid rgba(148, 163, 184, .24);
  padding-top: 16px;
}

.div-exp-story {
  border-radius: 18px;
  background: linear-gradient(145deg, #ffffff, #eef4ff);
  border: 1px solid rgba(91, 130, 232, .24);
  padding: 18px;
  box-shadow: 0 16px 36px rgba(34, 55, 90, .08);
}

.div-exp-story > span {
  display: inline-flex;
  border-radius: 999px;
  padding: 5px 10px;
  background: rgba(22, 163, 148, .12);
  color: #127466;
  font-weight: 900;
  font-size: .78rem;
}

.div-exp-story > strong {
  display: block;
  margin-top: 12px;
  font-size: 1.18rem;
  line-height: 1.45;
  color: #172033;
}

.div-exp-story > p {
  color: #667085;
  line-height: 1.7;
}

.div-exp-pool {
  min-height: 84px;
  margin-bottom: 14px;
  border-radius: 16px;
  border: 2px dashed rgba(226, 84, 66, .36);
  background: rgba(226, 84, 66, .06);
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.div-exp-pool strong {
  width: 100%;
  color: #b43f2f;
}

.div-exp-pool i,
.is-pool-dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #e25442;
}

.div-exp-pool .div-obj {
  width: 22px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffb3a8 0 18%, #ff6b5c 18% 82%, #ffb3a8 82%);
}

.div-exp-pool span {
  margin-left: auto;
  border-radius: 999px;
  padding: 4px 9px;
  background: #fff;
  color: #b43f2f;
  font-weight: 900;
}

.div-share-model .is-remain,
.div-pack-model .is-remain,
.div-bowls .is-remain,
.div-teams .is-remain,
.div-team-line .is-remain,
.div-boxes .is-remain,
.div-seats .is-remain,
.div-badges .is-remain,
.div-packages .is-remain {
  border-color: rgba(226, 84, 66, .34);
  background: rgba(226, 84, 66, .08);
}

.div-share-model .is-remain i,
.div-pack-model .is-remain i,
.div-bowls .is-remain i,
.div-teams .is-remain i,
.div-team-line .is-remain i,
.div-boxes .is-remain i,
.div-seats .is-remain i,
.div-badges .is-remain i,
.div-packages .is-remain i,
.is-remain-dot {
  background: #e25442;
}

.div-share-model .is-remain .div-obj,
.div-pack-model .is-remain .div-obj,
.div-bowls .is-remain .div-obj,
.div-team-line .is-remain .div-obj,
.div-warehouse .is-remain .div-obj,
.div-classroom .is-remain .div-obj,
.div-game-teams .is-remain .div-obj,
.div-package-belt .is-remain .div-obj {
  filter: saturate(1.2);
  box-shadow: 0 0 0 2px rgba(226, 84, 66, .16);
}

.div-more {
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(22, 163, 148, .1);
  color: #127466;
  font-weight: 900;
}

.div-bowls section {
  min-height: 86px;
  border-radius: 999px 999px 28px 28px;
  background:
    radial-gradient(ellipse at 50% 105%, rgba(91,130,232,.18) 0 48%, transparent 50%),
    linear-gradient(#fff, #eef6ff);
  justify-content: center;
  align-content: center;
}

.div-queue-stage,
.div-warehouse,
.div-classroom,
.div-game-teams,
.div-package-belt {
  min-height: 210px;
  border-radius: 16px;
  padding: 12px;
}

.div-queue-stage {
  background:
    linear-gradient(90deg, transparent 0 12%, rgba(91,130,232,.12) 12% 14%, transparent 14% 28%, rgba(91,130,232,.12) 28% 30%, transparent 30%),
    rgba(255,255,255,.5);
}

.div-warehouse,
.div-package-belt {
  background:
    repeating-linear-gradient(90deg, rgba(217,155,34,.12) 0 18px, transparent 18px 36px),
    linear-gradient(#fffaf0, #ffffff);
}

.div-classroom {
  background:
    linear-gradient(#eef4ff 0 42px, transparent 42px),
    linear-gradient(90deg, rgba(91,130,232,.08) 0 1px, transparent 1px 50%),
    #ffffff;
}

.div-board {
  height: 34px;
  border-radius: 8px;
  background: #172033;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 10px;
}

.div-game-teams {
  background:
    radial-gradient(circle at 20% 25%, rgba(22,163,148,.15), transparent 26%),
    radial-gradient(circle at 80% 65%, rgba(91,130,232,.15), transparent 25%),
    #ffffff;
}

.div-warehouse,
.div-package-belt,
.div-classroom,
.div-game-teams {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 10px;
  align-items: start;
}

.div-warehouse section,
.div-package-belt section,
.div-classroom section,
.div-game-teams section {
  min-height: 74px;
  border: 2px solid rgba(76, 131, 240, .2);
  border-radius: 14px;
  background: rgba(255,255,255,.82);
  padding: 8px;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 5px;
}

.div-warehouse section {
  border-color: rgba(217, 155, 34, .42);
  background: rgba(255, 248, 223, .9);
}

.div-package-belt section {
  border-radius: 8px;
  background: rgba(255, 248, 223, .92);
}

.div-boxes section,
.div-packages section {
  border-radius: 8px;
  background: linear-gradient(135deg, #fff8df, #ffffff);
  border-color: rgba(217, 155, 34, .36);
}

.div-seats {
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
}

.div-seats section {
  background: #f1f6ff;
}

.div-seats i {
  border-radius: 6px 6px 12px 12px;
}

.div-team-line {
  width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(104px, 1fr));
}

.div-team-line section {
  border-radius: 999px;
  justify-content: center;
}

.div-team-line i {
  width: 14px;
  height: 20px;
  border-radius: 999px 999px 6px 6px;
}

.div-cycle,
.div-route {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 170px;
  flex-wrap: wrap;
}

.div-cycle i,
.div-route i {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #eef4ff;
  border: 2px solid #d8e3f8;
  font-weight: 900;
  color: #465668;
}

.div-cycle i.is-on,
.div-route i.is-on {
  background: #5b82e8;
  border-color: #5b82e8;
  color: #fff;
  box-shadow: 0 12px 24px rgba(91, 130, 232, .25);
}

.div-cycle b,
.div-route b {
  width: 100%;
  text-align: center;
  color: #172033;
}

.div-pages,
.div-train {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  min-height: 170px;
  overflow-x: auto;
}

.div-pages section {
  min-width: 72px;
  height: 112px;
  border-radius: 10px 4px 4px 10px;
  background: #fff;
  border: 2px solid #d8e3f8;
  box-shadow: -4px 4px 0 rgba(91, 130, 232, .08);
  display: grid;
  place-items: center;
  font-weight: 900;
}

.div-pages section.is-on {
  border-color: #5b82e8;
  background: #eef4ff;
}

.div-train section {
  min-width: 84px;
  height: 72px;
  border-radius: 16px 16px 8px 8px;
  background: linear-gradient(#eaf2ff, #ffffff);
  border: 2px solid #5b82e8;
  display: grid;
  place-items: center;
  position: relative;
}

.div-train section::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 14px;
  right: 14px;
  height: 8px;
  border-radius: 999px;
  background: #465668;
}

.div-clock {
  width: 174px;
  height: 174px;
  margin: 0 auto;
  border-radius: 999px;
  border: 8px solid #d8e3f8;
  background: conic-gradient(#5b82e8 var(--turn), #eef4ff 0);
  display: grid;
  place-items: center;
  position: relative;
}

.div-clock span {
  width: 4px;
  height: 68px;
  border-radius: 999px;
  background: #172033;
  transform-origin: bottom center;
  transform: rotate(var(--turn));
  position: absolute;
  bottom: 50%;
}

.div-clock b {
  z-index: 1;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
}

.div-check {
  min-height: 170px;
  display: grid;
  place-items: center;
  gap: 8px;
  text-align: center;
}

.div-check strong {
  font-size: 2rem;
  color: #172033;
}

.div-check span {
  font-size: 1.5rem;
  color: #5b82e8;
  font-weight: 900;
}

.div-check em {
  font-style: normal;
  color: #127466;
  font-weight: 800;
}

.div-long-card {
  display: grid;
  grid-template-columns: minmax(220px, 340px) 1fr;
  gap: 18px;
  align-items: center;
}

.div-long-form {
  width: 280px;
  height: 210px;
  position: relative;
  margin: 0 auto;
  font-weight: 950;
  color: #172033;
}

.div-long-form span {
  position: absolute;
  padding: 6px 10px;
  border-radius: 10px;
}

.div-long-form .div-quot {
  left: 138px;
  top: 0;
  font-size: 2rem;
}

.div-long-form .div-divisor {
  left: 42px;
  top: 64px;
  font-size: 2rem;
}

.div-long-form .div-total {
  left: 138px;
  top: 64px;
  font-size: 2rem;
  border-top: 5px solid #172033;
  border-left: 5px solid #172033;
  border-radius: 0;
}

.div-long-form .div-prod {
  left: 130px;
  top: 118px;
  color: #e25442;
  font-size: 1.65rem;
  border-bottom: 3px solid #98a2b3;
}

.div-long-form .div-rem {
  left: 160px;
  top: 166px;
  color: #127466;
  font-size: 1.8rem;
}

.div-long-form .is-on {
  background: rgba(91, 130, 232, .12);
  box-shadow: 0 0 0 2px rgba(91, 130, 232, .18);
}

.div-exp-board {
  border-top: 1px solid rgba(148, 163, 184, .24);
  padding-top: 16px;
}

.div-exp-board .formula-box {
  max-width: 360px;
  margin: 0 auto 14px;
  text-align: center;
}

@media (max-width: 900px) {
  .div-exp-workbench {
    grid-template-columns: 1fr;
  }

  .div-long-card {
    grid-template-columns: 1fr;
  }
}

