/* 洗车店 · 儿童版（/tool/car-wash-kids）专属样式。
   只作用于本页容器，不覆盖 site.css / editorial.css / tool.css。
   画布内的糖果色 UI 全部由 tool-carwash-kids.js 绘制。 */

.cwk-intro{padding:56px 0 28px}
.cwk-title{font-size:clamp(34px,5vw,52px);line-height:1.2;font-weight:600;letter-spacing:-.04em;color:var(--ink)}
.cwk-title span{color:var(--accent)}
.cwk-lede{margin-top:18px;max-width:44em;font-size:16px;line-height:1.85;color:var(--ink-2)}
.cwk-meta{display:flex;flex-wrap:wrap;gap:10px 0;margin-top:22px;font:12px var(--mono);color:var(--ink-3)}
.cwk-meta span+span::before{content:"·";margin:0 16px;color:var(--rule-2)}
.cwk-relation{margin-top:18px;font-size:13px;line-height:1.8;color:var(--ink-3)}
.cwk-relation a{color:var(--accent);border-bottom:1px solid var(--rule-2)}

.cwk-stage{padding:8px 0 40px}
.cwk-wrap{width:100%;margin:0 auto}
.cwk-frame{width:100%;background:#FFF3D6;border-radius:30px;
  -webkit-user-select:none;user-select:none;-webkit-touch-callout:none;
  -webkit-tap-highlight-color:transparent}
#game{display:block;width:100%;height:600px;border-radius:30px;outline:none;
  touch-action:none;-webkit-user-select:none;user-select:none;
  box-shadow:0 10px 0 rgba(59,51,85,.10),0 20px 44px rgba(59,51,85,.16)}
#game:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.cwk-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;
  clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}
.cwk-tip{margin:12px 4px 0;font-size:12px;line-height:1.8;color:var(--ink-3)}

.cwk-notes{padding:36px 0 24px;border-top:1px solid var(--rule)}
.cwk-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px;margin-top:12px}
.cwk-cols h3{font-size:17px;font-weight:600;color:var(--ink);margin-bottom:10px}
.cwk-cols h3:not(:first-child){margin-top:26px}
.cwk-cols p,.cwk-cols li{font-size:14px;line-height:1.9;color:var(--ink-2)}
.cwk-cols p+p{margin-top:10px}
.cwk-cols ul{list-style:none;padding:0}
.cwk-cols li{padding-left:16px;position:relative}
.cwk-cols li::before{content:"";position:absolute;left:0;top:.8em;width:5px;height:5px;
  border-radius:50%;background:var(--accent)}
.cwk-cols b{color:var(--ink);font-weight:600}
.cwk-formula{font:13px/1.9 var(--mono);white-space:pre-line;color:var(--ink);
  background:var(--bg-2);border:1px solid var(--rule);padding:14px 16px}

@media(max-width:820px){
  .cwk-intro{padding-top:36px}
  .cwk-cols{grid-template-columns:1fr;gap:8px}
}
/* 手机横屏矮屏（如 812×375）：页头收紧成一行标题，让整块画布落在首屏内。
   否则导航 + 大标题 + 说明会把画布推到首屏之外，打开页面看不到游戏。
   被收起的说明在下方「做法与口径」区仍完整保留，可滚动阅读。 */
@media(max-height:720px){
  .cwk-intro{padding:4px 0}
  .cwk-intro .hero-eyebrow{display:none}
  .cwk-title{font-size:16px;line-height:1.2}
  .cwk-lede,.cwk-meta,.cwk-relation{display:none}
  .cwk-stage{padding:0 0 4px}
  .cwk-tip{display:none}
  .cwk-wrap{margin:0 auto}
  #game{height:calc(100vh - 100px);min-height:230px}
}
