.cxe{
  --ac:#5B327D;
  --ac2:#EAD8FC;
  --acg:linear-gradient(95deg,#5B327D,color-mix(in srgb,#5B327D,#9c70ff 45%) 55%,color-mix(in srgb,#5B327D,#ff9450 43%));
  --cxe-accent:#96F0D3;
}
.cxe [hidden]{display:none!important}
.cxe .cxe-hero{position:relative;isolation:isolate;text-align:center;padding:5svh 0 18px}
.cxe .cxe-hero .o1{width:min(66vw,320px);height:min(66vw,320px);right:0;top:0}
.cxe .cxe-hero .o2{width:min(58vw,280px);height:min(58vw,280px);left:0;bottom:24px}
.cxe .cxe-hero .kicker{font-size:clamp(11px,3vw,13px);text-wrap:balance}
.cxe .cxe-hero .ht{font-size:clamp(32px,10vw,58px);color:var(--ink)}
.cxe .cxe-hero .g{overflow-wrap:anywhere}
.cxe .cxe-hero .sub{max-width:43em;margin:16px auto 0;text-wrap:pretty;overflow-wrap:anywhere}
.cxe .cxe-game{
  position:relative;
  padding:clamp(12px,3.8vw,16px);
  background:#fff;
  border-radius:28px;
  scroll-margin-top:75px;
  color:#1c2434;
  box-shadow:0 18px 50px color-mix(in srgb,var(--ac),transparent 88%);
}
.cxe .cxe-intro{display:grid;gap:13px}
.cxe .cxe-intro p,.cxe .cxe-board p,.cxe .cxe-notice p,.cxe .cxe-type p{margin:0}
.cxe .cxe-intro p{font-size:.85rem;line-height:1.55}
.cxe .cxe-guide{
  padding:12px 14px;
  border-radius:16px;
  background:color-mix(in srgb,var(--ac2),white 42%);
  color:var(--ink);
}
.cxe .cxe-guide h2{margin:0 0 5px;font-size:.92rem;color:var(--ink)}
.cxe .cxe-guide ol{margin:0;padding:0 0 0 1.3rem;font-size:.82rem;line-height:1.55}
.cxe .cxe-guide li{padding:6px 0;font-weight:650}
.cxe .cxe-guide li+li{border-top:1px dashed color-mix(in srgb,var(--ac),transparent 79%)}
.cxe .cxe-ai-tip{padding:10px 12px;border-radius:13px;background:#f6f7fb}
.cxe .cxe-intro .cxe-hint{font-size:.73rem;text-align:center;color:var(--mut)}
.cxe .cxe-board{
  padding:clamp(8px,2vw,17px);
  border-radius:18px;
  background:color-mix(in srgb,var(--ac2),white 72%);
  display:grid;
  gap:12px;
  width:100%;
}
.cxe .cxe-board h2,.cxe .cxe-board h3{font-size:1rem;color:var(--ac);margin:0}
.cxe .cxe-board p,.cxe .cxe-notice p{font-size:.85rem;line-height:1.45;overflow-wrap:anywhere}
.cxe .cxe-play,.cxe #end{scroll-margin-top:75px}
.cxe .cxe-hud{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;margin:0 0 11px;font-size:.87rem;color:var(--ac);font-weight:800}
.cxe .cxe-control{
  appearance:none;
  min-width:44px;
  min-height:44px;
  padding:8px;
  border:1px solid color-mix(in srgb,var(--ac),white 65%);
  border-radius:11px;
  background:#fff;
  color:var(--ac);
  font:inherit;
  font-size:.85rem;
  line-height:1.35;
  font-weight:750;
  cursor:pointer;
  touch-action:manipulation;
  transition:background .15s,transform .15s;
  overflow-wrap:anywhere;
}
.cxe .cxe-control > small{display:block;font-size:.74rem;font-weight:600}
.cxe .cxe-control:active:not(:disabled){transform:scale(.96)}
.cxe .cxe-control:focus-visible,.cxe .cxe-review summary:focus-visible{outline:3px solid var(--ac);outline-offset:2px}
.cxe .cxe-control:disabled{background:#f4f6f9;color:#566074;border-color:#c9d0de;cursor:default}
.cxe .cxe-control[aria-pressed="true"]{background:var(--ac2);border-color:var(--ac);box-shadow:inset 0 0 0 1px var(--ac)}
.cxe .cxe-control[aria-pressed="true"]:disabled{color:var(--ac)}
.cxe .cxe-primary{background:var(--ac);color:#fff;width:100%;min-height:48px;font-size:.96rem}
.cxe .cxe-start{background:var(--acg);border-radius:999px;min-height:54px;box-shadow:0 8px 20px color-mix(in srgb,var(--ac),transparent 75%)}
.cxe .cxe-lock{background:linear-gradient(100deg,#854100,#9a4d05);color:#fff;border-color:transparent}
.cxe .cxe-control.cxe-lock:disabled{background:#f4f6f9;color:#566074;border-color:#c9d0de}
.cxe .cxe-next{background:var(--ink);border-radius:999px;scroll-margin-bottom:96px}
.cxe .cxe-primary:focus-visible{outline-offset:3px}
.cxe .cxe-controls{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:9px 0}
.cxe .cxe-stack{display:grid;gap:6px}
.cxe .cxe-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.cxe .cxe-log,.cxe .cxe-notice,.cxe .cxe-type{
  padding:12px;
  border-radius:12px;
  background:var(--ac2);
  line-height:1.55;
}
.cxe .cxe-notice{margin:12px 0 8px;background:#fff5db;animation:cxe-arrive .24s ease-out}
.cxe .cxe-notice[data-grade="perfect"]{background:#e9f9ef;color:#14532d}
.cxe .cxe-notice[data-grade="miss"]{background:#fff0ef;color:#812a25}
.cxe .cxe-type{margin-top:12px;text-align:center;background:linear-gradient(120deg,#151626,var(--ac));color:#fff;border-radius:20px}
.cxe .cxe-type strong{display:block;margin:4px 0 8px;color:#fff;font-size:1.22rem}
.cxe .cxe-type p{color:var(--ac2)}
.cxe .cxe-review{margin:8px 0;background:#f8f9fc;border:1px solid #dce2ea;border-radius:12px}
.cxe .cxe-review summary{min-height:44px;padding:10px 13px;cursor:pointer;color:var(--ac);font-weight:750;line-height:24px}
.cxe .cxe-review dl{margin:0;padding:0 13px 12px;font-size:.85rem}
.cxe .cxe-review dt{color:var(--ac);font-weight:800;margin-top:8px}
.cxe .cxe-review dd{margin:0;overflow-wrap:anywhere}
.cxe .cxe-copy{line-height:1.65;overflow-wrap:anywhere}
.cxe .cxe-share{width:100%;max-width:100%;height:auto;display:block;border-radius:13px}
@keyframes cxe-arrive{from{opacity:.5;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){
  .cxe .cxe-control,.cxe .cxe-notice{transition:none;animation:none}
}

.cxe .cxe-tests{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;text-align:center}
.cxe .cxe-tests span{display:grid;place-items:center;min-height:52px;padding:4px;border-radius:10px;font-size:.75rem;font-weight:800;background:#edeaf1;color:var(--ac)}
.cxe .cxe-tests span[data-hit="true"]{background:#b7efd9;color:#153e32;animation:cxe-arrive .24s ease-out}
.cxe .cxe-grid .cxe-control{min-height:58px;border-radius:4px 13px 13px 4px;text-align:left;border-left:4px solid var(--ac)}
