/* 0.55 «Сезоны» U — «Летние образы» (su-looks.js, su-looks-art.js, su-outfit-art.js): the two frames (drawn by
   scripts/build-su-frames.mjs in the face's own border, like the New Year's), «Солнечный блик» (the name's letters in warm
   sunlight, a glare sweeping across them now and then; still with reduced motion) and the shop's card — the model is
   ny-looks.css. Loaded after club-looks.css and club-glow.css: the same attributes (data-club-frame, data-club-glow). */

/* 0.55 summer frames: begin — drawn by scripts/build-su-frames.mjs (edit there and run it: it rewrites this block) */
[data-club-frame="suwave"] {
  --cf: conic-gradient(from 0deg, #1fb5c9, #0f7fb8, #23c2c9, #0b6aa8, #1fb5c9, #0f7fb8, #23c2c9, #0b6aa8, #1fb5c9); --cg: 0 0 0 .5px rgba(6, 60, 90, .6), 0 0 6px rgba(80, 220, 235, .5);
  --cfx: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle%3Esvg{overflow:visible}.f{overflow:hidden}%3C/style%3E%3Cdefs%3E%3Csvg id='w' y='-50%25'%3E%3Cg transform='translate(0 .15)'%3E%3Cpath d='M-1.5 1.25 Q-.9 -.05 .25 .05 Q1.25 .15 1.3 1 Q.85 .5 .3 .7 Q-.25 .95 -.25 1.6 Z' fill='%23ffffff'/%3E%3Cpath d='M-1.5 1.25 Q-.9 -.05 .25 .05' stroke='%23d9f6ff' stroke-width='.22' fill='none'/%3E%3Ccircle cx='-1.15' cy='.15' r='.2' fill='%23ffffff' opacity='.85'/%3E%3Ccircle cx='-1.7' cy='.55' r='.15' fill='%23ffffff' opacity='.7'/%3E%3C/g%3E%3C/svg%3E%3Csvg id='g' y='-50%25'%3E%3Cg transform='translate(0 .75)'%3E%3Cpath d='M0 -.85 L.17 -.17 L.85 0 L.17 .17 L0 .85 L-.17 .17 L-.85 0 L-.17 -.17 Z' fill='%23fffbe0'/%3E%3C/g%3E%3C/svg%3E%3C/defs%3E%3Csvg class='f' x='0%25' width='12.5%25'%3E%3Csvg x='50%25' y='50%25'%3E%3Cuse href='%23w'/%3E%3Cuse href='%23w' transform='rotate(40)'/%3E%3Cuse href='%23w' transform='rotate(80)'/%3E%3Cuse href='%23w' transform='rotate(120)'/%3E%3Cuse href='%23w' transform='rotate(160)'/%3E%3Cuse href='%23w' transform='rotate(200)'/%3E%3Cuse href='%23w' transform='rotate(240)'/%3E%3Cuse href='%23w' transform='rotate(280)'/%3E%3Cuse href='%23w' transform='rotate(320)'/%3E%3Cuse href='%23g' transform='rotate(22)'/%3E%3Cuse href='%23g' transform='rotate(188)'/%3E%3C/svg%3E%3C/svg%3E%3Csvg class='f' x='12.5%25' width='12.5%25'%3E%3Csvg x='50%25' y='50%25'%3E%3Cuse href='%23w' transform='rotate(5)'/%3E%3Cuse href='%23w' transform='rotate(45)'/%3E%3Cuse href='%23w' transform='rotate(85)'/%3E%3Cuse href='%23w' transform='rotate(125)'/%3E%3Cuse href='%23w' transform='rotate(165)'/%3E%3Cuse href='%23w' transform='rotate(205)'/%3E%3Cuse href='%23w' transform='rotate(245)'/%3E%3Cuse href='%23w' transform='rotate(285)'/%3E%3Cuse href='%23w' transform='rotate(325)'/%3E%3Cuse href='%23g' transform='rotate(22)'/%3E%3Cuse href='%23g' transform='rotate(331)'/%3E%3C/svg%3E%3C/svg%3E%3Csvg class='f' x='25%25' width='12.5%25'%3E%3Csvg x='50%25' y='50%25'%3E%3Cuse href='%23w' transform='rotate(10)'/%3E%3Cuse href='%23w' transform='rotate(50)'/%3E%3Cuse href='%23w' transform='rotate(90)'/%3E%3Cuse href='%23w' transform='rotate(130)'/%3E%3Cuse href='%23w' transform='rotate(170)'/%3E%3Cuse href='%23w' transform='rotate(210)'/%3E%3Cuse href='%23w' transform='rotate(250)'/%3E%3Cuse href='%23w' transform='rotate(290)'/%3E%3Cuse href='%23w' transform='rotate(330)'/%3E%3Cuse href='%23g' transform='rotate(96)'/%3E%3Cuse href='%23g' transform='rotate(331)'/%3E%3C/svg%3E%3C/svg%3E%3Csvg class='f' x='37.5%25' width='12.5%25'%3E%3Csvg x='50%25' y='50%25'%3E%3Cuse href='%23w' transform='rotate(15)'/%3E%3Cuse href='%23w' transform='rotate(55)'/%3E%3Cuse href='%23w' transform='rotate(95)'/%3E%3Cuse href='%23w' transform='rotate(135)'/%3E%3Cuse href='%23w' transform='rotate(175)'/%3E%3Cuse href='%23w' transform='rotate(215)'/%3E%3Cuse href='%23w' transform='rotate(255)'/%3E%3Cuse href='%23w' transform='rotate(295)'/%3E%3Cuse href='%23w' transform='rotate(335)'/%3E%3Cuse href='%23g' transform='rotate(96)'/%3E%3Cuse href='%23g' transform='rotate(214)'/%3E%3C/svg%3E%3C/svg%3E%3Csvg class='f' x='50%25' width='12.5%25'%3E%3Csvg x='50%25' y='50%25'%3E%3Cuse href='%23w' transform='rotate(20)'/%3E%3Cuse href='%23w' transform='rotate(60)'/%3E%3Cuse href='%23w' transform='rotate(100)'/%3E%3Cuse href='%23w' transform='rotate(140)'/%3E%3Cuse href='%23w' transform='rotate(180)'/%3E%3Cuse href='%23w' transform='rotate(220)'/%3E%3Cuse href='%23w' transform='rotate(260)'/%3E%3Cuse href='%23w' transform='rotate(300)'/%3E%3Cuse href='%23w' transform='rotate(340)'/%3E%3Cuse href='%23g' transform='rotate(214)'/%3E%3Cuse href='%23g' transform='rotate(63)'/%3E%3Cuse href='%23g' transform='rotate(302)'/%3E%3C/svg%3E%3C/svg%3E%3Csvg class='f' x='62.5%25' width='12.5%25'%3E%3Csvg x='50%25' y='50%25'%3E%3Cuse href='%23w' transform='rotate(25)'/%3E%3Cuse href='%23w' transform='rotate(65)'/%3E%3Cuse href='%23w' transform='rotate(105)'/%3E%3Cuse href='%23w' transform='rotate(145)'/%3E%3Cuse href='%23w' transform='rotate(185)'/%3E%3Cuse href='%23w' transform='rotate(225)'/%3E%3Cuse href='%23w' transform='rotate(265)'/%3E%3Cuse href='%23w' transform='rotate(305)'/%3E%3Cuse href='%23w' transform='rotate(345)'/%3E%3Cuse href='%23g' transform='rotate(151)'/%3E%3Cuse href='%23g' transform='rotate(63)'/%3E%3Cuse href='%23g' transform='rotate(302)'/%3E%3C/svg%3E%3C/svg%3E%3Csvg class='f' x='75%25' width='12.5%25'%3E%3Csvg x='50%25' y='50%25'%3E%3Cuse href='%23w' transform='rotate(30)'/%3E%3Cuse href='%23w' transform='rotate(70)'/%3E%3Cuse href='%23w' transform='rotate(110)'/%3E%3Cuse href='%23w' transform='rotate(150)'/%3E%3Cuse href='%23w' transform='rotate(190)'/%3E%3Cuse href='%23w' transform='rotate(230)'/%3E%3Cuse href='%23w' transform='rotate(270)'/%3E%3Cuse href='%23w' transform='rotate(310)'/%3E%3Cuse href='%23w' transform='rotate(350)'/%3E%3Cuse href='%23g' transform='rotate(151)'/%3E%3Cuse href='%23g' transform='rotate(277)'/%3E%3Cuse href='%23g' transform='rotate(124)'/%3E%3C/svg%3E%3C/svg%3E%3Csvg class='f' x='87.5%25' width='12.5%25'%3E%3Csvg x='50%25' y='50%25'%3E%3Cuse href='%23w' transform='rotate(35)'/%3E%3Cuse href='%23w' transform='rotate(75)'/%3E%3Cuse href='%23w' transform='rotate(115)'/%3E%3Cuse href='%23w' transform='rotate(155)'/%3E%3Cuse href='%23w' transform='rotate(195)'/%3E%3Cuse href='%23w' transform='rotate(235)'/%3E%3Cuse href='%23w' transform='rotate(275)'/%3E%3Cuse href='%23w' transform='rotate(315)'/%3E%3Cuse href='%23w' transform='rotate(355)'/%3E%3Cuse href='%23g' transform='rotate(277)'/%3E%3Cuse href='%23g' transform='rotate(188)'/%3E%3Cuse href='%23g' transform='rotate(124)'/%3E%3C/svg%3E%3C/svg%3E%3C/svg%3E") 0% 0 / 800% 100% no-repeat border-box,
    radial-gradient(closest-side, transparent calc(100% - 2.3px), rgba(150, 240, 245, .55) calc(100% - 1.9px), transparent calc(100% - 1.2px)) 0 0 / 100% 100% no-repeat border-box,
    conic-gradient(from 0deg, #1fb5c9, #0f7fb8, #23c2c9, #0b6aa8, #1fb5c9, #0f7fb8, #23c2c9, #0b6aa8, #1fb5c9) 0 0 / 100% 100% no-repeat border-box;
  --cfa: cf-suwave 2.4s steps(1, end) infinite;
}
[data-club-frame="susunset"] {
  --cf: linear-gradient(#ffd25a, #ff9a3c 34%, #ff5f6d 60%, #b13d8a 82%, #5b2d8c); --cg: 0 0 0 .5px rgba(70, 20, 60, .6), 0 0 7px rgba(255, 150, 90, .55);
  --cfx: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cstyle%3Esvg{overflow:visible}.f{overflow:hidden}%3C/style%3E%3Cdefs%3E%3Csvg id='s0' y='-50%25'%3E%3Cg transform='translate(0 1.2)'%3E%3Ccircle r='2.1' fill='%23ffd36b' opacity='.35'/%3E%3Ccircle r='1.2' fill='%23ffe58a'/%3E%3Ccircle r='.74' fill='%23fff6c8'/%3E%3C/g%3E%3C/svg%3E%3Csvg id='s1' y='-50%25'%3E%3Cg transform='translate(0 1.2)'%3E%3Ccircle r='2.22' fill='%23ffd36b' opacity='.35'/%3E%3Ccircle r='1.32' fill='%23ffe58a'/%3E%3Ccircle r='.82' fill='%23fff6c8'/%3E%3C/g%3E%3C/svg%3E%3Csvg id='s2' y='-50%25'%3E%3Cg transform='translate(0 1.2)'%3E%3Ccircle r='2.3' fill='%23ffd36b' opacity='.35'/%3E%3Ccircle r='1.4' fill='%23ffe58a'/%3E%3Ccircle r='.87' fill='%23fff6c8'/%3E%3C/g%3E%3C/svg%3E%3Csvg id='s3' y='-50%25'%3E%3Cg transform='translate(0 1.2)'%3E%3Ccircle r='2.2' fill='%23ffd36b' opacity='.35'/%3E%3Ccircle r='1.3' fill='%23ffe58a'/%3E%3Ccircle r='.81' fill='%23fff6c8'/%3E%3C/g%3E%3C/svg%3E%3Csvg id='pa' y='-50%25'%3E%3Cg transform='translate(0 .1)'%3E%3Cg transform='scale(1 1)'%3E%3Cpath d='M0 2.6 Q.35 1.4 .2 -.1' stroke='%233a1a3f' stroke-width='.42' fill='none' stroke-linecap='round'/%3E%3Cpath d='M.2 -.1 Q-.6 -.7 -1.5 -.2 M.2 -.1 Q.9 -.8 1.7 -.3 M.2 -.1 Q-.2 -.9 -.9 -1.1 M.2 -.1 Q.7 -1 1.3 -1.1 M.2 -.1 Q.15 -.8 .25 -1.2' stroke='%233a1a3f' stroke-width='.36' fill='none' stroke-linecap='round'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E%3Csvg id='pb' y='-50%25'%3E%3Cg transform='translate(0 .25)'%3E%3Cg transform='scale(-1 1)'%3E%3Cpath d='M0 2.6 Q.35 1.4 .2 -.1' stroke='%233a1a3f' stroke-width='.42' fill='none' stroke-linecap='round'/%3E%3Cpath d='M.2 -.1 Q-.6 -.7 -1.5 -.2 M.2 -.1 Q.9 -.8 1.7 -.3 M.2 -.1 Q-.2 -.9 -.9 -1.1 M.2 -.1 Q.7 -1 1.3 -1.1 M.2 -.1 Q.15 -.8 .25 -1.2' stroke='%233a1a3f' stroke-width='.36' fill='none' stroke-linecap='round'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E%3Csvg id='gl' y='-50%25'%3E%3Cg transform='translate(0 .9)'%3E%3Cpath d='M-.8 0 Q-.4 -.45 0 0 Q.4 -.45 .8 0' stroke='%234a2348' stroke-width='.24' fill='none' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E%3C/defs%3E%3Csvg class='f' x='0%25' width='25%25'%3E%3Csvg x='50%25' y='50%25'%3E%3Cuse href='%23s0' transform='rotate(104)'/%3E%3Cuse href='%23pa' transform='rotate(248)'/%3E%3Cuse href='%23pb' transform='rotate(262)'/%3E%3Cuse href='%23gl' transform='rotate(322)'/%3E%3Cuse href='%23gl' transform='rotate(336) translate(0 .5)'/%3E%3C/svg%3E%3C/svg%3E%3Csvg class='f' x='25%25' width='25%25'%3E%3Csvg x='50%25' y='50%25'%3E%3Cuse href='%23s1' transform='rotate(104)'/%3E%3Cuse href='%23pa' transform='rotate(248)'/%3E%3Cuse href='%23pb' transform='rotate(262)'/%3E%3Cuse href='%23gl' transform='rotate(322)'/%3E%3Cuse href='%23gl' transform='rotate(336) translate(0 .5)'/%3E%3C/svg%3E%3C/svg%3E%3Csvg class='f' x='50%25' width='25%25'%3E%3Csvg x='50%25' y='50%25'%3E%3Cuse href='%23s2' transform='rotate(104)'/%3E%3Cuse href='%23pa' transform='rotate(248)'/%3E%3Cuse href='%23pb' transform='rotate(262)'/%3E%3Cuse href='%23gl' transform='rotate(322)'/%3E%3Cuse href='%23gl' transform='rotate(336) translate(0 .5)'/%3E%3C/svg%3E%3C/svg%3E%3Csvg class='f' x='75%25' width='25%25'%3E%3Csvg x='50%25' y='50%25'%3E%3Cuse href='%23s3' transform='rotate(104)'/%3E%3Cuse href='%23pa' transform='rotate(248)'/%3E%3Cuse href='%23pb' transform='rotate(262)'/%3E%3Cuse href='%23gl' transform='rotate(322)'/%3E%3Cuse href='%23gl' transform='rotate(336) translate(0 .5)'/%3E%3C/svg%3E%3C/svg%3E%3C/svg%3E") 0% 0 / 400% 100% no-repeat border-box,
    linear-gradient(#ffd25a, #ff9a3c 34%, #ff5f6d 60%, #b13d8a 82%, #5b2d8c) 0 0 / 100% 100% no-repeat border-box;
  --cfa: cf-susunset 2.8s steps(1, end) infinite;
}
:is(.person, .club-chip):is([data-club-frame="suwave"], [data-club-frame="susunset"]) .av,
:is(.pp-av, .club-face):is([data-club-frame="suwave"], [data-club-frame="susunset"]) {
  background: linear-gradient(var(--accent-2), var(--accent-2)) padding-box, var(--cfx); animation: var(--cfa);
}
.react-who:is([data-club-frame="suwave"], [data-club-frame="susunset"]) > img {
  background: linear-gradient(transparent, transparent) padding-box, var(--cfx); animation: var(--cfa);
}
@media (prefers-reduced-motion: reduce) {
  :is(.person, .club-chip):is([data-club-frame="suwave"], [data-club-frame="susunset"]) .av, :is(.pp-av, .club-face):is([data-club-frame="suwave"], [data-club-frame="susunset"]), .react-who:is([data-club-frame="suwave"], [data-club-frame="susunset"]) > img { animation: none; }
}
/* The first position is the face's ground (padding-box), the others the frame's layers, top first. */
@keyframes cf-suwave {
  0% { background-position: 0 0, 0% 0, 0 0, 0 0; }
  12.5% { background-position: 0 0, 14.2857% 0, 0 0, 0 0; }
  25% { background-position: 0 0, 28.5714% 0, 0 0, 0 0; }
  37.5% { background-position: 0 0, 42.8571% 0, 0 0, 0 0; }
  50% { background-position: 0 0, 57.1429% 0, 0 0, 0 0; }
  62.5% { background-position: 0 0, 71.4286% 0, 0 0, 0 0; }
  75% { background-position: 0 0, 85.7143% 0, 0 0, 0 0; }
  87.5% { background-position: 0 0, 100% 0, 0 0, 0 0; }
}
@keyframes cf-susunset {
  0% { background-position: 0 0, 0% 0, 0 0; }
  25% { background-position: 0 0, 33.3333% 0, 0 0; }
  50% { background-position: 0 0, 66.6667% 0, 0 0; }
  75% { background-position: 0 0, 100% 0, 0 0; }
}
/* 0.55 summer frames: end */

/* «Солнечный блик»: honey-gold to sun-white, a bright glare sliding across the name every few seconds and a tiny
   sparkle where it passes. Over a bought «Цвет имени» the colour stays the ground and the sunlight runs through it. */
[data-club-glow="susun"] { --cgl: linear-gradient(90deg, #ffb42e, #ffd36b 18%, #fff2c2 26%, #ffd36b 34%, #ff9f2e 55%, #ffc94f 76%, #ffb42e); }
[data-club-glow="susun"][data-club-glow-c] { --cgl: linear-gradient(90deg, currentColor 0 16%, #ffe7a1 28%, #fffbe8 38%, #ffd36b 50%, currentColor 66% 100%); }
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .person .name[data-club-glow="susun"], .cgl-t[data-club-glow="susun"] {
    background-image: linear-gradient(105deg, transparent 0 42%, rgba(255, 255, 255, .95) 48%, rgba(255, 250, 220, .9) 50%, transparent 56% 100%), var(--cgl);
    background-size: 300% 100%, 6em 100%;
    background-repeat: no-repeat, repeat;
    animation: sug-sun 5.2s ease-in-out infinite;
  }
  @media (prefers-reduced-motion: reduce) {
    .person .name[data-club-glow="susun"], .cgl-t[data-club-glow="susun"] { animation: none; background-position: 100% 0, -1.2em 0; }
  }
}
/* the glare crosses in the first ~40 % of the cycle, then rests off the name while the gold drifts slowly */
@keyframes sug-sun { 0% { background-position: 100% 0, 0 0; } 40% { background-position: 0% 0, 2.4em 0; } 100% { background-position: 0% 0, 6em 0; } }

/* The shop's cards: the season's line, the styles on one's own face / pet / name, three or four to a row. */
.su-season { margin: -2px 0 8px; color: #ffcf6b; font-size: 12px; font-weight: 600; }
.su-season.off { color: var(--muted); }
.su-opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.su-opts-glow, .su-opts-sound { grid-template-columns: minmax(0, 1fr); }
.su-opts-glow .su-opt, .su-opts-sound .su-opt { flex-direction: row; justify-content: center; gap: 12px; min-height: 60px; padding: 8px 12px; } /* one style: a row, not a big empty tile */
.su-opts-glow .su-art, .su-opts-sound .su-art { min-height: 0; align-items: center; }
.su-opt { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 5px; min-width: 0; min-height: 96px; padding: 18px 4px 7px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--text); font: inherit; font-size: 12px; cursor: pointer; }
.su-opt:hover:not(:disabled) { background: var(--line); }
.su-opt.on { border-color: var(--accent); background: rgba(229, 160, 13, .12); }
.su-opt:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 2px; }
.su-opt:disabled { cursor: default; }
.su-opt-n { line-height: 1.2; text-align: center; }
.su-opt-k { margin-top: -3px; color: var(--muted); font-size: 10.5px; font-weight: 700; line-height: 1.2; }
.su-opt-k.now { color: var(--ok); }
.su-art { display: flex; align-items: flex-end; justify-content: center; min-height: 46px; }
.su-fc { position: relative; display: inline-block; flex: none; width: var(--fs); height: var(--fs); }
.su-fc > .club-face { display: block; margin: 0; width: var(--fs); height: var(--fs); }
.su-fc > .club-face[data-club-frame] { border-width: 3px; }
.su-fc > .cacc { inset: 0; }
.su-ini { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: 15px; color: var(--text); }
.su-pet { width: 46px; height: 46px; }
.su-pet-none { font-size: 28px; line-height: 46px; }
.su-gl { display: block; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 20px; line-height: 1.3; }
.su-snd { font-size: 30px; line-height: 1.2; }
.su-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.su-acts > .club-buy { flex: 1 1 auto; margin-top: 0; }
.su-acts > .club-buy.su-off { background: transparent; color: var(--text); border: 1px solid var(--line); box-shadow: none; } /* taking it off is not the card's main action */
.su-acts > .club-buy.su-off:hover { background: var(--line); }
.su-listen { min-height: 44px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: transparent; color: var(--text); font: inherit; cursor: pointer; }
.su-listen:hover { background: var(--line); }
.su-hint { margin-top: 4px; }
@media (max-width: 380px) { .su-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
