/* A player's card (shared/skills.js): made of one of seven materials by its overall number, as on a
   football game's player cards (his pick, 2026-11-22): copper, bronze, silver, gold, turquoise with
   gold veins, lapis with gold flecks, and «شاهوار», hokm's limited back. Each step shows a little
   more: copper is matte, bronze and silver catch the light, from gold up a shine sweeps across, the
   top three wear a gold frame, and «شاهوار» is a limited card. The same in light and dark, since
   the card is its own material. */
.sk-card {
  --sk-a: #e9b27c; --sk-b: #b06f3c; --sk-c: #7d4520;
  --sk-ink: #2a1407; --sk-soft: rgba(42, 20, 7, .64);
  --sk-line: rgba(42, 20, 7, .2); --sk-fill: rgba(122, 52, 14, .42); --sk-edge: #5b2a0c;
  --sk-ring: rgba(255, 255, 255, .16); --sk-row: rgba(255, 255, 255, .14); --sk-row2: rgba(255, 255, 255, .22);
  --sk-face: rgba(255, 255, 255, .5);
  --sk-pattern: linear-gradient(transparent, transparent);
  --sk-shine: .45;          /* the still light on the upper left; 0 for matte */
  --sk-sweep: 5000ms;       /* skills.js SWEEP */
  position: relative; overflow: hidden; isolation: isolate; color: var(--sk-ink); text-align: center;
  border-radius: 26px; border: 0; padding: 18px 16px 16px;
  background: var(--sk-pattern), linear-gradient(155deg, var(--sk-a) 0%, var(--sk-b) 52%, var(--sk-c) 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .28), 0 10px 30px rgba(0, 0, 0, .25);
}
/* the still light across the material */
.sk-card::before {
  content: ''; position: absolute; inset: -40% -10% auto; height: 70%; pointer-events: none; z-index: 0;
  background: radial-gradient(60% 60% at 30% 40%, rgba(255, 255, 255, var(--sk-shine)), rgba(255, 255, 255, 0) 70%);
}
.sk-card > * { position: relative; z-index: 1; }

/* ------------------------------------------------------------------ the seven materials */

/* مس, 25 to 54: brushed and matte, no light on it */
.sk-copper {
  --sk-a: #c88a62; --sk-b: #93553a; --sk-c: #5f3220;
  --sk-ink: #250f05; --sk-soft: rgba(37, 15, 5, .66); --sk-line: rgba(37, 15, 5, .2);
  --sk-fill: rgba(80, 30, 10, .4); --sk-edge: #4a1f0c; --sk-ring: rgba(255, 255, 255, .1);
  --sk-row: rgba(255, 255, 255, .1); --sk-row2: rgba(255, 255, 255, .15); --sk-face: rgba(255, 255, 255, .3);
  --sk-shine: 0;
  --sk-pattern: repeating-linear-gradient(90deg, rgba(255, 255, 255, .035) 0 1px, rgba(0, 0, 0, .03) 1px 3px);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14), 0 8px 24px rgba(0, 0, 0, .22);
}
/* برنز, 55 to 64: a soft light */
.sk-bronze { --sk-shine: .38; }
/* نقره, 65 to 74: brighter light */
.sk-silver {
  --sk-a: #f4f7f9; --sk-b: #c5ced5; --sk-c: #8e9ba5;
  --sk-ink: #172027; --sk-soft: rgba(23, 32, 39, .62); --sk-line: rgba(23, 32, 39, .18);
  --sk-fill: rgba(40, 62, 80, .38); --sk-edge: #23394a; --sk-shine: .6;
}
/* طلا, 75 to 81: a shine sweeps across */
.sk-gold {
  --sk-a: #fbeaa0; --sk-b: #e0b44a; --sk-c: #a87418;
  --sk-ink: #2b1d02; --sk-soft: rgba(43, 29, 2, .64); --sk-line: rgba(43, 29, 2, .18);
  --sk-fill: rgba(120, 74, 0, .4); --sk-edge: #5c3a00; --sk-shine: .55;
}
/* فیروزه, 82 to 87: turquoise with veins of gold and of its own dark matrix, in a gold frame */
.sk-turquoise {
  --sk-a: #7fe0d6; --sk-b: #23a6a0; --sk-c: #0b5b61;
  --sk-ink: #03221f; --sk-soft: rgba(3, 34, 31, .68); --sk-line: rgba(3, 34, 31, .2);
  --sk-fill: rgba(4, 64, 62, .36); --sk-edge: #a8770c; --sk-ring: rgba(255, 255, 255, .18);
  --sk-row: rgba(255, 255, 255, .16); --sk-row2: rgba(255, 255, 255, .24); --sk-face: #e7c15a;
  --sk-shine: .45;
  --sk-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 420' preserveAspectRatio='none'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cpath d='M-10 60 C40 80 70 40 120 70 S200 140 250 110 S300 90 320 120' stroke='%23e7c15a' stroke-width='1.6' opacity='.85'/%3E%3Cpath d='M120 70 C130 110 100 150 130 190' stroke='%23e7c15a' stroke-width='.9' opacity='.7'/%3E%3Cpath d='M-10 250 C50 230 90 280 150 260 S240 200 310 240' stroke='%23e7c15a' stroke-width='1.3' opacity='.8'/%3E%3Cpath d='M150 260 C160 300 210 320 220 370 S260 420 280 440' stroke='%23e7c15a' stroke-width='1' opacity='.7'/%3E%3Cpath d='M20 330 C60 350 70 400 110 430' stroke='%23e7c15a' stroke-width='.8' opacity='.6'/%3E%3Cpath d='M0 150 C40 160 60 130 90 150 S130 200 180 180' stroke='%23073f40' stroke-width='1.2' opacity='.45'/%3E%3Cpath d='M200 20 C220 60 260 50 290 80' stroke='%23073f40' stroke-width='1' opacity='.4'/%3E%3Cpath d='M60 380 C100 360 150 390 190 370 S260 330 310 350' stroke='%23073f40' stroke-width='1' opacity='.4'/%3E%3C/g%3E%3C/svg%3E") center / 100% 100% no-repeat;
  box-shadow: inset 0 0 0 2px #e7c15a, inset 0 0 0 4px rgba(0, 0, 0, .25), 0 10px 32px rgba(11, 91, 97, .45);
}
/* لاجورد, 88 to 93: deep blue with flecks of gold, the words in gold, a double gold frame */
.sk-lapis {
  --sk-a: #3657b5; --sk-b: #1b2d73; --sk-c: #0a1240;
  --sk-ink: #f6e3a6; --sk-soft: rgba(246, 227, 166, .74); --sk-line: rgba(246, 227, 166, .24);
  --sk-fill: rgba(231, 193, 90, .34); --sk-edge: #f0cd6a; --sk-ring: rgba(255, 255, 255, .07);
  --sk-row: rgba(255, 255, 255, .07); --sk-row2: rgba(255, 255, 255, .12); --sk-face: #f0cd6a;
  --sk-shine: .22;
  --sk-pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='110' height='110'%3E%3Cg fill='%23f0cd6a'%3E%3Ccircle cx='8' cy='12' r='1.1' opacity='.9'/%3E%3Ccircle cx='31' cy='5' r='.6' opacity='.7'/%3E%3Ccircle cx='52' cy='22' r='1.4' opacity='.85'/%3E%3Ccircle cx='77' cy='9' r='.8' opacity='.8'/%3E%3Ccircle cx='98' cy='30' r='1' opacity='.9'/%3E%3Ccircle cx='18' cy='44' r='.7' opacity='.7'/%3E%3Ccircle cx='41' cy='58' r='1.2' opacity='.85'/%3E%3Ccircle cx='70' cy='47' r='.6' opacity='.6'/%3E%3Ccircle cx='88' cy='66' r='1.3' opacity='.9'/%3E%3Ccircle cx='6' cy='80' r='1' opacity='.8'/%3E%3Ccircle cx='29' cy='95' r='.7' opacity='.7'/%3E%3Ccircle cx='58' cy='84' r='.9' opacity='.8'/%3E%3Ccircle cx='80' cy='101' r='1.1' opacity='.85'/%3E%3Ccircle cx='104' cy='88' r='.6' opacity='.7'/%3E%3C/g%3E%3Cg fill='%23ffffff' opacity='.5'%3E%3Ccircle cx='63' cy='70' r='.5'/%3E%3Ccircle cx='20' cy='26' r='.4'/%3E%3Ccircle cx='94' cy='50' r='.4'/%3E%3C/g%3E%3C/svg%3E");
  box-shadow: inset 0 0 0 2px #f0cd6a, inset 0 0 0 5px #0a1240, inset 0 0 0 6px rgba(240, 205, 106, .7), 0 10px 34px rgba(27, 45, 115, .55);
}
/* شاهوار, 94 to 99: the face of a hokm card when a limited back is worn (his words, 2026-11-22,
   «آخری مثل کارت لیمتد حکم باشه» and «منظورم روی کارت در بازی حکمه نه پشتش»; Goud.Hokm scripts/Finish.cs,
   docs/hokm-web-card-finish): the cards' cream paper in a wide rim of matte gold (his later word), 
   and a cool silver-violet prism over the paper that sweeps
   with the light. Dark words, as a card's index is. */
.sk-royal {
  /* the paper a pale gold of its own, lighter than the rim (his word, «رویال یکم خودش هم طلایی باشه کم رنگ تر از حاشیه») */
  --sk-a: #fbf0cf; --sk-b: #f1dfac; --sk-c: #e4c98a;
  --sk-ink: #22160c; --sk-soft: rgba(34, 22, 12, .66); --sk-line: rgba(34, 22, 12, .16);
  --sk-fill: rgba(112, 92, 196, .24); --sk-edge: #4a3c90; --sk-ring: rgba(255, 255, 255, .45);
  --sk-row: rgba(34, 22, 12, .045); --sk-row2: rgba(34, 22, 12, .08); --sk-face: #d4d7dc;
  --sk-shine: 0;
  /* the rim: matte gold (his word, 2026-11-22, «حاشیه کارت رویال طلایی مات باشه»), no ribs and no
     shine on it, only a fine grain, as gold leaf laid on paper */
  --sk-pattern:
    radial-gradient(rgba(90, 60, 10, .1) .6px, transparent .8px) 0 0 / 3px 3px,
    radial-gradient(rgba(255, 240, 200, .08) .6px, transparent .8px) 1.5px 1.5px / 3px 3px,
    linear-gradient(160deg, #d8b866, #c6a050 50%, #b38d42);
  padding: 24px 24px 22px;
  box-shadow: inset 0 0 0 1px rgba(120, 88, 30, .5), 0 0 0 1px #8e6f2e,
    0 12px 36px rgba(0, 0, 0, .4), 0 0 26px rgba(190, 170, 255, .18);
}
/* the paper inside the rim, washed with the prism's faint colours */
.sk-royal::before {
  inset: 10px; height: auto; border-radius: 17px;
  background:
    linear-gradient(125deg, rgba(196, 178, 255, .2) 0%, rgba(255, 205, 232, .14) 35%, rgba(255, 255, 255, 0) 55%, rgba(178, 238, 255, .16) 100%),
    linear-gradient(160deg, var(--sk-a), var(--sk-b) 60%, var(--sk-c));
  box-shadow: 0 0 0 1px rgba(110, 116, 124, .55), inset 0 0 0 1px rgba(255, 255, 255, .7), inset 0 0 12px rgba(120, 100, 60, .12);
}
/* the matte rim is one piece: no frame marks on it */
.sk-royal > .sk-frame { display: none; }
.sk-royal .sk-ovr b { font-size: 50px; }
.sk-royal .sk-best { background: var(--sk-ink); color: #f3e7d0; }
.sk-royal .sk-farr { background: var(--sk-ink); color: #f3e7d0; }

/* The lapis card's twinkling stars (skills.js stars): gold flecks that swell and fade each on its own
   beat; the bigger ones with four thin rays. Under the words, over the stone. */
.sk-card > .sk-stars { position: absolute; inset: 8px; z-index: 0; pointer-events: none; border-radius: 20px; overflow: hidden; }
.sk-stars i {
  position: absolute; border-radius: 50%; transform: translate(-50%, -50%) scale(.35); opacity: .25;
  background: radial-gradient(circle, #fff8dc 0 25%, #f0cd6a 55%, rgba(240, 205, 106, 0) 75%);
  animation: sk-twinkle var(--beat, 3s) ease-in-out infinite; animation-delay: var(--at, 0ms);
}
.sk-stars i.ray { background: radial-gradient(circle, #fffbe8 0 18%, rgba(240, 205, 106, .9) 30%, rgba(240, 205, 106, 0) 60%); }
.sk-stars i.ray::before, .sk-stars i.ray::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 260%; height: 1.2px; transform: translate(-50%, -50%);
  background: linear-gradient(90deg, rgba(255, 240, 190, 0), rgba(255, 240, 190, .95) 50%, rgba(255, 240, 190, 0));
}
.sk-stars i.ray::after { transform: translate(-50%, -50%) rotate(90deg); }
@keyframes sk-twinkle {
  0%, 100% { opacity: .2; transform: translate(-50%, -50%) scale(.35); }
  45% { opacity: 1; transform: translate(-50%, -50%) scale(1); filter: drop-shadow(0 0 3px rgba(255, 220, 130, .8)); }
  60% { opacity: .85; transform: translate(-50%, -50%) scale(.85); }
}
@media (prefers-reduced-motion: reduce) { .sk-stars i { animation: none; opacity: .6; transform: translate(-50%, -50%) scale(.7); } }

/* The shine that sweeps across, from gold up: once every few seconds, on the clock (skills.js). */
.sk-gold::after, .sk-turquoise::after, .sk-lapis::after, .sk-royal::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, .5) 50%, rgba(255, 255, 255, 0) 62%) no-repeat;
  background-size: 260% 100%; mix-blend-mode: soft-light;
  animation: sk-sweep var(--sk-sweep) linear infinite; animation-delay: var(--sk-phase, 0ms);
}
.sk-lapis::after { mix-blend-mode: screen; opacity: .35; }
/* the limited finish: a cool silver-violet prism in the band of light, never over the whole card */
.sk-royal::after {
  background: linear-gradient(112deg, rgba(255, 255, 255, 0) 34%, rgba(150, 175, 255, .5) 43%, rgba(215, 160, 255, .55) 50%,
    rgba(140, 235, 225, .45) 57%, rgba(255, 255, 255, 0) 66%) no-repeat;
  background-size: 260% 100%; mix-blend-mode: multiply; opacity: .55;
}
@keyframes sk-sweep {
  0% { background-position: 130% 0; }
  32%, 100% { background-position: -30% 0; }
}

/* The gold frame's corners on the top three: small diamonds at each corner, drawn by borders. */
.sk-card > .sk-frame { position: absolute; inset: 9px; z-index: 0; pointer-events: none; border-radius: 19px; }
.sk-frame::before, .sk-frame::after {
  content: ''; position: absolute; width: 10px; height: 10px; transform: rotate(45deg);
  border: 1.5px solid var(--sk-edge); background: var(--sk-c);
}
.sk-turquoise .sk-frame::before, .sk-turquoise .sk-frame::after { border-color: #e7c15a; background: #0b5b61; }
.sk-frame::before { top: -2px; inset-inline-start: 50%; margin-inline-start: -5px; }
.sk-frame::after { bottom: -2px; inset-inline-start: 50%; margin-inline-start: -5px; }

@media (prefers-reduced-motion: reduce) {
  .sk-card::after { animation: none !important; opacity: 0 !important; }
}

/* ------------------------------------------------------------------ the card's parts */

/* the top line: «Player card» at one end, the farr at the other */
.sk-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 30px; margin: -4px 0 8px; }
.sk-label { color: var(--sk-soft); font-size: 12px; font-weight: 700; }
/* the number, the avatar and the name's block, all centred on the avatar */
.sk-head { display: grid; grid-template-columns: 78px 88px minmax(0, 1fr); align-items: center; gap: 12px; text-align: start; }
.sk-who { display: grid; gap: 4px; justify-items: start; align-content: center; min-width: 0; }
.sk-who > b { font-size: 22px; font-weight: 900; line-height: 1.15; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sk-who > .sk-where { color: var(--sk-soft); font-size: 12.5px; font-weight: 700; }
.sk-who > .sk-best { margin-top: 2px; }
/* a fixed width, so a longer name in the chip below never moves the number (his word, «عدد جامپ میشه») */
.sk-ovr { display: grid; grid-template-columns: 100%; justify-items: center; line-height: 1; width: 78px; min-width: 0; }
.sk-ovr b { font-size: 46px; font-weight: 900; letter-spacing: -1px; }
.sk-ovr small { font-size: 13px; font-weight: 900; letter-spacing: 1px; margin-top: 2px; }
.sk-tier { margin-top: 5px; font-size: 11px; font-weight: 900; letter-spacing: .5px; color: var(--sk-soft); text-transform: uppercase; }
.sk-best { margin-top: 5px; padding: 2px 8px 2px 7px; border-radius: 999px; font-size: 11px; font-weight: 900;
  background: var(--sk-ink); color: var(--sk-b); display: inline-flex; align-items: center; gap: 3px; max-width: 100%; box-sizing: border-box; }
/* as wide as its name; only a name wider than the whole column is shortened */
.sk-best span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* the star in the chip's own text colour, so it shows on a gold chip (lapis) as on a dark one */
.sk-best i { font-style: normal; color: currentColor; font-size: 12.5px; line-height: 1; }
.sk-face { width: 88px; height: 88px; margin: 0; font-size: 40px; box-shadow: 0 0 0 3px var(--sk-face);
  /* round by itself too, on pages without the phone's .p-avatar (the stream's last board) */
  /* never overflow: hidden here: the flag badge sits past the circle's edge (the picture is round by itself) */
  border-radius: 50%; overflow: visible; display: grid; place-items: center; flex-shrink: 0; }
/* the flag beside the country's name (his words, «پرچم هم بولد تر در کارت نشون داده بشه» and «پرچم بره
   کنار اسم کشور»): big for its line, in a white ring with a shadow, so it reads at a glance */
.sk-where { display: flex; align-items: center; gap: 7px; min-width: 0; margin-top: 3px; }
.sk-where > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sk-where > img { flex: none; width: auto; height: 18px; border-radius: 3px; box-shadow: 0 0 0 1.5px #fff, 0 1px 4px rgba(0, 0, 0, .45); }

/* the farr of all time at the far end of the top line (top right in English, its mirror in Persian) */
.sk-top > .sk-farr {
  display: inline-flex; align-items: center; gap: 5px; padding: 5px 12px 5px 10px; border-radius: 999px;
  background: var(--sk-ink); color: var(--sk-b); line-height: 1; box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
}
/* the farr flame and a big number beside it (his word, «عدد فر بزرگتر باشه و با آیکون مناسب فر به جای اسم») */
.sk-farr img { display: block; width: 12px; height: 24px; filter: drop-shadow(0 0 3px rgba(255, 200, 80, .45)); }
.sk-farr b { font-size: 22px; font-weight: 900; font-variant-numeric: tabular-nums; }

/* left to right in every language, so each label's anchor keeps it clear of the chart */
.sk-radar { display: block; width: 100%; max-width: 330px; margin: 4px auto 0; overflow: visible; direction: ltr; }
.sk-ring { fill: none; stroke: var(--sk-line); stroke-width: 1.2; }
.sk-ring:first-child { fill: var(--sk-ring); stroke-width: 1.6; }
.sk-spoke { stroke: var(--sk-line); stroke-width: 1; }
.sk-fill { fill: var(--sk-fill); stroke: var(--sk-edge); stroke-width: 2.4; stroke-linejoin: round; }
.sk-dot { fill: var(--sk-edge); }
.sk-shape { transform-origin: 150px 150px; }
.sk-shape.grow { animation: sk-grow .7s cubic-bezier(.2, .9, .3, 1.15) both; }
@keyframes sk-grow { from { transform: scale(.05); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .sk-shape.grow { animation: none; } }
.sk-num { font-size: 19px; font-weight: 900; fill: var(--sk-ink); }
.sk-name { font-size: 13px; font-weight: 700; fill: var(--sk-soft); }

.sk-from { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--sk-line); font-weight: 900; font-size: 14px; }
.sk-note { margin: 6px 0 0; font-size: 12.5px; color: var(--sk-soft); line-height: 1.5; }
/* the chart that turns (skills.js chart): the six abilities and the categories' radar in one place,
   a tap fading one into the other; the line under it says which way a tap goes */
.sk-chart { display: grid; grid-template-columns: 100%; justify-items: center; width: 100%; margin: 0; padding: 0; border: 0;
  background: none; color: inherit; font: inherit; cursor: pointer; border-radius: 16px; -webkit-tap-highlight-color: transparent; }
/* a ring for the keyboard only: never left round the chart after a tap */
.sk-chart { -webkit-appearance: none; appearance: none; outline: none; }
.sk-chart:focus-visible { outline: 2px solid var(--sk-edge); outline-offset: 2px; }
.sk-chart > svg { grid-area: 1 / 1; transition: opacity .35s ease, transform .35s ease; }
.sk-chart > .sk-cradar { opacity: 0; visibility: hidden; transform: scale(.92); }
.sk-chart.cats > .sk-radar { opacity: 0; visibility: hidden; transform: scale(.92); }
.sk-chart.cats > .sk-cradar { opacity: 1; visibility: visible; transform: none; }
.sk-chart > svg { transition-property: opacity, transform, visibility; }
.sk-hint { grid-area: 2 / 1; margin-top: 2px; font-size: 11.5px; font-weight: 700; color: var(--sk-soft); }
@media (prefers-reduced-motion: reduce) { .sk-chart > svg { transition: none; } }

/* the categories' radar, a spoke for each (skills.js catRadar): one square, no scrolling */
.sk-cradar { display: block; width: 100%; max-width: 330px; margin: 4px auto 0; overflow: visible; direction: ltr; }
.sk-cradar .sk-wedge { fill: var(--sk-row2); stroke: none; }
.sk-cradar .sk-ring:first-child { fill: none; }
.sk-cradar .sk-fill { stroke-width: 2; }
.sk-cradar .sk-dot.none { fill: none; stroke: var(--sk-edge); stroke-width: 1.4; stroke-dasharray: 2 2; }
.sk-cnum { font-size: 13px; font-weight: 900; fill: var(--sk-ink); }
.sk-cname { font-size: 10.5px; font-weight: 700; fill: var(--sk-soft); }

/* a phone with no account: the house's own colours, not a material */
.sk-guest { background: var(--hero); color: var(--ink); box-shadow: none; border: 1px solid var(--line); }
.sk-guest::before { display: none; }
.sk-guest h2 { margin: 0 0 4px; color: var(--hi); font-size: 19px; }
.sk-guest .sk-note { color: var(--dim); margin-bottom: 12px; }
.sk-wait { min-height: 120px; display: grid; place-items: center; }

/* a name on a board opens its card */
.sk-open { all: unset; cursor: pointer; display: flex; align-items: center; min-width: 0; flex: 1; border-radius: 8px; }
.sk-open:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* the way from a card to its own page */
.sk-link { display: block; text-align: center; text-decoration: none; }

/* a card's own page (c/index.html): the card, its scan code, and two cards compared */
.sk-page { display: grid; gap: 14px; padding: 16px; max-width: 560px; margin: 0 auto; }
.sk-page .p-card { margin: 0; }
.sk-share { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center; }
.sk-qr { padding: 8px; border-radius: 14px; background: #fff; line-height: 0; }
.sk-qr svg { display: block; width: 132px; height: 132px; }
.sk-share-text { display: grid; gap: 6px; min-width: 0; }
.sk-share-text b { color: var(--hi); font-size: 15px; line-height: 1.4; }
.sk-share-text small { color: var(--dim); }
.sk-share-do { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.sk-copied { color: var(--right); font-weight: 700; min-height: 1em; }
.sk-own, .sk-signin { text-align: center; }
.sk-signin p { margin: 0 0 12px; color: var(--ink); }

.sk-vs { --sk-them: #e0b44a; --sk-mine: #3fc9c1; --sk-line: var(--line); --sk-soft: var(--dim); --sk-ring: var(--wash); --sk-ink: var(--ink); }
.sk-vs h2 { margin: 0 0 10px; text-align: center; color: var(--hi); font-size: 19px; }
.sk-vs-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.sk-vs-side { display: grid; justify-items: center; gap: 2px; min-width: 0; }
.sk-vs-side b { font-size: 40px; font-weight: 900; line-height: 1; }
.sk-vs-side.them b { color: var(--sk-them); }
.sk-vs-side.mine b { color: var(--sk-mine); }
.sk-vs-side small { color: var(--dim); font-weight: 700; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sk-key { width: 22px; height: 6px; border-radius: 3px; margin-bottom: 6px; }
.them .sk-key { background: var(--sk-them); }
.mine .sk-key { background: var(--sk-mine); }
.sk-them { fill: rgba(224, 180, 74, .26); stroke: var(--sk-them); stroke-width: 2.4; stroke-linejoin: round; }
.sk-mine { fill: rgba(63, 201, 193, .24); stroke: var(--sk-mine); stroke-width: 2.4; stroke-linejoin: round; stroke-dasharray: 6 4; }
.sk-vs-radar .sk-name { font-size: 14px; }
.sk-diff { font-size: 15px; font-weight: 900; color: var(--dim); min-width: 3ch; text-align: center; }
.sk-diff.up { color: var(--right); }
.sk-diff.down { color: var(--wrong); }
.sk-vs-rows { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; }
.sk-vs-rows li { display: grid; grid-template-columns: 1fr 3ch 3ch 4ch; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; background: var(--wash); }
.sk-vs-rows li span { font-weight: 700; }
.sk-vs-rows b.them { color: var(--sk-them); text-align: center; }
.sk-vs-rows b.mine { color: var(--sk-mine); text-align: center; }


/* The player's card beside the top three's at a show's end (phone.js showVs, skills.js showChart): a shape
   each in its medal's colour, the player's own on top and stronger. */
.sk-podium-vs { --sk-line: var(--line); --sk-soft: var(--dim); --sk-ring: var(--wash); --sk-ink: var(--ink); --sk-row2: var(--wash2); --sk-edge: var(--dim); }
.sk-podium-vs h2 { margin: 0 0 8px; text-align: center; }
.sk-p1 { --c: #e8bd4f; --f: rgba(232, 189, 79, .14); }
.sk-p2 { --c: #b3c2cd; --f: rgba(179, 194, 205, .12); }
.sk-p3 { --c: #d08a52; --f: rgba(208, 138, 82, .13); }
.sk-you { --c: #3fc9c1; --f: rgba(63, 201, 193, .3); }
.sk-top-chart .sk-shape .sk-fill { fill: var(--f); stroke: var(--c); stroke-width: 2.2; }
.sk-top-chart .sk-shape .sk-dot { fill: var(--c); }
.sk-top-chart .sk-shape .sk-dot.none { fill: none; stroke: var(--c); stroke-width: 1.4; stroke-dasharray: 2 2; }
.sk-top-chart .sk-shape.self .sk-fill { stroke-width: 3.2; fill-opacity: 1; }
.sk-top-chart .sk-shape.self.sk-p1 { --f: rgba(232, 189, 79, .3); }
.sk-top-chart .sk-shape.self.sk-p2 { --f: rgba(179, 194, 205, .3); }
.sk-top-chart .sk-shape.self.sk-p3 { --f: rgba(208, 138, 82, .3); }
.sk-top-key { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin: 0 0 4px; padding: 0; list-style: none; }
.sk-top-key li { display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%; font-size: 13px; font-weight: 700; }
.sk-top-key li i { flex: none; width: 18px; height: 6px; border-radius: 3px; background: var(--c); }
.sk-top-key li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 9em; }
.sk-top-key li b { color: var(--c); font-weight: 900; }
.sk-top-key li.self { color: var(--hi); }
/* One of the three in the key is a button: a tap hides their shape and shows it again; the player's own stays. */
.sk-key-btn { display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%; margin: 0; padding: 4px 8px;
  border: 1px solid transparent; border-radius: 999px; background: none; color: inherit; font: inherit; cursor: pointer;
  transition: opacity .2s ease, border-color .2s ease; -webkit-tap-highlight-color: transparent; }
.sk-key-btn:hover { border-color: var(--line); }
.sk-key-btn:focus-visible { outline: 2px solid var(--c); outline-offset: 1px; }
.sk-key-btn[aria-pressed="false"] { opacity: .4; }
.sk-key-btn[aria-pressed="false"] i { background: transparent; box-shadow: inset 0 0 0 1.5px var(--c); }
.sk-top-key li.self { padding: 4px 8px; }
.sk-podium-vs.hide-p1 .sk-shape.sk-p1, .sk-podium-vs.hide-p2 .sk-shape.sk-p2, .sk-podium-vs.hide-p3 .sk-shape.sk-p3 { display: none; }
