/* Wikiclash — Partie (README §5.5). */
.pt-top { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 20px; }
.pt-who { display: flex; align-items: baseline; gap: clamp(8px, 1.4vw, 18px); min-width: 0; white-space: nowrap; overflow: hidden; }
.pt-who .md, .pt-who .op { font-family: var(--serif); font-size: 19px; color: var(--ink); }
.pt-who .vs { font-size: 13px; color: var(--mut); }
.pt-who .vs[hidden], .pt-who .st[hidden] { display: none; }
.pt-who .st { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--link); overflow: hidden; text-overflow: ellipsis; }
.pt-who .st i { width: 7px; height: 7px; flex: none; background: currentColor; animation: ptBlink 1.4s ease-in-out infinite; }
.pt-who .st.done { color: var(--ok); }
.pt-who .st.done i { animation: none; }
@keyframes ptBlink { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.pt-clock { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 140px; }
.pt-clock[hidden] { display: flex; visibility: hidden; }
.pt-clock .t { font-family: var(--serif); font-size: 32px; line-height: 1; color: var(--ink); transition: color 300ms ease; }
.pt-clock .bar { width: 140px; height: 2px; background: var(--bg3); }
.pt-clock .bar i { display: block; height: 100%; background: var(--ink); transition: width 200ms linear, background 300ms ease; }
.pt-clock.hot .t { color: var(--err); }
.pt-clock.hot .bar i { background: var(--err); }
.pt-right { display: flex; align-items: center; justify-content: flex-end; gap: 22px; min-width: 0; }
.pt-sc { font-size: 13px; color: var(--sub); white-space: nowrap; }

.pt-main { position: relative; min-height: 0; padding: clamp(14px, 3vh, 28px) var(--pad-x) clamp(10px, 2vh, 20px); }
.pt-grid { display: grid; grid-template-columns: clamp(200px, 21vw, 290px) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); height: 100%; min-height: 0; }
.pt-side { display: flex; flex-direction: column; gap: clamp(8px, 1.6vh, 14px); min-height: 0; }
.pt-h { margin: 0; font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 4.6vh, 40px); line-height: 1.05; }
.pt-p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--sub); text-wrap: pretty; }
.pt-p.mut, .mut { color: var(--mut); font-size: 12px; }
.pt-score { display: flex; align-items: center; justify-content: center; gap: 18px; border: 1px solid var(--ln); background: var(--bg2); padding: 10px; margin-top: 6px; }
.pt-score div { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.pt-score b { font-family: var(--serif); font-weight: 400; font-size: 36px; line-height: 1; }
.pt-score span { font-size: 12px; color: var(--mut); max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-score i { font-style: normal; color: var(--ln); font-size: 24px; }
.pt-rounds { display: flex; flex-direction: column; border-top: 1px solid var(--bg3); font-size: 12px; color: var(--mut); }
.pt-rounds span { padding: 4px 2px; border-bottom: 1px solid var(--bg3); }
.pt-rounds .cur { color: var(--ink); font-weight: 600; }
.pt-rounds .r-me { color: var(--ok); }
.pt-rounds .r-op { color: var(--err); }

.pt-col { display: flex; flex-direction: column; gap: clamp(8px, 1.6vh, 14px); min-height: 0; min-width: 0; }
.pt-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--ln); padding-bottom: 6px; }
.pt-head > div:first-child { display: flex; align-items: baseline; gap: 14px; min-width: 0; }
.pt-head .t { font-family: var(--serif); font-size: clamp(22px, 3.6vh, 30px); line-height: 1; white-space: nowrap; }
.pt-head .n { font-size: 13px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-head .n.full { color: var(--warn); font-weight: 600; }
.pt-head .bt { display: flex; gap: 8px; flex: none; }
.pt-head .btn { font-size: 13px; padding: 5px 12px; }
.pt-head .btn:disabled { opacity: .5; cursor: default; }
.pt-note { min-height: 18px; text-align: center; }

/* grilles de cartes qui remplissent la zone (deck à imposer, main) */
.pt-deck, .pt-hand { flex: 1; min-height: 0; display: grid; grid-template-columns: repeat(var(--cols, 10), var(--cw, 80px)); gap: 8px; justify-content: center; align-content: start; padding-top: 4px; }
.pt-dk, .pt-hc { position: relative; display: flex; flex-direction: column; gap: 2px; cursor: pointer; transition: opacity 200ms ease, transform 200ms ease; outline: none; }
.pt-dk .wcard, .pt-hc .wcard { width: 100%; }
.pt-dk .lb, .pt-hc .lb { font-family: var(--serif); font-style: italic; font-size: 12px; line-height: 14px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.pt-dk:hover, .pt-hc.ok:hover { transform: translateY(-3px); }
.pt-dk.on .wc-in, .pt-hc.fx .wc-in { outline: 2px solid var(--link); outline-offset: 2px; }
.pt-dk.used { opacity: .4; cursor: default; }
.pt-dk.chosen .wc-in { outline: 2px solid var(--ok); outline-offset: 2px; }
.pt-dk.chosen .lb { color: var(--ok); font-weight: 600; }
.pt-deck.locked .pt-dk:not(.chosen) { opacity: .35; cursor: default; }
.pt-deck.locked .pt-dk:hover { transform: none; }
.pt-hc .px { position: absolute; top: -6px; left: -6px; z-index: 4; background: var(--bg); border: 1px solid var(--link); color: var(--link); font-family: var(--serif); font-weight: 400; font-size: 13px; line-height: 1; padding: 2px 4px; pointer-events: none; }
.pt-hc .px:empty { display: none; }
.pt-hc.ok .lb { color: var(--link); }
.pt-hc.no { opacity: .45; }
.pt-hc.no .lb { font-style: normal; font-family: var(--sans); font-size: 11px; }
.pt-hc.used { opacity: .3; cursor: default; }
.pt-hc.lf .wc-in { outline: 2px solid var(--vis); outline-offset: 2px; }
.pt-hc.dim { opacity: .15; }
.pt-hc { touch-action: none; }
.pt-build.locked .pt-hc { cursor: default; }
/* carte reliée à la cible : cadre et pastille couleur cible */
.pt-hc.rt::before { content: ""; position: absolute; top: -4px; left: -4px; right: -4px; bottom: 12px; z-index: 3; pointer-events: none; border: 2px solid var(--warn); box-shadow: 0 0 12px color-mix(in srgb, var(--warn) 55%, transparent); }
.pt-hc.rt .px { background: var(--warn); border-color: var(--warn); color: var(--on); font-weight: 600; top: -9px; left: -9px; }
.pt-hc .lb.tgt { align-self: center; max-width: 100%; margin-top: 2px; padding: 1px 4px; background: var(--warn); color: var(--on); font-family: var(--sans); font-style: normal; font-weight: 600; font-size: 10px; letter-spacing: 0; line-height: 14px; }
.pt-hc { container-type: inline-size; }
.pt-hc .lb.tgt .sh { display: none; }
@container (max-width: 92px) { .pt-hc .lb.tgt .lg { display: none; } .pt-hc .lb.tgt .sh { display: inline; } }
@media (prefers-reduced-motion: no-preference) {
  .pt-hc.rt::before { animation: pt-rt 2.4s ease-in-out infinite; }
  @keyframes pt-rt { 50% { box-shadow: 0 0 20px color-mix(in srgb, var(--warn) 75%, transparent); } }
}

/* bulle des liens d'une carte */
.pt-lkp { position: fixed; z-index: 60; width: 320px; max-height: min(460px, calc(100vh - 16px)); overflow-y: auto; display: none; flex-direction: column; gap: 8px; padding: 12px; background: var(--bg); border: 1px solid var(--ln); border-top: 3px solid var(--link); box-shadow: var(--shadow-card); }
.pt-lkp.on { display: flex; }
.pt-lkp .hd b { display: block; font-family: var(--serif); font-weight: 400; font-size: 18px; line-height: 1.2; color: var(--ink); }
.pt-lkp .hd span { font-size: 11px; color: var(--mut); }
.pt-lkp .st { display: flex; flex-direction: column; gap: 3px; font-size: 12px; font-weight: 600; }
.pt-lkp .st .t { color: var(--warn); }
.pt-lkp .st .p { color: var(--link); }
.pt-lkp .st .n { color: var(--mut); font-weight: 400; }

/* cible */
.pt-tside { padding-bottom: 8px; }
.pt-target { --rc: var(--warn); display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--ln); border-top: 5px solid var(--rc); background: var(--bg); padding: 12px; box-shadow: var(--shadow-card); }
.pt-target.r0 { --rc: var(--r-anecdotique); } .pt-target.r1 { --rc: var(--r-commune); } .pt-target.r2 { --rc: var(--r-memorable); } .pt-target.r3 { --rc: var(--r-epique); } .pt-target.r4 { --rc: var(--r-mythique); } .pt-target.r5 { --rc: var(--r-legendaire); }
.pt-target .hd { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px; border-bottom: 1px solid var(--ln); padding-bottom: 6px; }
.pt-target .hd > div { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.pt-target .nm { font-family: var(--serif); font-size: clamp(20px, 3.8vh, 30px); line-height: 1.05; overflow-wrap: break-word; hyphens: auto; }
.pt-target .ct { font-size: 12px; color: var(--sub); }
.pt-target .rr { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--rc); font-weight: 600; white-space: nowrap; }
.pt-target .rr i { width: 7px; height: 7px; background: var(--rc); }
.pt-target .im { height: clamp(60px, calc(100vh - 720px), 200px); flex: none; background-size: cover; background-position: 50% 20%; border: 1px solid var(--bg3); }
.pt-target .ds { font-family: var(--serif); font-size: clamp(13px, 2.1vh, 15px); line-height: 1.45; color: var(--ink); text-wrap: pretty; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; }
.pt-target .ds:empty { display: none; }
.pt-target .wk { align-self: flex-start; font-size: 13px; color: var(--link); text-decoration: none; margin-top: -2px; }
.pt-target .wk:hover { text-decoration: underline; }
.pt-target .wk:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.lh { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; white-space: nowrap; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mut); }
.lh span + span { letter-spacing: 0; text-transform: none; font-size: 12px; color: var(--vis); }
.pt-target .lh { border-top: 1px solid var(--bg3); padding-top: 6px; }
.pt-target .lk { display: flex; flex-wrap: wrap; gap: 2px 12px; }
.pt-target .lk button { border: 0; background: none; padding: 0 3px; margin: 0 -3px; font-family: var(--serif); font-size: clamp(14px, 2.3vh, 16px); color: var(--link); cursor: pointer; transition: color 300ms ease, background 160ms ease; }
.pt-target .lk button:hover { text-decoration: underline; text-underline-offset: 3px; }
.pt-target .lk button.v { color: var(--vis); }
.pt-target .lk button.on { outline: 1px solid var(--vis); background: var(--sel); }
.pt-target .lk button:focus-visible { outline: 2px solid var(--link); }
.pt-target .more { font-size: 12px; color: var(--mut); }
.pt-fin { display: flex; flex-direction: column; gap: 6px; }
.pt-fin .lh span + span { color: var(--link); }
.pt-fin p { margin: 0; font-size: 12px; color: var(--sub); line-height: 1.4; text-wrap: pretty; }
.pt-fin .ls { display: flex; flex-direction: column; border-top: 1px solid var(--bg3); }
.pt-fin .fn { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 5px 4px; border: 0; border-bottom: 1px solid var(--bg3); background: none; text-align: left; cursor: pointer; color: var(--ink); transition: background 140ms ease; }
.pt-fin .fn:hover { background: var(--bg2); }
.pt-fin .fn b { font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1; color: var(--link); text-align: center; }
.pt-fin .fn > span { display: flex; flex-direction: column; min-width: 0; }
.pt-fin .fn .t { font-family: var(--serif); font-size: 15px; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-fin .fn .w { font-size: 11px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-fin .fn em { font-style: normal; font-size: 11px; font-weight: 600; white-space: nowrap; }
.pt-fin .fn.go em { color: var(--link); }
.pt-fin .fn.ok { opacity: .6; } .pt-fin .fn.ok em { color: var(--ok); }
.pt-fin .fn.no { opacity: .55; } .pt-fin .fn.no em { color: var(--mut); }
.pt-fin .fn:focus-visible { outline: 2px solid var(--link); outline-offset: -2px; }
/* sous 760 px de haut : la liste des fins passe au-dessus de la cible, l'image disparaît */
@media (max-height: 760px) {
  .pt-fin { order: -1; }
  .pt-tside > .wc-label { order: -2; }
  .pt-target .im { display: none; }
  .pt-target .ds { -webkit-line-clamp: 3; }
}
@media (max-height: 700px) { .pt-fin p { display: none; } .pt-target .ds { -webkit-line-clamp: 2; } }
@media (max-height: 680px) { .pt-target .ds { display: none; } }

/* piste */
.pt-track { --n: 6; display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)) minmax(0, 1.1fr); align-items: start; border: 1px solid var(--bg3); background: var(--bg2); padding: 8px 10px 4px 0; transition: background 160ms ease, border-color 160ms ease; max-height: clamp(100px, 24vh, 200px); }
.pt-track.drop { border: 1px dashed var(--link); background: var(--sel3); }
.pt-track.over { border-style: solid; background: var(--sel); }
.pt-track .sl { position: relative; display: grid; grid-template-columns: clamp(6px, .9vw, 12px) minmax(0, 1fr); grid-template-rows: auto auto; align-items: center; min-width: 0; }
.pt-track .ln { height: 1px; background: var(--ln2); transition: background 300ms ease; }
.pt-track .ln.on { background: var(--link); }
.pt-track .bx { position: relative; min-width: 0; max-height: calc(clamp(100px, 24vh, 200px) - 30px); aspect-ratio: 5 / 7; }
.pt-track .bx .wcard { width: 100%; }
.pt-track .sl:not(.on):not(.tg) .bx { border: 1px dashed var(--ln2); background: var(--bg); }
.pt-track .sl.nx .bx { border-color: var(--link); }
.pt-track .gh { position: absolute; inset: 4px; display: flex; align-items: center; justify-content: center; text-align: center; font-family: var(--serif); font-size: 12px; color: var(--link); opacity: 0; transition: opacity 160ms ease; overflow: hidden; }
.pt-track .gh.on { opacity: 1; }
.pt-track .via { grid-column: 2; font-family: var(--serif); font-style: italic; font-size: 11px; line-height: 16px; color: var(--link); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center; min-height: 16px; }
.pt-track .tg .ln { height: 0; border-top: 2px dashed var(--ln2); background: none; }
.pt-track .tg.ok .ln { border-top: 2px solid var(--ok); }
.pt-track .tg.ko .ln { border-top-color: var(--err); }
.pt-track .tg .bx .wc-in { outline: 2px solid var(--ln2); }
.pt-track .tg.ok .bx .wc-in { outline-color: var(--ok); }
.pt-track .tg .tl, .pt-chain .tg .tl { position: absolute; left: 50%; bottom: -1px; transform: translate(-50%, 50%); z-index: 4; background: var(--warn); color: var(--on); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; padding: 1px 5px; }
.pt-track .tg .via { color: var(--mut); font-family: var(--sans); font-style: normal; font-weight: 600; font-size: 10px; }
.pt-track .tg.ok .via { color: var(--ok); }
.pt-track .tg.ko .via { color: var(--err); }
.pt-track.done { opacity: .85; }

.pt-hh { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; min-height: 20px; }
.pt-hh > div:first-child { display: flex; align-items: baseline; gap: 14px; white-space: nowrap; min-width: 0; font-size: 12px; }
.pt-hh .ok { color: var(--ok); }
.pt-hh .wc-toast { text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.pt-lf { border: 1px solid var(--link); background: var(--sel); color: var(--link); font-size: 12px; padding: 0 6px; cursor: pointer; }
.pt-drag { position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none; box-shadow: 0 20px 40px -18px rgba(var(--shr), .5); }
.pt-drag .wcard { width: 100%; }

/* messages (recherche, deck manquant…) */
.pt-msg { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; }
.pt-msg p { margin: 0; font-size: 15px; color: var(--sub); max-width: 460px; line-height: 1.5; }
.pt-msg .row { display: flex; gap: 10px; }
.pt-msg.wait .wc-h1::after { content: ''; display: inline-block; width: .9em; text-align: left; animation: ptDots 1.4s steps(4) infinite; }
@keyframes ptDots { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75% { content: '...'; } }
.pt-code { font-family: var(--serif); font-size: 26px; letter-spacing: .12em; color: var(--ink); }

/* surcouches : intro, fin de manche, résultat */
.pt-ovl { position: absolute; inset: 0; z-index: 40; display: flex; align-items: center; justify-content: center; background: rgba(var(--ovr), .94); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity 450ms ease; }
.pt-ovl.on { opacity: 1; }
.pt-intro .in { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; padding: 0 24px; }
.pt-intro .k, .pt-res .k { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--mut); }
.pt-intro .cb { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; justify-content: center; }
.pt-intro .cb span { font-family: var(--serif); font-size: 22px; color: var(--mut); }
.pt-intro .cb b { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 8vh, 64px); line-height: 1; }
.pt-intro .rl { width: 240px; height: 1px; background: var(--ln); }
.pt-intro p { margin: 0; font-size: 15px; color: var(--sub); max-width: 460px; line-height: 1.5; text-wrap: pretty; }
.pt-intro .cd { font-family: var(--serif); font-size: clamp(56px, 12vh, 96px); line-height: 1; color: var(--link); margin-top: 8px; min-height: 1em; }
.pt-res .in { width: min(1180px, 94vw); max-height: 94%; display: flex; flex-direction: column; gap: clamp(10px, 2.2vh, 20px); transform: translateY(16px); transition: transform 600ms var(--ease-soft); }
.pt-res.on .in { transform: none; }
.pt-res .k, .pt-res .tt, .pt-res .sb { text-align: center; }
.pt-res .tt { font-family: var(--serif); font-size: clamp(36px, 7vh, 60px); line-height: 1; color: var(--ink); }
.pt-res .tt.big { font-size: clamp(44px, 9vh, 76px); }
.r-me { color: var(--ok) !important; } .r-op { color: var(--err) !important; } .r-draw { color: var(--link) !important; }
.pt-res .sb { font-size: 15px; color: var(--sub); }
.pt-chain { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--bg3); background: var(--bg); padding: 8px 14px; }
.pt-chain.win { border-color: var(--ok); background: var(--okbg); }
.pt-chain .hd { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pt-chain .nm { font-family: var(--serif); font-size: 22px; line-height: 1; }
.pt-chain .sb { font-size: 13px; color: var(--mut); }
.pt-chain .rw { display: flex; align-items: center; overflow-x: auto; scrollbar-width: thin; padding: 4px 2px 10px; }
.pt-chain .cc { position: relative; flex: none; width: clamp(54px, min(7.4vw, 11vh), 104px); opacity: 0; transform: translateY(8px); animation: ptIn 420ms var(--ease-soft) forwards; animation-delay: var(--d); }
.pt-chain .cc .wcard { width: 100%; }
@keyframes ptIn { to { opacity: 1; transform: none; } }
.pt-chain .cn { flex: none; display: flex; flex-direction: column; align-items: center; gap: 3px; width: clamp(34px, 4.4vw, 70px); }
.pt-chain .cn span { font-family: var(--serif); font-style: italic; font-size: 11px; line-height: 1.1; color: var(--link); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pt-chain .cn i { width: 100%; border-top: 2px solid var(--link); }
.pt-chain .cn.ok span { color: var(--ok); } .pt-chain .cn.ok i { border-top-color: var(--ok); }
.pt-chain .cn.ko span { color: var(--err); } .pt-chain .cn.ko i { border-top: 2px dashed var(--err); }
.pt-res .ft { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pt-res .ft .row { display: flex; gap: 8px; }
.pt-res .elo { display: flex; align-items: baseline; gap: 10px; font-size: 13px; color: var(--mut); }
.pt-res .elo b { font-family: var(--serif); font-weight: 400; font-size: 28px; }
.pt-res.reveal .ft { justify-content: center; }
.btn-d.pt-quit { background: var(--err); color: var(--on); }

@media (prefers-reduced-motion: reduce) {
  .pt-chain .cc { animation: none; opacity: 1; transform: none; }
  .pt-who .st i, .pt-msg.wait .wc-h1::after { animation: none; }
}
.lh span:first-child { overflow: hidden; text-overflow: ellipsis; min-width: 0; }

/* ---------- tutoriel : zone éclairée, reste assombri et bloqué, bulle d'explication ---------- */
.co { position: fixed; inset: 0; z-index: 45; pointer-events: none; display: none; }
.co.on { display: block; }
.co-b { position: fixed; pointer-events: auto; background: rgba(var(--shr), .5); transition: left 260ms var(--ease-out), top 260ms var(--ease-out), width 260ms var(--ease-out), height 260ms var(--ease-out); }
.co-ring { position: fixed; pointer-events: none; border: 2px solid var(--link); box-shadow: 0 0 0 4px var(--sel2); transition: left 260ms var(--ease-out), top 260ms var(--ease-out), width 260ms var(--ease-out), height 260ms var(--ease-out); }
.co-ring[hidden] { display: none; }
.co-mark { position: fixed; pointer-events: none; border: 3px solid var(--warn); box-shadow: 0 0 16px color-mix(in srgb, var(--warn) 60%, transparent); }
.co-tip { position: fixed; z-index: 1; pointer-events: auto; width: min(360px, calc(100vw - 32px)); display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; background: var(--bg); border: 1px solid var(--ln); border-top: 4px solid var(--link); box-shadow: var(--shadow-modal); color: var(--ink); }
.co-k { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--mut); }
.co-skip { background: none; border: 0; padding: 0; color: var(--link); font: inherit; font-size: 11px; letter-spacing: 0; text-transform: none; cursor: pointer; }
.co-skip:hover { text-decoration: underline; }
.co-tip h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.2; }
.co-tip p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--sub); }
.co-tip p b { color: var(--ink); font-weight: 600; }
.co-row { display: flex; justify-content: flex-end; margin-top: 4px; }
.co-do { margin-top: 4px; padding: 6px 10px; background: var(--sel3); border-left: 3px solid var(--link); color: var(--link); font-size: 12px; font-weight: 600; }
@media (prefers-reduced-motion: no-preference) {
  .co-ring { animation: co-pulse 1.8s ease-in-out infinite; }
  .co-mark { animation: co-pulse 1.4s ease-in-out infinite; }
  @keyframes co-pulse { 50% { box-shadow: 0 0 0 8px var(--sel3), 0 0 18px color-mix(in srgb, var(--link) 40%, transparent); } }
}
@media (prefers-reduced-motion: reduce) { .co-b, .co-ring { transition: none; } }
