.co-ln{--ink:#302341;--muted:#5f526d;--accent:#56367a;--paper:#fcf9fe;--gold:#cfa85f;color:var(--ink);max-width:860px;margin:2rem auto;text-align:center;line-height:1.8;font-family:system-ui,sans-serif}
.co-ln *,.co-ln *::before,.co-ln *::after{box-sizing:border-box}
.co-ln [hidden]{display:none!important}
.co-ln__inner{border-radius:24px;border:1px solid #e0d3eb;overflow:hidden;background:radial-gradient(ellipse at 50% 0%,#ebe0fb 0,transparent 51%),var(--paper);padding:clamp(1.1rem,4vw,3rem)}
.co-ln .co-ln__top h2,.co-ln .co-ln__reading h3{font-family:"Yu Mincho","Hiragino Mincho ProN","Noto Serif CJK JP",serif;line-height:1.45;color:var(--ink);border:0;background:none;padding:0;margin:.35em 0;letter-spacing:.04em}
.co-ln .co-ln__top h2{font-size:clamp(1.45rem,4.5vw,2.35rem)}
.co-ln .co-ln__top h2::before,.co-ln .co-ln__top h2::after,.co-ln .co-ln__reading h3::before,.co-ln .co-ln__reading h3::after{content:none}
.co-ln .co-ln__top p{margin:.25rem 0;font-size:clamp(1.02rem,3.8vw,1.17rem)}
.co-ln .co-ln__eyebrow,.co-ln .co-ln__top .co-ln__eyebrow{font-size:clamp(.98rem,3.65vw,1.12rem);font-weight:700;letter-spacing:.13em;color:var(--accent)}
.co-ln .co-ln__topics{border:0;padding:0;margin:1.25rem auto .85rem;min-inline-size:0;max-width:380px}
.co-ln .co-ln__topic-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,4vw,18px)}
.co-ln .co-ln__topic-grid > button{width:100%;min-height:48px;padding:.55rem .2rem;white-space:nowrap;font-size:clamp(1rem,3.8vw,1.08rem)}
.co-ln .co-ln__topics legend{font-size:1rem;margin:auto auto .5rem;font-weight:650;color:var(--muted)}
.co-ln button{font:inherit;cursor:pointer;box-shadow:none;line-height:1.3;min-height:44px;border:1px solid #baa6ce;border-radius:999px;padding:.55rem 1rem;text-transform:none;min-width:0;background:#fff;color:var(--accent)}
.co-ln button:hover{background:#ede4f7}
.co-ln button:focus-visible,.co-ln h3:focus-visible{outline:3px solid #7846a0;outline-offset:4px}
.co-ln button[aria-pressed=true],.co-ln .co-ln__primary{background:var(--accent);color:#fff;border-color:var(--accent)}
.co-ln button[aria-pressed=true]{box-shadow:inset 0 0 0 1px #fff;font-weight:700}
.co-ln .co-ln__primary{padding:.7rem 1.7rem;font-weight:700}
.co-ln .co-ln__primary:hover{background:#42285e}
.co-ln .co-ln__primary:disabled{background:#eee7f3;border-color:#e0d3eb;color:#62546e;cursor:default}
.co-ln__face,.co-ln__back{display:flex;flex-direction:column;justify-content:space-between;align-items:center;aspect-ratio:2/3;border-radius:10px;border:1px solid var(--gold);outline:1px solid #e4c88c;outline-offset:-7px;background:radial-gradient(ellipse at 50% 42%,#6e528b,#312343 65%);color:#fae3aa}
.co-ln__back{width:86px;margin:0 auto .8rem;justify-content:center;box-shadow:0 7px 16px #35294626}
.co-ln .co-ln__back{width:102px}
.co-ln__result{display:grid;grid-template-columns:clamp(105px,21vw,154px) minmax(0,1fr);gap:clamp(.85rem,3vw,1.6rem);align-items:start;padding:clamp(.75rem,3vw,1.45rem);background:#fff;border:1px solid #e3d8ec;border-radius:17px;text-align:left;margin:1.1rem auto 0;max-width:630px;scroll-margin-top:5rem}
.co-ln__face{width:100%;justify-content:center}
.co-ln__face span{position:absolute;top:7px;left:7px;z-index:1;background:#f8edd5;color:#543b27;border:1px solid #b18d6e;padding:2px 5px;border-radius:5px;line-height:1.35;font-size:.76rem;font-weight:700}
.co-ln__face svg{width:65%;max-height:47%;fill:none;stroke:currentColor;stroke-width:1.75;stroke-linecap:round;stroke-linejoin:round}
.co-ln .co-ln__reading h3{font-size:clamp(1.1rem,3.6vw,1.7rem);margin:.15em 0}
.co-ln__reading p{margin:.2rem 0 .65rem;overflow-wrap:anywhere}
.co-ln__reading .co-ln__keywords{font-size:clamp(1rem,3.8vw,1.1rem);color:var(--accent);font-weight:650}
.co-ln .co-ln__note{font-size:.75rem;color:var(--muted);margin:1.1rem auto 0;max-width:40rem}

.co-ln .co-ln__face,.co-ln .co-ln__back{position:relative;overflow:hidden;outline:none;border-color:#a88060}
.co-ln .co-ln__face img,.co-ln .co-ln__back img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;margin:0;border:0;border-radius:0;box-shadow:none}
@media(max-width:500px){
  .co-ln .co-ln__result{grid-template-columns:minmax(0,1fr)}
  .co-ln .co-ln__face{width:138px;max-width:66%;margin-inline:auto}
}
