@font-face { font-family: "Smiley"; src: url("../fonts/smiley-sans.otf"); }

:root {
  --bg: #f7eedc;
  --paper: #fffaf0;
  --ink: #3a2816;
  --muted: #8a7258;
  --line: #e2cfae;
  --red: #b7352b;
  --red-d: #8d2219;
  --gold: #d6a03c;
  --gold-l: #f3d78f;
  --jade: #2d7a6a;
  --jade-d: #1f5a4e;
  --blue: #2f5f8f;
  --shadow: 0 10px 28px rgba(74, 44, 14, .18);
}

html, body {
  margin: 0; height: 100%; overflow: hidden; background: #2a1c10;
  touch-action: none; overscroll-behavior: none;
  user-select: none; -webkit-user-select: none; -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
body { font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Source Han Sans SC", sans-serif; color: var(--ink); }
img { -webkit-user-drag: none; pointer-events: none; }
* { box-sizing: border-box; }

#stage {
  position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; overflow: hidden;
  transform-origin: 0 0;
  background:
    radial-gradient(circle at 18% 12%, rgba(255,255,255,.55), transparent 40%),
    radial-gradient(circle at 85% 90%, rgba(214,160,60,.16), transparent 45%),
    var(--bg);
}
#view, .screen { position: absolute; inset: 0; }

.title-font { font-family: "Smiley", "Microsoft YaHei", sans-serif; letter-spacing: 2px; }

/* ---------- 按钮 ---------- */
.btn {
  font: inherit; font-size: 34px; font-weight: 700; color: #fff;
  min-height: 96px; padding: 0 40px; border: 0; border-radius: 24px;
  background: var(--red); box-shadow: 0 6px 0 var(--red-d), var(--shadow);
  display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  transition: transform .08s, box-shadow .08s; cursor: pointer; touch-action: none;
}
.btn:active { transform: translateY(5px); box-shadow: 0 1px 0 var(--red-d), var(--shadow); }
.btn svg { width: 44px; height: 44px; flex: none; }
.btn.jade { background: var(--jade); box-shadow: 0 6px 0 var(--jade-d), var(--shadow); }
.btn.jade:active { box-shadow: 0 1px 0 var(--jade-d), var(--shadow); }
.btn.light { background: var(--paper); color: var(--ink); box-shadow: 0 6px 0 var(--line), var(--shadow); }
.btn.light:active { box-shadow: 0 1px 0 var(--line), var(--shadow); }
.btn.gold { background: var(--gold); color: #3a2410; box-shadow: 0 6px 0 #a87622, var(--shadow); }
.btn.big { font-size: 44px; min-height: 120px; padding: 0 64px; border-radius: 30px; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ---------- 顶栏 ---------- */
.topbar {
  position: absolute; left: 0; right: 0; top: 0; height: 130px; padding: 0 36px;
  display: flex; align-items: center; gap: 24px;
  background: linear-gradient(#fffaf0, #f9efd9); border-bottom: 4px solid var(--line);
}
.topbar .tb-title { flex: 1; text-align: center; font-size: 54px; line-height: 1.05; }
.topbar .tb-sub { display: block; font-family: "Microsoft YaHei", sans-serif; font-size: 26px; color: var(--muted); letter-spacing: 0; margin-top: 6px; }
.topbar .tb-group { display: flex; gap: 20px; align-items: center; }
.topbar .btn { min-height: 92px; font-size: 32px; padding: 0 30px; }
.screen-body { position: absolute; left: 0; right: 0; top: 134px; bottom: 0; }

/* ---------- 对话框 ---------- */
#overlay { position: absolute; inset: 0; pointer-events: none; z-index: 50; }
.mask {
  position: absolute; inset: 0; pointer-events: auto;
  background: rgba(42, 28, 16, .55); display: flex; align-items: center; justify-content: center;
  animation: fadein .2s;
}
.dialog {
  background: var(--paper); border-radius: 36px; padding: 56px 64px 48px; min-width: 820px; max-width: 1500px;
  box-shadow: 0 30px 80px rgba(0,0,0,.35); border: 6px solid var(--gold-l);
  animation: pop .25s cubic-bezier(.2,1.4,.5,1);
}
.dialog h2 { margin: 0 0 24px; font-size: 56px; text-align: center; font-family: "Smiley", "Microsoft YaHei", sans-serif; color: var(--red-d); font-weight: 400; letter-spacing: 2px; }
.dialog .dlg-text { font-size: 36px; line-height: 1.6; text-align: center; }
.dialog-btns { display: flex; gap: 32px; justify-content: center; margin-top: 44px; flex-wrap: wrap; }

@keyframes fadein { from { opacity: 0; } }
@keyframes pop { from { transform: scale(.85); opacity: 0; } }

/* ---------- 帮助 ---------- */
.help-list { display: flex; flex-direction: column; gap: 22px; margin: 8px 0 0; }
.help-item { display: flex; align-items: center; gap: 28px; font-size: 36px; line-height: 1.4; }
.help-item .hi-ic { width: 96px; height: 96px; flex: none; border-radius: 24px; background: #fbe9c4; display: flex; align-items: center; justify-content: center; }
.help-item .hi-ic svg { width: 60px; height: 60px; }

/* ---------- 闲置提示 ---------- */
#idle { position: absolute; inset: 0; z-index: 90; display: none; background: rgba(42,28,16,.6); align-items: center; justify-content: center; }
#idle.show { display: flex; animation: fadein .2s; }
.idle-box { background: var(--paper); border-radius: 40px; padding: 60px 100px; text-align: center; border: 6px solid var(--gold-l); }
.idle-title { font-family: "Smiley", sans-serif; font-size: 72px; color: var(--red-d); }
.idle-num { font-size: 200px; font-weight: 800; color: var(--red); line-height: 1.1; }
.idle-tip { font-size: 38px; }

/* ---------- 体验时长横幅 ---------- */
#banner {
  position: absolute; left: 50%; top: 150px; transform: translateX(-50%); z-index: 40;
  background: var(--jade); color: #fff; font-size: 36px; font-weight: 700; padding: 22px 48px; border-radius: 999px;
  box-shadow: var(--shadow); display: none; pointer-events: none; white-space: nowrap;
}
#banner.show { display: block; animation: pop .3s; }

/* ---------- 首页 ---------- */
.home-head { position: absolute; left: 0; right: 0; top: 22px; text-align: center; }
.home-school { display: inline-block; font-size: 40px; font-weight: 700; color: #fff8e6; background: var(--red); padding: 8px 40px; border-radius: 999px; letter-spacing: 8px; box-shadow: 0 4px 0 var(--red-d); }
.home-head h1 { margin: 4px 0 0; font-size: 118px; line-height: 1.05; font-weight: 400; color: var(--red-d); letter-spacing: 16px; }
.home-head p { margin: 0; font-size: 34px; color: var(--muted); letter-spacing: 6px; }
.home-mascot { position: absolute; left: 1420px; top: 14px; width: 270px; height: 294px; background: url("../assets/home/mascot.png") center/contain no-repeat; filter: drop-shadow(0 8px 10px rgba(74,44,14,.18)); }
.hm-bubble { position: absolute; right: 262px; top: 56px; white-space: nowrap; font-size: 30px; font-weight: 700; line-height: 1.35; color: var(--ink); background: #fff; padding: 14px 24px; border-radius: 26px; border: 4px solid var(--gold-l); box-shadow: var(--shadow); }
.hm-bubble::after { content: ""; position: absolute; right: -18px; top: 34px; border: 12px solid transparent; border-left: 16px solid #fff; }
.home-cards { position: absolute; left: 0; right: 0; top: 296px; display: flex; justify-content: center; gap: 64px; }
.home-card {
  width: 520px; height: 570px; border-radius: 40px; background: var(--paper); box-shadow: var(--shadow);
  border: 6px solid var(--line); display: flex; flex-direction: column; align-items: center; padding: 44px 36px 36px;
  transition: transform .1s;
}
.home-card:active { transform: scale(.97); }
.home-card .hc-icon { width: 240px; height: 240px; flex: none; border-radius: 36px; background: #fffaf0 center/cover no-repeat; }
.home-card .hc-name { font-size: 56px; margin-top: 14px; color: var(--ink); }
.home-card .hc-desc { font-size: 32px; color: var(--muted); text-align: center; line-height: 1.5; margin-top: 12px; flex: 1; }
.home-card .hc-go { width: 100%; }
.home-card.off { filter: grayscale(.7); opacity: .7; }
.home-card.off:active { transform: none; }
.home-foot { position: absolute; right: 60px; bottom: 50px; }
.home-admin { position: absolute; left: 0; top: 0; width: 180px; height: 180px; z-index: 5; }
.home-admin .ring { position: absolute; left: 40px; top: 40px; width: 100px; height: 100px; border-radius: 50%; border: 8px solid var(--gold); opacity: 0; }
.home-admin.pressing .ring { opacity: 1; animation: ring var(--hold, 3s) linear forwards; }
@keyframes ring { from { transform: scale(.2); } to { transform: scale(1); } }

/* ---------- 管理员 ---------- */
.pin-dots { display: flex; gap: 28px; justify-content: center; margin: 10px 0 30px; }
.pin-dots i { width: 36px; height: 36px; border-radius: 50%; border: 4px solid var(--muted); }
.pin-dots i.on { background: var(--ink); border-color: var(--ink); }
.pin-pad { display: grid; grid-template-columns: repeat(3, 160px); gap: 22px; justify-content: center; }
.pin-pad .btn { min-height: 120px; font-size: 52px; padding: 0; }
.shake { animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-18px); } 40%, 80% { transform: translateX(18px); } }

.admin-rows { display: flex; flex-direction: column; gap: 22px; }
.dialog.admin { padding: 36px 56px 32px; }
.dialog.admin .dialog-btns { margin-top: 28px; }
.admin-row { display: flex; align-items: center; gap: 30px; }
.admin-row .ar-label { width: 260px; font-size: 34px; font-weight: 700; flex: none; }
.seg { display: flex; gap: 14px; flex-wrap: wrap; }
.seg .btn { min-height: 84px; font-size: 30px; padding: 0 28px; }
.seg .btn.on { background: var(--jade); color: #fff; box-shadow: 0 6px 0 var(--jade-d); }
.admin-note { font-size: 26px; color: var(--muted); margin-top: 6px; }

/* ---------- 纹样拼图：选择 ---------- */
.pz-diffs { position: absolute; left: 0; right: 0; top: 110px; display: flex; justify-content: center; gap: 70px; }
.pz-diff {
  width: 480px; height: 640px; border-radius: 40px; background: var(--paper); box-shadow: var(--shadow); border: 6px solid var(--line);
  display: flex; flex-direction: column; align-items: center; padding: 50px 30px; transition: transform .1s;
}
.pz-diff:active { transform: scale(.97); }
.pz-diff .pd-grid { width: 220px; height: 220px; display: grid; gap: 6px; padding: 6px; background: var(--line); border-radius: 18px; }
.pz-diff .pd-grid i { background: var(--gold-l); border-radius: 6px; }
.pz-diff.mid .pd-grid i { background: #f0b98a; }
.pz-diff.hard .pd-grid i { background: #e7907d; }
.pz-diff .pd-name { font-size: 84px; margin-top: 36px; color: var(--red-d); }
.pz-diff .pd-grade { font-size: 36px; font-weight: 700; margin-top: 10px; }
.pz-diff .pd-desc { font-size: 32px; color: var(--muted); margin-top: 18px; text-align: center; line-height: 1.5; }
.pz-tip { position: absolute; left: 0; right: 0; top: 30px; text-align: center; font-size: 40px; color: var(--muted); }

.pz-levels { position: absolute; left: 75px; top: 110px; display: grid; grid-template-columns: repeat(6, 270px); gap: 40px 30px; }
.pz-level { position: relative; width: 270px; transition: transform .1s; }
.pz-level:active { transform: scale(.96); }
.pz-level .pl-img { width: 270px; height: 270px; border-radius: 28px; background: #ddd center/cover; box-shadow: var(--shadow); border: 6px solid var(--paper); }
.pz-level .pl-name { font-size: 32px; text-align: center; margin-top: 14px; font-weight: 700; }
.pz-level .pl-done { position: absolute; right: -10px; top: -10px; width: 72px; height: 72px; border-radius: 50%; background: var(--jade); display: none; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.pz-level .pl-done svg { width: 44px; height: 44px; }
.pz-level.done .pl-done { display: flex; }

/* ---------- 纹样拼图：介绍 ---------- */
.pz-intro-img { position: absolute; left: 140px; top: 60px; width: 780px; height: 780px; border-radius: 30px; background: center/cover; box-shadow: var(--shadow); border: 10px solid var(--paper); }
.pz-intro-text { position: absolute; left: 1020px; top: 80px; width: 780px; }
.pz-intro-text h2 { margin: 0; font-size: 88px; font-weight: 400; color: var(--red-d); }
.tag { display: inline-block; font-size: 30px; padding: 10px 26px; border-radius: 999px; background: #fbe9c4; color: #7a5420; margin-top: 22px; font-weight: 700; }
.pz-intro-text p { font-size: 38px; line-height: 1.7; margin: 30px 0 0; }
.pz-intro-btns { position: absolute; left: 1020px; top: 700px; display: flex; gap: 30px; }

/* ---------- 纹样拼图：游戏 ---------- */
.pz-board { position: absolute; background: #efe1c6; border-radius: 8px; box-shadow: 0 0 0 14px var(--paper), 0 0 0 18px var(--line), var(--shadow); }
.pz-base { position: absolute; inset: 0; background: center/cover; opacity: .32; filter: grayscale(.3); }
.pz-slot { position: absolute; border: 2px dashed rgba(122, 84, 32, .35); }
.pz-slot.hint { background: rgba(214,160,60,.55); border: 6px solid var(--gold); animation: blink .5s 5 alternate; }
.pz-tray { position: absolute; border-radius: 30px; background: rgba(255,250,240,.6); border: 4px dashed var(--line); }
.pz-tray-label { position: absolute; font-size: 28px; color: var(--muted); }
.pz-piece {
  position: absolute; background-repeat: no-repeat; border-radius: 6px; z-index: 2;
  box-shadow: 0 6px 14px rgba(60,35,10,.35); touch-action: none;
  transition: left .28s ease, top .28s ease, width .28s ease, height .28s ease, background-size .28s ease, background-position .28s ease;
}
.pz-piece.dragging { transition: none; z-index: 30; box-shadow: 0 20px 40px rgba(60,35,10,.45); outline: 5px solid var(--gold); }
.pz-piece.locked { box-shadow: none; border-radius: 0; pointer-events: none; z-index: 1; }
.pz-piece.flash::after { content: ""; position: absolute; inset: 0; background: rgba(255,240,180,.85); animation: flash .5s forwards; }
.pz-piece.hint { outline: 6px solid var(--gold); animation: blink .5s 5 alternate; }
@keyframes flash { to { opacity: 0; } }
@keyframes blink { from { filter: brightness(1); } to { filter: brightness(1.35); } }
.pz-board.complete { animation: glow 1.2s ease; }
@keyframes glow { 50% { box-shadow: 0 0 0 14px var(--paper), 0 0 0 18px var(--gold), 0 0 90px 30px rgba(214,160,60,.9); } }
.pz-progress { position: absolute; font-size: 34px; font-weight: 700; color: var(--ink); }
.pz-progress b { color: var(--red); font-size: 44px; }

.star { position: absolute; width: 60px; height: 60px; z-index: 40; pointer-events: none; animation: star 1.1s ease-out forwards; }
@keyframes star { from { transform: translate(0,0) scale(.3) rotate(0); opacity: 1; } to { transform: translate(var(--dx), var(--dy)) scale(1.1) rotate(200deg); opacity: 0; } }

/* ---------- 参考图 / 知识卡 ---------- */
.ref-img { width: 820px; height: 820px; border-radius: 20px; background: center/cover; }
.dialog.ref { padding: 36px; }
.dialog.ref .dialog-btns { margin-top: 28px; }
.card-wrap { display: flex; gap: 56px; align-items: stretch; }
.card-img { width: 560px; height: 560px; flex: none; border-radius: 26px; background: center/cover; border: 8px solid #fff; box-shadow: var(--shadow); }
.card-text { width: 720px; display: flex; flex-direction: column; }
.card-text .ct-label { font-size: 30px; color: var(--jade); font-weight: 700; letter-spacing: 4px; }
.card-text h3 { font-family: "Smiley", sans-serif; font-weight: 400; font-size: 76px; margin: 10px 0 0; color: var(--red-d); }
.card-text p { font-size: 34px; line-height: 1.7; margin: 26px 0 0; }

/* ---------- 小展馆：选择任务 ---------- */
.ms-levels { position: absolute; left: 70px; right: 70px; top: 30px; display: flex; flex-direction: column; gap: 26px; }
.ms-level-row { display: flex; gap: 24px; align-items: stretch; height: 270px; }
.ms-level-head { width: 300px; flex: none; border-radius: 30px; padding: 26px 28px; display: flex; flex-direction: column; justify-content: center; gap: 8px; background: var(--gold-l); }
.ms-level-head.mid { background: #f0c49c; }
.ms-level-head.hard { background: #eaa391; }
.ms-level-head .title-font { font-size: 72px; color: var(--red-d); line-height: 1; }
.ms-level-head b { font-size: 30px; }
.ms-level-head span { font-size: 26px; color: #6d4a28; line-height: 1.4; }
.ms-task { position: relative; flex: 1; min-width: 0; border-radius: 30px; background: var(--paper); border: 6px solid var(--line); box-shadow: var(--shadow); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; transition: transform .1s; }
.ms-task:active { transform: scale(.97); }
.ms-task-thumbs { display: flex; gap: 10px; }
.ms-task-thumbs i { width: 92px; height: 92px; border-radius: 18px; background: #eee center/cover; border: 4px solid #fff; box-shadow: 0 4px 10px rgba(60,35,10,.18); }
.ms-task-name { font-size: 40px; font-weight: 700; }
.ms-task .pl-done { position: absolute; right: -10px; top: -10px; width: 72px; height: 72px; border-radius: 50%; background: var(--jade); display: none; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.ms-task .pl-done svg { width: 44px; height: 44px; }
.ms-task.done .pl-done { display: flex; }

/* ---------- 小展馆：布展 ---------- */
.museum .screen-body { background: linear-gradient(#efe0c4 0, #f7eedc 600px); }
.ms-slot { position: absolute; border-radius: 30px 30px 18px 18px; background: linear-gradient(#fffaf0, #f6ead2); border: 5px solid var(--line); box-shadow: var(--shadow); transition: border-color .2s, box-shadow .2s; }
.ms-slot::before { content: ""; position: absolute; left: 30px; right: 30px; top: 0; height: 14px; border-radius: 0 0 10px 10px; background: var(--red); }
.ms-slot.need { border-color: #e2603f; box-shadow: 0 0 0 6px rgba(226,96,63,.25), var(--shadow); }
.ms-slot.ok { border-color: var(--gold); box-shadow: 0 0 40px rgba(214,160,60,.55), var(--shadow); }
.ms-slot-no { position: absolute; left: 0; right: 0; top: 24px; text-align: center; font-size: 30px; font-weight: 700; color: var(--muted); }
.ms-clue { position: absolute; left: 20px; right: 20px; top: 70px; height: 210px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.ms-slot.easy .ms-clue { top: 66px; height: 230px; }
.ms-detail { border-radius: 50%; background-color: #eee; background-repeat: no-repeat; border: 6px solid #fff; box-shadow: 0 0 0 4px var(--gold), 0 8px 18px rgba(60,35,10,.25); flex: none; }
.ms-clue-text { font-size: 30px; line-height: 1.35; text-align: center; font-weight: 700; }
.ms-clue-line { width: 100%; font-size: 28px; line-height: 1.35; font-weight: 700; background: #fff4dc; border-radius: 16px; padding: 10px 14px 10px 58px; position: relative; text-align: left; }
.ms-clue-line b { position: absolute; left: 12px; top: 10px; width: 36px; height: 36px; border-radius: 50%; background: var(--red); color: #fff; font-size: 24px; display: flex; align-items: center; justify-content: center; }
.ms-drop { position: absolute; border-radius: 24px; border: 4px dashed rgba(122,84,32,.4); background: rgba(255,255,255,.55); }
.ms-drop::after { content: ""; position: absolute; left: -16px; right: -16px; bottom: -22px; height: 14px; border-radius: 8px; background: #c9a87a; }
.ms-mark { position: absolute; right: -12px; top: -16px; z-index: 6; display: none; padding: 10px 22px; border-radius: 999px; font-size: 28px; font-weight: 800; color: #fff; background: #e2603f; box-shadow: var(--shadow); animation: pop .3s; }
.ms-mark.wrong, .ms-mark.empty { display: block; }
.ms-mark.empty { background: var(--muted); }
.ms-plate { position: absolute; left: 50%; bottom: -30px; transform: translateX(-50%); z-index: 6; display: none; white-space: nowrap; padding: 8px 28px; border-radius: 12px; background: var(--red-d); color: #fff8e6; font-size: 32px; font-weight: 700; box-shadow: var(--shadow); }
.ms-finished .ms-plate { display: block; animation: pop .4s; }

.ms-msg { position: absolute; left: 0; right: 0; top: 592px; text-align: center; font-size: 32px; color: var(--muted); font-weight: 700; }
.ms-msg.warn { color: #c2462b; animation: shake .4s; }
.ms-tray { position: absolute; border-radius: 30px; background: rgba(255,250,240,.7); border: 4px dashed var(--line); }
.ms-tray-label { position: absolute; left: 24px; top: 10px; font-size: 24px; color: var(--muted); }
.ms-side { position: absolute; left: 1500px; top: 660px; width: 340px; display: flex; flex-direction: column; gap: 26px; }
.ms-side .btn { width: 100%; }
.ms-check { min-height: 130px; white-space: nowrap; padding: 0 20px; font-size: 42px; }
.ms-card { position: absolute; width: 210px; height: 210px; border-radius: 22px; background: #eee center/cover no-repeat; border: 6px solid #fff; box-shadow: 0 8px 18px rgba(60,35,10,.3); z-index: 5; touch-action: none; transition: left .28s ease, top .28s ease; }
.ms-card.dragging { transition: none; z-index: 30; transform: scale(1.06); box-shadow: 0 22px 40px rgba(60,35,10,.45); outline: 5px solid var(--gold); }
.ms-card-zoom { position: absolute; right: 8px; bottom: 8px; width: 50px; height: 50px; border-radius: 50%; background: rgba(255,255,255,.88); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.ms-card-zoom svg { width: 32px; height: 32px; }
.ms-end { position: absolute; left: 80px; right: 80px; top: 648px; height: 270px; border-radius: 30px; background: var(--paper); border: 6px solid var(--gold-l); box-shadow: var(--shadow); display: none; flex-direction: column; align-items: center; justify-content: center; gap: 30px; }
.ms-end-text { font-size: 40px; font-weight: 700; color: var(--red-d); }
.ms-end-btns { display: flex; gap: 40px; }
.ms-finished .ms-end { display: flex; animation: pop .4s; }
.ms-finished .ms-tray, .ms-finished .ms-side, .ms-finished .ms-msg { display: none; }
.ms-finished .ms-card-zoom { display: none; }

/* ---------- 识别（找不同） ---------- */
.sp-thumb { width: 170px; height: 170px; border-radius: 20px; background: #eee center/cover; border: 4px solid #fff; box-shadow: 0 4px 10px rgba(60,35,10,.18); }
.sp-level-name { font-size: 32px; font-weight: 700; }
.sp-level { gap: 10px; }
.sp-label { position: absolute; top: 8px; text-align: center; font-size: 30px; font-weight: 700; color: var(--jade-d); }
.sp-label.mod { color: var(--red-d); }
.sp-img { position: absolute; border-radius: 18px; overflow: hidden; background: #eee center/cover; box-shadow: 0 0 0 8px var(--paper), 0 0 0 11px var(--line), var(--shadow); touch-action: none; }
.sp-img.complete { box-shadow: 0 0 0 8px var(--paper), 0 0 0 11px var(--gold), 0 0 60px rgba(214,160,60,.8); }
.sp-ring { position: absolute; pointer-events: none; border-radius: 50%; border: 7px solid #e2312b; box-shadow: 0 0 0 3px #fff, inset 0 0 0 3px #fff; animation: pop .3s cubic-bezier(.2,1.6,.5,1); }
.sp-ring.hint { border: 8px dashed var(--gold); box-shadow: 0 0 30px 8px rgba(243,215,143,.9); animation: blink .5s 6 alternate; }
.sp-miss { position: absolute; width: 80px; height: 80px; pointer-events: none; font-size: 70px; line-height: 80px; text-align: center; font-weight: 800; color: rgba(90,70,50,.75); text-shadow: 0 0 6px #fff; animation: missfade .9s forwards; }
@keyframes missfade { from { transform: scale(.5); opacity: 1; } to { transform: scale(1.2); opacity: 0; } }
.sp-msg { position: absolute; left: 0; right: 0; top: 906px; text-align: center; font-size: 32px; font-weight: 700; color: var(--ink); }
.sp-msg b { color: var(--red); font-size: 40px; }
.sp-msg.warn { color: var(--muted); }
.sp-result-img { top: 50px; }
.sp-orig-label { font-size: 30px; color: var(--jade); font-weight: 700; letter-spacing: 4px; margin-bottom: 10px; }
