/* Maya's launcher row (ו756, 18/10/2026): ONE look on every page she appears. Markup: templates/_maya_row.html.
   A gold tag on a rotating brand-colour frame, a story ring round her face, her name and role on two lines,
   live sound-waves and "connected". The whole row is the button. Colours come from the page's own tokens
   with the approved fallbacks, so it reads the same on the home screen, the catalogue and the old pages. */
@property --mrow-ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.mrow-slot { flex: none; padding-top: 13px; }
.mrow { position: relative; display: block; width: 100%; padding: 3px; border: 0; border-radius: 999px; cursor: pointer; text-align: right;
        font: inherit; color: #16294a;
        background: conic-gradient(from var(--mrow-ang), #14867a, #7fc4ee, #b9a6f0, #f6b79a, #14867a);
        animation: mrow-spin 6s linear infinite; box-shadow: 0 10px 26px rgba(20, 134, 122, .22);
        transition: transform .15s, box-shadow .15s; }
.mrow:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(20, 134, 122, .3); }
.mrow:active { transform: scale(.985); }
.mrow:focus-visible { outline: 3px solid #16294a; outline-offset: 3px; }
@keyframes mrow-spin { to { --mrow-ang: 360deg; } }
.mrow-tag { position: absolute; z-index: 2; top: -13px; inset-inline-end: 34px; display: inline-flex; align-items: center; gap: 5px;
            padding: 1px 12px 1px 10px; border-radius: 999px; background: #fbf0d8; color: #7a5810; border: 1px solid #ecd9a3;
            font: 800 12.5px/1.5 'Heebo', sans-serif; white-space: nowrap; }
.mrow-tag svg { width: 12px; height: 12px; fill: currentColor; flex: none; }
.mrow-in { display: flex; align-items: center; gap: 12px; padding: 8px 14px; border-radius: 999px;
           background: linear-gradient(100deg, #e6ede2, #dcecf6, #ece3fa, #fbe6dc); background-size: 300% 100%;
           animation: mrow-shift 10s ease-in-out infinite alternate; }
@keyframes mrow-shift { to { background-position: 100% 0; } }
.mrow-ring { flex: none; padding: 3px; border-radius: 50%; display: block;
             background: conic-gradient(#14867a, #7fc4ee, #b9a6f0, #f6b79a, #14867a); }
.mrow-av { display: block; width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: #e6ede2; border: 2px solid #fff; }
.mrow-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mrow-name { flex: 0 1 auto; display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.mrow-name b, .mrow-name small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mrow-name b { font: 800 17px 'Heebo', sans-serif; }
.mrow-role-short { display: none; }
.mrow-name small { font: 600 13px 'Assistant', sans-serif; opacity: .82; }
.mrow-wave { flex: 1; min-width: 0; overflow: hidden; height: 28px; display: flex; align-items: center; justify-content: center; gap: 3px; }
.mrow-wave i { width: 4px; border-radius: 3px; background: linear-gradient(#14867a, #16294a); animation: mrow-wave 1.1s ease-in-out infinite; }
.mrow-wave i:nth-child(1) { height: 8px; } .mrow-wave i:nth-child(2) { height: 18px; animation-delay: .12s; }
.mrow-wave i:nth-child(3) { height: 26px; animation-delay: .24s; } .mrow-wave i:nth-child(4) { height: 14px; animation-delay: .36s; }
.mrow-wave i:nth-child(5) { height: 22px; animation-delay: .48s; } .mrow-wave i:nth-child(6) { height: 10px; animation-delay: .6s; }
.mrow-wave i:nth-child(7) { height: 18px; animation-delay: .72s; }
/* 1/11 (the nightly browser run, book ch. 97): in a narrow column — the catalogue's side at 980–1100px — the row
   gives way from the inside: the waves first, then the role's end, so "מחוברת" never pokes out of the frame and
   the page never scrolls sideways. */
@keyframes mrow-wave { 50% { transform: scaleY(.35); } }
.mrow-live { flex: none; display: inline-flex; align-items: center; gap: 5px; background: #fff; color: #0c6b43; border-radius: 999px;
             padding: 2px 10px; font: 800 12px 'Heebo', sans-serif; }
.mrow-live i { width: 7px; height: 7px; border-radius: 50%; background: #2fb86b; }
.mrow[aria-expanded="true"] { animation-play-state: paused; }
/* ו1193: on a phone "מחוברת" stays in the row and the waves stand in the middle between her name and it, as on a
   computer, so the row has no empty gap; only a very narrow screen drops the word. */
@media (max-width: 420px) { .mrow-live { padding: 2px 8px; font-size: 11.5px; } .mrow-name small { font-size: 12px; } }
@media (max-width: 340px) { .mrow-live { display: none; } }
@media (prefers-reduced-motion: reduce) { .mrow, .mrow-in, .mrow-wave i { animation: none; } .mrow:hover { transform: none; } }
