/* «Аллея славы» (0.47, public/club-stars.js, the star itself: public/club-stars-art.js): the stone a star is set in, the
   walk (a window: .stats-modal gives it the backdrop and the focus trap), the shop's cards, the profile's brass line and
   the hall's ceremony. Everything here is .star-*; with reduced motion nothing shines or flies. */

/* --- The stone: dark terrazzo, chips of grey, white and black --------------------------------------------------- */
.star-stone {
  background-color: #252321;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cg fill='%23fff' fill-opacity='0.09'%3E%3Ccircle cx='27' cy='22' r='0.6'/%3E%3Ccircle cx='173' cy='97' r='0.8'/%3E%3Ccircle cx='4' cy='74' r='1.3'/%3E%3Ccircle cx='8' cy='36' r='1.3'/%3E%3Ccircle cx='110' cy='145' r='0.7'/%3E%3Ccircle cx='84' cy='124' r='1.0'/%3E%3Ccircle cx='24' cy='3' r='0.8'/%3E%3Ccircle cx='179' cy='40' r='1.3'/%3E%3Ccircle cx='14' cy='15' r='0.6'/%3E%3Ccircle cx='147' cy='121' r='0.7'/%3E%3Ccircle cx='114' cy='176' r='1.1'/%3E%3Ccircle cx='53' cy='102' r='0.5'/%3E%3Ccircle cx='73' cy='80' r='0.7'/%3E%3Ccircle cx='17' cy='11' r='2.1'/%3E%3Cellipse cx='142' cy='55' rx='1.3' ry='0.8' transform='rotate(39 142 55)'/%3E%3Ccircle cx='49' cy='9' r='0.7'/%3E%3Cellipse cx='123' cy='97' rx='1.2' ry='0.7' transform='rotate(146 123 97)'/%3E%3Ccircle cx='47' cy='64' r='0.6'/%3E%3Cellipse cx='150' cy='103' rx='0.5' ry='0.3' transform='rotate(59 150 103)'/%3E%3Ccircle cx='46' cy='151' r='0.5'/%3E%3Cellipse cx='82' cy='152' rx='0.5' ry='0.3' transform='rotate(23 82 152)'/%3E%3Cellipse cx='54' cy='111' rx='0.6' ry='0.4' transform='rotate(39 54 111)'/%3E%3C/g%3E%3Cg fill='%23d8cfc4' fill-opacity='0.11'%3E%3Ccircle cx='147' cy='138' r='0.9'/%3E%3Ccircle cx='173' cy='40' r='2.0'/%3E%3Ccircle cx='129' cy='156' r='0.8'/%3E%3Cellipse cx='65' cy='31' rx='0.5' ry='0.3' transform='rotate(37 65 31)'/%3E%3Ccircle cx='152' cy='71' r='0.5'/%3E%3Ccircle cx='50' cy='128' r='1.0'/%3E%3Ccircle cx='105' cy='162' r='1.1'/%3E%3Cellipse cx='139' cy='26' rx='0.9' ry='0.5' transform='rotate(155 139 26)'/%3E%3Ccircle cx='45' cy='1' r='0.5'/%3E%3Ccircle cx='55' cy='94' r='0.5'/%3E%3Ccircle cx='12' cy='103' r='2.3'/%3E%3Cellipse cx='147' cy='108' rx='0.7' ry='0.4' transform='rotate(74 147 108)'/%3E%3Ccircle cx='131' cy='158' r='0.5'/%3E%3Ccircle cx='18' cy='31' r='1.0'/%3E%3Ccircle cx='16' cy='131' r='0.5'/%3E%3Ccircle cx='137' cy='174' r='1.8'/%3E%3Ccircle cx='156' cy='150' r='1.5'/%3E%3Ccircle cx='85' cy='136' r='0.5'/%3E%3Cellipse cx='71' cy='41' rx='0.6' ry='0.4' transform='rotate(52 71 41)'/%3E%3Cellipse cx='28' cy='1' rx='1.1' ry='0.7' transform='rotate(81 28 1)'/%3E%3Ccircle cx='35' cy='73' r='0.9'/%3E%3Ccircle cx='166' cy='8' r='0.7'/%3E%3C/g%3E%3Cg fill='%239a9189' fill-opacity='0.14'%3E%3Ccircle cx='23' cy='153' r='1.0'/%3E%3Ccircle cx='164' cy='137' r='0.9'/%3E%3Cellipse cx='157' cy='124' rx='0.8' ry='0.5' transform='rotate(89 157 124)'/%3E%3Cellipse cx='4' cy='83' rx='0.6' ry='0.4' transform='rotate(146 4 83)'/%3E%3Ccircle cx='60' cy='119' r='1.4'/%3E%3Ccircle cx='57' cy='143' r='0.6'/%3E%3Ccircle cx='162' cy='171' r='0.8'/%3E%3Cellipse cx='81' cy='14' rx='1.2' ry='0.7' transform='rotate(161 81 14)'/%3E%3Ccircle cx='103' cy='37' r='1.2'/%3E%3Ccircle cx='166' cy='100' r='0.6'/%3E%3Cellipse cx='66' cy='78' rx='1.3' ry='0.8' transform='rotate(129 66 78)'/%3E%3Cellipse cx='150' cy='104' rx='0.5' ry='0.3' transform='rotate(32 150 104)'/%3E%3Ccircle cx='122' cy='152' r='0.6'/%3E%3Ccircle cx='52' cy='13' r='1.4'/%3E%3Cellipse cx='111' cy='59' rx='1.0' ry='0.6' transform='rotate(78 111 59)'/%3E%3Cellipse cx='135' cy='72' rx='1.8' ry='1.1' transform='rotate(62 135 72)'/%3E%3Ccircle cx='72' cy='20' r='1.1'/%3E%3Ccircle cx='72' cy='137' r='0.8'/%3E%3C/g%3E%3Cg fill='%23000' fill-opacity='0.34'%3E%3Ccircle cx='141' cy='21' r='1.9'/%3E%3Ccircle cx='122' cy='131' r='1.6'/%3E%3Cellipse cx='21' cy='95' rx='1.8' ry='1.1' transform='rotate(100 21 95)'/%3E%3Ccircle cx='40' cy='127' r='0.8'/%3E%3Ccircle cx='136' cy='68' r='1.7'/%3E%3Cellipse cx='68' cy='30' rx='0.6' ry='0.4' transform='rotate(8 68 30)'/%3E%3Ccircle cx='121' cy='133' r='0.7'/%3E%3Ccircle cx='88' cy='15' r='1.5'/%3E%3Cellipse cx='71' cy='59' rx='1.6' ry='1.0' transform='rotate(23 71 59)'/%3E%3Cellipse cx='179' cy='3' rx='1.8' ry='1.1' transform='rotate(133 179 3)'/%3E%3Ccircle cx='5' cy='24' r='0.6'/%3E%3Cellipse cx='24' cy='107' rx='1.9' ry='1.1' transform='rotate(76 24 107)'/%3E%3Ccircle cx='171' cy='38' r='0.5'/%3E%3Cellipse cx='49' cy='145' rx='0.6' ry='0.4' transform='rotate(7 49 145)'/%3E%3Ccircle cx='36' cy='58' r='0.5'/%3E%3Ccircle cx='75' cy='71' r='1.8'/%3E%3Ccircle cx='102' cy='50' r='1.1'/%3E%3Ccircle cx='138' cy='134' r='0.5'/%3E%3Cellipse cx='164' cy='118' rx='0.5' ry='0.3' transform='rotate(153 164 118)'/%3E%3Ccircle cx='1' cy='56' r='2.1'/%3E%3Ccircle cx='162' cy='7' r='1.1'/%3E%3Cellipse cx='154' cy='139' rx='0.6' ry='0.4' transform='rotate(32 154 139)'/%3E%3Ccircle cx='76' cy='154' r='1.3'/%3E%3Cellipse cx='105' cy='113' rx='0.5' ry='0.3' transform='rotate(64 105 113)'/%3E%3Ccircle cx='55' cy='80' r='2.1'/%3E%3Ccircle cx='135' cy='29' r='0.5'/%3E%3C/g%3E%3Cg fill='%235b524a' fill-opacity='0.22'%3E%3Ccircle cx='117' cy='64' r='0.9'/%3E%3Ccircle cx='62' cy='127' r='1.6'/%3E%3Ccircle cx='84' cy='125' r='2.0'/%3E%3Ccircle cx='49' cy='110' r='1.7'/%3E%3Cellipse cx='24' cy='92' rx='1.0' ry='0.6' transform='rotate(60 24 92)'/%3E%3Ccircle cx='168' cy='63' r='1.2'/%3E%3Ccircle cx='88' cy='158' r='0.5'/%3E%3Ccircle cx='44' cy='49' r='0.6'/%3E%3Cellipse cx='132' cy='64' rx='0.9' ry='0.5' transform='rotate(169 132 64)'/%3E%3Ccircle cx='106' cy='87' r='0.6'/%3E%3Ccircle cx='161' cy='28' r='0.9'/%3E%3Ccircle cx='95' cy='45' r='0.5'/%3E%3Cellipse cx='85' cy='10' rx='1.9' ry='1.1' transform='rotate(21 85 10)'/%3E%3Ccircle cx='83' cy='147' r='0.9'/%3E%3Ccircle cx='27' cy='119' r='1.3'/%3E%3Ccircle cx='75' cy='100' r='0.7'/%3E%3C/g%3E%3Cg fill='%23b8a48a' fill-opacity='0.1'%3E%3Ccircle cx='66' cy='37' r='0.5'/%3E%3Ccircle cx='134' cy='137' r='1.5'/%3E%3Cellipse cx='167' cy='88' rx='0.6' ry='0.4' transform='rotate(39 167 88)'/%3E%3Cellipse cx='19' cy='50' rx='0.7' ry='0.4' transform='rotate(17 19 50)'/%3E%3Cellipse cx='145' cy='88' rx='1.0' ry='0.6' transform='rotate(91 145 88)'/%3E%3Ccircle cx='138' cy='48' r='1.7'/%3E%3Ccircle cx='27' cy='169' r='0.8'/%3E%3Cellipse cx='143' cy='14' rx='1.0' ry='0.6' transform='rotate(151 143 14)'/%3E%3Cellipse cx='8' cy='136' rx='0.9' ry='0.5' transform='rotate(82 8 136)'/%3E%3Cellipse cx='96' cy='143' rx='0.7' ry='0.4' transform='rotate(17 96 143)'/%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(160deg, rgba(255, 255, 255, .035), rgba(0, 0, 0, .12));
  background-size: 180px 180px, 100% 100%;
}
.star-tile {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 10px 10px 11px;
  border-radius: 6px; color: #ecd9ae; overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05), inset 0 -3px 8px rgba(0, 0, 0, .5), inset 0 2px 3px rgba(255, 255, 255, .05);
}
.star-tile .star-art { display: block; width: 100%; height: auto; }
.star-cap {
  max-width: 100%; min-height: 2.5em; font: italic 600 13px/1.25 Georgia, 'Times New Roman', serif; color: #f2ddb0; text-align: center;
  overflow-wrap: anywhere; text-shadow: 0 1px 0 rgba(0, 0, 0, .7); display: flex; align-items: center; justify-content: center;
}
.star-cap.none { color: rgba(242, 221, 176, .38); font-weight: 400; }
.star-date { font: 600 10.5px/1.2 system-ui, sans-serif; letter-spacing: .09em; text-transform: uppercase; color: #b69a63; white-space: nowrap; }
/* The short shine across a star (the walk's newest one, a star just laid): a band of light, once. */
.star-shine::after {
  content: ''; position: absolute; inset: -10% -60%; pointer-events: none; mix-blend-mode: screen;
  background: linear-gradient(105deg, transparent 38%, rgba(255, 238, 190, .5) 48%, rgba(255, 255, 255, .75) 50%, rgba(255, 238, 190, .5) 52%, transparent 62%);
  transform: translateX(-70%); animation: starShine 1.5s .35s cubic-bezier(.3, .1, .3, 1) both;
}
@keyframes starShine { to { transform: translateX(70%); } }

/* --- The walk ------------------------------------------------------------------------------------------------------ */
.star-modal.stats-modal { padding: 20px; }
.star-page {
  position: relative; display: flex; flex-direction: column; width: min(1080px, 100%); max-height: calc(100dvh - 40px); overflow: hidden;
  border-radius: 18px; border: 1px solid rgba(222, 182, 98, .38); color: #f3e6c8; box-shadow: 0 30px 90px rgba(0, 0, 0, .65);
}
.star-top { display: flex; align-items: center; gap: 12px; padding: 16px 16px 6px 22px; }
.star-head { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.star-title { font: 700 24px/1.15 Georgia, 'Times New Roman', serif; letter-spacing: .03em; color: #f0cf7c; text-shadow: 0 1px 0 rgba(0, 0, 0, .8); }
.star-sub { margin-top: 3px; font-size: 13px; color: #bda57a; }
.star-close {
  flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); background: rgba(0, 0, 0, .35);
  color: #f3e6c8; font-size: 24px; line-height: 1; cursor: pointer;
}
.star-close:hover { border-color: rgba(240, 207, 124, .6); }
.star-body { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.star-wrap { position: relative; min-height: 0; }
.star-walk {
  position: relative; display: flex; gap: 4px; margin: 0; padding: 14px 22px 18px; list-style: none; overflow-x: auto; overflow-y: hidden;
  overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding: 0 22px; scrollbar-width: thin; scrollbar-color: rgba(222, 182, 98, .45) transparent;
  background: linear-gradient(180deg, rgba(0, 0, 0, .28), rgba(0, 0, 0, 0) 14%, rgba(0, 0, 0, 0) 86%, rgba(0, 0, 0, .32));
}
.star-walk:focus-visible { outline: 2px solid #f0cf7c; outline-offset: -4px; }
.star-cell { position: relative; flex: 0 0 auto; width: clamp(176px, 21vw, 228px); scroll-snap-align: center; }
.star-cell:first-child { margin-left: auto; } /* a short walk stands in the middle; a long one scrolls from its start */
.star-cell:last-child { margin-right: auto; }
.star-go { display: block; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: inherit; cursor: pointer; border-radius: 6px; }
.star-go:focus-visible { outline: 2px solid #f0cf7c; outline-offset: 2px; }
.star-go:hover .star-tile { box-shadow: inset 0 0 0 1px rgba(240, 207, 124, .35), inset 0 -3px 8px rgba(0, 0, 0, .5); }
.star-focus .star-tile { box-shadow: inset 0 0 0 2px #f0cf7c, 0 0 0 1px rgba(240, 207, 124, .4), inset 0 -3px 8px rgba(0, 0, 0, .5); }
.star-n { position: absolute; top: 8px; left: 10px; font: 700 11px/1 Georgia, serif; color: #b69a63; letter-spacing: .04em; }
.star-x {
  position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(10, 9, 8, .72); color: #f3e6c8; font-size: 17px; line-height: 1; cursor: pointer; z-index: 1;
}
.star-x:hover { border-color: #e9786a; color: #ffb4aa; }
/* The empty place after the last star: «Здесь может быть ваша звезда». */
.star-next .star-tile { height: 100%; justify-content: center; gap: 8px; box-shadow: inset 0 0 0 1px rgba(222, 182, 98, .28), inset 0 -3px 8px rgba(0, 0, 0, .5); }
.star-next svg { width: 62%; height: auto; opacity: .7; }
.star-next b { font: 700 14px/1.25 Georgia, serif; color: #f0cf7c; text-align: center; }
.star-next small { font-size: 12px; color: #bda57a; }
.star-arrow {
  position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; border: 1px solid rgba(222, 182, 98, .45);
  background: rgba(20, 18, 16, .85); color: #f0cf7c; font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 4px 14px rgba(0, 0, 0, .5);
}
.star-arrow.prev { left: 8px; }
.star-arrow.next { right: 8px; }
.star-arrow[hidden] { display: none; }
.star-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 4px 22px 16px; font-size: 13px; color: #bda57a; }
.star-foot .star-mine { margin-left: auto; }
.star-empty { padding: 4px 22px 0; color: #d8c08a; font: italic 15px/1.4 Georgia, serif; }
.star-note { padding: 30px 22px 34px; color: #d8c08a; text-align: center; }
.star-btn {
  min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(222, 182, 98, .55); background: rgba(240, 207, 124, .1);
  color: #f3dda2; font: 600 13px system-ui, sans-serif; cursor: pointer;
}
.star-btn:hover { background: rgba(240, 207, 124, .18); }
@media (hover: none), (max-width: 760px) { .star-arrow { display: none; } }
@media (max-width: 560px) {
  .star-modal.stats-modal { padding: 0; align-items: stretch; }
  .star-page { width: 100vw; height: 100dvh; max-height: none; border-radius: 0; border: 0; }
  .star-top { padding: max(12px, env(safe-area-inset-top, 0px)) 10px 4px 16px; }
  .star-title { font-size: 21px; }
  .star-wrap { flex: 1 1 auto; display: flex; align-items: center; } /* the walk across the middle of the screen */
  .star-walk { flex: 1 1 auto; min-width: 0; padding: 16px 16px 20px; scroll-padding: 0 16px; scroll-snap-type: x mandatory; }
  .star-cell { width: min(74vw, 300px); }
  .star-x { width: 44px; height: 44px; top: 2px; right: 2px; }
  .star-foot { padding: 4px 16px max(16px, env(safe-area-inset-bottom, 0px)); }
  .star-cap { font-size: 14px; }
}

/* --- The shop's cards -------------------------------------------------------------------------------------------- */
.star-pv { display: flex; justify-content: center; margin: 10px 0 12px; }
.star-pv .star-tile { width: min(230px, 100%); }
.star-ems { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 4px 0 12px; }
.star-em-b {
  display: flex; flex-direction: column; align-items: center; gap: 3px; min-height: 66px; padding: 6px 2px 5px; border-radius: 12px;
  border: 1px solid var(--line, rgba(255, 255, 255, .12)); background: rgba(255, 255, 255, .03); color: var(--muted, #aab); font-size: 11.5px; cursor: pointer;
}
.star-em-b .star-em { width: 34px; height: 34px; }
.star-em-b:hover { border-color: rgba(222, 182, 98, .5); }
.star-em-b.on { border-color: #e0b85f; background: rgba(240, 207, 124, .12); color: #f3dda2; box-shadow: inset 0 0 0 1px #e0b85f; }
.star-em-b:disabled { opacity: .55; cursor: default; }
.star-cap-l { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin: 2px 0 5px; font-size: 13px; font-weight: 600; }
.star-cap-l small { font-weight: 400; color: var(--muted, #aab); }
.star-cap-in {
  box-sizing: border-box; width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line, rgba(255, 255, 255, .14));
  background: rgba(0, 0, 0, .25); color: var(--text, #eee); font: 15px system-ui, sans-serif;
}
.star-cap-in:focus { outline: none; border-color: #e0b85f; box-shadow: 0 0 0 2px rgba(224, 184, 95, .25); }
.star-cap-in[aria-invalid="true"] { border-color: #e9786a; }
.star-cap-err { min-height: 18px; margin: 4px 0 6px; font-size: 12.5px; color: #ff9b8f; }
.star-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.star-acts .club-buy { flex: 1 1 100%; }
.star-acts .club-buy.club-sec { margin-top: 8px; background: var(--panel, #14171e); color: var(--text, #eee); border-color: var(--line, rgba(255, 255, 255, .14)); }
.star-acts .club-buy.club-sec:hover { border-color: rgba(222, 182, 98, .6); }
.star-mini { display: flex; justify-content: center; gap: 4px; margin: 8px 0 12px; }
.star-mini .star-tile { width: 92px; padding: 6px 5px 7px; }
.star-mini .star-date { font-size: 9px; }
.star-mini-none { margin: 8px 0 12px; color: var(--muted, #aab); font-size: 13px; text-align: center; }
/* The tile's picture (club-shop-page.js): one's own star, small, on its stone. */
.star-tile-pv { display: block; width: 58px; padding: 4px; border-radius: 6px; }
.star-tile-pv .star-art { display: block; width: 100%; height: auto; }

/* --- The profile's line ------------------------------------------------------------------------------------------ */
.star-pp { display: flex; align-items: center; gap: 6px; margin: 10px 0 2px; min-width: 0; }
.star-pp-go {
  display: inline-flex; align-items: center; gap: 9px; min-width: 0; max-width: 100%; min-height: 40px; padding: 4px 16px 4px 4px; border-radius: 24px; text-align: left;
  border: 1px solid rgba(222, 182, 98, .55); background: linear-gradient(180deg, #2c2722, #1d1a17); color: #f1d9a0; font: 600 13px/1.25 system-ui, sans-serif; cursor: pointer;
}
.star-pp-go:hover { border-color: #e9c46c; }
.star-pp-go .star-em { flex: none; width: 32px; height: 32px; }
.star-pp-txt { display: flex; flex-direction: column; min-width: 0; }
.star-pp-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.star-pp-cap { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: italic 13px Georgia, serif; color: #d8c08a; }
.star-pp-x {
  flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line, rgba(255, 255, 255, .16)); background: rgba(0, 0, 0, .3);
  color: var(--muted, #aab); font-size: 16px; line-height: 1; cursor: pointer;
}
.star-pp-x:hover { color: #ffb4aa; border-color: #e9786a; }
@media (max-width: 560px) { .star-pp-go { min-height: 44px; } .star-pp-x { width: 44px; height: 44px; } }

/* --- The ceremony in the hall ------------------------------------------------------------------------------------- */
.star-cer {
  position: fixed; z-index: 2800; left: 50%; top: 14%; /* over the shop and the walk (the buyer is there), under a confirmation */ display: flex; align-items: center; gap: 14px; width: max-content; max-width: calc(100vw - 24px);
  box-sizing: border-box; padding: 10px 24px 10px 10px; border-radius: 18px; border: 1.5px solid #c9a052; color: #f6e7c4; pointer-events: none; overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(255, 236, 180, .14), inset 0 -3px 10px rgba(0, 0, 0, .45);
  transform: translateX(-50%); animation: starCerIn .55s cubic-bezier(.2, 1.25, .4, 1) both;
}
.star-cer > .star-art { flex: none; width: 92px; height: auto; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, .5)); animation: starCerStar .9s .08s cubic-bezier(.2, 1.2, .4, 1) both; }
.star-cer-x { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.star-cer-k { font: 700 11px/1.2 system-ui, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #d9b25e; }
.star-cer-t { font: 700 19px/1.25 Georgia, 'Times New Roman', serif; color: #f6e7c4; }
.star-cer-t b { color: #ffd98a; }
.star-cer-c { font: italic 14px/1.3 Georgia, serif; color: #e5cf9d; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.star-cer.star-out { animation: starCerOut .4s ease both; }
@keyframes starCerIn { from { opacity: 0; transform: translateX(-50%) translateY(-16px) scale(.86); } to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); } }
@keyframes starCerOut { from { opacity: 1; transform: translateX(-50%); } to { opacity: 0; transform: translateX(-50%) translateY(-10px) scale(.97); } }
@keyframes starCerStar { from { opacity: 0; transform: scale(.4) rotate(-40deg); } 70% { opacity: 1; transform: scale(1.08) rotate(4deg); } to { opacity: 1; transform: scale(1) rotate(0); } }
@media (max-width: 560px) {
  .star-cer { top: 9%; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 16px; }
  .star-cer > .star-art { width: 66px; }
  .star-cer-t { font-size: 16px; }
  .star-cer-c { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .star-shine::after { display: none; animation: none; }
  .star-cer, .star-cer.star-out { animation: starFade .25s ease both; transform: translateX(-50%); }
  .star-cer.star-out { animation-direction: reverse; }
  .star-cer > .star-art { animation: none; }
}
@keyframes starFade { from { opacity: 0; } to { opacity: 1; } }
