.adv-sekolah-sukan {--museum-image:url('assets/zon1/sekolah-sukan.webp');}
.adv-sekolah-perpustakaan {--museum-image:url('assets/zon1/sekolah-perpustakaan.webp');}
.adv-sekolah-surau {--museum-image:url('assets/zon1/sekolah-surau.webp');}
.adv-sekolah-taman {--museum-image:url('assets/zon1/sekolah-taman.webp');}
.adv-sekolah-muzik {--museum-image:url('assets/zon1/sekolah-muzik.webp');}

.adv-caption .school-progress {
  pointer-events:auto;
  margin-top:.38rem;
  padding:.25em .85em;
  font-size:clamp(.72rem,1.25vw,1.06rem);
}
.school-empty-sky {
  position:absolute;
  left:72.368%;top:0;width:12.56%;height:17.54%;
  clip-path:polygon(15.7% 28%,24% 28%,39% 29%,53% 35%,64% 38%,86% 33%,76% 51%,73% 56.5%,85% 76%,65% 81%,48% 79%,31% 74%,22% 74%,15.7% 81%);
}
.school-world .z2-stage-flag {left:74.53%;top:5.4%;width:8.1%;height:7.6%;object-fit:fill;}
.school-world .indoor-npc {width:clamp(30px,4.5vw,72px);}
.school-world .indoor-npc .node-art {max-height:15dvh;}
.school-world .indoor-npc .indoor-hint {visibility:visible;white-space:nowrap;}
.school-world .indoor-npc[data-location=tok] .indoor-hint {font-family:var(--display);}
.school-world .indoor-hotspot:not(.indoor-npc):is(:hover,:focus-visible,.nearby):not(.blocked) {
  background:radial-gradient(ellipse,#fff7ad52,transparent 72%);
}
.school-world .indoor-hotspot:not(.indoor-npc):not(:focus-visible) .indoor-hint {visibility:hidden;}
.school-world .indoor-hotspot[data-location=sekolah] .indoor-hint,
.school-world .indoor-hotspot[data-location=zon2] .indoor-hint {visibility:visible;}
.school-world .indoor-hotspot.blocked {filter:none;}

.school-task-list {padding:0;list-style:none;display:grid;gap:.55rem;}
.school-task-list li {
  padding:.58em .7em;
  border:1px solid #c7a16a;border-radius:10px;background:#fff3d5;
}
.school-task-list li > div {display:flex;justify-content:space-between;gap:.35em .7em;flex-wrap:wrap;}
.school-task-list li strong {font-family:var(--display);font-size:1.15em;line-height:1.2;}
.school-task-list li span {
  align-self:flex-start;
  border-radius:12px;padding:.13em .6em;background:#eddaaf;color:#64462b;
  white-space:nowrap;font-size:.79em;font-weight:800;
}
.school-task-list li[data-status=Selesai] span {background:#d8eac7;color:#31532b;}
.school-task-list li[data-status="Sedang dijalankan"] span {background:#ffe1a0;color:#664014;}
.school-task-list li small {display:block;margin-top:.15em;color:#69492f;}

.school-symbols {display:flex;justify-content:center;gap:.6rem;flex-wrap:wrap;margin:.65rem 0;}
.school-symbols figure {
  margin:0;padding:.45em .55em;
  flex:0 1 45%;min-width:min(125px,100%);
  border:1px solid #d6b177;border-radius:9px;
  background:#fff5d9;text-align:center;
}
.school-symbols svg {display:inline-block;width:min(97%,130px);height:clamp(42px,10dvh,83px);vertical-align:middle;}
.school-symbols .school-tigers {display:block;width:100%;height:auto;}
.school-symbols figcaption {font-size:.86em;line-height:1.2;margin-top:.35em;}

.school-piece {
  display:block;width:100%;aspect-ratio:4 / 3;
  background:url('assets/jata-sekolah.png') 0 0 / 200% 200% no-repeat;
}
.school-piece[data-piece="1"] {background-position:100% 0;}
.school-piece[data-piece="2"] {background-position:0 100%;}
.school-piece[data-piece="3"] {background-position:100% 100%;}
.school-reward-piece {width:min(150px,45%);margin:.55em auto;background:#fff0cc;border-radius:10px;border:1px solid #bc9667;}
.school-bag-piece {width:min(56px,100%);margin-inline:auto;}
.school-puzzle {
  display:grid;grid-template-columns:1fr 1fr;gap:clamp(.6rem,2.5vw,1.25rem);align-items:start;margin:.75em auto;
}
.school-puzzle-board,.school-piece-tray {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}
.school-puzzle-board {border:2px solid #926536;border-radius:8px;overflow:hidden;background:#fdf0c9;}
.school-piece-tray {gap:.4rem;}
.school-puzzle-slot,.school-piece-tray .adv-button {
  position:relative;display:grid;place-items:center;width:100%;aspect-ratio:4 / 3;min-width:0;padding:0;
}
.school-puzzle-slot {
  border:0;outline:1px dashed #b48c57;outline-offset:-1px;border-radius:0;
  background:#f1dfb1;color:#794f25;font:800 clamp(.85rem,3.5vw,1.35rem) var(--display);cursor:pointer;
}
.school-puzzle-slot:disabled {outline:0;background:transparent;opacity:1;cursor:default;}
.school-puzzle-slot:enabled:is(:hover,:focus-visible),.school-lyric-slot:enabled:is(:hover,:focus-visible) {background:#ffe6a6;}
.school-piece-tray .adv-button {background:#f9dfaa;color:#784e2c;cursor:grab;}
.school-piece-tray .adv-button[aria-pressed=true] {outline:3px solid #376a53;outline-offset:1px;}
.school-piece-tray .school-piece {width:88%;pointer-events:none;}

.school-color-list {padding:0;list-style:none;display:grid;gap:.3em;}
.school-lyrics {
  padding:.55em .8em;text-align:center;line-height:1.9;
  background:#fff3d5;border:1px solid #c7a16a;border-radius:10px;
}
.school-lyric-slot {
  min-width:3.1em;padding:.19em .4em;vertical-align:baseline;
  background:#f6e4b4;color:#614626;border:1px dashed #a47b46;border-radius:5px;
  font:inherit;font-size:.95em;font-weight:800;line-height:1.2;cursor:pointer;
}
.school-lyric-slot:disabled {background:#e1eccd;border-style:solid;color:#315132;opacity:1;cursor:default;}
.school-word-bank button {cursor:grab;}
.school-radio {display:block;width:100%;margin:.75em auto .35em;}
.school-reference {display:inline-block;color:#654426;font-size:.86em;text-underline-offset:.18em;}
.school-audio-status:empty {display:none;}

@media (max-aspect-ratio:6/5) {
  .school-area .adv-caption h1 {font-size:clamp(.9rem,3.6vw,1.4rem);}
  .school-world .indoor-npc {width:clamp(28px,7.2vw,61px);}
  .school-world .indoor-npc .node-art {max-height:14vw;}
}

.school-garden-label {
  position:absolute;top:60.15%;translate:-50% -50%;white-space:nowrap;
  color:#4e2c16;font:800 clamp(.42rem,1.08vw,.95rem)/1 var(--display);
  pointer-events:none;
}
.school-sheet [data-school=select] {touch-action:none;user-select:none;}
.school-sheet .school-drag-ghost {
  position:fixed;z-index:10;translate:-50% -50%;
  pointer-events:none;opacity:.85;cursor:grabbing;box-shadow:0 5px 8px #452a1c70;
}
