
.scwm{
  --red:#a82d2d;
  --green:#274f3d;
  --gold:#d4ad67;
  --cream:#fffaf0;
  --paper:#f6eedf;
  --ink:#40372f;
  --line:#dfc38f;
  --shadow:0 18px 50px rgba(67,46,28,.14);
  color:var(--ink);
  background:var(--cream);
}
.scwm *{box-sizing:border-box}
.scwm button,.scwm a{font:inherit}
.scwm-hero{
  text-align:center;
  padding:56px 24px 44px;
  background:
    radial-gradient(circle at 50% 0%,rgba(212,173,103,.15),transparent 40%),
    linear-gradient(180deg,#fffaf0,#f8edd8);
  border-bottom:1px solid rgba(212,173,103,.35);
}
.scwm-kicker,.scwm-mini{
  color:var(--red);
  font-size:12px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.scwm-hero h1{
  margin:10px 0 12px;
  color:var(--green);
  font-size:clamp(34px,5vw,58px);
  line-height:1.05;
}
.scwm-hero p{
  max-width:760px;
  margin:0 auto;
  font-size:18px;
  line-height:1.65;
}
.scwm-badges{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:10px;
  margin-top:24px;
}
.scwm-badges span{
  padding:8px 13px;
  background:#fff;
  border:1px solid rgba(212,173,103,.45);
  border-radius:999px;
  font-size:13px;
}
.scwm-body{
  width:min(1240px,100%);
  margin:auto;
  padding:34px 22px 72px;
}
.scwm-progress-wrap{
  display:grid;
  grid-template-columns:auto 1fr;
  align-items:end;
  gap:26px;
  margin-bottom:20px;
}
.scwm-progress-wrap strong{color:var(--green);font-size:18px}
.scwm-progress{
  height:10px;
  background:#e9e3d7;
  border-radius:999px;
  overflow:hidden;
}
.scwm-progress span{
  display:block;
  width:0;
  height:100%;
  border-radius:inherit;
  background:linear-gradient(90deg,#cda45c,#e5c679);
  transition:width .35s ease;
}
.scwm-layout{
  display:grid;
  grid-template-columns:minmax(0,1.55fr) minmax(280px,.45fr);
  gap:24px;
  align-items:start;
}
.scwm-stage-card,.scwm-list-card{
  border:1px solid rgba(212,173,103,.55);
  border-radius:22px;
  background:#fffdf7;
  box-shadow:var(--shadow);
  overflow:hidden;
}
.scwm-tools{
  display:flex;
  align-items:center;
  gap:8px;
  padding:12px 14px;
  border-bottom:1px solid rgba(212,173,103,.28);
  background:#fff9ed;
}
.scwm-tools button{
  border:1px solid #dbc28f;
  background:#fff;
  border-radius:10px;
  min-width:38px;
  height:38px;
  cursor:pointer;
}
.scwm-tools span{min-width:58px;text-align:center;font-weight:700;color:var(--green)}
.scwm-tools .scwm-resetview{margin-left:auto;padding:0 12px}
.scwm-viewport{
  position:relative;
  overflow:hidden;
  width:100%;
  aspect-ratio:16/10;
  background:#1f2f35;
  touch-action:none;
  cursor:grab;
}
.scwm-viewport:active{cursor:grabbing}
.scwm-canvas{
  position:absolute;
  inset:0;
  transform-origin:center center;
  user-select:none;
  will-change:transform;
}
.scwm-canvas img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  user-select:none;
  pointer-events:none;
}
.scwm-hotspot{
  position:absolute;
  border:2px solid transparent;
  background:transparent;
  border-radius:50%;
  cursor:pointer;
  padding:0;
  transition:.2s ease;
}
.scwm-hotspot:hover,
.scwm-hotspot:focus{
  border-color:rgba(255,245,210,.9);
  background:rgba(255,235,170,.12);
  outline:none;
}
.scwm-hotspot.is-found{
  border-color:#e9c875;
  background:rgba(233,200,117,.23);
  box-shadow:0 0 0 6px rgba(233,200,117,.13);
}
.scwm-hotspot.is-found::after{
  content:"✓";
  position:absolute;
  right:-8px;
  top:-8px;
  width:26px;
  height:26px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#2f7351;
  color:white;
  font-weight:800;
}
.scwm-caption{
  padding:10px 14px;
  font-size:12px;
  color:#7d7268;
  background:#fff9ed;
}
.scwm-list-card{
  padding:26px;
  position:sticky;
  top:24px;
}
.scwm-list-card h2{
  margin:6px 0 8px;
  color:var(--green);
  font-size:28px;
}
.scwm-list-card>p{margin:0 0 18px}
.scwm-list{
  display:grid;
  gap:8px;
}
.scwm-list button{
  display:grid;
  grid-template-columns:26px 1fr 24px;
  gap:8px;
  align-items:center;
  width:100%;
  text-align:left;
  border:1px solid #e4dac6;
  background:white;
  border-radius:12px;
  padding:11px 12px;
  cursor:pointer;
}
.scwm-list button:hover{border-color:#d4ad67;background:#fffaf0}
.scwm-list b{font-weight:650}
.scwm-list i{
  font-style:normal;
  font-weight:800;
  text-align:center;
  color:#9e9489;
}
.scwm-list button.is-found{
  background:#f3faf5;
  border-color:#bfd9c9;
}
.scwm-list button.is-found i{color:#2f7351}
.scwm-hint{
  margin-top:18px;
  padding:14px 15px;
  border-radius:12px;
  background:#f7edda;
  border-left:4px solid var(--gold);
}
.scwm-hint p{margin:4px 0 0}
.scwm-restart{
  width:100%;
  margin-top:18px;
  padding:11px 14px;
  border:1px solid #d9c18d;
  border-radius:999px;
  background:#fff;
  cursor:pointer;
}
.scwm-complete{
  position:fixed;
  inset:0;
  z-index:99999;
  display:grid;
  place-items:center;
  padding:24px;
  background:rgba(16,31,35,.68);
  backdrop-filter:blur(4px);
}
.scwm-complete[hidden]{display:none}
.scwm-complete-card{
  width:min(560px,100%);
  padding:38px;
  text-align:center;
  border-radius:24px;
  border:1px solid #e2c47e;
  background:
    radial-gradient(circle at 50% 0%,rgba(227,192,112,.2),transparent 38%),
    #fffaf0;
  box-shadow:0 28px 80px rgba(0,0,0,.28);
}
.scwm-star{font-size:38px;color:var(--gold)}
.scwm-complete h2{
  margin:8px 0 12px;
  color:var(--green);
  font-size:36px;
}
.scwm-complete-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
  margin-top:22px;
}
.scwm-complete-actions button,
.scwm-complete-actions a{
  border-radius:999px;
  padding:11px 17px;
  text-decoration:none;
  cursor:pointer;
}
.scwm-complete-actions button{
  border:0;
  background:var(--gold);
  color:#2e271e;
  font-weight:750;
}
.scwm-complete-actions a{
  border:1px solid #d9c18d;
  background:white;
  color:var(--green);
}
@media(max-width:920px){
  .scwm-layout{grid-template-columns:1fr}
  .scwm-list-card{position:static}
}
@media(max-width:640px){
  .scwm-hero{padding:42px 18px 34px}
  .scwm-body{padding:24px 12px 52px}
  .scwm-progress-wrap{grid-template-columns:1fr;gap:10px}
  .scwm-viewport{aspect-ratio:4/3}
  .scwm-tools{flex-wrap:wrap}
  .scwm-tools .scwm-resetview{margin-left:0}
  .scwm-list-card{padding:20px}
}
