/* ==========================================================================================
   screens/result.css — settlement (js/screens/result.js). Research 06 §10.6: mint 模拟完成 headline,
   huge "通过回合" numerals, boss medallions, per-player cards with lineup, bonds, stats and 评语.
   ========================================================================================== */

.result__bg { position: absolute; inset: 0; z-index: 0; background: var(--result-bg, none) center / cover no-repeat; opacity: .55; filter: saturate(.9); }
.result__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 11, 10, .72), rgba(8, 11, 10, .5) 40%, rgba(8, 11, 10, .88) 62%); }
.result__grid { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(rgba(78, 216, 175, .04) 1px, transparent 1px) 0 0 / .6rem .6rem, linear-gradient(90deg, rgba(78, 216, 175, .04) 1px, transparent 1px) 0 0 / .6rem .6rem;
  -webkit-mask-image: radial-gradient(70% 70% at 25% 50%, #000, transparent); mask-image: radial-gradient(70% 70% at 25% 50%, #000, transparent); }
.result__main { position: relative; z-index: 1; flex: 1; min-height: 0; display: grid; grid-template-columns: 5.6rem 1fr; gap: .5rem; padding: .36rem .5rem .3rem .6rem; }
.result__hero { display: flex; flex-direction: column; align-items: flex-start; gap: .16rem; padding-top: .3rem; min-height: 0; }
.result__summary { display: flex; flex-direction: column; align-items: flex-start; gap: .16rem; min-height: 0; width: 100%; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.result__logoimg { height: 1.1rem; width: auto; opacity: .92; }
.result__headline { font-size: calc(.96 * var(--t)); font-weight: 900; letter-spacing: .12em; line-height: 1.05; color: var(--mint-400); text-shadow: 0 0 .4rem rgba(23, 249, 183, .45); animation: head-in 600ms var(--ease-out); }
.result.is-lose .result__headline { color: var(--red-premium); text-shadow: 0 0 .4rem rgba(255, 60, 60, .4); }
@keyframes head-in { from { opacity: 0; letter-spacing: .5em; } }
.result__sub { font-size: calc(.2 * var(--t)); color: var(--text-lo); letter-spacing: .1em; }
.result__rounds { display: flex; align-items: baseline; gap: .12rem; margin-top: .1rem; }
.result__rlabel { font-size: calc(.22 * var(--t)); color: var(--text-md); letter-spacing: .14em; }
.result__rnum { font-size: calc(1.5 * var(--t)); line-height: .9; font-weight: 700; color: #fff; }
.result__rof { font-size: calc(.4 * var(--t)); color: var(--text-dim); }
.result__medals { display: flex; gap: .24rem; margin-top: .12rem; }
.medal { position: relative; width: 1.1rem; display: flex; flex-direction: column; align-items: center; gap: .08rem; }
.medal img { width: .96rem; height: .96rem; object-fit: cover; border-radius: 50%; border: 3px solid var(--line-3); background: #151a18; filter: grayscale(.7) brightness(.7); }
.medal.is-done img { border-color: var(--gold); filter: none; box-shadow: 0 0 .24rem rgba(255, 198, 0, .4); }
.medal--hidden.is-done img { border-color: var(--red-premium); box-shadow: 0 0 .24rem rgba(255, 60, 60, .4); }
.medal__check { position: absolute; right: .04rem; top: .64rem; width: .32rem; height: .32rem; display: grid; place-items: center; background: var(--text-dim); color: #fff; border-radius: 50%; }
.medal.is-done .medal__check { background: var(--gold); color: #1d1400; }
.medal__check .icon { width: .2rem; height: .2rem; }
.medal__label { font-size: calc(.14 * var(--t)); color: var(--text-lo); }
.result__time { font-size: calc(.16 * var(--t)); }
.result__time b { color: var(--text-hi); }

.result__players { display: flex; flex-direction: column; gap: .1rem; min-height: 0; overflow: auto; padding-right: .06rem; }
.result__players > :first-child { margin-top: auto; }
.result__players > :last-child { margin-bottom: auto; }
.rcard {
  display: flex; flex-direction: column; gap: .09rem; padding: .12rem .18rem .14rem; background: rgba(11, 15, 13, .9); border: 1px solid var(--line);
  border-left: 3px solid var(--line-3); animation: card-in var(--t-slow) var(--ease-out) backwards;
}
.rcard:nth-child(3) { animation-delay: 80ms; } .rcard:nth-child(4) { animation-delay: 160ms; } .rcard:nth-child(5) { animation-delay: 240ms; }
@keyframes card-in { from { opacity: 0; transform: translateX(.3rem); } }
.rcard.is-self { border-left-color: var(--mint-500); background: linear-gradient(90deg, rgba(78, 216, 175, .08), rgba(11, 15, 13, .9) 40%); }
.rcard.is-dead { opacity: .8; }
.rcard__head { display: grid; grid-template-columns: auto minmax(1.5rem, 2.1rem) minmax(0, 1fr) auto 2.3rem; gap: .18rem; align-items: center; }
.rcard__head .pavatar { --pa: .6rem; }
.rcard__who { display: flex; flex-direction: column; gap: .03rem; min-width: 0; }
.rcard__name { font-size: calc(.22 * var(--t)); display: flex; align-items: center; gap: .08rem; }
.rcard__ai, .rcard__you { font-size: calc(.11 * var(--t)); padding: 0 .05rem; font-weight: 700; }
.rcard__ai { background: #a9c3d8; color: #0b1520; }
.rcard__you { background: var(--mint-500); color: var(--text-on-mint); }
.rcard__band { display: inline-flex; align-items: center; gap: .06rem; font-size: calc(.15 * var(--t)); color: var(--text-lo); }
.rcard__round { display: flex; flex-direction: column; align-items: center; }
.rcard__round b { font-size: calc(.34 * var(--t)); line-height: 1; color: #fff; }
.rcard__gain { display: flex; gap: .08rem; margin-top: .03rem; font-size: calc(.13 * var(--t)); color: var(--gold); }
.rcard__gain span { display: inline-flex; align-items: center; gap: .02rem; }
.rcard__gain .icon { width: .14rem; height: .14rem; }
.rcard__gain b { font-size: calc(.14 * var(--t)); color: var(--gold); }
.rcard__title { display: flex; align-items: center; gap: .08rem; padding: .06rem .14rem .06rem .06rem; border: 1px solid rgba(255, 198, 0, .4); background: rgba(255, 198, 0, .06); min-width: 0; }
.rcard__title--none { border-style: dashed; border-color: var(--line); background: none; height: .64rem; }
.rcard__title > span { display: flex; flex-direction: column; }
.rcard__title b { font-size: calc(.19 * var(--t)); color: var(--gold); }
.rcard__ticon { width: .5rem; height: .5rem; object-fit: contain; }
.rcard__title .icon { width: .3rem; height: .3rem; color: var(--gold); }
.rcard__mid { display: flex; flex-direction: column; justify-content: center; gap: .06rem; min-width: 0; }
.rcard__lineup .uthumb { --ut: .46rem; }
.rcard__lineup { display: flex; flex-wrap: wrap; gap: .05rem; }
.rcard__noinfo { font-family: var(--font-display); font-size: calc(.14 * var(--t)); letter-spacing: .3em; color: var(--text-dim); padding: .14rem .2rem; border: 1px dashed var(--line-2); }
.rcard__bonds { display: flex; gap: .05rem; flex-wrap: wrap; }
.rbond { display: inline-flex; align-items: center; gap: .04rem; padding: .01rem .07rem .01rem .03rem; border: 1px solid var(--line-2); font-size: calc(.13 * var(--t)); color: var(--text-lo); }
.rbond .bglyph { width: .2rem; height: .2rem; }
.rbond.is-on { border-color: var(--mint-800); color: var(--mint-400); }
.rcard__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; }
.rstat { display: flex; align-items: baseline; justify-content: space-between; gap: .06rem; padding: .05rem .1rem; background: #0e1210; box-shadow: 0 0 0 1px var(--line); font-size: calc(.13 * var(--t)); color: var(--text-lo); white-space: nowrap; min-width: 0; }
.rstat b { font-size: calc(.18 * var(--t)); color: #fff; }
.rstat.is-best b { color: var(--gold); }
.result__foot { flex: 0 0 auto; margin-top: auto; padding-top: .2rem; display: flex; }
.result__foot .btn { min-width: 3.4rem; }

/* 对局动画与结算 (the 2026-10-14 UI package by 雨千代chiyo) */

/* ==========================================================================================
   The settlement flow (js/screens/settle.js; the event video 11:39–12:32): radar intro → 个人战报 → 同盟.
   Every page is a 1920×1080 stage (19.2rem × 10.8rem) scaled to the screen by --k; positions are the
   design's pixels / 100. The terrain, rays, emblems and frames are drawn here (original shapes).
   ========================================================================================== */
.settle { background: #040606; color: #eef3f1; }
.settle__stage { position: absolute; left: 50%; top: 50%; width: 19.2rem; height: 10.8rem; transform: translate(-50%, -50%) scale(var(--k, 1));
  /* fixed positions: the text stays on the layout root (no 文字大小 boost — it would push the text over its neighbours);
     --k already scales the whole stage */ }
.settle__barbg { position: absolute; left: -10rem; right: -10rem; top: 9rem; bottom: -6rem; background: linear-gradient(180deg, #0d1010, #070909 40%); border-top: 1px solid rgba(200, 214, 210, .1); }
.settle__detail { position: absolute; inset: 0; z-index: 5; background: #070909; }
.sico { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* logo (top left) */
.slogo { position: absolute; left: .78rem; top: .5rem; display: flex; align-items: center; gap: .26rem; color: #c8d0cd; z-index: 2; }
.slogo__img, .slogo__mark { height: .64rem; width: auto; }
.slogo__mark { width: .64rem; }
.slogo__txt { display: flex; align-items: center; gap: .06rem; }
.slogo__knot { width: .4rem; height: .3rem; }
.slogo__txt b { font-family: var(--font-display); font-size: .15rem; line-height: .95; letter-spacing: .02em; font-weight: 600; }

/* ---- radar intro ---- */
.sintro { position: absolute; inset: 0; background: #040606; cursor: pointer; animation: sintro-out 360ms ease-in 1140ms forwards; }
.sintro__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sintro::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .35) 0 1px, transparent 1px 4px); }
.sintro__frame path { fill: none; stroke: rgba(70, 200, 170, .55); stroke-width: 2; }
.sintro__ring { fill: none; stroke: rgba(150, 230, 210, .55); stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: 1; animation: sintro-draw 700ms var(--ease-out) forwards; }
.sintro__cross, .sintro__bracket { fill: none; stroke: rgba(150, 230, 210, .3); stroke-width: 2; }
.sintro__bracket { stroke: rgba(230, 150, 70, .55); }
.sintro__seat rect { fill: #d3d8d6; }
.sintro__seat text, .sintro__core text { font: 600 34px var(--font-display); fill: #3d4a47; }
.sintro__seat.is-me rect { fill: #57d6c4; }
.sintro__seat.is-out rect, .sintro__seat.is-left rect { fill: #7d8583; }
.sintro__seat.is-empty rect { fill: #2a3230; }
.sintro__hatch { stroke: rgba(30, 140, 120, .55); stroke-width: 6; }
.sintro__seat, .sintro__ghost, .sintro__core { opacity: 0; animation: sintro-blink 520ms steps(4, end) calc(220ms + var(--i, 0) * 90ms) forwards; }
.sintro__ghost rect { fill: rgba(200, 206, 204, .16); }
.sintro__ghost path { fill: #1d2322; }
.sintro__core { animation-delay: 560ms; }
.sintro__core rect { fill: #f0a330; }
.sintro.is-lose .sintro__core rect { fill: #e2483a; }
.sintro__foot { font: 600 22px var(--font-display); letter-spacing: .08em; fill: #d77a2e; text-anchor: middle; }
.sintro .slogo { left: 50%; top: 1.1rem; transform: translateX(-50%); }
@keyframes sintro-draw { to { stroke-dashoffset: 0; } }
@keyframes sintro-blink { 0% { opacity: 0; } 25% { opacity: 1; } 50% { opacity: .2; } 75%, 100% { opacity: 1; } }
@keyframes sintro-out { to { opacity: 0; transform: scale(1.35); filter: blur(4px); } }

/* ---- 个人战报 ---- */
.sself { position: absolute; inset: 0; animation: sself-in 520ms var(--ease-out) both; }
@keyframes sself-in { from { opacity: 0; transform: scale(1.06); } }
.sself.is-leaving { animation: sself-out 380ms steps(5, end) forwards; }
@keyframes sself-out { 0% { opacity: 1; clip-path: inset(0); } 40% { clip-path: inset(18% 0 30% 0); transform: translateX(-.08rem); } 100% { opacity: 0; clip-path: inset(48% 0 48% 0); } }
.smap { position: absolute; left: -6.4rem; top: -3.6rem; width: 32rem; height: 18rem; pointer-events: none; }
.smap__sea { fill: #0a1514; }
.sself.is-lose .smap__sea { fill: #0b1112; }
.smap__zone { opacity: .95; }
.smap__fx { position: absolute; left: -6.4rem; top: -3.6rem; width: 32rem; height: 18rem; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .32) 0 1px, transparent 1px 4px),
    linear-gradient(90deg, rgba(4, 6, 6, .5) 19%, rgba(4, 6, 6, .1) 30%, rgba(4, 6, 6, .2) 46%, rgba(4, 6, 6, .74) 56%, rgba(4, 6, 6, .88) 80%),
    linear-gradient(180deg, rgba(4, 6, 6, .4) 18%, transparent 30%, transparent 62%, rgba(4, 6, 6, .7) 72%); }
.smap__rays line { stroke: rgba(225, 235, 232, .72); stroke-width: 2.5; stroke-dasharray: 1; stroke-dashoffset: 1; animation: smap-ray 620ms var(--ease-out) calc(420ms + var(--i) * 70ms) forwards; }
.smap__arrow { fill: rgba(225, 235, 232, .8); opacity: 0; animation: mpop-fade 300ms calc(700ms + var(--i) * 70ms) forwards; }
.smap__end { fill: none; stroke: rgba(225, 235, 232, .5); stroke-width: 3; stroke-dasharray: 5 4; opacity: 0; animation: mpop-fade 300ms calc(800ms + var(--i) * 70ms) forwards; }
.smap__x { stroke: #ff4c3f; stroke-width: 5; fill: none; }
@keyframes smap-ray { to { stroke-dashoffset: 0; } }
.smap__glow { fill: rgba(255, 170, 40, .16); }
.smap__ring { fill: none; stroke: rgba(255, 196, 70, .72); stroke-width: 4; }
.smap__ring--o { stroke-width: 2; stroke: rgba(255, 196, 70, .4); }
.smap__core { fill: rgba(255, 190, 60, .5); stroke: rgba(255, 220, 140, .8); stroke-width: 3; }
.smap__dot { fill: #f2f4f3; }
.smap__stripe { stroke: rgba(80, 90, 88, .8); stroke-width: 3; }
.smap__pin { fill: rgba(240, 244, 243, .75); }
.sself.is-lose .smap__glow { fill: rgba(255, 60, 50, .16); }
.sself.is-lose .smap__ring, .sself.is-lose .smap__ring--o { stroke: rgba(255, 110, 100, .6); }
.sself.is-lose .smap__core { fill: rgba(255, 70, 60, .4); stroke: rgba(255, 150, 140, .8); }
.smap__tri { fill: none; stroke: #f4f6f5; stroke-width: 4; }
.smap__tri-in { fill: #f4f6f5; }
.smap__aim { animation: smap-aim 2.4s ease-in-out infinite; transform-box: fill-box; }
@keyframes smap-aim { 50% { opacity: .82; } }
.smap__label rect { fill: rgba(20, 26, 25, .55); stroke: rgba(220, 230, 226, .55); stroke-width: 2; }
.smap__label text { font: 600 15px var(--font-display); fill: #dfe7e4; text-anchor: middle; letter-spacing: .04em; }
.smap__label .smap__sub { text-anchor: start; fill: rgba(220, 230, 226, .45); font-size: 14px; }

.sself__band { position: absolute; left: .6rem; top: 2.25rem; width: 1.5rem; height: 1.5rem; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, rgba(70, 230, 190, .38), rgba(10, 40, 34, .6) 70%); border: 2px solid rgba(89, 244, 202, .45);
  box-shadow: 0 0 .24rem rgba(40, 220, 180, .25), inset 0 0 .2rem rgba(0, 0, 0, .6); animation: sself-pop 420ms var(--ease-out) 200ms both; }
.sself__band .bandicon { width: 1.12rem; height: 1.12rem; }
.sself__band .bandicon img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 .06rem rgba(60, 240, 190, .7)); }
.sself__band .pavatar { --pa: 1.3rem; }
.sself__band > i { position: absolute; inset: -.08rem; pointer-events: none;
  background: linear-gradient(#59f4ca, #59f4ca) 0 0 / .18rem 2px no-repeat, linear-gradient(#59f4ca, #59f4ca) 0 0 / 2px .18rem no-repeat,
    linear-gradient(#59f4ca, #59f4ca) 100% 100% / .18rem 2px no-repeat, linear-gradient(#59f4ca, #59f4ca) 100% 100% / 2px .18rem no-repeat; }
@keyframes sself-pop { from { opacity: 0; transform: scale(.86); } }

.smode { display: inline-flex; align-items: center; gap: .1rem; }
.smode .dtag { height: .5rem; padding: 0 .2rem 0 .14rem; border-radius: .25rem; background: rgba(120, 28, 18, .55); box-shadow: inset 0 0 0 1px rgba(255, 110, 70, .22); font-size: .24rem; }
.sself__mode { position: absolute; left: 2.4rem; top: 2.24rem; animation: sself-slide 420ms var(--ease-out) 260ms both; }
.sself__title { position: absolute; left: 2.42rem; top: 2.8rem; margin: 0; white-space: nowrap; font-size: .9rem; font-weight: 900; letter-spacing: .03em; line-height: 1.15;
  color: #4af2c4; text-shadow: 0 0 .2rem rgba(30, 240, 180, .45), 0 .03rem 0 rgba(0, 0, 0, .5); animation: sself-title 560ms var(--ease-out) 300ms both; }
.sself.is-lose .sself__title { color: #ff4b3e; text-shadow: 0 0 .2rem rgba(255, 60, 50, .45), 0 .03rem 0 rgba(0, 0, 0, .5); }
@keyframes sself-slide { from { opacity: 0; transform: translateX(-.3rem); } }
@keyframes sself-title { 0% { opacity: 0; transform: translateX(-.3rem); clip-path: inset(0 100% 0 0); } 60% { opacity: 1; clip-path: inset(0 0 0 0); } 70% { transform: translateX(.03rem); } }

.sself__rounds { position: absolute; left: .44rem; top: 4.1rem; width: 1.86rem; display: flex; flex-direction: column; align-items: center; animation: sself-slide 420ms var(--ease-out) 380ms both; }
.sself__rounds span { font-size: .27rem; color: #b7c1be; letter-spacing: .04em; line-height: 1.2; }
.sself__rounds b { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; line-height: .95; color: #4af2c4; text-shadow: 0 0 .16rem rgba(30, 240, 180, .35); }
.sself.is-win .sself__rounds::after { content: ''; position: absolute; left: 2.03rem; top: .1rem; width: 2px; height: 1.36rem; background: rgba(220, 230, 226, .3); }
.sself.is-lose .sself__rounds { left: .5rem; top: 4.18rem; width: 3.75rem; height: 1.42rem; justify-content: center;
  background: repeating-radial-gradient(ellipse at 30% 60%, transparent 0 .1rem, rgba(255, 80, 70, .12) .1rem .115rem), rgba(30, 6, 6, .25); }
.sself.is-lose .sself__rounds::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(#e2483a, #e2483a) 0 0 / .14rem 2px no-repeat, linear-gradient(#e2483a, #e2483a) 0 0 / 2px 100% no-repeat,
    linear-gradient(#e2483a, #e2483a) 0 100% / .14rem 2px no-repeat, linear-gradient(#e2483a, #e2483a) 100% 0 / .14rem 2px no-repeat,
    linear-gradient(#e2483a, #e2483a) 100% 0 / 2px 100% no-repeat, linear-gradient(#e2483a, #e2483a) 100% 100% / .14rem 2px no-repeat; opacity: .8; }
.sself.is-lose .sself__rounds b { color: #ff4b3e; text-shadow: 0 0 .16rem rgba(255, 60, 50, .35); font-size: 1rem; }

.sself__medals { position: absolute; left: 2.74rem; top: 4.16rem; display: flex; gap: .7rem; }
.sself__medals::after { content: ''; position: absolute; left: -.22rem; right: -.5rem; bottom: -.3rem; height: 2px; background: linear-gradient(90deg, rgba(220, 230, 226, .3), rgba(220, 230, 226, .08)); }
.smedal { position: relative; width: 1rem; height: 1rem; display: grid; place-items: center; animation: smedal-in 380ms cubic-bezier(.3, 1.6, .5, 1) calc(820ms + var(--i) * 200ms) both; }
.smedal img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 0 .08rem rgba(255, 140, 40, .55)); }
.smedal--hidden img { filter: drop-shadow(0 0 .08rem rgba(255, 60, 60, .6)); }
.smedal.is-miss img { filter: grayscale(1) brightness(.6); }
.smedal__glyph { width: .6rem; height: .6rem; color: #f0a330; }
.smedal__check { position: absolute; right: -.14rem; top: -.12rem; width: .3rem; height: .3rem; display: grid; place-items: center; border: 2px solid #f39a2c; background: rgba(40, 18, 4, .7); color: #ffb23f; }
.smedal__check .icon { width: .24rem; height: .24rem; }
.smedal.is-miss .smedal__check { border-color: #8a908e; color: #c4cac8; }
@keyframes smedal-in { from { opacity: 0; transform: scale(1.6); } }

.splate { position: absolute; left: .74rem; top: 6.84rem; height: 1.64rem; display: flex; animation: sself-slide 420ms var(--ease-out) 520ms both; }
.splate .pavatar.splate__ava { --pa: 1.64rem; border: 2px solid rgba(240, 244, 243, .85); background: #20403a; }
.splate .pavatar__glyph { font-size: .6rem; }
.splate__info { position: relative; width: 2.66rem; display: grid; grid-template-columns: .66rem 1fr; grid-template-rows: .5rem 1fr; column-gap: .14rem;
  background: linear-gradient(90deg, rgba(36, 150, 122, .5), rgba(18, 70, 60, .3) 70%, transparent); }
.splate__name { grid-column: 1 / -1; display: flex; align-items: center; gap: .04rem; min-width: 0; padding: 0 .16rem; white-space: nowrap; overflow: hidden;
  font-size: .25rem; font-weight: 600; color: #f2f6f5; background: rgba(4, 22, 18, .45); }
.splate__rank { grid-row: 2; margin: .1rem 0 .08rem .12rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .02rem;
  background: rgba(6, 30, 24, .7); border: 1px solid rgba(160, 230, 210, .3); color: #dfe8e5; }
.splate__rank > .icon { width: .4rem; height: .4rem; color: #e8efec; }
.splate__rank small { display: inline-flex; align-items: center; gap: .02rem; font-size: .15rem; }
.splate__rank small .icon { width: .14rem; height: .14rem; }
.splate__gain { grid-row: 2; display: flex; flex-direction: column; justify-content: center; }
.splate__gain small { display: inline-flex; align-items: center; gap: .04rem; font-size: .2rem; color: #cfd8d5; }
.splate__gain small .icon { width: .18rem; height: .18rem; }
.splate__gain b { font-family: var(--font-display); font-size: .42rem; line-height: 1.05; color: #f4f7f6; }

/* final lineup: ten slots in two rows */
.sops__row { position: absolute; display: flex; gap: .38rem; }
.sops__row--1 { left: 11.17rem; top: .75rem; }
.sops__row--2 { left: 10.87rem; top: 3.82rem; }
.sop { position: relative; width: 1.2rem; height: 2.4rem; flex: none; background: #e6eae8; box-shadow: 0 0 0 1px rgba(255, 255, 255, .55), 0 .06rem .14rem rgba(0, 0, 0, .55);
  animation: sop-in 420ms var(--ease-out) calc(520ms + var(--i) * 55ms) both; }
@keyframes sop-in { 0% { opacity: 0; transform: translateY(-.12rem) scale(.92); filter: brightness(3); } 60% { opacity: 1; filter: brightness(1.4); } }
.sop__art { position: absolute; left: 0; top: 0; right: 0; height: 1.8rem; overflow: hidden; background: linear-gradient(180deg, #cfd5d3, #aab2af); display: grid; place-items: center; }
.sop__art img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.sop__art img.is-avatar { object-position: 50% 30%; }
.sop__glyph { font-size: .5rem; font-weight: 900; color: #6c7472; }
.sop__tier { position: absolute; left: -.2rem; top: -.12rem; min-width: .44rem; height: .44rem; padding: 0 .05rem; display: grid; place-items: center;
  font-family: var(--font-display); font-size: .25rem; font-weight: 700; line-height: 1; color: var(--tc, #e6eae8); background: #151818; border: 2px solid var(--tc, #e6eae8); }
.sop--t1 { --tc: #cfd4d2; } .sop--t2 { --tc: #f0f3f2; } .sop--t3 { --tc: #50e08d; } .sop--t4 { --tc: #39b8f2; }
.sop--t5 .sop__tier { background: #ffc81e; border-color: #ffc81e; color: #241a00; }
.sop--t6 .sop__tier { background: #ff8a1d; border-color: #ff8a1d; color: #fff; }
.sop__lv { position: absolute; left: -.2rem; top: .48rem; width: .42rem; height: .76rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .02rem;
  border-radius: .21rem; background: #2a2f2e; border: 1px solid rgba(255, 255, 255, .3); color: #c9cfcd; }
.sop.is-golden .sop__lv { color: #ffd34d; border-color: rgba(255, 211, 77, .55); }
.selite { width: .26rem; height: .26rem; fill: currentColor; }
.sop__lv b { font-family: var(--font-display); font-size: .19rem; line-height: 1; color: #eef2f1; }
.sop.is-golden .sop__lv b { color: #ffd34d; }
.sop__si { position: absolute; right: .04rem; top: .04rem; padding: 0 .04rem; font-size: .13rem; font-weight: 700; background: var(--ice, #9ad7ff); color: var(--ice-900, #06202e); }
/* a wide item icon must not stretch its half of the slot row (min sizes 0; after xinhai-ai 5320d66) */
.sop__slots { position: absolute; left: 0; right: 0; bottom: 0; height: .6rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); gap: .05rem; padding: .05rem; background: #d3d8d6; }
.sop__slot { min-width: 0; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); place-items: center; overflow: hidden; background: #e7ebe9; box-shadow: inset 0 0 0 1px #8e9593; }
.sop__slot.has-item { background: #2c3231; box-shadow: inset 0 0 0 1px #5e6664; }
.sop__slot img { display: block; min-width: 0; min-height: 0; width: 100%; height: 100%; padding: .02rem; box-sizing: border-box; object-fit: contain; }
.sop__slot b { font-size: .2rem; color: #e6eae8; }
.sop__noinfo { display: flex; flex-direction: column; align-items: center; color: #7a8280; }
.sop__noinfo svg { width: .2rem; height: .2rem; fill: none; stroke: currentColor; stroke-width: 2; }
.sop__noinfo small { font-size: .07rem; letter-spacing: .02em; white-space: nowrap; }
.sop.is-empty { background: rgba(28, 32, 31, .55); box-shadow: 0 0 0 2px rgba(150, 160, 158, .4); }
.sop.is-empty .sop__art { background: linear-gradient(to top right, transparent calc(50% - 1px), rgba(170, 180, 177, .45) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)) no-repeat; place-items: end center; padding-bottom: .5rem; }
.sop.is-empty .sop__art small { font-family: var(--font-display); font-size: .12rem; color: #9aa3a0; letter-spacing: .04em; }
.sop.is-empty .sop__slots { background: transparent; }
.sop.is-empty .sop__slot { background: linear-gradient(to top right, transparent calc(50% - 1px), rgba(170, 180, 177, .45) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)); box-shadow: inset 0 0 0 1px rgba(150, 160, 158, .45); }

/* bonds */
.sbonds { position: absolute; left: 11.02rem; top: 6.83rem; width: 7.65rem; height: 1.58rem; display: flex; align-items: center; gap: .2rem; padding: 0 .3rem 0 .2rem; animation: sself-pop 420ms var(--ease-out) 900ms both; }
.sbonds::before, .sbonds::after { content: ''; position: absolute; top: 0; bottom: 0; width: .12rem; border: 2px solid rgba(220, 230, 226, .42); pointer-events: none; }
.sbonds::before { left: 0; border-right: 0; }
.sbonds::after { right: 0; border-left: 0; }
.sbonds__mark { flex: none; width: 1.1rem; display: flex; flex-direction: column; align-items: center; color: rgba(160, 170, 168, .5); }
.sbonds__mark svg { width: .9rem; height: .56rem; fill: currentColor; }
.sbonds__mark small { font-family: var(--font-display); font-size: .1rem; letter-spacing: .1em; }
.sbonds__list { flex: 1; min-width: 0; height: 100%; display: flex; align-items: center; gap: .44rem; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; padding-left: .1rem; }
.sbonds__list::-webkit-scrollbar { display: none; }
.sbond { flex: none; display: flex; flex-direction: column; align-items: center; gap: .02rem; animation: sbond-in 360ms cubic-bezier(.3, 1.5, .5, 1) calc(1000ms + var(--i) * 70ms) both; }
@keyframes sbond-in { from { opacity: 0; transform: scale(.5); } }
.sbond__disc { width: 1rem; height: 1rem; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #34e9b6, #11a982 72%);
  box-shadow: 0 0 0 .05rem rgba(60, 240, 190, .28), 0 0 .2rem rgba(40, 230, 180, .4); }
.sbond:not(.is-on) .sbond__disc { background: radial-gradient(circle at 50% 40%, #58605e, #383e3d 72%); box-shadow: 0 0 0 .05rem rgba(160, 170, 168, .2); }
.sbond__disc .bglyph { width: .58rem; height: .58rem; display: grid; place-items: center; }
.sbond__disc .bglyph img { width: 100%; height: 100%; object-fit: contain; filter: brightness(0) opacity(.82); }
.sbond__disc .bglyph__txt { font-size: .36rem; font-weight: 900; color: #063426; }
.sbond b { font-family: var(--font-display); font-size: .3rem; line-height: 1; color: #f2f6f5; }
.sbonds__none { font-family: var(--font-display); font-size: .16rem; color: #7d8583; letter-spacing: .1em; }
.sbonds__more { position: absolute; right: -.06rem; top: 50%; width: .3rem; height: .5rem; margin-top: -.25rem; display: grid; place-items: center; background: none; border: 0; color: #e8eeec; cursor: pointer; }
.sbonds__more .icon { width: .3rem; height: .3rem; }

/* the level settlement (LV, the bar, this match's experience) */
.slv { position: absolute; left: .62rem; top: 9rem; height: 1.8rem; display: flex; align-items: center; gap: .34rem; animation: sself-slide 420ms var(--ease-out) 600ms both; }
.slv__lv { display: flex; align-items: baseline; gap: .06rem; line-height: 1; }
.slv__lv small { font-family: var(--font-display); font-size: .34rem; color: #9aa5a2; }
.slv__lv b { font-family: var(--font-display); font-size: .76rem; font-weight: 500; color: #f4f7f6; min-width: .9rem; }
.slv__track { position: relative; width: 5.4rem; display: flex; flex-direction: column; gap: .1rem; padding-top: .16rem; }
.slv__bar { height: .18rem; background: #2d3332; border-radius: .09rem; overflow: hidden; }
.slv__bar i { display: block; height: 100%; background: linear-gradient(90deg, #22d4a4, #4af2c4); border-radius: inherit; box-shadow: 0 0 .1rem rgba(60, 240, 190, .6); }
.slv__meta { display: flex; align-items: baseline; justify-content: space-between; gap: .2rem; white-space: nowrap; }
.slv__gain { display: inline-flex; align-items: baseline; gap: .08rem; font-size: .22rem; color: #9aa5a2; }
.slv__gain b { font-family: var(--font-display); font-size: .34rem; font-weight: 600; color: #4af2c4; }
.slv__exp { font-size: .24rem; color: #9aa5a2; }
.slv__exp b { color: #4af2c4; font-weight: 500; }
.slv__up { position: absolute; left: 0; top: -.34rem; padding: .01rem .08rem; font-family: var(--font-display); font-size: .16rem; font-weight: 700; color: #4af2c4;
  border: 1px solid rgba(74, 242, 196, .6); background: rgba(10, 50, 40, .7); animation: slv-up 420ms cubic-bezier(.3, 1.6, .5, 1) both; }
.slv__max { position: absolute; right: 0; top: -.4rem; padding: .03rem .14rem; font-family: var(--font-display); font-size: .24rem; font-weight: 700; color: #063426; background: #33dcae; }
.slv__max::after { content: ''; position: absolute; left: .1rem; bottom: -.1rem; border: .05rem solid transparent; border-top-color: #33dcae; border-left-color: #33dcae; }
@keyframes slv-up { from { opacity: 0; transform: translateY(.1rem) scale(.6); } }

.settle__next { position: absolute; left: 14.77rem; top: 9.42rem; width: 4.43rem; height: 1rem; display: flex; align-items: center; justify-content: center; gap: .24rem;
  padding: 0; border: 0; cursor: pointer; color: #062a20; background: linear-gradient(90deg, #44e6b8, #33d8ab); font-size: .4rem; font-weight: 700; letter-spacing: .06em;
  clip-path: polygon(.12rem 0, 100% 0, 100% 100%, 0 100%, 0 .12rem); box-shadow: inset 0 -.05rem 0 rgba(0, 0, 0, .12); animation: snext-in 460ms var(--ease-out) 1400ms both; }
.settle__next::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: .8rem; background: repeating-linear-gradient(135deg, rgba(0, 0, 0, .14) 0 .05rem, transparent .05rem .14rem); }
.settle__next:hover, .settle__next:focus-visible { filter: brightness(1.12); outline: none; }
.settle__next:focus-visible { box-shadow: 0 0 0 3px #fff inset; }
.settle__nexticon { width: .52rem; height: .52rem; display: grid; place-items: center; border-radius: .1rem; background: #0b2d25; color: #44e6b8; }
.settle__nexticon .icon { width: .32rem; height: .32rem; }
@keyframes snext-in { from { opacity: 0; transform: translateX(.6rem); } }

/* ---- 同盟 ---- */
.steam { position: absolute; inset: 0; animation: mpop-fade 300ms both; }
.steam__bg { position: absolute; left: -10rem; right: -10rem; top: -6rem; bottom: -6rem; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .3) 0 1px, transparent 1px 4px),
    radial-gradient(42% 60% at 50% 46%, rgba(40, 120, 100, .14), transparent 70%),
    linear-gradient(rgba(78, 216, 175, .035) 1px, transparent 1px) 0 0 / .6rem .6rem, linear-gradient(90deg, rgba(78, 216, 175, .035) 1px, transparent 1px) 0 0 / .6rem .6rem, #060808; }
.steam__bg::after { content: ''; position: absolute; left: calc(50% - 3.6rem); top: calc(50% - 4.3rem); width: 7.2rem; height: 7.2rem; border-radius: 50%; border: 2px solid rgba(160, 200, 190, .07); }
.steam .slogo { left: .45rem; top: .2rem; }
.steam .slogo__img, .steam .slogo__mark { height: .56rem; }
.steam__cards { position: absolute; left: 0; right: 0; top: .66rem; display: flex; justify-content: center; gap: .95rem; }
.tcard { position: relative; width: 3.47rem; flex: none; display: flex; flex-direction: column; animation: tcard-in 560ms var(--ease-out) calc(150ms + var(--i) * 120ms) both; }
@keyframes tcard-in { 0% { opacity: 0; transform: translateY(-.3rem); filter: brightness(2.4) saturate(0); } 50% { opacity: 1; } }
/* more than four doctors (an experimental room of up to 20; screens/settle.js TeamPage is-wide): the row scrolls sideways —
   auto margins still centre a row that fits, the wheel scrolls it (TeamPage), the own card is in view at first */
.steam__cards.is-wide { justify-content: flex-start; overflow-x: auto; overflow-y: hidden; padding: 0 .6rem .12rem; scroll-snap-type: x proximity;
  scrollbar-width: thin; scrollbar-color: rgba(74, 242, 196, .45) transparent; }
.steam__cards.is-wide .tcard { scroll-snap-align: center; }
.steam__cards.is-wide .tcard:first-child { margin-left: auto; }
.steam__cards.is-wide .tcard:last-child { margin-right: auto; }
.tcard::before { content: ''; position: absolute; left: -.06rem; right: -.06rem; top: .36rem; bottom: .7rem; background: rgba(22, 27, 26, .78); box-shadow: 0 0 0 1px rgba(180, 196, 192, .14); z-index: -1; }
.tcard__head { position: relative; height: .45rem; margin-top: .39rem; display: flex; align-items: center; gap: .1rem; padding: 0 .12rem; background: #32dcae; color: #0b3a2f; }
.tcard__pin { position: absolute; left: 50%; top: -.39rem; width: .14rem; height: .14rem; margin-left: -.07rem; background: #32dcae; }
.tcard__pin::after { content: ''; position: absolute; left: 50%; top: .14rem; width: 2px; height: .25rem; margin-left: -1px; background: #32dcae; }
.tcard__code { display: flex; align-items: center; gap: .03rem; font-family: var(--font-display); font-size: .1rem; font-weight: 700; letter-spacing: .06em; white-space: nowrap; opacity: .85; }
.tcard__code i { width: .1rem; height: .1rem; background: currentColor; }
.tcard__code i:nth-child(2) { width: .2rem; }
.tcard__seat { margin-left: auto; font-family: var(--font-display); font-size: .16rem; font-weight: 700; }
.tcard__art { position: relative; height: 5.4rem; overflow: hidden; background: radial-gradient(70% 60% at 50% 35%, #29403b, #111716); box-shadow: inset 0 0 0 2px rgba(180, 196, 192, .16); }
.tcard__art::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2.4rem; background: linear-gradient(180deg, transparent, rgba(6, 10, 9, .86) 70%); pointer-events: none; }
.tcard__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.tcard__img.is-avatar { object-position: 50% 30%; filter: saturate(.9); }
.tcard__glyph { position: absolute; inset: 0; display: grid; place-items: center; padding-bottom: 1.4rem; font-size: 1.6rem; font-weight: 900; color: rgba(140, 220, 200, .25); }
.tcard__title { position: absolute; left: 0; right: 0; top: 3.88rem; z-index: 1; display: flex; align-items: center; justify-content: center; gap: .08rem; }
.tcard__ticon { width: .5rem; height: .5rem; object-fit: contain; color: #4af2c4; filter: drop-shadow(0 0 .06rem rgba(40, 230, 180, .7)); }
.tcard__title b { font-size: .36rem; font-weight: 900; font-style: italic; color: #4af2c4; text-shadow: 0 0 .1rem rgba(20, 200, 150, .6), 0 .02rem 0 #04140f; white-space: nowrap; }
.tcard__rounds { position: absolute; left: .42rem; right: .42rem; top: 4.52rem; height: .58rem; z-index: 1; display: flex; align-items: center; justify-content: center; gap: .14rem;
  border-radius: .29rem; background: rgba(8, 44, 36, .86); box-shadow: inset 0 0 0 1px rgba(74, 242, 196, .3); }
.tcard__rounds span { font-size: .22rem; color: #d4e6e1; }
.tcard__rounds b { font-family: var(--font-display); font-size: .4rem; font-weight: 600; color: #4af2c4; line-height: 1; }
.tcard.is-fail .tcard__rounds { background: rgba(54, 10, 8, .86); box-shadow: inset 0 0 0 1px rgba(255, 90, 80, .32); }
.tcard.is-fail .tcard__rounds b { color: #ff574a; }
.tcard.is-left .tcard__img, .tcard.is-left .tcard__glyph { filter: grayscale(1) brightness(.45); }
.tcard__cut { position: absolute; left: 50%; top: 3.3rem; z-index: 1; transform: translateX(-50%); padding: .02rem .14rem; font-size: .2rem; font-weight: 700; color: #fff; background: rgba(200, 40, 34, .85); white-space: nowrap; }
.tcard__plate { position: relative; height: 1.02rem; margin-top: .1rem; display: flex; align-items: center; gap: .1rem; padding: .06rem; background: linear-gradient(90deg, #1b2120, #232b2a 60%, #2b3433); box-shadow: 0 0 0 1px rgba(180, 196, 192, .12); }
.tcard__plate .pavatar.tcard__ava { --pa: .9rem; border: 1px solid rgba(220, 230, 226, .5); }
.tcard__who { min-width: 0; display: flex; flex-direction: column; gap: .05rem; }
.tcard__name { display: flex; align-items: baseline; gap: .04rem; min-width: 0; white-space: nowrap; font-size: .24rem; font-weight: 600; color: #f2f6f5; }
.tcard__name > span:first-child { overflow: hidden; text-overflow: ellipsis; }
.tcard__ai { font-size: .12rem; padding: 0 .04rem; background: #a9c3d8; color: #0b1520; font-weight: 700; }
.tcard__band { display: flex; align-items: center; gap: .05rem; min-width: 0; font-size: .16rem; color: #9fb0ab; white-space: nowrap; }
.tcard__band .bandicon { width: .26rem; height: .26rem; }
.tcard__band .bandicon img { width: 100%; height: 100%; object-fit: contain; }
.tcard__band > span { overflow: hidden; text-overflow: ellipsis; }
.tcard.is-self { z-index: 1; }
.tcard.is-self::before { box-shadow: 0 0 0 2px rgba(74, 242, 196, .55), 0 0 .3rem rgba(40, 230, 180, .3); }
.tcard.is-self .tcard__plate { margin-left: -.22rem; margin-right: -.1rem; padding-left: .2rem; background: linear-gradient(100deg, rgba(36, 170, 136, .75), rgba(20, 96, 80, .55) 55%, rgba(120, 30, 40, .4));
  box-shadow: 0 0 0 2px #4af2c4, 0 0 .2rem rgba(40, 230, 180, .4); }
.tcard.is-self .tcard__plate::before { content: ''; position: absolute; left: -.26rem; top: 50%; margin-top: -.09rem; border: .09rem solid transparent; border-left: .13rem solid #4af2c4; }
.tcard__me { position: absolute; left: .02rem; top: -.12rem; width: .26rem; height: .26rem; display: grid; place-items: center; background: #33dcae; color: #062a20; z-index: 1; }
.tcard__me .icon { width: .2rem; height: .2rem; }
.tcard__chips { height: .5rem; margin-top: .12rem; display: flex; justify-content: center; gap: .3rem; }
.tchip { min-width: .98rem; height: .48rem; display: inline-flex; align-items: center; justify-content: center; gap: .06rem; padding: 0 .14rem; border-radius: .24rem;
  background: #1a1f1e; box-shadow: inset 0 0 0 2px rgba(220, 230, 226, .22); color: #e2e8e6; font-size: .2rem; }
.tchip .icon { width: .22rem; height: .22rem; }
.tchip--cup { color: #ffad3a; box-shadow: inset 0 0 0 2px rgba(255, 150, 40, .45); }
/* 加好友 · 点赞 (2026-10-14, the accounts' social layer) */
.steam__none { position: absolute; left: 0; right: 0; top: 4rem; text-align: center; color: #7d8583; }

.steam__barbg { top: 9.15rem; }
.steam__outcome { position: absolute; left: .42rem; top: 9.24rem; display: flex; flex-direction: column; align-items: flex-start; gap: .04rem; }
.steam__title { font-size: .66rem; font-weight: 900; letter-spacing: .03em; line-height: 1.15; color: #f4f7f6; white-space: nowrap; }
.steam__rounds { position: absolute; left: 3.45rem; top: 9.24rem; width: 2.7rem; height: 1.36rem; display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-left: 2px solid rgba(200, 214, 210, .14); border-right: 2px solid rgba(200, 214, 210, .14); }
.steam__rounds span { font-size: .27rem; color: #a9b3b0; }
.steam__rounds b { position: relative; font-family: var(--font-display); font-size: .8rem; font-weight: 600; line-height: 1; color: #4af2c4; text-shadow: 0 0 .16rem rgba(30, 240, 180, .45); }
.steam.is-lose .steam__rounds b { color: #ff574a; text-shadow: 0 0 .16rem rgba(255, 60, 50, .4); }
.steam__rounds b::after { content: ''; position: absolute; left: -.5rem; right: -.5rem; top: 50%; height: 2px; background: linear-gradient(90deg, transparent, rgba(74, 242, 196, .5), transparent); z-index: -1; }
.steam__when { position: absolute; left: 6.5rem; top: 9.36rem; width: 4.9rem; display: flex; flex-direction: column; gap: .16rem; }
.steam__row { height: .48rem; display: flex; align-items: center; gap: .14rem; padding: 0 .16rem; border-radius: .24rem; background: linear-gradient(90deg, rgba(220, 230, 226, .1), rgba(220, 230, 226, .02));
  font-size: .25rem; color: #dfe6e3; white-space: nowrap; }
.steam__row .sico { width: .28rem; height: .28rem; color: #dfe6e3; }
.sbtn { position: absolute; top: 9.55rem; height: 1.03rem; display: flex; align-items: center; justify-content: center; gap: .16rem; padding: 0 .2rem; border: 0; cursor: pointer; white-space: nowrap; }
.sbtn--ghost { left: 12.18rem; width: 2.57rem; background: #2a2f2e; color: #e2e8e6; box-shadow: inset 0 0 0 2px rgba(220, 230, 226, .2); font-size: .3rem; }
.sbtn--ghost .icon { width: .3rem; height: .3rem; padding: .03rem; border-radius: .05rem; background: #e2e8e6; color: #2a2f2e; }
.sbtn--primary { left: 15.12rem; width: 4.08rem; background: linear-gradient(90deg, #44e6b8, #33d8ab); color: #062a20; font-size: .38rem; font-weight: 700; letter-spacing: .04em;
  clip-path: polygon(.12rem 0, 100% 0, 100% 100%, 0 100%, 0 .12rem); }
.sbtn--primary::after { content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: .7rem; background: repeating-linear-gradient(135deg, rgba(0, 0, 0, .14) 0 .05rem, transparent .05rem .14rem); }
.sbtn__mark svg { width: .5rem; height: .38rem; }
.sbtn:hover, .sbtn:focus-visible { filter: brightness(1.14); outline: none; }
.sbtn:focus-visible { box-shadow: inset 0 0 0 3px #fff; }
.steam__outcome, .steam__rounds, .steam__when, .sbtn { animation: steam-bar 420ms var(--ease-out) 520ms both; }
@keyframes steam-bar { from { opacity: 0; transform: translateY(.2rem); } }

@media (prefers-reduced-motion: reduce) {
  .settle *, .settle *::before, .settle *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; }
  .sintro { display: none; }
}

/* a match with gameplay plugins (DESIGN §32.6): the unofficial mark under the headline */
.result__modmark { align-self: flex-start; margin-top: .06rem; }
