@font-face {
    font-family: "Noto Naskh Arabic";
    src: url("fonts/NotoNaskhArabic-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

.sah-game {
    --sah-ink: #4c287d;
    --sah-ink-soft: #76549b;
    --sah-purple: #7747bd;
    --sah-purple-deep: #5b3295;
    --sah-lavender: #e8dcff;
    --sah-pink: #f9cde4;
    --sah-peach: #ffe3bc;
    --sah-white: #fffaf5;
    box-sizing: border-box;
    width: min(100%, 1020px);
    margin: 24px auto;
    padding: clamp(10px, 2.4vw, 24px);
    color: var(--sah-ink);
    direction: rtl;
    font-family: "Noto Naskh Arabic", serif;
    font-size: 17px;
    line-height: 1.55;
    background:
        radial-gradient(circle at 6% 22%, rgba(255, 214, 180, .8) 0 7%, transparent 7.4%),
        radial-gradient(circle at 96% 77%, rgba(233, 214, 255, .85) 0 8%, transparent 8.4%),
        linear-gradient(145deg, #e8ddff 0%, #fbe2f0 48%, #ffebd0 100%);
    border-radius: 34px;
    isolation: isolate;
}

.sah-game *,
.sah-game *::before,
.sah-game *::after { box-sizing: border-box; }

.sah-game [hidden] { display: none !important; }

.sah-shell {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(147, 109, 205, .28);
    border-radius: 29px;
    background: rgba(255, 250, 247, .96);
    box-shadow: 0 18px 46px rgba(91, 50, 149, .18), 0 4px 0 rgba(255, 255, 255, .72) inset;
}

.sah-header {
    position: relative;
    display: flex;
    align-items: center;
    gap: 17px;
    min-height: 120px;
    padding: 20px clamp(18px, 4vw, 38px);
    overflow: hidden;
    color: #fff8f0;
    background: linear-gradient(115deg, #6a3ba7 0%, #8352c5 58%, #a36bd7 100%);
}

.sah-brand-mark {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    border: 2px solid rgba(255, 250, 247, .8);
    border-radius: 24px;
    color: #5a3292;
    background: linear-gradient(145deg, #ffe6c8, #fff5e9);
    box-shadow: 0 5px 0 rgba(77, 37, 126, .22), 0 0 0 6px rgba(255, 255, 255, .12);
    font-size: 27px;
    font-weight: 700;
    transform: rotate(-3deg);
}

.sah-brand-mark span:last-child { margin-top: 10px; color: #9250b8; }
.sah-brand-copy { position: relative; z-index: 1; }
.sah-eyebrow { margin: 0 0 2px; color: #ffe2ba; font-size: 14px; }
.sah-brand-copy h2 { margin: 0; color: #fffaf5; font-size: clamp(27px, 4vw, 36px); line-height: 1.25; }
.sah-header-note {
    position: relative;
    z-index: 1;
    max-width: 230px;
    margin: 0 0 0 auto;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, .32);
    border-radius: 20px;
    color: #fff7ed;
    background: rgba(255, 255, 255, .12);
    text-align: center;
    font-size: 15px;
}
.sah-spark { position: absolute; color: #ffdfa5; opacity: .9; line-height: 1; }
.sah-spark-one { top: 15px; left: 7%; font-size: 25px; }
.sah-spark-two { right: 8%; bottom: 13px; font-size: 20px; }

.sah-content { padding: clamp(14px, 3vw, 27px); }
.sah-progress-card {
    padding: 14px 18px 12px;
    border: 1px solid #eadcfb;
    border-radius: 20px;
    background: linear-gradient(110deg, #fff7f0, #f8efff);
    box-shadow: 0 4px 0 rgba(132, 86, 190, .08);
}
.sah-progress-heading, .sah-progress-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.sah-progress-heading { color: var(--sah-purple-deep); font-size: 16px; }
.sah-progress-heading strong { font-size: 18px; }
.sah-progress-heading span, .sah-progress-foot { color: var(--sah-ink-soft); }
.sah-progress-track {
    height: 13px;
    margin: 9px 0 5px;
    overflow: hidden;
    border: 1px solid rgba(117, 71, 189, .17);
    border-radius: 99px;
    background: #e8dcf6;
}
.sah-progress-track span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #b26bdb, #7747bd 68%, #f29aca);
    transition: width .35s ease;
}
.sah-progress-foot { min-height: 23px; font-size: 13px; }
.sah-progress-stars { color: #eca544; letter-spacing: 3px; }

.sah-target-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 15px;
    padding: 12px 18px;
    border: 1px solid #f2d8e8;
    border-radius: 21px;
    background: linear-gradient(110deg, #fff0e4, #fff9f6 52%, #f7ecff);
}
.sah-target-copy { display: flex; align-items: center; gap: 12px; }
.sah-target-icon {
    display: grid;
    width: 43px;
    height: 43px;
    place-items: center;
    border-radius: 15px;
    color: #fff8f0;
    background: linear-gradient(145deg, #a369d6, #7042b2);
    box-shadow: 0 3px 0 #d5b6ed;
    font-size: 23px;
}
.sah-target-label { margin: 0; color: var(--sah-purple-deep); font-size: 17px; font-weight: 700; }
.sah-target-help { margin: 0; color: #8968a7; font-size: 13px; }
.sah-target-word {
    min-width: 104px;
    padding: 1px 16px 3px;
    border: 2px solid #d7b6f1;
    border-radius: 16px;
    color: #572e8c;
    background: #fffdfb;
    text-align: center;
    font-size: clamp(25px, 4vw, 34px);
    font-weight: 700;
    letter-spacing: .04em;
    box-shadow: 0 3px 0 rgba(142, 91, 198, .14);
}

.sah-live {
    min-height: 44px;
    margin: 12px 0 4px;
    padding: 8px 14px;
    border: 1px solid #efe2ff;
    border-radius: 15px;
    color: #704d98;
    background: #faf5ff;
    text-align: center;
    font-size: 15px;
}
.sah-slots-wrap { margin: 12px 0 4px; text-align: center; }
.sah-slots { display: flex; justify-content: center; gap: 9px; min-height: 62px; }
.sah-slot {
    display: grid;
    width: clamp(49px, 7vw, 61px);
    height: clamp(49px, 7vw, 61px);
    place-items: center;
    border: 2px solid #d8c2ee;
    border-radius: 17px;
    color: #5b328f;
    background: linear-gradient(145deg, #fffefa, #f5edff);
    box-shadow: 0 4px 0 #e2d4f2;
    font-size: 29px;
    font-weight: 700;
    line-height: 1;
}
.sah-slot span { color: #cfb9e8; font-size: 29px; }
.sah-slot.is-filled { border-color: #a777d4; background: linear-gradient(145deg, #f5eaff, #fff6f2); }
.sah-slot.is-next { border-color: #f1b45f; box-shadow: 0 4px 0 #f7dfbd, 0 0 0 3px rgba(248, 204, 137, .22); }
.sah-slots-caption { margin: 3px 0 0; color: #9279ab; font-size: 12px; }
.sah-attempts { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 28px; margin: 1px 0 8px; }
.sah-attempts-label { margin-inline-end: 5px; color: #8669a2; font-size: 13px; }
.sah-attempt-pip { color: #9b68ce; font-size: 17px; line-height: 1; }
.sah-attempt-pip.is-spent { color: #e9a2c5; }

.sah-arena {
    position: relative;
    min-height: 180px;
    padding: 18px 12px;
    overflow: hidden;
    border: 1px solid #e2d3f5;
    border-radius: 24px;
    background:
        radial-gradient(circle at 9% 18%, rgba(250, 213, 232, .7) 0 9%, transparent 9.5%),
        radial-gradient(circle at 92% 80%, rgba(255, 229, 192, .8) 0 11%, transparent 11.5%),
        linear-gradient(135deg, #f5edff, #fff5ee 52%, #f7e7f6);
}
.sah-arena-glint { position: absolute; color: #e8a542; opacity: .7; pointer-events: none; }
.sah-glint-a { top: 12px; left: 23px; font-size: 21px; }
.sah-glint-b { right: 25px; bottom: 12px; font-size: 18px; }
.sah-bubbles {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(6, minmax(65px, 82px));
    justify-content: center;
    align-items: center;
    gap: 12px 15px;
    min-height: 143px;
}
.sah-bubble {
    position: relative;
    display: grid;
    width: 100%;
    aspect-ratio: 1;
    place-items: center;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, .96);
    border-radius: 50%;
    color: #542b86;
    cursor: pointer;
    box-shadow: 0 4px 0 rgba(119, 71, 189, .24), 0 0 0 3px rgba(160, 112, 214, .28), 0 8px 15px rgba(98, 63, 142, .13), inset 0 2px 5px rgba(255, 255, 255, .8);
    transition: transform .16s ease, box-shadow .16s ease, opacity .2s ease;
    font-family: inherit;
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
}
.sah-bubble::before {
    position: absolute;
    top: 13%;
    left: 19%;
    width: 20%;
    height: 9%;
    border-radius: 50%;
    background: rgba(255, 255, 255, .8);
    content: "";
    transform: rotate(-35deg);
}
.sah-bubble span { position: relative; z-index: 1; margin-top: 5px; }
.sah-bubble:hover:not(:disabled) { transform: translateY(-4px) scale(1.04); box-shadow: 0 8px 0 rgba(119, 71, 189, .2), 0 0 0 4px rgba(160, 112, 214, .3), 0 14px 20px rgba(98, 63, 142, .16); }
.sah-bubble:active:not(:disabled) { transform: scale(.95); }
.sah-bubble:focus-visible, .sah-button:focus-visible { outline: 4px solid #f0b557; outline-offset: 3px; }
.sah-bubble:disabled { cursor: default; }
.sah-bubble.is-collected { opacity: .28; transform: scale(.86); box-shadow: 0 2px 0 rgba(119, 71, 189, .14), 0 0 0 2px rgba(160, 112, 214, .12); }
.sah-bubble.is-hinted { animation: sah-hint-pulse .78s ease-in-out infinite alternate; outline: 3px solid #edae54; outline-offset: 3px; }
.bubble-lilac { background: radial-gradient(circle at 32% 25%, #f5eaff 0 9%, #cba5f4 32%, #9d6bd6 100%); }
.bubble-pink { background: radial-gradient(circle at 32% 25%, #fff4f8 0 8%, #f7b4d8 37%, #ec75b5 100%); }
.bubble-peach { background: radial-gradient(circle at 32% 25%, #fff9ea 0 8%, #ffd28d 38%, #f2a34d 100%); }
.bubble-sky { background: radial-gradient(circle at 32% 25%, #f3fbff 0 8%, #a9dcf8 38%, #72b9e9 100%); }
.bubble-violet { background: radial-gradient(circle at 32% 25%, #f7f0ff 0 8%, #c6a3ef 38%, #8e5ed0 100%); }

.sah-actions { display: grid; grid-template-columns: 1.25fr 1fr .78fr; gap: 11px; margin-top: 15px; }
.sah-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 8px 15px;
    border: 0;
    border-radius: 17px;
    color: #fffaf6;
    cursor: pointer;
    box-shadow: 0 5px 0 rgba(83, 44, 129, .2), inset 0 1px 0 rgba(255, 255, 255, .32);
    transition: transform .15s ease, filter .15s ease;
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
}
.sah-button:hover:not(:disabled) { filter: brightness(1.05); transform: translateY(-2px); }
.sah-button:active:not(:disabled) { transform: translateY(1px); box-shadow: 0 2px 0 rgba(83, 44, 129, .2); }
.sah-button:disabled { opacity: .55; cursor: default; }
.sah-button-symbol { font-size: 21px; line-height: 1; }
.sah-button-check, .sah-button-next { background: linear-gradient(105deg, #a56adb, #7747bd 72%, #6639a6); }
.sah-button-hint { color: #70408e; background: linear-gradient(105deg, #ffe4b4, #ffd39d); box-shadow: 0 5px 0 rgba(191, 127, 57, .2), inset 0 1px 0 rgba(255, 255, 255, .7); }
.sah-button-reset { color: #69488f; background: linear-gradient(105deg, #f2e7ff, #e4d2fa); box-shadow: 0 5px 0 rgba(112, 76, 155, .18), inset 0 1px 0 rgba(255, 255, 255, .8); }
.sah-next-row, .sah-retry-row { display: flex; justify-content: center; margin-top: 11px; }
.sah-button-next, .sah-button-retry { min-width: min(100%, 300px); }
.sah-button-retry { background: linear-gradient(105deg, #ee83b6, #b16bd3); }

.sah-end-screen { padding: 38px 22px 34px; text-align: center; }
.sah-end-symbol { display: grid; width: 86px; height: 86px; place-items: center; margin: 0 auto 12px; border: 3px solid #fff; border-radius: 27px; color: #6a3ba7; background: linear-gradient(145deg, #ffe4b9, #e7d6ff); box-shadow: 0 6px 0 #ddc9ef; font-size: 42px; }
.sah-end-screen .sah-eyebrow { color: #ac6cbb; font-size: 16px; }
.sah-end-screen h3 { margin: 0 0 8px; color: #5b328f; font-size: 29px; }
.sah-end-screen p:not(.sah-eyebrow) { max-width: 470px; margin: 0 auto 20px; color: #80639e; }
.sah-footer { padding: 3px 15px 13px; color: #9a7bb5; text-align: center; font-size: 12px; }
.sah-footer span { color: #d39c4a; padding: 0 5px; }

@keyframes sah-hint-pulse {
    from { box-shadow: 0 4px 0 rgba(119, 71, 189, .24), 0 0 0 3px rgba(160, 112, 214, .28), 0 8px 15px rgba(98, 63, 142, .13); }
    to { box-shadow: 0 6px 0 rgba(119, 71, 189, .2), 0 0 0 6px rgba(237, 174, 84, .24), 0 12px 20px rgba(98, 63, 142, .15); }
}

@media (max-width: 700px) {
    .sah-game { margin: 12px auto; padding: 8px; border-radius: 25px; font-size: 16px; }
    .sah-shell { border-radius: 23px; }
    .sah-header { min-height: 99px; gap: 12px; padding: 15px 16px; }
    .sah-brand-mark { width: 61px; height: 61px; flex-basis: 61px; border-radius: 20px; font-size: 23px; }
    .sah-brand-copy h2 { font-size: 27px; }
    .sah-eyebrow { font-size: 12px; }
    .sah-header-note { max-width: 145px; padding: 7px 9px; font-size: 12px; line-height: 1.4; }
    .sah-content { padding: 12px; }
    .sah-progress-card { padding: 11px 12px 9px; border-radius: 17px; }
    .sah-progress-heading { font-size: 14px; }
    .sah-progress-heading strong { font-size: 16px; }
    .sah-progress-foot { font-size: 12px; }
    .sah-target-card { gap: 9px; margin-top: 11px; padding: 10px 11px; border-radius: 17px; }
    .sah-target-copy { gap: 8px; }
    .sah-target-icon { width: 37px; height: 37px; border-radius: 13px; font-size: 20px; }
    .sah-target-label { font-size: 15px; }
    .sah-target-help { font-size: 11px; }
    .sah-target-word { min-width: 82px; padding: 0 11px 2px; border-radius: 13px; font-size: 25px; }
    .sah-live { min-height: 41px; margin-top: 10px; padding: 7px 9px; font-size: 13px; }
    .sah-slots { gap: 7px; min-height: 54px; }
    .sah-slot { width: 49px; height: 49px; border-radius: 14px; font-size: 25px; }
    .sah-slot span { font-size: 25px; }
    .sah-slots-caption { font-size: 11px; }
    .sah-arena { min-height: 164px; padding: 15px 9px; border-radius: 19px; }
    .sah-bubbles { grid-template-columns: repeat(4, minmax(53px, 68px)); gap: 11px 11px; min-height: 132px; }
    .sah-bubble { font-size: 29px; }
    .sah-actions { grid-template-columns: 1.15fr 1fr .78fr; gap: 7px; margin-top: 12px; }
    .sah-button { min-height: 47px; gap: 5px; padding: 7px 8px; border-radius: 14px; font-size: 14px; }
    .sah-button-symbol { font-size: 18px; }
    .sah-footer { padding-bottom: 10px; }
}

@media (max-width: 390px) {
    .sah-header-note { display: none; }
    .sah-bubbles { grid-template-columns: repeat(4, minmax(48px, 64px)); gap: 9px; }
    .sah-button { font-size: 13px; }
    .sah-target-word { min-width: 74px; }
}

@media (prefers-reduced-motion: reduce) {
    .sah-game *, .sah-game *::before, .sah-game *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}


/* Celebration: a light, pointer-transparent shower that does not block play. */
.sah-celebration-layer {
    position: fixed;
    z-index: 999999;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.sah-fall-star {
    position: absolute;
    top: -12vh;
    line-height: 1;
    text-shadow: 0 2px 8px rgba(119, 71, 189, .24), 0 0 14px rgba(255, 225, 161, .65);
    animation: sah-star-fall 2.4s cubic-bezier(.2, .62, .42, 1) both;
    will-change: transform, opacity;
}
@keyframes sah-star-fall {
    0% { transform: translate3d(0, -12vh, 0) rotate(0deg); opacity: 0; }
    12% { opacity: 1; }
    100% { transform: translate3d(var(--sah-drift), 115vh, 0) rotate(640deg); opacity: 0; }
}
.sah-game .sah-stage-celebration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 12px 0 7px;
    padding: 12px 16px;
    border: 2px solid #f2c36e;
    border-radius: 19px;
    color: #623491;
    background: linear-gradient(105deg, #fff0c9, #fbe1f3 48%, #eee0ff);
    box-shadow: 0 5px 0 rgba(183, 123, 191, .2), inset 0 1px 0 #fffdf7;
    text-align: center;
    animation: sah-stage-pop .38s cubic-bezier(.18, .85, .35, 1.2) both;
}
.sah-stage-celebration > div { display: grid; gap: 1px; }
.sah-game .sah-stage-celebration strong { color: #66379a; font-size: 21px; line-height: 1.25; }
.sah-game .sah-stage-celebration > div > span { color: #805a9c; font-size: 14px; }
.sah-game .sah-stage-star { color: #eaa33d; font-size: 24px; animation: sah-stage-twinkle .8s ease-in-out infinite alternate; }
@keyframes sah-stage-pop {
    from { opacity: 0; transform: translateY(9px) scale(.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes sah-stage-twinkle {
    from { transform: scale(.9) rotate(-10deg); }
    to { transform: scale(1.16) rotate(10deg); }
}

/* Keep WP theme hover/focus/active rules from recoloring game controls. */
.sah-game .sah-bubble,
.sah-game .sah-button {
    -webkit-appearance: none !important;
    appearance: none !important;
    text-decoration: none !important;
    text-shadow: none !important;
    filter: none !important;
}
.sah-game .sah-bubble.bubble-lilac,
.sah-game .sah-bubble.bubble-lilac:hover,
.sah-game .sah-bubble.bubble-lilac:focus,
.sah-game .sah-bubble.bubble-lilac:active {
    color: #542b86 !important;
    background: radial-gradient(circle at 32% 25%, #f5eaff 0 9%, #cba5f4 32%, #9d6bd6 100%) !important;
    border-color: rgba(255, 255, 255, .96) !important;
}
.sah-game .sah-bubble.bubble-pink,
.sah-game .sah-bubble.bubble-pink:hover,
.sah-game .sah-bubble.bubble-pink:focus,
.sah-game .sah-bubble.bubble-pink:active {
    color: #542b86 !important;
    background: radial-gradient(circle at 32% 25%, #fff4f8 0 8%, #f7b4d8 37%, #ec75b5 100%) !important;
    border-color: rgba(255, 255, 255, .96) !important;
}
.sah-game .sah-bubble.bubble-peach,
.sah-game .sah-bubble.bubble-peach:hover,
.sah-game .sah-bubble.bubble-peach:focus,
.sah-game .sah-bubble.bubble-peach:active {
    color: #542b86 !important;
    background: radial-gradient(circle at 32% 25%, #fff9ea 0 8%, #ffd28d 38%, #f2a34d 100%) !important;
    border-color: rgba(255, 255, 255, .96) !important;
}
.sah-game .sah-bubble.bubble-sky,
.sah-game .sah-bubble.bubble-sky:hover,
.sah-game .sah-bubble.bubble-sky:focus,
.sah-game .sah-bubble.bubble-sky:active {
    color: #542b86 !important;
    background: radial-gradient(circle at 32% 25%, #f3fbff 0 8%, #a9dcf8 38%, #72b9e9 100%) !important;
    border-color: rgba(255, 255, 255, .96) !important;
}
.sah-game .sah-bubble.bubble-violet,
.sah-game .sah-bubble.bubble-violet:hover,
.sah-game .sah-bubble.bubble-violet:focus,
.sah-game .sah-bubble.bubble-violet:active {
    color: #542b86 !important;
    background: radial-gradient(circle at 32% 25%, #f7f0ff 0 8%, #c6a3ef 38%, #8e5ed0 100%) !important;
    border-color: rgba(255, 255, 255, .96) !important;
}
.sah-game .sah-bubble:hover:not(:disabled) {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 8px 0 rgba(119, 71, 189, .2), 0 0 0 4px rgba(160, 112, 214, .3), 0 14px 20px rgba(98, 63, 142, .16) !important;
}
.sah-game .sah-bubble:active:not(:disabled) {
    transform: scale(.95);
    box-shadow: 0 2px 0 rgba(119, 71, 189, .2), 0 0 0 3px rgba(160, 112, 214, .24) !important;
}
.sah-game .sah-bubble:focus,
.sah-game .sah-button:focus {
    outline: 3px solid #f0b557 !important;
    outline-offset: 3px !important;
}
.sah-game .sah-bubble:focus-visible,
.sah-game .sah-button:focus-visible {
    outline: 4px solid #f0b557 !important;
    outline-offset: 3px !important;
}
.sah-game .sah-bubble:hover,
.sah-game .sah-bubble:active,
.sah-game .sah-button:hover,
.sah-game .sah-button:active { outline-color: #f0b557 !important; }
.sah-game .sah-bubble:focus span,
.sah-game .sah-bubble:hover span,
.sah-game .sah-bubble:active span { color: #542b86 !important; }

.sah-game .sah-button.sah-button-check,
.sah-game .sah-button.sah-button-check:hover,
.sah-game .sah-button.sah-button-check:focus,
.sah-game .sah-button.sah-button-check:active,
.sah-game .sah-button.sah-button-next,
.sah-game .sah-button.sah-button-next:hover,
.sah-game .sah-button.sah-button-next:focus,
.sah-game .sah-button.sah-button-next:active {
    color: #fffaf6 !important;
    background: linear-gradient(105deg, #a56adb, #7747bd 72%, #6639a6) !important;
    border: 2px solid rgba(255, 255, 255, .48) !important;
    box-shadow: 0 5px 0 rgba(83, 44, 129, .2), inset 0 1px 0 rgba(255, 255, 255, .32) !important;
    filter: none !important;
}
.sah-game .sah-button.sah-button-hint,
.sah-game .sah-button.sah-button-hint:hover,
.sah-game .sah-button.sah-button-hint:focus,
.sah-game .sah-button.sah-button-hint:active {
    color: #70408e !important;
    background: linear-gradient(105deg, #ffe4b4, #ffd39d) !important;
    border: 2px solid rgba(255, 255, 255, .65) !important;
    box-shadow: 0 5px 0 rgba(191, 127, 57, .2), inset 0 1px 0 rgba(255, 255, 255, .7) !important;
    filter: none !important;
}
.sah-game .sah-button.sah-button-reset,
.sah-game .sah-button.sah-button-reset:hover,
.sah-game .sah-button.sah-button-reset:focus,
.sah-game .sah-button.sah-button-reset:active {
    color: #69488f !important;
    background: linear-gradient(105deg, #f2e7ff, #e4d2fa) !important;
    border: 2px solid rgba(255, 255, 255, .75) !important;
    box-shadow: 0 5px 0 rgba(112, 76, 155, .18), inset 0 1px 0 rgba(255, 255, 255, .8) !important;
    filter: none !important;
}
.sah-game .sah-button.sah-button-retry,
.sah-game .sah-button.sah-button-retry:hover,
.sah-game .sah-button.sah-button-retry:focus,
.sah-game .sah-button.sah-button-retry:active {
    color: #fffaf6 !important;
    background: linear-gradient(105deg, #ee83b6, #b16bd3) !important;
    border: 2px solid rgba(255, 255, 255, .48) !important;
    box-shadow: 0 5px 0 rgba(83, 44, 129, .2), inset 0 1px 0 rgba(255, 255, 255, .32) !important;
    filter: none !important;
}
.sah-game .sah-button.sah-button-check:hover:not(:disabled),
.sah-game .sah-button.sah-button-next:hover:not(:disabled),
.sah-game .sah-button.sah-button-hint:hover:not(:disabled),
.sah-game .sah-button.sah-button-reset:hover:not(:disabled),
.sah-game .sah-button.sah-button-retry:hover:not(:disabled) { transform: translateY(-2px); }
.sah-game .sah-button.sah-button-check:active:not(:disabled),
.sah-game .sah-button.sah-button-next:active:not(:disabled),
.sah-game .sah-button.sah-button-hint:active:not(:disabled),
.sah-game .sah-button.sah-button-reset:active:not(:disabled),
.sah-game .sah-button.sah-button-retry:active:not(:disabled) { transform: translateY(1px); }
.sah-game .sah-button.sah-button-check:hover *,
.sah-game .sah-button.sah-button-next:hover *,
.sah-game .sah-button.sah-button-check:focus *,
.sah-game .sah-button.sah-button-next:focus *,
.sah-game .sah-button.sah-button-check:active *,
.sah-game .sah-button.sah-button-next:active * { color: #fffaf6 !important; }
.sah-game .sah-button.sah-button-hint:hover *,
.sah-game .sah-button.sah-button-hint:focus *,
.sah-game .sah-button.sah-button-hint:active * { color: #70408e !important; }
.sah-game .sah-button.sah-button-reset:hover *,
.sah-game .sah-button.sah-button-reset:focus *,
.sah-game .sah-button.sah-button-reset:active * { color: #69488f !important; }
.sah-game .sah-button.sah-button-retry:hover *,
.sah-game .sah-button.sah-button-retry:focus *,
.sah-game .sah-button.sah-button-retry:active * { color: #fffaf6 !important; }
.sah-game .sah-button:disabled { opacity: .55; cursor: default; }

@media (max-width: 700px) {
    .sah-game .sah-stage-celebration { gap: 9px; padding: 10px 9px; }
    .sah-game .sah-stage-celebration strong { font-size: 18px; }
    .sah-game .sah-stage-celebration > div > span { font-size: 12px; }
    .sah-game .sah-stage-star { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    .sah-fall-star, .sah-game .sah-stage-celebration, .sah-game .sah-stage-star { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
