.cw-section { --cw-purple:#6036ae; --cw-rule:#ded9e7; --cw-surface:#f7f4fa; }
.cw-section [hidden] { display:none!important; }
.cw-section .cw-heading { margin-bottom:clamp(20px,3vw,38px); }
.cw-heading h2 { max-width:17ch; }
.cw-section .cw-instruction { margin:14px 0 0; font-size:17px; line-height:1.5; color:#5b5463; }
.cw-list { list-style:none; padding:0; margin:0; max-width:990px; }
.cw-list > li { display:grid; grid-template-columns:48px minmax(0,1fr); gap:clamp(16px,3vw,42px); padding:clamp(21px,2.5vw,38px) 0; border-top:1px solid var(--cw-rule); }
.cw-index,.cw-progress { font-size:15px; font-weight:600; letter-spacing:.03em; color:var(--cw-purple); }
.cw-section .cw-list h3,.cw-section .cw-panel h3 { margin:0 0 13px; font-size:clamp(24px,2.5vw,37px); font-weight:600; line-height:1.12; letter-spacing:-.035em; }
.cw-list .cd-prose,.cw-panel .cd-prose { max-width:74ch; }
.cw-list .cd-prose > :last-child,.cw-panel .cd-prose > :last-child { margin-bottom:0; }
.cw-explorer { min-width:0; }
.cw-map { isolation:isolate; position:relative; overflow:hidden; border-radius:22px; padding:26px clamp(10px,2vw,32px) 20px; color:#faf7ff; background-color:#201a34;
 background-image:radial-gradient(ellipse at 90% 0%,#814d684f,transparent 55%),radial-gradient(ellipse at 8% 100%,#6042938c,transparent 55%),repeating-linear-gradient(20deg,transparent 0 42px,#eee7ff09 43px 44px,transparent 45px 83px),repeating-linear-gradient(110deg,transparent 0 80px,#eee7ff09 81px 83px); }
.cw-stations { display:grid; grid-template-columns:repeat(var(--cw-count), minmax(0,1fr)); align-items:start; position:relative; }
.cw-station { display:flex; flex-direction:column; align-items:center; gap:9px; min-width:0; margin-top:var(--cw-lift); padding:5px 5px 10px; border:0; border-radius:10px; background:none; color:#e8e3f2; cursor:pointer; font:600 clamp(14px,1.2vw,18px)/1.25 Avenir,Arial,sans-serif; text-align:center; }
.cw-station > span:last-child { max-width:17ch; text-wrap:balance; }
.cw-dot { display:grid; place-items:center; width:42px; height:42px; border-radius:50%; border:2px solid #bbabcf; color:#ede8f5; background:#2e243e; font-size:14px; letter-spacing:.03em; font-variant-numeric:tabular-nums; }
.cw-station:hover .cw-dot { border-color:white; }
.cw-station[aria-selected="true"] { color:white; }
.cw-station[aria-selected="true"] .cw-dot { color:#291d36; background:#f8d4eb; border-color:#ffe6f6; box-shadow:0 0 0 5px #d79dc32d; }
.cw-station:focus-visible { outline:2px solid #f9d4e9; outline-offset:1px; }
.cw-route { pointer-events:none; position:absolute; inset:0; z-index:-1; width:100%; height:100%; fill:none; stroke-linejoin:round; stroke-linecap:round; }
.cw-stroke-back { stroke:#c298ef20; stroke-width:9; }
.cw-stroke { stroke:#c3a9dc; stroke-width:2; }
.cw-panel { min-width:0; padding:clamp(22px,3vw,42px); margin-top:12px; background:var(--cw-surface); border:1px solid var(--cw-rule); border-radius:20px; color:#292334; }
.cw-panel:focus-visible { outline:3px solid var(--cw-purple); outline-offset:3px; }
.cw-panel .cw-progress { display:block; margin-bottom:9px; font-size:14px; }
.cw-panel-intro > div > p { max-width:70ch; font-size:clamp(17px,1.5vw,21px); line-height:1.5; margin:0; }
.cw-with-preview { display:grid; grid-template-columns:minmax(0,1.55fr) minmax(0,1fr); gap:clamp(18px,3vw,40px); }
.cw-preview { margin:0; }
.cw-preview img { width:100%; height:auto; max-height:260px; object-fit:contain; background:white; border-radius:10px; display:block; }
.cw-preview figcaption { font-size:14px; line-height:1.4; margin-top:6px; color:#5b5165; }
.cw-fragment { margin:18px 0 0; min-width:0; }
.cw-fragment h4 { margin:0 0 8px; font-size:clamp(19px,1.7vw,25px); line-height:1.23; }
.cw-panel .cd-media,.cw-list .cd-media { margin-top:16px; max-width:850px; }
.cw-details { margin-top:20px; border-top:1px solid #d6ccde; }
.cw-details summary { width:fit-content; max-width:100%; padding:14px 0 2px; cursor:pointer; color:#593293; font-size:17px; font-weight:600; }
.cw-subdetail { border-top:1px solid var(--cw-rule); padding-bottom:6px; }
.cw-subdetail summary { color:#312637; font-size:18px; margin-bottom:8px; }
@media(max-width:720px) {
 .cw-map { padding:12px 9px; border-radius:16px; }
 .cw-stations { grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px 12px; align-items:start; }
 .cw-station { grid-column:var(--cw-col); grid-row:var(--cw-row); margin:0; width:100%; min-height:68px; font-size:14px; gap:4px; padding:6px 2px; }
 .cw-station > span:last-child { background:#2d243c; border-radius:4px; padding:1px 4px; }
 .cw-dot { width:34px; height:34px; font-size:12px; }
 .cw-with-preview { grid-template-columns:minmax(0,1fr); }
 .cw-list > li { grid-template-columns:26px minmax(0,1fr); gap:9px; }
 .cw-list .cd-media,.cw-list .cd-media-bundle { margin-left:-35px; }
 .cw-panel { padding:18px 16px; border-radius:15px; }
}
@media print {
 .cw-map,.cw-instruction { display:none!important; }
 .cw-section .cw-panel[hidden] { display:block!important; }
 .cw-panel { break-inside:auto; }
 .cw-panel details::details-content { display:contents; }
}
