/* =====================================================================
   REYAD'S YOUTUBE CHANNEL  -  /reyad/reyad.css
   Bright, round and playful, like a kids' YouTube page: YouTube red,
   sunny colours, bouncy letters, floating shapes, and rainbow rings
   that spin around the video pictures.
   ===================================================================== */

.ry-page {
    --ry-red: #ff0033;
    --ry-red-dark: #cc0029;
    --ry-ink: #1f1a2e;
    --ry-muted: #6a6380;
    --ry-round: "Baloo 2", "Fredoka", "Nunito", "Varela Round", "Arial Rounded MT Bold", "Trebuchet MS", ui-rounded, system-ui, sans-serif;
    background: #fbfaf7;            /* plain and calm, easy on the eyes */
}
body.ry-locked { overflow: hidden; }

/* the background: tiny play buttons, hearts, bells and sparkles, very faint, drifting slowly,
   with two soft red and blue glows that breathe. Easy on the eyes: you barely notice it moving. */
body.ry-page::after {
    content: "";
    position: fixed;
    z-index: -1;
    pointer-events: none;
}
/* the drifting play buttons and hearts are drawn by reyad.js on this canvas, and they
   wake up around the mouse pointer */
#ry-bg { position: fixed; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
body.ry-page::after {
    inset: 0;
    background:
        radial-gradient(ellipse 45% 40% at 12% 18%, rgba(255, 0, 51, 0.07), transparent 70%),
        radial-gradient(ellipse 40% 45% at 90% 85%, rgba(58, 134, 255, 0.07), transparent 70%);
    animation: ry-breathe 14s ease-in-out infinite alternate;
}
@keyframes ry-breathe { from { opacity: 0.6; } to { opacity: 1; } }

/* now and then, one video quietly glimmers (reyad.js picks it) */
.ry-card.glimmer .ry-ring::before { opacity: 0.55; animation-play-state: running; transition-duration: 0.8s; }
.ry-card.glimmer .ry-playbtn { animation: ry-glim 1.6s ease-in-out; }
@keyframes ry-glim { 0%, 100% { transform: scale(0.75); } 45% { transform: scale(0.92); opacity: 1; } }

main.ry-main {
    display: block;
    max-width: 1220px;
    width: 100%;
    margin: 14px auto 0;
    font-family: var(--ry-round);
    color: var(--ry-ink);
}
main.ry-main p { margin: 0; font-size: inherit; color: inherit; }

/* ---------------------------------------------------------------------
   The welcome
   --------------------------------------------------------------------- */
.ry-hero {
    position: relative;
    overflow: hidden;
    padding: 30px 32px 30px;
    border: 1px solid #f6dfe3;
    border-radius: 30px;
    /* soft white to a whisper of YouTube red, with a big faint play button in the corner */
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 20'%3E%3Crect width='28' height='20' rx='6' fill='%23ff0033' fill-opacity='.06'/%3E%3Cpath d='M11 6l7 4-7 4z' fill='%23ff0033' fill-opacity='.08'/%3E%3C/svg%3E") right -40px bottom -50px / 300px auto no-repeat,
        linear-gradient(160deg, #ffffff 0%, #fff7f8 55%, #fff0f2 100%);
    box-shadow: 0 10px 30px rgba(31, 26, 46, 0.08);
}
.ry-hero-in { position: relative; z-index: 1; display: flex; align-items: center; gap: 30px; }

/* floating shapes */
.ry-floaties i { position: absolute; display: block; opacity: 0.55; animation: ry-float 11s ease-in-out infinite; }
.ry-floaties .f1 { right: 6%; top: 14%; width: 46px; height: 32px; border-radius: 10px; background: var(--ry-red); animation-duration: 6s; }
.ry-floaties .f1::after { content: ""; position: absolute; left: 18px; top: 9px; border-left: 13px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.ry-floaties .f2 { right: 22%; top: 8%; width: 30px; height: 30px; background: #ffb703; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); animation-duration: 8s; animation-delay: -2s; }
.ry-floaties .f3 { right: 3%; bottom: 14%; width: 22px; height: 22px; border-radius: 50%; background: #3a86ff; animation-delay: -4s; }
.ry-floaties .f4 { right: 30%; bottom: 8%; width: 0; height: 0; border-left: 14px solid transparent; border-right: 14px solid transparent; border-bottom: 24px solid #06d6a0; animation-duration: 9s; animation-delay: -1s; }
.ry-floaties .f5 { right: 14%; bottom: 30%; width: 26px; height: 26px; background: #ff4d6d; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20s-7-4.3-9-8.6C1.6 8 3.4 4.5 6.8 4.5c2 0 3.4 1.1 5.2 3 1.8-1.9 3.2-3 5.2-3 3.4 0 5.2 3.5 3.8 6.9C19 15.7 12 20 12 20z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20s-7-4.3-9-8.6C1.6 8 3.4 4.5 6.8 4.5c2 0 3.4 1.1 5.2 3 1.8-1.9 3.2-3 5.2-3 3.4 0 5.2 3.5 3.8 6.9C19 15.7 12 20 12 20z'/%3E%3C/svg%3E") center / contain no-repeat; animation-duration: 6.5s; animation-delay: -3s; }
.ry-floaties .f6 { left: 2%; top: 6%; width: 60px; height: 22px; border-radius: 20px; background: #fff; box-shadow: 14px -10px 0 -2px #fff, 30px 0 0 -4px #fff; opacity: 0.9; animation: ry-drift 22s linear infinite; }
.ry-floaties .f7 { left: 38%; top: 4%; width: 14px; height: 14px; border-radius: 4px; background: #8338ec; transform: rotate(20deg); animation-duration: 7.5s; animation-delay: -5s; }
.ry-floaties .f8 { left: 46%; bottom: 6%; width: 18px; height: 18px; border-radius: 50%; border: 4px solid #fb5607; background: none; animation-duration: 8.5s; animation-delay: -6s; }
@keyframes ry-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(12deg); } }
@keyframes ry-drift { from { transform: translateX(-80px); } to { transform: translateX(110vw); } }

/* the channel picture, inside a spinning rainbow */
.ry-avatar {
    position: relative;
    flex: none;
    display: grid;
    place-items: center;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    padding: 6px;
    background: conic-gradient(#ff0033, #ffb703, #06d6a0, #3a86ff, #8338ec, #ff4d6d, #ff0033);
    animation: ry-spin 8s linear infinite;
    box-shadow: 0 10px 26px rgba(255, 0, 51, 0.2);
}
.ry-avatar > * { animation: ry-spin 8s linear infinite reverse; }
.ry-avatar img, .ry-avatar span {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border: 4px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    background: linear-gradient(135deg, #ff4d6d, #ff0033);
    color: #fff;
    font-size: 3.2rem;
    font-weight: 800;
    box-sizing: border-box;
}
@keyframes ry-spin { to { transform: rotate(360deg); } }

.ry-hello { min-width: 0; }
h3.ry-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    margin: 0 0 10px;
    font-family: var(--ry-round);
    font-size: clamp(1.9rem, 4.6vw, 3rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.01em;
}
.ry-play-logo svg { display: block; width: 58px; height: 42px; filter: drop-shadow(0 4px 8px rgba(255, 0, 51, 0.35)); animation: ry-bob 2.4s ease-in-out infinite; }
.ry-play-logo rect, .ry-playbtn rect { fill: var(--ry-red); }
.ry-play-logo path, .ry-playbtn path { fill: #fff; }
.ry-words { display: inline-block; }
.ry-words .ch {
    display: inline-block;
    color: var(--c);
    text-shadow: 0 3px 0 rgba(0, 0, 0, 0.08);
    animation: ry-drop 0.7s cubic-bezier(.2, .9, .3, 1.5) both;
    animation-delay: calc(var(--i) * 45ms);
    transition: transform 0.25s cubic-bezier(.2, .9, .3, 1.6);
}
.ry-words .ch:hover { transform: translateY(-8px) rotate(-6deg) scale(1.15); }
.ry-words .wd { display: inline-block; white-space: nowrap; }
.ry-words .sp { display: inline-block; width: 0.28em; }
@keyframes ry-drop { 0% { opacity: 0; transform: translateY(-40px) scale(0.6); } 70% { opacity: 1; transform: translateY(4px) scale(1.05); } 100% { transform: none; } }
@keyframes ry-bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-5px) rotate(4deg); } }

.ry-intro { max-width: 46em; font-size: 1.12rem; line-height: 1.55; color: #3d3654; }
.ry-intro b { color: var(--ry-red-dark); }
.ry-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; }
a.ry-sub, a.ry-sub:visited {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 26px 12px 20px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ff2a52, var(--ry-red) 60%, var(--ry-red-dark));
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-decoration: none;
    box-shadow: 0 6px 0 #a3001f, 0 12px 24px rgba(255, 0, 51, 0.3);
    transition: transform 0.2s cubic-bezier(.2, .9, .3, 1.6), box-shadow 0.2s ease;
}
a.ry-sub:hover { transform: translateY(-3px) scale(1.04); box-shadow: 0 9px 0 #a3001f, 0 18px 30px rgba(255, 0, 51, 0.35); }
a.ry-sub:active { transform: translateY(4px); box-shadow: 0 2px 0 #a3001f, 0 6px 12px rgba(255, 0, 51, 0.3); }
.ry-bell { width: 22px; height: 22px; fill: #fff; stroke: #fff; stroke-width: 1.4; stroke-linejoin: round; transform-origin: 50% 10%; animation: ry-ring-bell 3.2s ease-in-out infinite; }
@keyframes ry-ring-bell { 0%, 70%, 100% { transform: rotate(0); } 74% { transform: rotate(18deg); } 78% { transform: rotate(-16deg); } 82% { transform: rotate(12deg); } 86% { transform: rotate(-8deg); } 90% { transform: rotate(3deg); } }
a.ry-visit, a.ry-visit:visited {
    display: inline-flex;
    align-items: center;
    padding: 11px 20px;
    border: 3px solid var(--ry-red);
    border-radius: 999px;
    background: #fff;
    color: var(--ry-red-dark);
    font-size: 1.02rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}
a.ry-visit:hover { transform: translateY(-2px); background: #fff0f3; }
.ry-stats { margin-top: 14px !important; font-size: 0.98rem; color: var(--ry-muted) !important; }
.ry-stats b { color: var(--ry-ink); }

/* ---------------------------------------------------------------------
   Section titles
   --------------------------------------------------------------------- */
.ry-row-title { display: flex; align-items: center; gap: 10px; margin: 0 0 14px !important; font-size: 1.45rem; font-weight: 800; }
.ry-star { display: inline-block; color: #ffb703; font-size: 1.6rem; animation: ry-twinkle 2.2s ease-in-out infinite; }
@keyframes ry-twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(1.25) rotate(20deg); } }
.ry-shorts-logo { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--ry-red); color: #fff; font-size: 1.1rem; transform: rotate(-8deg); }

.ry-newest { margin-top: 30px; }
.ry-all { margin-top: 34px; }

/* ---------------------------------------------------------------------
   A video card, with a rainbow ring around the picture
   --------------------------------------------------------------------- */
.ry-card {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 10px 10px 12px;
    border: 0;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 6px 0 rgba(31, 26, 46, 0.06), 0 10px 26px rgba(31, 26, 46, 0.08);
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
    transform: rotate(var(--tilt, 0deg));
    transition: transform 0.35s cubic-bezier(.2, .9, .3, 1.5), box-shadow 0.3s ease;
    animation: ry-pop 0.55s cubic-bezier(.2, .9, .3, 1.4) both;
    animation-delay: calc(var(--i, 0) * 55ms);
}
.ry-card:hover, .ry-card:focus-visible { transform: translateY(-6px) rotate(0) scale(1.03); box-shadow: 0 10px 0 color-mix(in srgb, var(--c) 35%, transparent), 0 18px 36px rgba(31, 26, 46, 0.14); }
.ry-card:active { transform: scale(0.98); }
.ry-card:focus-visible { outline: 3px solid var(--c); outline-offset: 3px; }
@keyframes ry-pop { from { opacity: 0; transform: translateY(18px) scale(0.9) rotate(var(--tilt, 0deg)); } to { opacity: 1; } }

.ry-thumb { position: relative; display: block; padding: 5px; border-radius: 19px; overflow: hidden; isolation: isolate; }
.ry-ring { position: absolute; inset: 0; z-index: -1; border-radius: inherit; overflow: hidden; background: color-mix(in srgb, var(--c) 30%, #fff); }
.ry-ring::before {
    content: "";
    position: absolute;
    inset: -60%;
    background: conic-gradient(#ff0033, #ffb703, #06d6a0, #3a86ff, #8338ec, #ff4d6d, #ff0033);
    opacity: 0;
    transition: opacity 0.35s ease;
    animation: ry-spin 3s linear infinite;
    animation-play-state: paused;
}
.ry-card:hover .ry-ring::before, .ry-card:focus-visible .ry-ring::before, .ry-card.is-big .ry-ring::before { opacity: 1; animation-play-state: running; }
.ry-thumb img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; background: #f3eef7; }
.ry-card.is-short .ry-thumb img { aspect-ratio: 9 / 16; }

.ry-playbtn { position: absolute; left: 50%; top: 50%; width: 64px; height: 46px; margin: -23px 0 0 -32px; transform: scale(0.75); opacity: 0.88; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35)); transition: transform 0.35s cubic-bezier(.2, .9, .3, 1.8), opacity 0.2s ease; }
.ry-playbtn svg { display: block; width: 100%; height: 100%; }
.ry-card:hover .ry-playbtn { transform: scale(1.12); opacity: 1; }
.ry-len { position: absolute; right: 12px; bottom: 12px; padding: 1px 7px; border-radius: 6px; background: rgba(15, 15, 15, 0.85); color: #fff; font-size: 0.8rem; font-weight: 700; }
.ry-new { position: absolute; left: 10px; top: 10px; padding: 3px 10px; border-radius: 10px; background: #ffd60a; color: #1f1a2e; font-size: 0.8rem; font-weight: 800; transform: rotate(-8deg); box-shadow: 0 3px 0 #e0a800; animation: ry-wiggle 2.4s ease-in-out infinite; }
@keyframes ry-wiggle { 0%, 80%, 100% { transform: rotate(-8deg); } 85% { transform: rotate(6deg) scale(1.1); } 90% { transform: rotate(-12deg); } 95% { transform: rotate(-4deg); } }
.ry-shortbadge { position: absolute; right: 12px; top: 12px; padding: 1px 8px; border-radius: 8px; background: var(--ry-red); color: #fff; font-size: 0.72rem; font-weight: 800; }

.ry-info { display: flex; flex-direction: column; gap: 3px; padding: 10px 6px 0; }
.ry-vtitle { font-size: 1.02rem; font-weight: 700; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ry-vmeta { font-size: 0.85rem; color: var(--ry-muted); }
.ry-vdesc { margin-top: 6px; font-size: 0.95rem; line-height: 1.5; color: #4b4463; }
.ry-watch { align-self: flex-start; margin-top: 12px; padding: 8px 18px; border-radius: 999px; background: var(--ry-ink); color: #fff; font-weight: 700; font-size: 0.95rem; transition: background 0.2s ease; }
.ry-card:hover .ry-watch { background: var(--ry-red); }

/* the newest video, big */
.ry-card.is-big { flex-direction: row; align-items: center; gap: 18px; padding: 14px; transform: none; }
.ry-card.is-big .ry-thumb { flex: 1.5; padding: 6px; }
.ry-card.is-big .ry-info { flex: 1; padding: 0 10px; }
.ry-card.is-big .ry-vtitle { font-size: clamp(1.3rem, 2.4vw, 1.8rem); -webkit-line-clamp: 3; }
.ry-card.is-big .ry-playbtn { width: 86px; height: 62px; margin: -31px 0 0 -43px; transform: scale(1); }
.ry-card.is-big:hover { transform: translateY(-4px); }

/* tabs and search, like YouTube's chips */
.ry-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.ry-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.ry-tabs button {
    padding: 8px 16px;
    border: 0;
    border-radius: 12px;
    background: #f0ecf6;
    font: inherit;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ry-ink);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s cubic-bezier(.2, .9, .3, 1.6);
}
.ry-tabs button small { margin-left: 4px; font-size: 0.78rem; opacity: 0.6; }
.ry-tabs button:hover { background: #e4ddf0; transform: translateY(-2px); }
.ry-tabs button[aria-selected="true"] { background: var(--ry-ink); color: #fff; }
.ry-tabs button:focus-visible { outline: 3px solid var(--ry-red); outline-offset: 2px; }
.ry-find { display: flex; align-items: center; gap: 8px; padding: 0 16px; border: 3px solid #ece6f4; border-radius: 999px; background: #fff; transition: border-color 0.2s ease; }
.ry-find:focus-within { border-color: var(--ry-red); }
.ry-find svg { width: 18px; height: 18px; fill: none; stroke: var(--ry-muted); stroke-width: 2.4; stroke-linecap: round; }
.ry-find input { width: 200px; padding: 9px 0; border: 0; outline: none; background: none; font: inherit; font-size: 1rem; color: var(--ry-ink); }

.ry-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 24px 20px; }
.ry-grid.is-shorts { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }

/* Shorts: a row you can scroll sideways */
.ry-shorts-row { margin-bottom: 30px; }
.ry-shorts { display: grid; grid-auto-flow: column; grid-auto-columns: 172px; gap: 16px; overflow-x: auto; padding: 6px 4px 16px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.ry-shorts .ry-card { scroll-snap-align: start; }
.ry-card.is-short .ry-vtitle { font-size: 0.95rem; }

.ry-empty { padding: 30px; text-align: center; font-size: 1.1rem; color: var(--ry-muted) !important; }
.ry-more-row { display: flex; justify-content: center; }
.ry-more {
    margin-top: 26px;
    padding: 12px 26px;
    border: 0;
    border-radius: 999px;
    background: #ffd60a;
    box-shadow: 0 5px 0 #e0a800;
    font: inherit;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ry-ink);
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(.2, .9, .3, 1.6), box-shadow 0.2s ease;
}
.ry-more:hover { transform: translateY(-3px); box-shadow: 0 8px 0 #e0a800; }
.ry-more:active { transform: translateY(3px); box-shadow: 0 2px 0 #e0a800; }
.ry-more[hidden] { display: none; }

/* before the list is ready: YouTube's own playlist player */
.ry-fallback { margin-top: 30px; }
.ry-fallback-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; padding: 6px; background: conic-gradient(#ff0033, #ffb703, #06d6a0, #3a86ff, #8338ec, #ff4d6d, #ff0033); }
.ry-fallback-frame iframe { width: 100%; height: 100%; border: 0; border-radius: 18px; background: #000; }
.ry-note { margin-top: 8px !important; font-size: 0.92rem; color: var(--ry-muted) !important; }

.ry-credit { margin: 34px 0 8px !important; font-size: 0.85rem; text-align: center; color: var(--ry-muted) !important; }

/* ---------------------------------------------------------------------
   The player
   --------------------------------------------------------------------- */
.ry-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(20, 12, 30, 0.72);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    opacity: 0;
    transition: opacity 0.25s ease;
}
.ry-modal[hidden] { display: none; }
.ry-modal.is-in { opacity: 1; }
.ry-sheet {
    position: relative;
    width: min(980px, 100%);
    max-height: calc(100vh - 36px);
    overflow-y: auto;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
    font-family: var(--ry-round);
    color: var(--ry-ink);
    transform: scale(0.92) translateY(14px);
    transition: transform 0.35s cubic-bezier(.2, .9, .3, 1.3);
}
.ry-modal.is-in .ry-sheet { transform: none; }
.ry-sheet::before { content: ""; display: block; height: 8px; background: linear-gradient(90deg, #ff0033, #ffb703, #06d6a0, #3a86ff, #8338ec, #ff4d6d); }
.ry-sheet.is-short { width: min(420px, 100%); }
.ry-player { background: #000; aspect-ratio: 16 / 9; }
.ry-sheet.is-short .ry-player { aspect-ratio: 9 / 16; max-height: 72vh; margin: 0 auto; }
.ry-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.ry-x {
    position: absolute;
    z-index: 2;
    right: 12px;
    top: 18px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--ry-ink);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s cubic-bezier(.2, .9, .3, 1.6), background 0.2s ease, color 0.2s ease;
}
.ry-x:hover { transform: rotate(90deg) scale(1.1); background: var(--ry-red); color: #fff; }
.ry-m-info { padding: 16px 22px 20px; }
.ry-m-info p { margin: 0; }
.ry-m-title { font-size: 1.3rem; font-weight: 800; line-height: 1.25; }
.ry-m-meta { margin-top: 4px !important; font-size: 0.92rem; color: var(--ry-muted); }
.ry-m-hint { margin-top: 6px !important; font-size: 0.88rem; font-weight: 700; color: #cc0029; }
.ry-m-desc { margin-top: 10px !important; font-size: 0.98rem; line-height: 1.5; color: #4b4463; white-space: pre-line; max-height: 7.5em; overflow-y: auto; }
.ry-m-desc:empty { display: none; }
.ry-m-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.ry-btn, a.ry-btn, a.ry-btn:visited {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    border: 0;
    border-radius: 999px;
    background: #f0ecf6;
    color: var(--ry-ink);
    font: inherit;
    font-size: 0.98rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(.2, .9, .3, 1.6), background 0.2s ease;
}
.ry-btn:hover:not(:disabled) { transform: translateY(-2px); background: #e4ddf0; }
.ry-btn:disabled { opacity: 0.4; cursor: default; }
a.ry-btn-red, a.ry-btn-red:visited { margin-left: auto; background: var(--ry-red); color: #fff; }
a.ry-btn-red:hover { background: var(--ry-red-dark) !important; }

/* confetti from the Subscribe button */
.ry-confetti { position: absolute; z-index: 120; width: 9px; height: 9px; border-radius: 2px; pointer-events: none; animation: ry-confetti 0.95s cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes ry-confetti { from { opacity: 1; transform: translate(0, 0) rotate(0); } to { opacity: 0; transform: translate(var(--dx), calc(var(--dy) + 60px)) rotate(var(--r)); } }

/* ---------------------------------------------------------------------
   Smaller screens, and calmer motion
   --------------------------------------------------------------------- */
@media (max-width: 760px) {
    .ry-hero { padding: 22px 18px; border-radius: 24px; }
    .ry-hero-in { flex-direction: column; align-items: flex-start; gap: 16px; }
    .ry-avatar { width: 96px; height: 96px; }
    .ry-avatar span { font-size: 2.4rem; }
    .ry-play-logo svg { width: 44px; height: 32px; }
    .ry-card.is-big { flex-direction: column; align-items: stretch; }
    .ry-card.is-big .ry-info { padding: 4px 6px 0; }
    .ry-find { flex: 1 1 100%; }
    .ry-find input { width: 100%; }
    .ry-grid { grid-template-columns: 1fr 1fr; gap: 16px 12px; }
    .ry-grid.is-shorts { grid-template-columns: 1fr 1fr; }
    .ry-shorts { grid-auto-columns: 140px; }
    .ry-card { padding: 7px 7px 10px; border-radius: 18px; }
    .ry-vtitle { font-size: 0.92rem; }
    a.ry-btn-red { margin-left: 0; }
    .ry-floaties .f2, .ry-floaties .f4, .ry-floaties .f7 { display: none; }
}
@media (max-width: 420px) {
    .ry-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    body.ry-page::after, .ry-card.glimmer .ry-playbtn,
    .ry-floaties i, .ry-avatar, .ry-avatar > *, .ry-play-logo svg, .ry-words .ch, .ry-bell, .ry-star, .ry-new, .ry-card, .ry-ring::before { animation: none !important; }
    .ry-card { transform: none; }
}
