@font-face {
  font-family:"Moa Lab Text";src:url("/assets/moa-lab-text.woff2") format("woff2");
  font-style:normal;font-weight:100 900;font-display:swap;
}
@font-face {
  font-family: "Do Hyeon"; src: url("/assets/do-hyeon.woff2") format("woff2");
  font-style: normal; font-weight: 400; font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque"; src: url("/assets/bricolage.woff2") format("woff2");
  font-style: normal; font-weight: 200 800; font-display: swap;
}
:root {
  --body-font: "Moa Lab Text", "PingFang SC", "Microsoft YaHei", "Malgun Gothic", "Segoe UI", sans-serif;
  --display-font: "Bricolage Grotesque", "Do Hyeon", "Moa Lab Text", "Microsoft YaHei", sans-serif;
  --key-edge: #a7a38b;
  --ink: #143a32;
  --key-surface: linear-gradient(175deg,#fffef8 0%,#f8f4e6 66%,#e7e0cc 100%);
  --key-shadow: inset 0 1px 0 #fff, 0 2px 0 #a5a68f, 0 3px 5px #262f2415;
  font-family: var(--body-font);
  color: var(--ink);
  background: #f4f1e8;
}
html.largeType { font-size:118%; }
body {
  background: radial-gradient(ellipse at 45% -10%,#fffdf7 0,transparent 65rem),#f4f1e8;
  min-height:100dvh; line-height:1.5;
}
.siteHead {
  background:linear-gradient(180deg,#fffef9 0%,#faf7ee 91%,#eae6d8 100%);
  border-bottom:1px solid #b4b5a4; box-shadow:0 2px 5px #2d382c0d;
}
.headInner { height:70px; }
.logo { color:#183d34; font-family:var(--display-font); font-size:1.35rem; font-weight:800; letter-spacing:-.075em; }
.logo b { font-family:var(--display-font); font-weight:660; }
.logo img {
  border-radius:12px; box-shadow:0 2px 0 #a78c4c, 0 4px 8px #19342929;
  outline:1px solid #a38848; outline-offset:-1px;
}
.siteHead nav { gap:9px }
.guideNav,.displayNav,.langBox {
  border:1px solid var(--key-edge); border-radius:12px; color:#28473d; background:var(--key-surface);
  box-shadow:var(--key-shadow); min-height:44px;
}
.guideNav,.displayNav { display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:0 14px; }
.displayNav { min-width:46px; font-family:var(--display-font); font-size:1.08rem; font-weight:750; }
.langBox { border-radius:12px; }
.langBox select { min-height:42px; font-size:.92rem; }
.bookIcon {
  display:inline-block; width:19px; height:14px; position:relative;
  border:1.6px solid currentColor; border-radius:2px 3px 2px 2px; transform:skewY(-3deg);
}
.bookIcon::after { content:""; position:absolute; top:0; bottom:0; left:45%; border-left:1.6px solid currentColor; }
.guideNav:active,.displayNav:active,.shellButton:active,.shellSecondary:active,.trailShare:active,.sizeChoice:active { translate:0 1px }
.siteFoot { color:#354d43; border-top:1px solid #c5bfaa; }
.siteFoot span { font-family:var(--display-font); letter-spacing:.03em; }
.classWrap { max-width:960px; }
.trailBack,.trailShare { font-size:.95rem; font-weight:700; }
.trailShare {
  color:#244c42; border:1px solid var(--key-edge); border-radius:10px; min-height:44px; padding:7px 15px;
  background:var(--key-surface); box-shadow:var(--key-shadow);
}
.lessonHeading {
  display:flex; align-items:center; gap:clamp(12px,3vw,25px); position:relative; isolation:isolate;
  margin:15px 0 17px; min-height:115px; padding:17px clamp(17px,4vw,38px);
  border:1px solid #a39d7f; border-radius:18px;
  background:linear-gradient(120deg,#fbf8ec 6%,#ebe5d3 68%,#f9f5e8);
  box-shadow:inset 0 1px 0 white,inset 0 -3px 0 #bfb69c,0 6px 15px #31382014;
}
.lessonHeading::before,.lessonHeading::after {
  content:""; position:absolute; width:7px; height:7px; border-radius:50%; right:10px;
  background:linear-gradient(138deg,#9a8759 30%,#cbbe93 44%,#5b523c 49% 57%,#d9cba3 62%); box-shadow:0 1px 1px white;
}
.lessonHeading::before { top:10px; } .lessonHeading::after { bottom:10px; }
.lessonInstrument {
  object-fit:contain; flex:none; width:clamp(64px,10vw,100px); height:clamp(64px,10vw,100px);
  filter:drop-shadow(0 4px 3px #453e2835);
}
.lessonDetails { min-width:0; }
.lessonTag { color:#396051;font-size:.82rem;letter-spacing:.085em; }
.lessonHeading h1,.finishCard h2,.dialogBody h2 { font-family:var(--display-font); letter-spacing:-.035em; }
.lessonHeading h1 { margin:3px 0; font-size:clamp(1.92rem,4vw,3.15rem); word-break:keep-all; overflow-wrap:anywhere; }
.trailMode { font-size:.89rem; color:#485f52; }
.finishCard {
  background:radial-gradient(ellipse at 50% 0,#fff9de,transparent 55%),linear-gradient(150deg,#faf6e7,#e9e1cc);
  border:1px solid #b7a77b; box-shadow:inset 0 2px 0 #fff, inset 0 -3px 0 #c4b58f,0 8px 19px #554b2720;
}
.finishMedal { display:block; width:110px; height:110px; object-fit:contain; box-shadow:none; border:0; background:transparent; border-radius:0; filter:drop-shadow(0 5px 3px #5d502b36); }
.shellButton { color:white;background:linear-gradient(#286957,#14473e);border-color:#133e34;box-shadow:inset 0 1px 0 #75a496,0 3px 0 #0e392e; }
.shellSecondary,.sizeChoice{background:var(--key-surface);box-shadow:var(--key-shadow);border-color:var(--key-edge);color:#26463a;}
#info { background:#fffdf5;border-color:#aba07f;box-shadow:inset 0 1px 0 white,0 25px 90px #09292055; }
.dialogBody p {font-size:1rem;}
.closeInfo {background:var(--key-surface);border-color:var(--key-edge);box-shadow:var(--key-shadow);}
.preferencePanel {display:grid;gap:21px;}
.sizeField {border:0;margin:0;padding:0;}
.sizeField legend {font-weight:750;margin-bottom:9px;}
.sizeOptions {display:flex;gap:10px;flex-wrap:wrap;}
.sizeChoice {border-width:1px;border-style:solid;border-radius:12px;min-height:46px;min-width:96px;padding:9px 16px;font-weight:700;}
.sizeChoice[aria-pressed=true]{color:#fff;background:linear-gradient(#2b6b58,#194c40);border-color:#1a4b3c;box-shadow:inset 0 1px 2px #133f32;}
.outlineChoice {display:flex;align-items:center;gap:12px;background:#eeeddf;border:1px solid #cbc8b4;border-radius:12px;padding:12px;cursor:pointer;}
.outlineChoice input {width:23px;height:23px;accent-color:#285c4b;}
.outlineChoice strong,.outlineChoice small {display:block;}
.outlineChoice small {color:#4c5b50;font-size:.92rem;}
.shareField {display:block;width:100%;font:inherit;font-size:1rem;min-height:46px;border:1px solid #849b8b;border-radius:9px;padding:8px 11px;background:#fff;color:#23483d;margin-bottom:13px;}
.shareFeedback {color:#315f49;font-weight:650;margin-bottom:0;}
.guideCurrent {border-left:4px solid #a78948;background:#f5edd8;border-radius:8px;padding:13px 17px;margin-bottom:15px;}
.guideCurrent small {font-weight:700;color:#65522c;}
.guideCurrent p {margin:0;}
.guidePrint {margin-bottom:4px}
.strongOutline :is(button:not(:disabled),select,input[type=url],.outlineChoice,.langBox) {
  outline:2px solid #183e35;outline-offset:-2px;
}
.strongOutline :is(button:not(:disabled),select,input):focus-visible,
:root :is(button,a,select,input):focus-visible {
  outline:3px solid #125ad0;outline-offset:3px;box-shadow:0 0 0 3px #fff;
}
@media(max-width:700px) {
  .headInner{height:63px;} .siteHead nav{gap:6px;} .guideNav,.displayNav{min-width:44px;padding-inline:9px;}
  .logo{font-size:1.1rem;} .langBox select{max-width:98px;}
  .lessonHeading{min-height:93px;padding:12px 15px;margin:10px 0 14px;} .trailMode{font-size:.8rem;}
}
@media(max-width:550px) {
  .guideNav .navGuideText{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden;}
  .logo,.displayNav{white-space:nowrap;}
  .langBox span{display:none;} .headInner{gap:6px;} .guideNav{max-width:none;}
}
@media(max-width:375px) {
  .headInner{width:calc(100% - 20px);} .logo{font-size:.94rem;gap:4px;} .logo img{width:27px;height:27px;}
  .siteHead nav{gap:4px;} .langBox{padding:0 4px;} .langBox select{font-size:.8rem;max-width:89px;}
  .displayNav{font-size:.95rem;} .trailShare{padding-inline:9px;} .lessonInstrument{width:54px;height:58px;}
  .largeType .logo span{display:flex;flex-direction:column;align-items:flex-start;line-height:1;}
  .largeType .logo b{font-size:.65rem;letter-spacing:.03em;}
}
@media print {
  html:has(#info[open][data-kind=guide]),body:has(#info[open][data-kind=guide]) {background:white;font-size:11pt;height:auto;}
  body:has(#info[open][data-kind=guide]) > :not(#info){display:none!important;}
  #info[open][data-kind=guide] {position:static;inset:auto;display:block;width:100%;height:auto;max-width:none;max-height:none;border:none;box-shadow:none;overflow:visible;background:white;}
  #info::backdrop{background:transparent;}
  #info[data-kind=guide] .dialogBody {padding:0;line-height:1.4;}
  #info[data-kind=guide] :is(.closeInfo,.guidePrint){display:none;}
  #info[data-kind=guide] :is(.guideCurrent,.guideSection,.guideReview){background:transparent;border:0;padding:4pt 0;}
  #info[data-kind=guide] li {break-inside:avoid;}
}
