/* social-duel.css — the Daily Duel on Social (lane SOCIALDUEL, 22 Oct 2026). Companion of social-duel.js; rides on
   social-cols.css (html[data-scol-face]). Only the page's own tokens (--card, --border, --t1..3, --green, --mono) and
   social-cols' card shape. */

/* the cards sit on the Seasons face only, over social-cols' own Seasons cards */
html:not([data-scol-face="seasons"]) .aside .sduel { display: none; }
.aside .sduel-card { margin: 0 0 10px; padding: 12px; border-radius: 12px; border: 1px solid var(--border); background: rgba(255,255,255,.015); }
.aside .sduel-duel { border-color: rgba(74,222,74,.28); background: linear-gradient(180deg, rgba(74,222,74,.05), rgba(255,255,255,.012) 55%); }
.aside .sduel-hd { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.aside .sduel-lbl, .sduel-strip .sduel-lbl { font: 700 9px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--t3); }
.aside .sduel-chips { display: inline-flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.aside .sduel-chip { font: 700 8.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 3px 7px; border-radius: 6px; border: 1px solid var(--border); color: var(--t2); white-space: nowrap; }
.aside .sduel-chip.o { color: #ffa04d; border-color: rgba(255,122,1,.35); }
.aside .sduel-chip.g { color: var(--green); border-color: rgba(74,222,74,.35); }
.aside .sduel-note { font: 500 11.5px/1.5 Inter, system-ui, sans-serif; color: var(--t2); }
.aside .sduel-note.sm { margin-top: 8px; font-size: 10.5px; color: var(--t3); }
.aside .sduel-err { margin: 0 0 10px; padding: 8px 10px; border-radius: 9px; border: 1px solid rgba(255,107,107,.35); color: #ff8a8a; font: 600 10.5px var(--mono); }
.aside .sduel-vs { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; }
.aside .sduel-f { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.aside .sduel-name { font: 700 11px var(--mono); color: var(--t1); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aside .sduel-seat { display: inline-flex; align-items: center; gap: 4px; font: 600 9.5px var(--mono); color: var(--t3); white-space: nowrap; }
.aside .sduel-seat b { color: var(--t2); font-weight: 700; }
.aside .sduel-vsx { align-self: center; font: 800 11px var(--mono); color: var(--t3); letter-spacing: .1em; }
.aside .sduel-sc { margin-top: 10px; align-items: center; }
.aside .sduel-score { flex: 1 1 0; text-align: center; font: 700 26px/1 var(--mono); color: var(--t2); }
.aside .sduel-score.lead { color: var(--green); }
.aside .sduel-sub { font: 600 9px var(--mono); color: var(--t3); text-transform: uppercase; letter-spacing: .08em; }
.sduel-tug { display: block; height: 4px; border-radius: 3px; background: rgba(255,122,1,.45); overflow: hidden; }
.aside .sduel-tug { margin-top: 8px; }
.sduel-tug i { display: block; height: 100%; background: var(--green, #4ade4a); border-radius: 3px; transition: width .6s; }
.aside .sduel-axes { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-top: 8px; font: 600 9.5px var(--mono); color: var(--t3); }
.aside .sduel-axes b { color: var(--t1); }
.aside .sduel-stake { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 10px; margin-top: 10px; font: 600 10.5px var(--mono); color: var(--t3); }
.aside .sduel-stake b.g { color: var(--green); } .aside .sduel-stake b.o { color: #ffa04d; }
.aside .sduel-stake em { font-style: normal; margin-left: 6px; padding: 1px 5px; border-radius: 5px; border: 1px solid rgba(255,122,1,.35); color: #ffa04d; font-size: 8.5px; text-transform: uppercase; letter-spacing: .06em; }
.aside .sduel-say { margin-top: 8px; font: 500 11.5px/1.45 Inter, system-ui, sans-serif; color: var(--t2); }
.aside .sduel-say b { color: var(--t1); font-family: var(--mono); }
.aside .sduel-streak { display: flex; align-items: center; gap: 5px; margin-top: 8px; font: 700 10.5px var(--mono); color: #ffa04d; }
.aside .sduel-streak.dim { color: var(--t3); font-weight: 600; }
.aside .sduel-link { display: inline-block; margin: 10px 12px 0 0; padding: 0; border: 0; background: none; cursor: pointer; font: 700 10px var(--mono); letter-spacing: .06em; color: var(--green); text-decoration: none; text-transform: uppercase; }
.aside .sduel-how { display: none; margin-top: 8px; padding: 8px 10px; border-radius: 9px; background: rgba(255,255,255,.025); font: 500 10.5px/1.5 Inter, system-ui, sans-serif; color: var(--t2); }
.aside .sduel-how.open { display: block; }
.aside .sduel-how ul { margin: 6px 0 0; padding-left: 16px; }
.aside .sduel-how li { margin: 2px 0; }
.aside .sduel-vs1 { display: flex; align-items: center; gap: 10px; font: 500 11.5px/1.45 Inter, system-ui, sans-serif; color: var(--t2); }
.sduel-btn { display: block; width: 100%; margin-top: 10px; min-height: 40px; border-radius: 10px; border: 1px solid #4ade4a; background: #4ade4a; color: #041004; font: 700 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.sduel-btn.ghost { background: transparent; color: #4ade4a; }
.sduel-btn:disabled { opacity: .6; cursor: default; }
.aside .sduel-pool { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; font: 600 10.5px var(--mono); color: var(--t3); }
.aside .sduel-pool b { color: var(--t1); text-align: right; }
.aside .sduel-pool.sm { font-size: 9.5px; }
.aside .sduel-shelf { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; padding: 6px 0 2px; font: 600 10.5px var(--mono); color: var(--t3); }
.aside .sduel-shelf > span { margin-right: auto; }
.aside .sduel-shelf i { font-style: normal; color: var(--t3); font-size: 9.5px; }
.aside .sduel-band { display: flex; align-items: center; gap: 8px; padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,.04); font: 600 10.5px var(--mono); color: var(--t2); }
.aside .sduel-band:last-child { border-bottom: 0; }
.aside .sduel-band .n { flex: 1; min-width: 0; }
.aside .sduel-band b { color: var(--t1); }
.aside .sduel-crown { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.04); font: 600 11px var(--mono); color: var(--t2); }
.aside .sduel-crown:last-child { border-bottom: 0; }
.aside .sduel-crown .w { flex: 1; min-width: 0; }
.aside .sduel-crown .x { color: var(--t1); }
.aside .sduel-crown small { display: block; font: 500 9.5px var(--mono); color: var(--t3); }
.aside .sduel-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.04); font: 600 10.5px var(--mono); color: var(--t2); }
.aside .sduel-row:last-child { border-bottom: 0; }
.aside .sduel-row .r { width: 38px; color: var(--t3); flex: none; }
.aside .sduel-row .n { flex: 1; min-width: 0; display: inline-flex; align-items: center; gap: 6px; }
.aside .sduel-row .n > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aside .sduel-row .s { display: inline-flex; align-items: center; gap: 3px; color: #ffa04d; }
.aside .sduel-row .p { color: var(--t1); white-space: nowrap; }
.aside .sduel-line { display: flex; align-items: center; gap: 6px; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.04); font: 600 10px var(--mono); color: var(--t3); }
.aside .sduel-line:last-child { border-bottom: 0; }
.aside .sduel-line .a, .aside .sduel-line .b { flex: 1 1 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.aside .sduel-line .b { text-align: right; }
.aside .sduel-line .w { color: var(--t1); }
.aside .sduel-line .s { flex: none; color: var(--t1); font-weight: 700; }
.aside .sduel-line.crown { color: var(--t2); }
.aside .sduel-line.dim { opacity: .7; }
.aside .sduel-line.mine .a, .aside .sduel-line.mine .b { color: var(--t2); }
.sduel-av { display: inline-flex; flex: none; border-radius: 7px; overflow: hidden; line-height: 0; background: var(--green-dim, rgba(74,222,74,.08)); border: 1px solid rgba(255,255,255,.06); }
.sduel-av > *, .sduel-av img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; }
.sduel-mk { flex: none; display: inline-block; vertical-align: middle; }

/* the strip over the feed tabs: Basic only, phones and up to 1060 px */
.sduel-strip { display: none; }
@media (max-width: 1060px) {
  html[data-ux="basic"].sduel-strip-on .sduel-strip { display: flex; align-items: center; gap: 8px; width: calc(100% - 24px); margin: 8px 12px 4px; padding: 8px 10px; border-radius: 12px;
    border: 1px solid rgba(74,222,74,.28); background: linear-gradient(90deg, rgba(74,222,74,.07), rgba(255,255,255,.015)); color: var(--t2); cursor: pointer; text-align: left; box-sizing: border-box; }
}
.sduel-strip .sduel-grow { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.sduel-strip .sduel-ssc { font: 600 11px var(--mono); color: var(--t2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sduel-strip .sduel-ssc b.up { color: var(--green); } .sduel-strip .sduel-ssc b.dn { color: #ffa04d; }
.sduel-strip .sduel-left { flex: none; font: 600 9px var(--mono); color: var(--t3); white-space: nowrap; }
@media (max-width: 400px) { .sduel-strip .sduel-left { display: none; } }

/* the moment: a corner card on a desktop, the site's bottom sheet on a phone */
.sduel-moment { position: fixed; right: 16px; bottom: 16px; z-index: 99990; width: 360px; max-width: calc(100vw - 32px); max-height: calc(100vh - 32px); overflow: auto; box-sizing: border-box;
  padding: 16px; border-radius: 16px; border: 1px solid rgba(74,222,74,.35); background: #101214; box-shadow: 0 20px 60px rgba(0,0,0,.6); color: var(--t2, #c9ced6); font-family: Inter, system-ui, sans-serif; }
.sduel-moment.sheet { left: 0; right: 0; bottom: 0; width: 100%; max-width: none; max-height: 88vh; border-radius: 16px 16px 0 0; padding: 4px 18px calc(16px + env(safe-area-inset-bottom, 0px)); }
.sduel-moment .pwg-handle { display: flex; justify-content: center; padding: 6px 0 10px; cursor: grab; }
.sduel-moment .sduel-x { position: absolute; top: 8px; right: 10px; border: 0; background: none; color: var(--t3, #8b958f); font-size: 22px; line-height: 1; cursor: pointer; padding: 4px; }
.sduel-mh { font: 700 9px var(--mono, monospace); letter-spacing: .14em; text-transform: uppercase; color: var(--t3, #8b958f); }
.sduel-mt { margin-top: 6px; font: 700 18px/1.25 var(--mono, monospace); color: #ffa04d; }
.sduel-mt.win { color: var(--green, #4ade4a); }
.sduel-stage { position: relative; display: flex; justify-content: space-between; margin: 14px 0 10px; padding: 0 6px; }
.sduel-who { display: flex; flex-direction: column; align-items: center; gap: 6px; font: 600 10.5px var(--mono, monospace); color: var(--t2, #c9ced6); }
.sduel-fly { position: absolute; top: 4px; right: 18px; transition: right .9s cubic-bezier(.3,.7,.2,1), transform .9s; }
.sduel-stage.lose .sduel-fly { right: auto; left: 18px; transition: left .9s cubic-bezier(.3,.7,.2,1), transform .9s; }
.sduel-moment.go .sduel-stage .sduel-fly { right: calc(100% - 58px); transform: rotate(-8deg); }
.sduel-moment.go .sduel-stage.lose .sduel-fly { left: calc(100% - 58px); right: auto; }
.sduel-val { border-top: 1px solid rgba(255,255,255,.06); }
.sduel-val > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px 10px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.05); font: 600 10.5px var(--mono, monospace); color: var(--t2, #c9ced6); }
.sduel-val > div > span:first-child { color: var(--t3, #8b958f); }
.sduel-val > div > .v { text-align: right; color: var(--t2, #c9ced6); }
.sduel-val b { color: var(--t1, #f0f0f0); }
.sduel-mline { display: block; margin-top: 8px; font: 500 11.5px/1.45 Inter, system-ui, sans-serif; color: var(--t2, #c9ced6); }
.sduel-mline b { color: var(--t1, #f0f0f0); }
.sduel-mline .sduel-mk { margin-right: 4px; vertical-align: -2px; }
.sduel-acts { display: flex; gap: 8px; margin-top: 12px; }
.sduel-acts .sduel-btn { margin-top: 0; }
@media (prefers-reduced-motion: reduce) { .sduel-fly, .sduel-tug i { transition: none !important; } }
