/* Analiza turnieju — stół analizy, porównanie, trening. Kolor nie jest jedynym nośnikiem znaczenia (symbole kolorów i opisy). */
.at-page { max-width: 1280px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.at-bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding: .6rem .8rem; background: #f4f6f8; border: 1px solid #d5dbe1; border-radius: 8px; margin: .5rem 0; position: sticky; top: 0; z-index: 5; }
.at-chip { display: inline-block; padding: .1rem .5rem; border-radius: 999px; background: #e6eaee; font-size: .85rem; }
.at-chip.ok { background: #dff3e4; } .at-chip.bad { background: #fde2e1; }
.at-msg { padding: .5rem .8rem; border-radius: 6px; background: #eef3fb; } .at-msg.error { background: #fde2e1; } .at-msg.warn { background: #fff4d6; } .at-msg.ok { background: #dff3e4; }
.at-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 1rem; align-items: start; }
.at-where { margin: .3rem 0 .6rem; font-weight: 600; }
.at-variant-bar { background: #fff4d6; border: 2px dashed #c99a00; padding: .4rem .7rem; border-radius: 6px; margin-bottom: .5rem; }
/* Stół: klasyczny diagram 3×3 na zielonym tle (pole rozdania · N · licytacja / W · lewa · E / – · S · kontrakt). */
.at-tablebox { max-width: 760px; }
.at-board { display: grid; grid-template-columns: 1fr 1.15fr 1fr; grid-template-rows: auto minmax(7.5rem, auto) auto; gap: .45rem; background: #0f6b34; border-radius: 10px; padding: .55rem; }
.at-hand { background: #f4f4f1; border-radius: 6px; overflow: hidden; min-height: 7rem; box-shadow: 0 1px 2px rgba(0,0,0,.25); }
.at-hhead { display: flex; align-items: center; gap: .35rem; background: #fff; padding: .15rem .3rem .15rem 0; border-bottom: 1px solid #d8d8d2; min-width: 0; }
.at-hhead.turn { background: #ffd84d; }
.at-seatchip { background: #2c5aa0; color: #fff; font-weight: 700; padding: .1rem .45rem; }
.at-hname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.at-role-tag { font-size: .72rem; background: #e7ecf3; color: #2c3e57; border-radius: 3px; padding: 0 .3rem; white-space: nowrap; }
.at-suit { font-size: 1.22rem; line-height: 1.35; padding: 0 .5rem; white-space: nowrap; }
.at-suit > span[aria-hidden] { display: inline-block; width: 1.25em; }
.at-ranks { letter-spacing: .02em; font-weight: 500; }
.at-hidden { color: #666; font-style: italic; padding: .6rem .5rem; }
.at-n { grid-column: 2; grid-row: 1; } .at-w { grid-column: 1; grid-row: 2; } .at-e { grid-column: 3; grid-row: 2; } .at-s { grid-column: 2; grid-row: 3; }
.at-final .at-hand { background: #fbfbf7; }
/* Pole rozdania: numer, boki po partii na czerwono, „R” przy rozdającym. */
.at-bcell { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; color: #e9f5ee; }
.at-bbox { position: relative; width: 4.6rem; height: 4.6rem; display: grid; place-items: center; }
.at-bno { width: 2.8rem; height: 2.8rem; display: grid; place-items: center; background: #b9dde0; color: #111; font-size: 1.6rem; font-weight: 700; border: 1px solid #fff; }
.at-bside { position: absolute; background: #fff; color: #111; font-size: .7rem; font-weight: 700; display: grid; place-items: center; }
.at-bside.vul { background: #d31f1f; color: #fff; }
.at-bside-n, .at-bside-s { left: .9rem; right: .9rem; height: .85rem; } .at-bside-n { top: 0; } .at-bside-s { bottom: 0; }
.at-bside-w, .at-bside-e { top: .9rem; bottom: .9rem; width: .85rem; } .at-bside-w { left: 0; } .at-bside-e { right: 0; }
.at-bmeta { font-size: .78rem; }
/* Licytacja w rogu. */
.at-abox { grid-column: 3; grid-row: 1; background: #cfe6e7; border-radius: 6px; padding: .2rem; align-self: start; max-height: 11rem; overflow: auto; }
.at-auction { width: 100%; border-collapse: collapse; font-size: .98rem; }
.at-auction th { background: #fff; padding: .1rem .2rem; text-align: center; } .at-auction th.vul { background: #d31f1f; color: #fff; }
.at-auction td { text-align: center; padding: .05rem .2rem; height: 1.45rem; }
.at-pass { color: #333; } .at-dbl { color: #b00020; font-weight: 700; } .at-q { color: #2c5aa0; font-weight: 700; }
/* Środek: karty lewy przed graczami. */
.at-center { grid-column: 2; grid-row: 2; display: grid; grid-template-columns: 1fr 1fr 1fr; grid-template-rows: 1fr 1fr 1fr; place-items: center; min-height: 7.5rem; }
.at-tc { background: #fff; border-radius: 5px; padding: .2rem .45rem; font-size: 1.15rem; font-weight: 700; box-shadow: 0 1px 3px rgba(0,0,0,.35); min-width: 2.6rem; text-align: center; }
.at-tc.done { opacity: .72; }
.at-tc-n { grid-column: 2; grid-row: 1; } .at-tc-w { grid-column: 1; grid-row: 2; } .at-tc-e { grid-column: 3; grid-row: 2; } .at-tc-s { grid-column: 2; grid-row: 3; }
.at-tmid { grid-column: 1 / 4; grid-row: 2; color: #e9f5ee; font-size: .9rem; text-align: center; pointer-events: none; }
.at-tc ~ .at-tmid { grid-column: 2; font-size: .75rem; }
.at-cell-bl { grid-column: 1; grid-row: 3; align-self: end; }
.at-hint-light { color: #e9f5ee; font-size: .8rem; }
.at-foot { grid-column: 3; grid-row: 3; align-self: end; background: #cfe6e7; border-radius: 6px; padding: .3rem .5rem; display: grid; gap: .1rem; font-weight: 600; }
.at-fcontract { font-size: 1.1rem; } .at-claimtag { font-size: .8rem; color: #8a3b00; }
/* Kolory: cztery barwy (♠ granat, ♥ czerwień, ♦ pomarańcz, ♣ zieleń); symbol zawsze obecny, kolor nie jest jedynym nośnikiem. */
.s-s { color: #1d2c6b; } .s-h { color: #c4001a; } .s-d { color: #d65f00; } .s-c { color: #0b7a2a; } .s-n { color: #1d2c6b; font-weight: 700; }
.suit-h, .suit-d { color: #b00020; } .suit-s, .suit-c { color: #111; }
.at-card { font-weight: 700; }
.at-history { margin: .5rem 0; } .at-history summary { cursor: pointer; font-weight: 600; }
.at-tricks { margin: .2rem 0 .6rem 1.2rem; } .at-tp { margin-right: .3rem; }
/* Zakładki i tabele wyników. */
.at-tabs { display: flex; flex-wrap: wrap; gap: .25rem; border-bottom: 2px solid #d5dbe1; margin: .4rem 0 .7rem; }
.at-tabs button { border: 0; background: none; padding: .45rem .8rem; font: inherit; cursor: pointer; border-bottom: 3px solid transparent; margin-bottom: -2px; color: #2c3e57; }
.at-tabs button.active { border-bottom-color: #1f6f43; font-weight: 700; color: #111; }
.at-results h2 { margin: .2rem 0 .6rem; font-weight: 500; }
.at-scroll { overflow-x: auto; }
.at-rtable { border-collapse: collapse; width: 100%; background: #fff; }
.at-rtable th { text-align: left; padding: .4rem .5rem; border-bottom: 2px solid #d5dbe1; white-space: nowrap; font-size: .9rem; }
.at-rtable td { padding: .35rem .5rem; border-top: 1px solid #e3e6ea; vertical-align: middle; }
.at-rtable tbody tr:nth-child(even) { background: #f3f4f5; }
.at-rtable tr.current { outline: 2px solid #1f6f43; outline-offset: -2px; }
.at-rtable .num { text-align: right; font-variant-numeric: tabular-nums; } .at-rtable .strong { font-weight: 700; } .nowrap { white-space: nowrap; }
.at-link-btn { border: 0; background: none; padding: 0; font: inherit; color: #2e7d32; text-decoration: underline; cursor: pointer; text-align: left; }
.at-names { display: grid; }
.at-play-btn { border: 0; background: #2e7d32; color: #fff; border-radius: 4px; width: 1.7rem; height: 1.5rem; cursor: pointer; font-size: .8rem; }
.at-play-btn:hover { background: #1b5e20; }
.at-controls, .at-follow { display: flex; flex-wrap: wrap; gap: .3rem; align-items: center; margin: .6rem 0; }
.at-controls input[type=range] { flex: 1 1 10rem; }
.at-compare { border-top: 2px solid #d5dbe1; margin-top: 1rem; padding-top: .5rem; }
.at-side details { border: 1px solid #d5dbe1; border-radius: 8px; padding: .4rem .6rem; margin-bottom: .6rem; background: #fff; }
.at-side summary { font-weight: 700; cursor: pointer; }
.at-items { padding-left: 1.2rem; } .at-items li.current > strong { text-decoration: underline; }
.at-form { display: grid; gap: .35rem; margin-top: .5rem; } .at-form label { display: grid; gap: .15rem; }
.at-comment { border-left: 3px solid #9fb3c8; padding: .2rem .5rem; margin: .4rem 0; } .at-comment .at-comment { margin-left: .8rem; }
.at-comment.hidden-c { opacity: .65; border-left-color: #c00; }
.at-cmeta { font-size: .8rem; color: #555; } .at-cbody { white-space: pre-wrap; margin: .2rem 0; overflow-wrap: anywhere; }
.at-cact, .at-moves { display: flex; flex-wrap: wrap; gap: .25rem; }
.button.small { padding: .1rem .45rem; font-size: .85rem; }
.at-variant { border-bottom: 1px solid #eee; padding: .3rem 0; }
.at-editor { background: #fffbea; padding: .4rem; border-radius: 6px; margin-top: .4rem; }
.at-link input { width: 100%; }
.at-quiz label { display: flex; gap: .3rem; align-items: center; } .at-quiz input[type=text], .at-quiz input:not([type]) { flex: 1; }
.at-report td, .at-report th { padding: .2rem .4rem; border-bottom: 1px solid #eee; vertical-align: top; }
.at-issue-odrzucony { color: #b00020; } .at-issue-fragment { color: #8a5a00; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #2b6cb0; outline-offset: 2px; }
@media (max-width: 860px) {
  .at-layout { grid-template-columns: 1fr; }
  .at-board { grid-template-columns: 1fr 1fr 1fr; gap: .3rem; padding: .35rem; }
  .at-suit { font-size: 1rem; padding: 0 .3rem; } .at-hname { font-size: .85rem; } .at-role-tag { display: none; }
  .at-bbox { width: 3.6rem; height: 3.6rem; } .at-bno { width: 2.1rem; height: 2.1rem; font-size: 1.2rem; } .at-bmeta { display: none; }
  .at-controls { position: sticky; bottom: 0; background: #fff; padding: .3rem 0; }
}
/* Atrybut hidden ma pierwszeństwo przed display:flex/grid klas modułu. */
[hidden] { display: none !important; }
.at-start { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; padding: .5rem .7rem; margin: .4rem 0; background: #fff6d6; border: 1px solid #e3c766; border-radius: 8px; }
@media (max-width: 520px) {
  .at-board { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto auto; }
  .at-bcell { grid-column: 1; grid-row: 1; } .at-abox { grid-column: 2; grid-row: 1; }
  .at-n { grid-column: 1 / 3; grid-row: 2; } .at-w { grid-column: 1; grid-row: 3; } .at-e { grid-column: 2; grid-row: 3; }
  .at-center { grid-column: 1 / 3; grid-row: 4; min-height: 6rem; } .at-s { grid-column: 1 / 3; grid-row: 5; }
  .at-cell-bl { display: none; } .at-foot { grid-column: 1 / 3; grid-row: 6; }
}
/* Panel boczny: nazwa + jednozdaniowy opis widoczny bez rozwijania; dymki ⓘ otwierane kliknięciem. */
.at-side summary { display: grid; grid-template-columns: auto 1fr; column-gap: .35rem; align-items: baseline; }
.at-side summary::before { content: '▸'; grid-row: 1 / 3; color: #555; }
.at-side details[open] > summary::before { content: '▾'; }
.at-side summary::-webkit-details-marker { display: none; } .at-side summary { list-style: none; }
.at-stitle { font-weight: 700; } .at-sdesc { grid-column: 2; font-weight: 400; font-size: .82rem; color: #555; }
.at-form label.at-check { display: flex; gap: .45rem; align-items: center; flex-wrap: wrap; }
.at-check input { margin: 0; }
.at-info { border: 0; background: #e3ecf7; color: #2c5aa0; border-radius: 50%; width: 1.25rem; height: 1.25rem; line-height: 1.25rem; padding: 0; font-size: .8rem; cursor: pointer; vertical-align: middle; }
.at-info[aria-expanded="true"] { background: #2c5aa0; color: #fff; }
.at-pop { display: block; flex-basis: 100%; background: #fffbe6; border: 1px solid #e3c766; border-radius: 6px; padding: .4rem .55rem; font-size: .85rem; font-weight: 400; color: #333; margin: .2rem 0; }
.at-help ul { margin: .4rem 0 .2rem 1rem; padding: 0; font-size: .88rem; } .at-help li { margin-bottom: .3rem; }
/* DD: przyciski pod stołem, wartości przy kartach, tabela. */
.at-ddbar { display: flex; flex-wrap: wrap; gap: .35rem; align-items: center; margin: .45rem 0 0; }
.at-ddbar .at-pop { max-width: 40rem; }
#at-dd.on { background: #1f6f43; color: #fff; }
.at-r { position: relative; }
.at-ddv { font-size: .62rem; font-weight: 700; padding: 0 .18rem; border-radius: 3px; margin-left: .05rem; vertical-align: super; }
.at-ddv.best { background: #c8ecd2; color: #0b5d26; } .at-ddv.worse { background: #f8d3d3; color: #9b1010; }
.at-ddtable { margin: .5rem 0; }
.at-ddtbl { border-collapse: collapse; background: #fff; }
.at-ddtbl caption { text-align: left; font-size: .85rem; color: #555; padding-bottom: .2rem; }
.at-ddtbl th, .at-ddtbl td { border: 1px solid #d5dbe1; padding: .2rem .55rem; text-align: center; }
.at-ddtbl td.make { font-weight: 700; background: #eef7f0; }
.at-form label.at-check { display: flex; } .at-check input[type=checkbox] { width: auto; flex: 0 0 auto; margin: 0; } .at-check > span:not(.at-pop) { flex: 1; } .at-check > .at-pop { flex: 0 0 100%; }
.at-form label > .at-info { justify-self: start; }
/* Wiersz pod stołem: przebieg lew z lewej, DD z prawej — jednakowe „pigułki” na wysokość przycisków. */
.at-underbar { max-width: 760px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: .4rem; margin: .45rem 0 0; }
.at-histslot { flex: 1 1 14rem; min-width: 0; }
.at-underbar .at-ddbar { margin: 0; justify-content: flex-end; }
.at-history { margin: 0; }
.at-history > summary, .at-ddbar .button { display: inline-flex; align-items: center; gap: .35rem; height: 2.3rem; padding: 0 .85rem; border: 1px solid #c9d2cc; border-radius: 8px; background: #fff; font: inherit; font-size: .92rem; font-weight: 600; color: #1f3a2b; cursor: pointer; box-shadow: none; }
.at-history > summary { list-style: none; } .at-history > summary::-webkit-details-marker { display: none; }
.at-history > summary::before { content: '▸'; color: #1f6f43; } .at-history[open] > summary::before { content: '▾'; }
.at-history[open] > summary { border-color: #1f6f43; }
.at-ddbar .button:hover, .at-history > summary:hover { background: #eef6f0; }
#at-dd.on { background: #1f6f43; border-color: #1f6f43; color: #fff; }
.at-history .at-tricks { margin-top: .4rem; }
.at-tabchips { margin-left: auto; display: flex; gap: .3rem; align-items: center; padding-bottom: .2rem; }
/* Linia nad stołem: rozdanie, zapis i wynik z lewej; poprzednie/następne rozdanie z prawej (styl jak przyciski pod stołem). */
.at-where { max-width: 760px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .4rem; margin: .2rem 0 .5rem; font-weight: 600; }
.at-boardline { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; font-size: 1.02rem; }
.at-boardnav { display: flex; gap: .35rem; }
.at-boardnav .button { display: inline-flex; align-items: center; height: 2.3rem; padding: 0 .85rem; border: 1px solid #c9d2cc; border-radius: 8px; background: #fff; font: inherit; font-size: .92rem; font-weight: 600; color: #1f3a2b; cursor: pointer; box-shadow: none; }
.at-boardnav .button:hover:not(:disabled) { background: #eef6f0; }
.at-boardnav .button:disabled { opacity: .45; cursor: default; }
.at-boardleft { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.at-followchip { background: #fff4d6; border: 1px solid #e3c766; font-weight: 600; display: inline-flex; align-items: center; gap: .3rem; }
.at-chipx { border: 0; background: none; cursor: pointer; font-size: .9rem; padding: 0 .1rem; color: #8a5a00; }
.at-followsel select { height: 2.3rem; border: 1px solid #c9d2cc; border-radius: 8px; background: #fff; font: inherit; font-size: .9rem; font-weight: 600; color: #1f3a2b; padding: 0 .5rem; max-width: 15rem; }
.at-followsel select:has(option:checked:not([value=""])) { border-color: #e3c766; background: #fff4d6; }
/* Funkcje nieaktywne: widoczne, wyszarzone (szare, z ukośnym kreskowaniem), z powodem w podpowiedzi. */
.at-off, .at-tabs button.at-off { opacity: .5; cursor: not-allowed; filter: grayscale(1); background-image: repeating-linear-gradient(135deg, transparent 0 6px, rgba(0,0,0,.05) 6px 8px); }
.at-tabs button.at-off { color: #777; border-bottom-color: transparent; }
.at-ddbar .button:disabled { cursor: not-allowed; }
.at-followsel.at-off select { cursor: not-allowed; }
.at-offtxt { color: #8a8f8b; font-weight: 500; cursor: help; border-bottom: 1px dotted #a5aaa6; }
/* Etykieta z dymkiem ⓘ: napis i ⓘ w jednej linii, pole pod spodem. */
.at-form label:has(> .at-info):not(.at-check) { display: block; }
.at-form label:has(> .at-info):not(.at-check) > select, .at-form label:has(> .at-info):not(.at-check) > input, .at-form label:has(> .at-info):not(.at-check) > textarea { display: block; width: 100%; margin-top: .2rem; }
.at-form label > .at-info { margin-left: .3rem; }
/* Pudełko licytacyjne pod stołem. */
.at-bidbtn { display: block; margin: .3rem auto 0; border: 1px dashed #2c5aa0; background: #fff; color: #2c5aa0; border-radius: 6px; font: inherit; font-size: .85rem; font-weight: 600; padding: .15rem .55rem; cursor: pointer; }
.at-bidbtn:hover { background: #eef3fb; }
.at-bidbox { max-width: 760px; margin: .5rem 0; background: #fff; border: 2px solid #2c5aa0; border-radius: 10px; padding: .55rem .7rem; }
.at-bidhead { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.at-bidhead .at-chipx { margin-left: auto; font-size: 1.1rem; }
.at-bidname input { width: auto; display: inline-block; padding: .15rem .35rem; }
.at-bidvers { display: flex; gap: .5rem; font-size: .85rem; }
.at-bidturn { margin: .4rem 0; }
.at-bidgrid { display: grid; grid-template-columns: repeat(5, minmax(2.6rem, 1fr)); gap: .25rem; max-width: 22rem; }
.at-bidrow { display: flex; flex-wrap: wrap; gap: .3rem; margin-top: .35rem; }
.at-bidc { border: 1px solid #c9d2cc; background: #fff; border-radius: 5px; font: inherit; font-size: 1rem; font-weight: 700; padding: .25rem 0; min-width: 2.6rem; cursor: pointer; }
.at-bidc:hover:not(:disabled) { background: #eef6f0; border-color: #1f6f43; }
.at-bidc:disabled { opacity: .3; cursor: not-allowed; }
.at-bidpass { min-width: 5rem; background: #e9f5ec; } .at-biddbl { min-width: 4rem; color: #b00020; }
.at-bidact { border-top: 1px solid #e3e6ea; padding-top: .4rem; margin-top: .5rem; }
.at-del { color: #9b1010; }
/* ⓘ zawsze jako małe kółko tuż za napisem (niezależnie od ogólnego stylu przycisków strony). */
button.at-info { flex: 0 0 auto; width: 1.25rem; height: 1.25rem; min-width: 0; min-height: 0; padding: 0; margin: 0 0 0 .3rem; border-radius: 50%; line-height: 1.25rem; font-size: .8rem; box-shadow: none; }
.at-check > span:not(.at-pop) { flex: 0 1 auto; }
.at-check > span:not(.at-pop) { max-width: calc(100% - 3.4rem); }
/* Znaczki DD przy kartach: linia koloru może się zawinąć, żeby żadna karta nie wystawała poza rękę. */
.at-hand .at-suit { display: flex; align-items: baseline; white-space: normal; }
.at-hand .at-suit > .at-ranks { flex: 1; min-width: 0; }
/* Wejście do analizy (zaloguj / bez logowania) i pasek gościa. */
.at-entry { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1rem; margin: 1rem 0; }
.at-entry-opt { border: 1px solid #d5dbe1; border-radius: 10px; padding: .8rem 1rem; background: #fff; }
.at-entry-opt h2 { margin-top: 0; }
.at-guestbar { display: block; background: #fff8e1; border: 1px solid #e3c766; border-radius: 8px; padding: .6rem .8rem; margin: .5rem 0 1rem; }
.at-guestlink { width: 100%; font-family: ui-monospace, Consolas, monospace; font-size: .85rem; }
.at-guestbar p { margin: .2rem 0; }
.at-rose { grid-column: 1 / 4; grid-row: 1 / 4; width: 100%; max-width: 7.5rem; justify-self: center; align-self: center; }
/* Pływający pasek akcji formularzy analizy (jak .sticky-actions w e4.css — ta strona nie ładuje e4.css). */
.sticky-actions.at-sticky { position: sticky; bottom: 0; z-index: 3; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; margin: 1rem 0 0; padding: .6rem .5rem; background: #fffdf3; border-top: 2px solid #b9b27a; box-shadow: 0 -6px 14px rgba(0,0,0,.08); }
.at-sticky .sticky-count { font-weight: 700; margin-right: .3rem; }
.at-sticky-field { display: flex !important; align-items: center; gap: .35rem; flex: 1 1 14rem; }
.at-sticky-field input { flex: 1; min-width: 8rem; }
/* Etap C2: kółka L / R / W przy bieżącym rozdaniu stołu analizy (ten sam stan co w Turniejach PBN). */
.at-marks { display: inline-flex; align-items: center; gap: .3rem; }
.at-marks[hidden] { display: none; }
.at-mark {
  --at-mark: #637D96;
  --at-mark-ink: #4F6680;
  --at-mark-on: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  padding: 0;
  border: 2px solid var(--at-mark);
  border-radius: 50%;
  background: #fff;
  color: var(--at-mark-ink);
  font: inherit;
  font-size: .9rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.at-mark:hover, .at-mark:focus-visible { outline: 2px solid var(--at-mark-ink); outline-offset: 2px; }
.at-mark.is-on { background: var(--at-mark); color: var(--at-mark-on); }
.at-mark-L { --at-mark: #637D96; --at-mark-ink: #4F6680; --at-mark-on: #fff; }
.at-mark-R { --at-mark: #d8bc84; --at-mark-ink: #6b5222; --at-mark-on: #3c2f12; }
.at-mark-W { --at-mark: #a8c3a0; --at-mark-ink: #3d5c43; --at-mark-on: #24361f; }
