.cml-lounge {color:#183a32;}
.cml-map {
 display:grid; position:relative; isolation:isolate; grid-template-columns:repeat(3,minmax(0,1fr));
 grid-template-rows:auto auto auto; gap:.4rem; padding:.55rem .45rem;
 border:1px solid #b2c8b8; border-radius:1rem;
 background:radial-gradient(ellipse at 50% 48%,#fff8d3 0%,#eaf2d7 49%,#e5f3ea 100%);
}
.cml-links {position:absolute; inset:0; width:100%; height:100%; pointer-events:none; z-index:-1;}
.cml-links path {stroke:#8eb69e; stroke-width:2.4; stroke-dasharray:4 4; vector-effect:non-scaling-stroke;}
.cml-hub {
 grid-area:2/1/3/4; justify-self:center; z-index:1; display:flex; flex-direction:column; align-items:center;
 background:#214c40; color:#fff; border:2px solid #fff9d6; padding:.3rem .8rem; line-height:1.2;
 border-radius:999px; box-shadow:0 2px 6px #24433345; white-space:nowrap;
}
.cml-hub span {font-size:.72rem;}
.cml-hub strong {font-size:1rem;}
.cml-node {display:flex; justify-content:center; min-width:0;}
.cml-node-gambler {grid-area:1/1;}
.cml-node-romance {grid-area:1/2;}
.cml-node-umajo {grid-area:1/3;}
.cml-node-geek {grid-area:3/1;}
.cml-node-rational {grid-area:3/2;}
.cml-node-light {grid-area:3/3;}
.cml-map button.cml-character {
 display:flex; flex-direction:column; align-items:center; gap:.14rem; width:100%; max-width:9rem;
 min-width:0; min-height:44px; padding:.23rem .1rem; border:2px solid transparent; border-radius:.8rem;
 color:#183a32; box-shadow:none; background:transparent; white-space:normal; line-height:1.15;
}
.cml-map button.cml-character:hover, .cml-map button.cml-character.is-selected {
 background:#ffffffcb; border-color:#467d69; color:#14392d;
}
.cml-map button.cml-character:focus-visible {outline:3px solid #2b537c; outline-offset:2px;}
.cml-person {display:block; height:clamp(2.7rem,10vw,4.4rem); width:2.8rem; max-width:100%; overflow:hidden; filter:drop-shadow(0 2px 2px #173e3250);}
.cml-bubble {
 position:relative; margin-bottom:.14rem; background:#fff; padding:.19rem .23rem;
 border:1px solid #8dac9f; border-radius:.6rem; font-size:clamp(.59rem,2.55vw,.79rem); white-space:nowrap;
}
.cml-bubble::after {content:""; position:absolute; width:.3rem; height:.3rem; background:#fff; border:solid #8dac9f; border-width:0 1px 1px 0; bottom:-.225rem; left:calc(50% - .15rem); rotate:45deg;}
.cml-type {font-size:clamp(.67rem,2.75vw,.87rem); text-align:center; overflow-wrap:anywhere;}
.cml-type b {display:block; margin-top:.13rem; font-size:1.05em;}
.cml-note {margin:.38rem .1rem; font-size:.72rem; color:#345246;}
.cml-comment[hidden] {display:none;}
.cml-comment {padding:.48rem .72rem; margin-top:.48rem; background:#fff9e3; border:1px solid #b49c59; border-radius:.75rem; overflow-wrap:anywhere;}
.cml-comment p {margin:.2rem 0;}
.cml-comment-source {font-size:.74rem; color:#5b481b; font-weight:700;}
.cml-quote {font-size:.9rem; line-height:1.45; white-space:pre-line;}

.cml-general {border-top:1px solid #cfbfa0; margin-top:.45rem; padding-top:.3rem;}
