.mag-head { margin: 8px 0 14px; }
.mag-head h1 { margin: 0 0 6px; font-size: clamp(24px, 3vw, 32px); font-weight: 900; }
.mag-head p { margin: 0; max-width: 70ch; }
.mag-chips { margin-bottom: 18px; }
.mag-chips .chip small { color: var(--mt); font-weight: 400; margin-inline-start: 4px; }
.mag-chips .chip.is-on { border-color: var(--brand); color: var(--acc); background: var(--acc-bg, color-mix(in srgb, var(--brand) 10%, transparent)); }
.mag-featured { margin-bottom: 20px; }
.mag-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.mag-byline .mag-ser { margin-inline-start: 4px; color: inherit; border-color: currentColor; }
.mag-byline .mag-ser:hover { color: inherit; border-color: currentColor; text-decoration: underline; }
.mag-card-wide { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.mag-card-wide .mag-card-pic { aspect-ratio: auto; min-height: 100%; }
.mag-card-wide .mag-card-body { padding: 22px 24px; justify-content: center; }
.mag-card-wide .mag-card-t { font-size: clamp(19px, 2.2vw, 24px); }
.mag-pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 24px; }
.mag-empty { display: flex; align-items: center; gap: 8px; padding: 20px; border-radius: var(--r-l); background: var(--s1); border: 1px dashed var(--bd); color: var(--tx2); }
.mag-byline { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0; font-size: 13.5px; color: #c8d0de; }
.mag-byline > * { display: inline-flex; align-items: center; gap: 6px; }
.mag-byline small { color: #9aa4b8; }
.mag-preview { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 10px 14px; border-radius: var(--r-s); background: var(--s2); border: 1px dashed var(--brand); font-weight: 700; }
.mag-cover { margin: 0 0 18px; border-radius: var(--r-l); overflow: hidden; background: var(--s2); aspect-ratio: 1200 / 630; }
.mag-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mag-tldr { margin: 0 0 22px; padding: 16px 18px; border-radius: var(--r-l); background: var(--s1); border: 1px solid var(--bd); border-inline-start: 4px solid var(--brand); }
.mag-tldr strong { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--acc); }
.mag-tldr p { margin: 6px 0 0; font-size: 16px; line-height: 2; }
.mag-incard { max-width: 240px; margin: 18px 0; }
.mag-games { margin-top: 28px; }
.mag-games h2, .mag-next-k { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 18px; font-weight: 800; }
.mag-games .k-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mag-next { margin-top: 32px; }
.doc-main .prose table { display: block; overflow-x: auto; max-width: 100%; }
@media (max-width: 1000px) {
.mag-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mag-games .k-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
.mag-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
.mag-card-wide { grid-template-columns: minmax(0, 1fr); }
.mag-card-wide .mag-card-pic { aspect-ratio: 1200 / 630; }
.mag-card-wide .mag-card-body { padding: 14px 16px 16px; }
.mag-games .k-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mag-incard { max-width: none; width: calc(50% - 6px); }
}
.doc-main .prose a:not([class]) { color: var(--acc); text-decoration: underline; text-underline-offset: 3px; }
.doc-main .prose .mag-incard .kc-title a { color: var(--tx); text-decoration: none; }
.mag-pick { margin: 22px 0; padding: 16px 18px; border-radius: var(--r-l); background: var(--acc-bg); border: 1px solid var(--acc-bd, var(--bd)); }
.mag-pick-k { display: block; margin-bottom: 12px; font-size: 16px; font-weight: 800; color: var(--acc); }
.mag-pick-in { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px; align-items: center; }
.mag-pick-in .mag-incard { margin: 0; max-width: none; width: auto; }
.mag-pick-in p { margin: 0; font-size: 15.5px; line-height: 2; color: var(--tx); }
.mag-tried { display: flex; gap: 8px; align-items: flex-start; margin: 18px 0 0; padding: 12px 14px; border-radius: var(--r-s); background: var(--s1); border: 1px solid var(--bd); font-size: 14.5px; line-height: 1.9; }
.mag-tried svg { flex: none; margin-top: 5px; color: var(--brand); }
.mag-tried a { color: var(--acc); text-decoration: underline; text-underline-offset: 3px; }
.mag-end { height: 1px; }
@media (max-width: 760px) {
.mag-pick-in { grid-template-columns: minmax(0, 1fr); }
.mag-pick-in .mag-incard { width: calc(50% - 6px); }
}
.mag-videos { margin: 0 0 22px; }
.mag-videos .vid-grid { grid-template-columns: minmax(0, 1fr); }
.mag-vsum { margin: 8px 0 4px; padding: 10px 12px; border-radius: var(--r-s); background: var(--s2); }
.mag-vsum summary { cursor: pointer; font-weight: 800; font-size: 13.5px; color: var(--acc); }
.mag-vsum p { margin: 6px 0 0; font-size: 14px; line-height: 1.9; color: var(--tx2); }
.mag-poll { margin: 26px 0 0; padding: 16px 18px; border-radius: var(--r-l); background: var(--s1); border: 1px solid var(--bd); }
.mag-poll h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 17px; font-weight: 800; }
.mag-poll-opts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.mag-poll-res { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 10px; }
.mag-poll-res li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) 48px; gap: 10px; align-items: center; font-size: 14px; }
.mag-poll-res li.is-mine .mag-poll-o { font-weight: 800; color: var(--acc); }
.mag-poll-res b { text-align: left; }
.mag-poll-bar { width: 100%; height: 10px; border: 0; border-radius: 99px; overflow: hidden; background: var(--s2); appearance: none; }
.mag-poll-bar::-webkit-progress-bar { background: var(--s2); border-radius: 99px; }
.mag-poll-bar::-webkit-progress-value { background: var(--brand); border-radius: 99px; }
.mag-poll-bar::-moz-progress-bar { background: var(--brand); border-radius: 99px; }
.mag-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 22px 0 0; }
.mag-share > span { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--tx2); margin-inline-end: 4px; }
.mag-nl { margin-top: 24px; }
.mag-row { margin: 0 0 26px; }
.mag-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.mag-grid-4 .mag-card-x { -webkit-line-clamp: 2; }
.mag-all { margin-top: 6px; }
.mag-all[aria-busy] { opacity: .6; }
.mag-cons { margin-bottom: 14px; }
.mag-cons .chip.is-on { border-color: var(--brand); color: var(--acc); background: var(--acc-bg); }
@media (max-width: 1000px) { .mag-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
.mag-grid-4 { grid-template-columns: minmax(0, 1fr); }
.mag-poll-res li { grid-template-columns: minmax(0, 1fr) 48px; }
.mag-poll-res .mag-poll-bar { grid-column: 1 / -1; grid-row: 2; }
.mag-share > span { flex-basis: 100%; }
}
.mag-list .k-sec-h .k-h { font-size: 22px; line-height: 1.6; font-weight: 800; margin: 0; }
@media (max-width: 760px) { .mag-list .k-sec-h .k-h { font-size: 19px; } }
.mag-prog { position: fixed; inset-inline: 0; top: 0; height: 3px; z-index: 45; pointer-events: none; background: transparent; }
.mag-prog span { display: block; height: 100%; background: linear-gradient(90deg, var(--brand), var(--brand-h, var(--brand))); transform: scaleX(0); transform-origin: right center; will-change: transform; }
.mag-byline > * { padding: 4px 10px; border-radius: 99px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); }
.mag-byline .mag-byline-cm { color: #fff; text-decoration: none; border-color: color-mix(in srgb, var(--brand) 55%, transparent); }
.mag-byline .mag-byline-cm:hover { background: color-mix(in srgb, var(--brand) 22%, transparent); }
.mag-tldr { position: relative; border-inline-start-width: 1px; box-shadow: inset -4px 0 0 var(--brand); background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 9%, var(--s1)), var(--s1) 60%); }
.mag-cover { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .55); }
.mag-share { gap: 8px; padding: 14px 16px; border-radius: var(--r-l); background: var(--s1); border: 1px solid var(--bd); }
.mag-sh { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--bd); background: var(--s2); color: var(--tx); font: inherit; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .15s ease, border-color .15s ease; }
.mag-sh:hover { border-color: var(--brand); color: var(--tx); transform: translateY(-1px); }
.mag-sh:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.mag-sh-native { background: var(--brand-fill, var(--brand)); border-color: transparent; color: var(--on-brand, #1B0C00); }
.mag-sh-native:hover { color: var(--on-brand, #1B0C00); }
.mag-sh.is-done { border-color: var(--ok, #2e9d5b); color: var(--ok, #2e9d5b); }
.mag-sh[hidden] { display: none; }
.mag-cm-box { margin-top: 26px; padding: 18px; border-radius: var(--r-l); background: var(--s1); border: 1px solid var(--bd); }
.mag-cm-box h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 18px; font-weight: 800; }
.mag-cm-n { min-width: 26px; padding: 0 8px; border-radius: 99px; background: var(--acc-bg); color: var(--acc); font-size: 13px; line-height: 24px; text-align: center; }
.mag-cm-form { display: grid; gap: 10px; }
.mag-cm-form textarea { width: 100%; min-height: 96px; padding: 12px 14px; border-radius: var(--r-s); border: 1px solid var(--bd); background: var(--s2); color: var(--tx); font: inherit; line-height: 1.9; resize: vertical; }
.mag-cm-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 22%, transparent); }
.mag-cm-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.mag-cm-anon { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--tx2); cursor: pointer; }
.mag-cm-login { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: var(--r-s); background: var(--s2); border: 1px dashed var(--bd); }
.mag-cm-login p { margin: 0; color: var(--tx2); }
.mag-cm-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 12px; }
.mag-cm { padding: 14px 16px; border-radius: var(--r-s); background: var(--s2); border: 1px solid var(--bd); }
.mag-cm > p { margin: 8px 0 0; line-height: 2; white-space: pre-line; overflow-wrap: anywhere; }
.mag-cm-h { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 14px; }
.mag-cm-h time { color: var(--mt); font-size: 12.5px; }
.mag-cm-av { display: inline-grid; place-items: center; width: 32px; height: 32px; flex: none; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-h, var(--brand))); color: var(--on-brand, #1B0C00); font-weight: 900; font-size: 15px; }
.mag-cm-st { margin-inline-start: auto; padding: 2px 10px; border-radius: 99px; font-size: 12.5px; font-weight: 700; background: var(--acc-bg); color: var(--acc); }
.mag-cm.is-rejected .mag-cm-st { background: var(--s1); color: var(--tx2); }
.mag-cm-mine .mag-cm { border-style: dashed; }
.mag-cm-reply { margin-top: 10px; padding: 10px 12px; border-radius: var(--r-s); background: var(--s1); border-inline-start: 3px solid var(--brand); }
.mag-cm-reply strong { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--acc); }
.mag-cm-reply p { margin: 4px 0 0; line-height: 1.9; white-space: pre-line; }
.mag-cm-empty { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; color: var(--tx2); }
@media (max-width: 760px) {
.mag-share { padding: 12px; }
.mag-sh { flex: 1 1 calc(50% - 4px); min-height: 44px; }
.mag-cm-box { padding: 14px; }
.mag-cm-row .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .mag-sh { transition: none; } .mag-sh:hover { transform: none; } }
