.page-aim-slot {
    background-color: #160f0b;
    background-image:
        radial-gradient(circle at 15% 8%, rgba(153, 76, 35, 0.16), transparent 34rem),
        radial-gradient(circle at 85% 42%, rgba(112, 65, 33, 0.12), transparent 32rem);
}

.aim-slot-page {
    --slot-ink: #2b1a12;
    --slot-paper: #ead7aa;
    --slot-gold: #d7ac5c;
    --slot-cream: #ffe8b2;
    --slot-red: #8e2d23;
    --slot-dark: #1b100c;
    gap: 22px;
}

.aim-slot-page .aim-service-header {
    border-color: rgba(215, 172, 92, 0.34);
    background:
        linear-gradient(90deg, rgba(215, 172, 92, 0.06) 1px, transparent 1px) 0 0 / 7px 100%,
        linear-gradient(180deg, #2d1b14, #1c120e);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28), inset 0 1px rgba(255, 232, 178, 0.08);
}

.aim-slot-page .aim-section-title {
    color: var(--slot-cream);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.35rem;
    letter-spacing: 0.035em;
}

.aim-slot-page .aim-section-hint {
    color: #c9b38d;
}

.aim-slot-page .aim-back-link {
    border-color: rgba(215, 172, 92, 0.3);
    color: #ead7aa;
}

.aim-slot-page .aim-back-link:hover {
    border-color: var(--slot-gold);
    color: #fff1c9;
}

.aim-slot {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(350px, 410px);
    gap: 24px;
    align-items: start;
    padding: 0;
    border: 0;
    background: none;
    box-shadow: none;
}

.aim-slot__game {
    min-width: 0;
    padding: 30px 22px 24px;
    border: 1px solid rgba(215, 172, 92, 0.28);
    border-radius: 8px;
    background:
        radial-gradient(ellipse at 50% 20%, rgba(182, 106, 48, 0.17), transparent 52%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 5px),
        #21150f;
    box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.36), 0 18px 42px rgba(0, 0, 0, 0.24);
}

.aim-slot__machine {
    --slot-neon: #e8b65e;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    padding: 0 4px 10px;
    filter: drop-shadow(0 24px 20px rgba(0, 0, 0, 0.45));
}

.aim-slot__cabinet {
    position: relative;
    width: 510px;
    max-width: 100%;
    box-sizing: border-box;
    padding: 20px 20px 0;
    border: 2px solid #b58140;
    border-radius: 42px 42px 14px 14px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.06), transparent 9%, transparent 90%, rgba(0, 0, 0, 0.25)),
        repeating-linear-gradient(88deg, transparent 0 19px, rgba(26, 8, 3, 0.12) 20px, transparent 22px),
        linear-gradient(180deg, #703822, #472417 48%, #321a12);
    box-shadow:
        inset 0 0 0 4px #2c170f,
        inset 0 0 0 6px rgba(224, 175, 91, 0.55),
        inset 14px 0 24px rgba(255, 196, 112, 0.06),
        inset -14px 0 24px rgba(0, 0, 0, 0.28),
        0 0 0 1px #130a06;
    transition: filter 0.25s ease, box-shadow 0.25s ease;
}

.aim-slot__screw {
    position: absolute;
    z-index: 3;
    top: 23px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #ffe2a1, #9c682e 70%);
    box-shadow: 0 1px 2px #160b06;
}

.aim-slot__screw::after {
    content: '';
    position: absolute;
    left: 2px;
    right: 2px;
    top: 4px;
    height: 1px;
    background: #563716;
    transform: rotate(-25deg);
}

.aim-slot__screw--tl { left: 23px; }
.aim-slot__screw--tr { right: 23px; }

.aim-slot__marquee {
    position: relative;
    margin: 0 4px 14px;
    padding: 24px 16px 15px;
    border: 3px double #e0b564;
    border-radius: 26px 26px 5px 5px;
    text-align: center;
    color: var(--slot-cream);
    background:
        radial-gradient(ellipse at 50% 0, rgba(229, 115, 61, 0.26), transparent 65%),
        #641f1b;
    box-shadow: inset 0 0 22px #2a0c09, 0 3px 0 #2b140c, 0 5px 12px rgba(0, 0, 0, 0.36);
    text-shadow: 0 2px 0 #3a100c;
}

.aim-slot__bulbs {
    position: absolute;
    top: 8px;
    left: 18px;
    right: 18px;
    display: flex;
    justify-content: space-between;
}

.aim-slot__bulbs i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffe38c;
    box-shadow: 0 0 5px #ffbd4a, 0 0 11px rgba(255, 163, 46, 0.7), inset 0 1px #fff7d4;
}

.aim-slot__marquee-kicker,
.aim-slot__marquee-subtitle {
    display: block;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.65rem;
    font-style: italic;
    letter-spacing: 0.16em;
    color: #e4bd76;
}

.aim-slot__marquee-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 5px 0 4px;
}

.aim-slot__marquee-title strong {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(1.15rem, 2.25vw, 1.55rem);
    line-height: 1.05;
    letter-spacing: 0.035em;
}

.aim-slot__marquee-title > span {
    color: #f5cc77;
    font-size: 1.15rem;
}

.aim-slot__machine.is-spinning .aim-slot__bulbs i {
    animation: aim-slot-bulb 0.7s steps(2) infinite;
}

.aim-slot__machine.is-spinning .aim-slot__bulbs i:nth-child(2n) { animation-delay: 0.35s; }
.aim-slot__machine.is-win .aim-slot__bulbs i { animation: aim-slot-bulb 0.35s steps(2) 8; }

@keyframes aim-slot-bulb {
    50% { opacity: 0.25; box-shadow: none; }
}

.aim-slot__display {
    margin: 0 8px 14px;
    padding: 10px 16px;
    min-height: 42px;
    box-sizing: border-box;
    border: 2px solid #8c6132;
    border-radius: 4px;
    text-align: center;
    font-family: 'Courier New', monospace;
    font-size: 0.93rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #ffd278;
    background: #17130d;
    box-shadow: inset 0 3px 12px #000, 0 1px 0 rgba(255, 224, 160, 0.2);
    text-shadow: 0 0 8px rgba(255, 180, 65, 0.62);
}

.aim-slot__display.is-win { color: #fff0a8; }
.aim-slot__display.is-best { color: #c9f2b2; }

.aim-slot__window {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
    padding: 13px;
    margin: 0 6px;
    border: 3px solid #d0a052;
    border-radius: 8px;
    background: linear-gradient(180deg, #f0ce86, #75502c 9%, #2b2119 50%, #75502c 91%, #d7ae62);
    box-shadow: inset 0 0 0 2px #352011, 0 3px 8px rgba(0, 0, 0, 0.55);
}

.aim-slot__reel {
    position: relative;
    height: 196px;
    overflow: hidden;
    border: 1px solid #594a37;
    border-radius: 3px;
    background: #f3e7ca;
    box-shadow: 0 0 0 2px #1b130d, inset 0 0 12px rgba(77, 45, 18, 0.2);
}

.aim-slot__reel::after {
    background: linear-gradient(180deg,
        rgba(29, 18, 10, 0.88) 0%,
        rgba(52, 32, 16, 0.32) 16%,
        transparent 38%,
        rgba(255, 251, 228, 0.18) 50%,
        transparent 62%,
        rgba(52, 32, 16, 0.32) 84%,
        rgba(29, 18, 10, 0.88) 100%);
}

.aim-slot__cell {
    height: 112px;
    background: radial-gradient(ellipse, rgba(255, 255, 255, 0.55), transparent 68%);
}

.aim-slot__cell svg {
    width: 82px;
    height: 90px;
    filter: drop-shadow(0 2px 1px rgba(60, 35, 15, 0.32));
}

.aim-slot__payline {
    position: absolute;
    z-index: 4;
    left: 5px;
    right: 5px;
    top: 50%;
    display: grid;
    grid-template-columns: 13px 1fr 13px;
    align-items: center;
    transform: translateY(-50%);
    pointer-events: none;
}

.aim-slot__payline i {
    height: 1px;
    background: rgba(155, 35, 27, 0.58);
    box-shadow: 0 1px rgba(255, 244, 199, 0.45);
}

.aim-slot__payline span {
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 9px solid #9e3025;
    filter: drop-shadow(0 1px #f4d18b);
}

.aim-slot__payline span:last-child {
    justify-self: end;
    transform: rotate(180deg);
}

.aim-slot__ledge {
    height: 13px;
    margin: 13px -7px 0;
    border: 1px solid #2d170d;
    border-radius: 3px;
    background: linear-gradient(180deg, #e1b96e, #8d5b2c 38%, #422415 42%, #2b160e);
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.45);
}

.aim-slot__bottom {
    margin: 14px 6px 0;
    padding: 12px;
    border: 1px solid #aa773c;
    border-radius: 5px;
    background: rgba(30, 16, 10, 0.78);
    box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.5);
}

.aim-slot__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 0 0 13px;
}

.aim-slot__stats div {
    padding: 7px 4px;
    text-align: center;
    border: 1px solid #604323;
    border-radius: 3px;
    background: #15110c;
    box-shadow: inset 0 2px 6px #080604;
}

.aim-slot__stats dt {
    font-size: 0.64rem;
    letter-spacing: 0.035em;
    color: #bca77c;
}

.aim-slot__stats dd {
    margin: 3px 0 0;
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    color: #ffd77e;
}

.aim-slot__controls {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
}

.aim-slot__grille {
    height: 44px;
    border: 1px solid #6f4c28;
    border-radius: 3px;
    background: repeating-linear-gradient(180deg, #7d572e 0 2px, #1a110b 2px 7px);
    box-shadow: inset 0 0 8px #080503;
}

.aim-slot__coin {
    justify-self: end;
    width: 43px;
    height: 47px;
    border: 2px solid #ba8b49;
    border-radius: 4px;
    background: linear-gradient(90deg, #4c321c, #d2a35b 45%, #62401f);
    box-shadow: inset 0 0 0 2px #2c1a0d, 0 2px 5px #000;
}

.aim-slot__coin::after {
    top: 9px;
    bottom: 9px;
    width: 5px;
    margin-left: -2px;
    background: #100c08;
    box-shadow: 1px 0 #e0b66b;
}

.aim-slot__spin {
    display: inline-block;
    min-width: 142px;
    padding: 12px 24px;
    border: 2px solid #e4b364;
    border-radius: 6px;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-align: center;
    text-decoration: none;
    color: #fff0c5;
    cursor: pointer;
    background: linear-gradient(180deg, #b84735, #85261f 58%, #571711);
    box-shadow: 0 5px 0 #35100b, 0 8px 12px rgba(0, 0, 0, 0.45), inset 0 1px rgba(255, 239, 198, 0.32);
    text-shadow: 0 1px #43110c;
    transition: transform 0.08s ease, box-shadow 0.08s ease, filter 0.15s ease;
}

.aim-slot__spin:hover:not(:disabled) { filter: brightness(1.15); }
.aim-slot__spin:active:not(:disabled) {
    transform: translateY(4px);
    box-shadow: 0 1px 0 #35100b, 0 3px 6px rgba(0, 0, 0, 0.45);
}

.aim-slot__spin:disabled { filter: grayscale(0.6) brightness(0.72); }
.aim-slot__spin--login { min-width: 0; padding: 12px 14px; font-size: 0.78rem; letter-spacing: 0.02em; }

.aim-slot__foot {
    display: flex;
    justify-content: space-between;
    height: 25px;
    margin: 13px 25px 0;
    background: none;
    box-shadow: none;
}

.aim-slot__foot span {
    width: 74px;
    height: 22px;
    border-radius: 0 0 5px 5px;
    background: linear-gradient(90deg, #2b160e, #644022, #24130d);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.45);
}

.aim-slot__lever {
    width: 76px;
    height: 340px;
    margin: 68px 0 0 0;
}

.aim-slot__lever-shaft {
    background: linear-gradient(90deg, #3a2c20, #f0d79f 25%, #a88854 52%, #ead29a 68%, #3c2b1c);
}

.aim-slot__lever-hub {
    border: 2px solid #8c6536;
    background: linear-gradient(90deg, #332417, #d3ad69 36%, #866338 62%, #2b1b11);
}

.aim-slot__lever-ball {
    background:
        radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.85) 0 7%, transparent 22%),
        radial-gradient(circle at 42% 38%, #c75b45, #8d2c22 48%, #48130e 85%);
}

.aim-slot__paytable {
    max-width: 660px;
    margin: 25px auto 0;
    padding: 19px 22px 18px;
    box-sizing: border-box;
    border: 1px solid #e0bc75;
    border-radius: 3px;
    color: var(--slot-ink);
    background:
        repeating-linear-gradient(0deg, rgba(96, 62, 25, 0.035) 0 1px, transparent 1px 4px),
        radial-gradient(ellipse at center, #f4e5bd, #d7bd88);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.32), inset 0 0 22px rgba(100, 56, 20, 0.15);
    transform: rotate(-0.2deg);
}

.aim-slot__paytable-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding-bottom: 12px;
    border-bottom: 3px double rgba(80, 43, 20, 0.5);
    text-align: center;
}

.aim-slot__paytable-heading div > span {
    display: block;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.67rem;
    font-style: italic;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    color: #765330;
}

.aim-slot__paytable h3 {
    margin: 2px 0 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #4e2417;
}

.aim-slot__paytable-star { color: #8d3825; font-size: 1.2rem; }

.aim-slot__paytable ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
    margin: 9px 0 15px;
}

.aim-slot__paytable li {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 5px 2px;
    border-bottom: 1px dotted rgba(76, 43, 20, 0.45);
}

.aim-slot__pay-symbols {
    display: flex;
    align-items: center;
    gap: 1px;
}

.aim-slot__paytable li svg {
    width: 28px;
    height: 31px;
    filter: none;
}

.aim-slot__paytable li strong {
    margin-left: auto;
    padding: 2px 7px;
    border: 1px solid rgba(88, 45, 21, 0.35);
    border-radius: 2px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.95rem;
    color: #71281d;
    background: rgba(255, 248, 217, 0.35);
}

.aim-slot__rules {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    padding-top: 13px;
    border-top: 3px double rgba(80, 43, 20, 0.5);
}

.aim-slot__rules > div {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.aim-slot__rule-icon {
    display: grid;
    place-items: center;
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border: 1px solid #9b6d39;
    border-radius: 50%;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.76rem;
    font-weight: 700;
    color: #7f2b20;
}

.aim-slot__paytable p {
    margin: 0;
    font-size: 0.72rem;
    line-height: 1.4;
    color: #654a30;
}

.aim-slot__rules strong {
    display: block;
    margin-bottom: 2px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.77rem;
    color: #452719;
}

.aim-slot-story {
    position: sticky;
    top: 16px;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #b98948;
    border-radius: 7px;
    color: #ead9b7;
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.015) 0 1px, transparent 1px 5px),
        linear-gradient(180deg, #352016, #1e130e);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38), inset 0 0 0 4px rgba(22, 11, 7, 0.5);
}

.aim-slot-story__header {
    padding: 22px 20px 14px;
    text-align: center;
    border-bottom: 1px solid rgba(215, 172, 92, 0.22);
    background: radial-gradient(ellipse at top, rgba(154, 60, 39, 0.24), transparent 70%);
}

.aim-slot-story__eyebrow {
    display: block;
    margin-bottom: 6px;
    font-size: 0.62rem;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #c69c5d;
}

.aim-slot-story__header h3 {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.42rem;
    line-height: 1.2;
    color: #ffe5ad;
}

.aim-slot-story__header p {
    margin: 6px 0 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.78rem;
    font-style: italic;
    color: #c6ab81;
}

.aim-slot-story__cast {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 19px;
    padding: 13px 18px;
    background: rgba(12, 7, 5, 0.25);
}

.aim-slot-story__portrait {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.72rem;
    color: #e4c793;
}

.aim-slot-story__portrait svg {
    width: 49px;
    height: 49px;
    padding: 2px;
    border: 1px solid #9e743e;
    border-radius: 50%;
    background: #21130e;
}

.aim-slot-story__cast-amp {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.25rem;
    font-style: italic;
    color: #8e6b41;
}

.aim-slot-story__bookmark {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) 32px;
    align-items: center;
    gap: 9px;
    padding: 12px 16px 8px;
}

.aim-slot-story__bookmark label {
    font-size: 0.69rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #b89a70;
}

.aim-slot-story__bookmark select {
    width: 100%;
    min-width: 0;
    padding: 8px 28px 8px 10px;
    border: 1px solid #735232;
    border-radius: 3px;
    color: #f0dbb2;
    background: #241711;
    font: inherit;
    font-size: 0.77rem;
    cursor: pointer;
}

.aim-slot-story__icon-btn {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid #735232;
    border-radius: 3px;
    color: #c8a66f;
    background: #241711;
    cursor: pointer;
}

.aim-slot-story__icon-btn:hover { color: #ffe0a0; border-color: #b98948; }

.aim-slot-story__progress {
    height: 3px;
    margin: 2px 16px 9px;
    overflow: hidden;
    background: #140d09;
}

.aim-slot-story__progress span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #9d3d2c, #e0b664);
    transition: width 0.25s ease;
}

.aim-slot-story__meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    padding: 0 17px 11px;
    font-size: 0.65rem;
    color: #a98e66;
}

.aim-slot-story__paper {
    position: relative;
    margin: 0 13px;
    padding: 18px 16px;
    border: 1px solid #c6a46a;
    color: #352419;
    background:
        repeating-linear-gradient(0deg, rgba(83, 52, 23, 0.025) 0 1px, transparent 1px 4px),
        #e9d8af;
    box-shadow: inset 0 0 25px rgba(91, 51, 20, 0.13);
}

.aim-slot-story__paper::before,
.aim-slot-story__paper::after {
    content: '';
    position: absolute;
    left: 8px;
    right: 8px;
    height: 1px;
    background: rgba(93, 54, 24, 0.22);
}

.aim-slot-story__paper::before { top: 7px; }
.aim-slot-story__paper::after { bottom: 7px; }

.aim-slot-story__scene-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #9a5632;
}

.aim-slot-story__scene-heading h4 {
    margin: 0;
    text-align: center;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.08rem;
    line-height: 1.3;
    color: #532d1c;
}

.aim-slot-story__scene-heading > span { font-size: 0.68rem; }

.aim-slot-story__teaser {
    margin: 9px 0 17px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(90, 51, 22, 0.25);
    text-align: center;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.77rem;
    font-style: italic;
    line-height: 1.55;
    color: #77573a;
}

.aim-slot-story__log {
    max-height: 470px;
    overflow-y: auto;
    padding-right: 5px;
    scrollbar-width: thin;
    scrollbar-color: #a57a45 rgba(80, 48, 21, 0.12);
}

.aim-slot-story__line {
    display: grid;
    grid-template-columns: 29px minmax(0, 1fr);
    gap: 9px;
    margin-bottom: 14px;
    animation: aim-story-line-in 0.25s ease both;
}

@keyframes aim-story-line-in {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.aim-slot-story__speaker-mark {
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    border: 1px solid #a57941;
    border-radius: 50%;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.73rem;
    font-weight: 700;
    color: #f4ddb0;
    background: #6e3425;
}

.aim-slot-story__line--elizabeth .aim-slot-story__speaker-mark { background: #67333c; }

.aim-slot-story__line strong {
    display: block;
    margin-bottom: 3px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.76rem;
    color: #762f22;
}

.aim-slot-story__line--elizabeth strong { color: #6c303b; }

.aim-slot-story__line p {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.86rem;
    line-height: 1.62;
}

.aim-slot-story__line--narrator {
    display: block;
    padding: 9px 11px;
    border-left: 2px solid #a77d47;
    background: rgba(117, 77, 36, 0.07);
}

.aim-slot-story__line--narrator p {
    font-size: 0.8rem;
    font-style: italic;
    color: #6e5338;
}

.aim-slot-story__choices {
    margin-top: 17px;
    padding-top: 14px;
    border-top: 3px double rgba(85, 47, 20, 0.35);
}

.aim-slot-story__choices > strong {
    display: block;
    margin-bottom: 9px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.79rem;
    color: #5b341f;
}

.aim-slot-story__choice {
    display: block;
    width: 100%;
    margin-top: 7px;
    padding: 9px 11px;
    border: 1px solid #a9804b;
    border-radius: 2px;
    text-align: left;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.77rem;
    line-height: 1.4;
    color: #51341f;
    background: rgba(255, 249, 226, 0.35);
    cursor: pointer;
}

.aim-slot-story__choice:hover {
    border-color: #793e28;
    color: #702d20;
    background: rgba(255, 249, 226, 0.7);
}

.aim-slot-story__controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 13px;
}

.aim-slot-story__controls button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 39px;
    padding: 8px 10px;
    border-radius: 3px;
    font: inherit;
    font-size: 0.72rem;
    cursor: pointer;
}

.aim-slot-story__show-all {
    border: 1px solid #705035;
    color: #c6aa7e;
    background: #241711;
}

.aim-slot-story__next {
    border: 1px solid #d0a65d;
    color: #ffe7b5;
    background: #7d2e23;
}

.aim-slot-story__controls button:hover:not(:disabled) { filter: brightness(1.16); }
.aim-slot-story__controls button:disabled { opacity: 0.45; cursor: default; }

.aim-slot-story__reaction {
    margin: 0 13px 12px;
    padding: 10px 12px;
    border: 1px solid rgba(208, 166, 93, 0.4);
    border-radius: 3px;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.76rem;
    font-style: italic;
    line-height: 1.45;
    color: #dec18d;
    background: rgba(10, 6, 4, 0.25);
}

.aim-slot-story__reaction strong { color: #ffdfa0; }

.aim-slot-story__saved {
    margin: 0;
    padding: 0 14px 14px;
    text-align: center;
    font-size: 0.63rem;
    color: #927b59;
}

.aim-slot-story__saved i { margin-right: 5px; }

.aim-slot-story select:focus-visible,
.aim-slot-story button:focus-visible,
.aim-slot__spin:focus-visible,
.aim-slot__lever:focus-visible {
    outline: 2px solid #ffe09a;
    outline-offset: 3px;
}

@media (max-width: 1200px) {
    .aim-slot {
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 18px;
    }

    .aim-slot__game { padding-left: 14px; padding-right: 14px; }
    .aim-slot__rules { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 1050px) {
    .aim-slot { grid-template-columns: 1fr; }
    .aim-slot-story { position: static; }
    .aim-slot-story__log { max-height: 620px; }
    .aim-slot__rules { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
    .aim-slot__game { padding: 18px 8px; }
    .aim-slot__cabinet { padding: 15px 12px 0; border-radius: 30px 30px 10px 10px; }
    .aim-slot__marquee { margin-left: 0; margin-right: 0; padding-left: 8px; padding-right: 8px; }
    .aim-slot__marquee-title { gap: 6px; }
    .aim-slot__marquee-title strong { font-size: 1.03rem; }
    .aim-slot__marquee-title > span { font-size: 0.85rem; }
    .aim-slot__marquee-kicker, .aim-slot__marquee-subtitle { font-size: 0.54rem; }
    .aim-slot__display { margin-left: 0; margin-right: 0; font-size: 0.8rem; }
    .aim-slot__window { margin: 0; padding: 9px; gap: 6px; }
    .aim-slot__cell svg { width: 65px; height: 74px; }
    .aim-slot__bottom { margin-left: 0; margin-right: 0; padding: 9px; }
    .aim-slot__stats dt { font-size: 0.56rem; }
    .aim-slot__stats dd { font-size: 1.05rem; }
    .aim-slot__controls { grid-template-columns: 1fr; }
    .aim-slot__grille, .aim-slot__coin { display: none; }
    .aim-slot__spin { width: 100%; box-sizing: border-box; }
    .aim-slot__paytable { padding: 16px 13px; }
    .aim-slot__paytable ul { grid-template-columns: 1fr; }
    .aim-slot__rules { grid-template-columns: 1fr; }
    .aim-slot-story__cast { gap: 10px; }
    .aim-slot-story__portrait { font-size: 0.66rem; }
    .aim-slot-story__controls { grid-template-columns: 1fr; }
}

@media (max-width: 390px) {
    .aim-slot__cabinet { padding-left: 8px; padding-right: 8px; }
    .aim-slot__window { padding: 7px; gap: 5px; }
    .aim-slot__cell svg { width: 55px; height: 66px; }
    .aim-slot__stats { gap: 4px; }
    .aim-slot__stats div { padding-left: 2px; padding-right: 2px; }
}

@media (prefers-reduced-motion: reduce) {
    .aim-slot__bulbs i,
    .aim-slot-story__line {
        animation: none !important;
    }

    .aim-slot-story__progress span { transition: none; }
}

.aim-slot-wins {
    max-width: 660px;
    margin: 18px auto 0;
    padding: 18px 20px;
    border: 1px solid rgba(215, 172, 92, 0.45);
    border-radius: 5px;
    background: rgba(20, 12, 8, 0.72);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.28);
}

.aim-slot-wins__head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.aim-slot-wins__gift {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border: 1px solid #a8793e;
    border-radius: 50%;
    color: #f0c675;
    background: #492219;
}

.aim-slot-wins__head h3 {
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1rem;
    color: #f1d39b;
}

.aim-slot-wins__head p {
    margin: 4px 0 0;
    font-size: 0.72rem;
    line-height: 1.45;
    color: #bda47d;
}

.aim-slot-wins__list {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
}

.aim-slot-wins__item {
    display: grid;
    grid-template-columns: 105px minmax(155px, auto) 1fr;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid rgba(215, 172, 92, 0.17);
}

.aim-slot-wins__item.is-new {
    animation: aim-slot-prize-in 0.45s ease both;
}

@keyframes aim-slot-prize-in {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.aim-slot-wins__term strong,
.aim-slot-wins__term time {
    display: block;
}

.aim-slot-wins__term strong {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.84rem;
    color: #e5c182;
}

.aim-slot-wins__term time {
    margin-top: 3px;
    font-size: 0.61rem;
    color: #8f795b;
}

.aim-slot-wins__code,
.aim-slot-story__prize-code {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    letter-spacing: 0.075em;
    color: #ffe08c;
    text-shadow: 0 0 8px rgba(255, 192, 80, 0.3);
}

.aim-slot-wins__code {
    padding: 7px 8px;
    border: 1px solid #72502c;
    border-radius: 3px;
    text-align: center;
    font-size: 0.83rem;
    background: #120d09;
}

.aim-slot-wins__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 7px;
}

.aim-slot-wins__actions a,
.aim-slot-wins__actions button,
.aim-slot-story__prize-actions a,
.aim-slot-story__prize-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 6px 8px;
    border: 1px solid #725233;
    border-radius: 3px;
    font: inherit;
    font-size: 0.65rem;
    line-height: 1.2;
    text-decoration: none;
    color: #d9bd8c;
    background: #291a12;
    cursor: pointer;
}

.aim-slot-wins__actions a:hover,
.aim-slot-wins__actions button:hover,
.aim-slot-story__prize-actions a:hover,
.aim-slot-story__prize-actions button:hover {
    border-color: #c69a52;
    color: #ffe0a0;
}

.aim-slot-wins__used {
    font-size: 0.66rem;
    color: #8f795b;
}

.aim-slot-wins__empty,
.aim-slot-wins__note {
    margin: 12px 0 0;
    font-size: 0.72rem;
    line-height: 1.45;
    color: #a58d68;
}

.aim-slot-wins__note {
    padding-top: 10px;
    border-top: 1px solid rgba(215, 172, 92, 0.14);
    font-size: 0.65rem;
    color: #867253;
}

.aim-slot-story__reaction.is-prize {
    border-color: #c7984d;
    background: linear-gradient(180deg, rgba(116, 52, 34, 0.38), rgba(23, 13, 8, 0.5));
    box-shadow: 0 0 18px rgba(214, 157, 64, 0.12);
}

.aim-slot-story__reaction.is-prize p {
    margin: 5px 0 10px;
}

.aim-slot-story__prize-code {
    display: block;
    padding: 10px;
    border: 1px dashed #c49853;
    text-align: center;
    font-size: 1.05rem;
    background: rgba(10, 6, 4, 0.35);
    user-select: all;
}

.aim-slot-story__prize-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 9px;
}

.aim-slot-story__prize-actions a,
.aim-slot-story__prize-actions button {
    flex: 1 1 auto;
}

@media (max-width: 600px) {
    .aim-slot-wins { padding: 15px 12px; }
    .aim-slot-wins__item { grid-template-columns: 1fr; gap: 7px; }
    .aim-slot-wins__term { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
    .aim-slot-wins__term time { margin: 0; }
    .aim-slot-wins__actions { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    .aim-slot-wins__item.is-new { animation: none; }
}

.aim-slot-wins__chances {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 14px;
    padding: 10px 11px;
    border: 1px solid rgba(215, 172, 92, 0.2);
    border-radius: 3px;
    background: rgba(10, 6, 4, 0.26);
}

.aim-slot-wins__chances > span {
    font-size: 0.65rem;
    color: #a98e66;
}

.aim-slot-wins__chances ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.aim-slot-wins__chances li {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 6px;
    border: 1px solid rgba(215, 172, 92, 0.2);
    border-radius: 2px;
    font-size: 0.65rem;
    color: #bda47d;
    background: rgba(255, 232, 178, 0.035);
}

.aim-slot-wins__chances li strong {
    font-family: 'Courier New', monospace;
    color: #ffe08c;
}

.aim-slot__run {
    margin-bottom: 12px;
    padding: 10px 11px;
    border: 1px solid #72502c;
    border-radius: 4px;
    background: #17110c;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.45);
}

.aim-slot__run-head,
.aim-slot__run-score {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.aim-slot__run-head strong {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.76rem;
    color: #e3c28a;
}

.aim-slot__run-head > span {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffe08c;
}

.aim-slot__run-track {
    height: 5px;
    margin: 8px 0;
    overflow: hidden;
    border-radius: 3px;
    background: #090705;
}

.aim-slot__run-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #873225, #e0b45f);
    transition: width 0.35s ease;
}

.aim-slot__run-score > span {
    font-size: 0.65rem;
    color: #a58d68;
}

.aim-slot__run-score strong {
    font-family: 'Courier New', monospace;
    font-size: 1.05rem;
    color: #ffd77e;
}

.aim-slot__run p {
    margin: 5px 0 0;
    font-size: 0.61rem;
    line-height: 1.35;
    color: #8f7c5c;
}

.aim-slot__run.is-complete {
    border-color: #bd914b;
    box-shadow: inset 0 0 12px rgba(214, 165, 77, 0.12);
}

.aim-slot-achievements {
    max-width: 660px;
    margin: 18px auto 0;
    padding: 18px 20px;
    border: 1px solid rgba(215, 172, 92, 0.45);
    border-radius: 5px;
    background: rgba(20, 12, 8, 0.72);
}

.aim-slot-achievements__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 13px;
}

.aim-slot-achievements__head h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1rem;
    color: #f1d39b;
}

.aim-slot-achievements__head h3 i { color: #d8a752; }

.aim-slot-achievements__head > span {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: #d8b675;
}

.aim-slot-achievements__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.aim-slot-achievement {
    min-width: 0;
    padding: 10px 11px;
    border: 1px solid rgba(163, 128, 76, 0.25);
    border-radius: 4px;
    background: rgba(8, 5, 3, 0.22);
    opacity: 0.62;
}

.aim-slot-achievement.is-unlocked {
    border-color: rgba(224, 180, 95, 0.58);
    background: linear-gradient(135deg, rgba(128, 63, 35, 0.25), rgba(224, 180, 95, 0.06));
    opacity: 1;
}

.aim-slot-achievement.is-new {
    animation: aim-achievement-unlock 0.65s ease-in-out 2 alternate;
}

@keyframes aim-achievement-unlock {
    to { box-shadow: 0 0 18px rgba(255, 202, 105, 0.42), inset 0 0 12px rgba(255, 202, 105, 0.15); }
}

.aim-slot-achievement__title {
    display: flex;
    align-items: center;
    gap: 7px;
}

.aim-slot-achievement__title i {
    flex: none;
    width: 15px;
    text-align: center;
    color: #9d7a49;
}

.aim-slot-achievement.is-unlocked .aim-slot-achievement__title i { color: #f0c675; }

.aim-slot-achievement__title strong {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.78rem;
    color: #d8bd8e;
}

.aim-slot-achievement p {
    margin: 6px 0 8px;
    font-size: 0.67rem;
    line-height: 1.4;
    color: #9e8866;
}

.aim-slot-achievement__status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.6rem;
    color: #7f6d51;
}

.aim-slot-achievement.is-unlocked .aim-slot-achievement__status { color: #d7b674; }

@media (max-width: 480px) {
    .aim-slot-achievements { padding: 15px 12px; }
    .aim-slot-achievements__grid { grid-template-columns: 1fr; }
    .aim-slot__run-head strong { font-size: 0.68rem; }
}

@media (prefers-reduced-motion: reduce) {
    .aim-slot__run-track span { transition: none; }
    .aim-slot-achievement.is-new { animation: none; }
}

.page-aim-slot {
    background-color: #081224;
    background-image:
        radial-gradient(circle at 16% 8%, rgba(46, 104, 166, 0.16), transparent 36rem),
        radial-gradient(circle at 88% 42%, rgba(37, 78, 132, 0.13), transparent 34rem);
}

.aim-slot-page .aim-service-header {
    border-color: rgba(113, 163, 230, 0.28);
    background: linear-gradient(180deg, rgba(22, 33, 61, 0.92), rgba(16, 24, 46, 0.88));
    box-shadow: 0 16px 36px rgba(4, 10, 22, 0.34), inset 0 1px rgba(188, 220, 255, 0.08);
}

.aim-slot-page .aim-section-title { color: #fff; }
.aim-slot-page .aim-section-hint { color: rgba(175, 200, 228, 0.78); }

.aim-slot-page .aim-back-link {
    border-color: rgba(113, 163, 230, 0.28);
    color: #8ecbff;
}

.aim-slot-page .aim-back-link:hover {
    border-color: rgba(142, 203, 255, 0.65);
    color: #d8efff;
}

.aim-slot__game {
    border-color: rgba(113, 163, 230, 0.28);
    background:
        radial-gradient(ellipse at 50% 18%, rgba(61, 107, 164, 0.18), transparent 54%),
        linear-gradient(180deg, rgba(17, 29, 53, 0.96), rgba(10, 19, 37, 0.96));
    box-shadow: inset 0 0 60px rgba(3, 9, 20, 0.28), 0 18px 42px rgba(2, 7, 17, 0.3);
}

.aim-slot__machine {
    filter: drop-shadow(0 25px 23px rgba(0, 0, 0, 0.5));
}

.aim-slot__cabinet {
    border-color: #d0a45c;
    border-radius: 46px 46px 17px 17px;
    background:
        linear-gradient(90deg, rgba(255, 232, 174, 0.09), transparent 8%, transparent 91%, rgba(0, 0, 0, 0.32)),
        repeating-linear-gradient(88deg, transparent 0 17px, rgba(22, 7, 3, 0.13) 18px, transparent 21px),
        linear-gradient(180deg, #82462b, #54291b 46%, #351a12 78%, #24110c);
    box-shadow:
        inset 0 0 0 3px #2a150d,
        inset 0 0 0 5px #e0b365,
        inset 0 0 0 8px #402013,
        inset 18px 0 28px rgba(255, 205, 125, 0.07),
        inset -18px 0 28px rgba(0, 0, 0, 0.3),
        0 0 0 1px #160b07,
        0 9px 0 #160c09;
}

.aim-slot__cabinet::before,
.aim-slot__cabinet::after {
    content: '';
    position: absolute;
    z-index: 2;
    top: 126px;
    bottom: 37px;
    width: 4px;
    border: 1px solid rgba(255, 216, 139, 0.34);
    border-radius: 3px;
    background: linear-gradient(180deg, #6d3c20, #e0b365 18%, #7a4928 50%, #d2a058 82%, #5c301c);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.45);
    pointer-events: none;
}

.aim-slot__cabinet::before { left: 11px; }
.aim-slot__cabinet::after { right: 11px; }

.aim-slot__marquee {
    border: 4px double #edca81;
    background:
        radial-gradient(ellipse at 50% -10%, rgba(238, 133, 72, 0.34), transparent 66%),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 2px, transparent 2px 5px),
        #6b211c;
    box-shadow: inset 0 0 25px #2a0c09, inset 0 0 0 2px rgba(44, 15, 9, 0.55), 0 4px 0 #2b140c, 0 7px 14px rgba(0, 0, 0, 0.38);
}

.aim-slot__bulbs i {
    border: 1px solid #f6d58e;
    background: radial-gradient(circle at 35% 25%, #fffbd8, #ffd774 55%, #b8792f);
    box-shadow: 0 0 6px #ffbd4a, 0 0 13px rgba(255, 163, 46, 0.74);
}

.aim-slot__display {
    border-color: #b68b4b;
    background:
        repeating-linear-gradient(0deg, rgba(255, 203, 104, 0.025) 0 1px, transparent 1px 3px),
        #14110c;
    box-shadow: inset 0 3px 14px #000, 0 1px 0 rgba(255, 232, 175, 0.25), 0 0 0 1px #2d1b10;
}

.aim-slot__window {
    border: 4px double #e2b869;
    background: linear-gradient(180deg, #f1d18b, #8f6435 8%, #31251a 48%, #78512d 91%, #e1b96e);
    box-shadow: inset 0 0 0 2px #3a2514, 0 4px 9px rgba(0, 0, 0, 0.58), 0 0 0 1px #1d110a;
}

.aim-slot__reel {
    border-color: #8b704d;
    box-shadow: 0 0 0 2px #1b130d, inset 0 0 16px rgba(77, 45, 18, 0.24), 0 3px 5px rgba(0, 0, 0, 0.28);
}

.aim-slot__cell svg {
    filter: drop-shadow(0 2px 1px rgba(60, 35, 15, 0.32)) saturate(0.92);
}

.aim-slot__payline i {
    height: 2px;
    background: rgba(156, 43, 31, 0.64);
    box-shadow: 0 1px rgba(255, 244, 199, 0.55);
}

.aim-slot__ledge {
    border-color: #2d170d;
    background: linear-gradient(180deg, #f0cc83, #9b6b36 35%, #4c2918 42%, #2b160e);
}

.aim-slot__bottom {
    border-color: #bd8c48;
    background: linear-gradient(180deg, rgba(38, 20, 12, 0.94), rgba(22, 12, 8, 0.94));
    box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.52), 0 1px rgba(255, 222, 157, 0.12);
}

.aim-slot__spin {
    border-color: #efc77e;
    border-radius: 5px;
    background: linear-gradient(180deg, #c4513d, #8d2b21 54%, #581710);
    box-shadow: 0 4px 0 #35100b, 0 7px 12px rgba(0, 0, 0, 0.48), inset 0 1px rgba(255, 239, 198, 0.4), inset 0 0 0 2px rgba(70, 18, 12, 0.28);
}

.aim-slot__lever {
    width: 82px;
    height: 282px;
    margin: 105px 0 0 -3px;
}

.aim-slot__lever-scene {
    bottom: 42px;
    perspective-origin: 50% 95%;
}

.aim-slot__lever-arm {
    height: 208px;
    transform: rotateX(0deg) rotateZ(3deg);
}

.aim-slot__lever-shaft {
    left: -8px;
    bottom: 7px;
    width: 16px;
    height: 184px;
    border: 1px solid #3c2817;
    border-radius: 9px 9px 4px 4px;
    background: linear-gradient(90deg, #49321d, #c99851 18%, #ffe2a0 42%, #a67639 66%, #3b2818);
    clip-path: none;
    box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.45), inset 1px 0 rgba(255, 240, 193, 0.38);
}

.aim-slot__lever-shaft::after {
    content: '';
    position: absolute;
    left: -5px;
    bottom: 0;
    width: 24px;
    height: 18px;
    border: 1px solid #4b301a;
    border-radius: 5px 5px 3px 3px;
    background: linear-gradient(90deg, #51341c, #e1b66a 45%, #6d4725);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.4);
}

.aim-slot__lever-ball {
    left: -22px;
    top: -3px;
    width: 44px;
    height: 44px;
    border: 2px solid #d4a65a;
    background:
        radial-gradient(circle at 32% 25%, rgba(255, 240, 209, 0.9) 0 5%, transparent 20%),
        radial-gradient(circle at 40% 36%, #a43e32, #681d19 52%, #2c0b09 88%);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.55), inset -4px -5px 9px rgba(0, 0, 0, 0.48), 0 0 0 2px #3a1b10;
}

.aim-slot__lever-hub {
    left: 8px;
    bottom: 0;
    width: 62px;
    height: 59px;
    border: 2px solid #bc8d4c;
    border-radius: 22px 22px 9px 9px;
    background:
        radial-gradient(circle at 50% 32%, #f0d18c 0 5%, #7d542c 6% 10%, transparent 11%),
        linear-gradient(100deg, #302014, #d3a55e 34%, #8b6132 60%, #2c1c12);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.55), inset 0 2px rgba(255, 232, 176, 0.32), 0 0 0 2px #25150d;
}

.aim-slot__lever-hub::after {
    content: '';
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    height: 8px;
    border: 1px solid rgba(255, 218, 145, 0.32);
    border-radius: 4px;
    background: repeating-linear-gradient(90deg, #2c1b10 0 3px, #926533 3px 5px);
}

.aim-slot__lever::after {
    content: 'PULL';
    position: absolute;
    left: 15px;
    bottom: -20px;
    width: 48px;
    padding: 3px 0;
    border: 1px solid #8f6839;
    border-radius: 3px;
    text-align: center;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.52rem;
    letter-spacing: 0.18em;
    color: #d6b476;
    background: #24150e;
}

.aim-slot__paytable {
    border: 3px double #b78949;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35), inset 0 0 24px rgba(100, 56, 20, 0.15);
}

.aim-slot-story__header h3 { font-size: 1.32rem; }

@media (max-width: 680px) {
    .aim-slot__cabinet::before,
    .aim-slot__cabinet::after { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .aim-slot__run-track span { transition: none; }
}

.aim-slot-page .aim-service-header,
.aim-slot__game,
.aim-slot__cabinet,
.aim-slot__marquee,
.aim-slot__display,
.aim-slot__window,
.aim-slot__reel,
.aim-slot__ledge,
.aim-slot__bottom,
.aim-slot__run,
.aim-slot__run-track,
.aim-slot__run-track span,
.aim-slot__stats div,
.aim-slot__spin,
.aim-slot__grille,
.aim-slot__coin,
.aim-slot__paytable,
.aim-slot__paytable li strong,
.aim-slot__foot span,
.aim-slot__lever-hub,
.aim-slot__lever-hub::after,
.aim-slot__lever::after,
.aim-slot-story,
.aim-slot-story__bookmark select,
.aim-slot-story__icon-btn,
.aim-slot-story__paper,
.aim-slot-story__choice,
.aim-slot-story__controls button,
.aim-slot-story__reaction,
.aim-slot-story__prize-code,
.aim-slot-story__prize-actions a,
.aim-slot-story__prize-actions button,
.aim-slot-wins,
.aim-slot-wins__code,
.aim-slot-wins__chances,
.aim-slot-wins__chances li,
.aim-slot-wins__actions a,
.aim-slot-wins__actions button,
.aim-slot-achievements,
.aim-slot-achievement {
    border-radius: 0;
}

/* ---------- Right column: tabs ---------- */
.aim-slot {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 16px;
}

.aim-slot-side {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.aim-slot-tabs {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    gap: 4px;
    flex: none;
}

.aim-slot-tab {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 6px 10px;
    border: 1px solid rgba(215, 172, 92, 0.45);
    color: #d9c49a;
    background: linear-gradient(180deg, #2c1a11, #1e130e);
    font: inherit;
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.aim-slot-tab:hover {
    color: #fff0cd;
    border-color: #d7ac5c;
}

.aim-slot-tab.is-active {
    color: #fff4d6;
    border-color: #d7ac5c;
    background: linear-gradient(180deg, #8d3825, #5d2015);
}

.aim-slot-tab:focus-visible {
    outline: 2px solid #f2c66d;
    outline-offset: 2px;
}

.aim-slot-tab.has-news::after {
    content: '';
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    background: #ffd966;
    box-shadow: 0 0 6px #ffd966;
}

.aim-slot-side__panels {
    min-height: 0;
}

.aim-slot-panel[hidden] {
    display: none;
}

.aim-slot-panel > * {
    margin: 0;
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    box-shadow: none;
    transform: none;
}

.aim-slot-side .aim-slot-story__reaction {
    flex: none;
    margin: 0;
}

.aim-slot-story {
    position: static;
}

/* Header and characters share one row: more room for the text. */
.aim-slot-story__eyebrow {
    display: none;
}

.aim-slot-story__header {
    padding: 10px 16px;
    border-bottom: 0;
    text-align: left;
    background: none;
}

.aim-slot-story__cast {
    padding: 8px 16px;
    border-bottom: 0;
    background: none;
}

.aim-slot-story__portrait img {
    display: block;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid #c79a52;
    box-sizing: border-box;
}

.aim-slot-story {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto auto minmax(0, 1fr) auto auto;
}

.aim-slot-story__header {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
}

.aim-slot-story__cast {
    grid-column: 2;
    grid-row: 1;
}

.aim-slot-story > :not(.aim-slot-story__header):not(.aim-slot-story__cast) {
    grid-column: 1 / -1;
}

.aim-slot-story__paper {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* The paper is the one scrolling box: the text no longer scrolls inside it. */
.aim-slot-story__log {
    max-height: none;
    overflow: visible;
}

/* ---------- Square corners on the forms; the lever, coin, bulbs and portraits stay round ---------- */
.aim-slot__game,
.aim-slot-side,
.aim-slot-side *:not(.aim-slot-story__portrait img):not(.aim-slot__rule-icon),
.aim-slot__display,
.aim-slot__window,
.aim-slot__reel,
.aim-slot__bottom,
.aim-slot__run,
.aim-slot__run *,
.aim-slot__stats,
.aim-slot__stats *,
.aim-slot__spin,
.aim-slot__grille {
    border-radius: 0 !important;
}

/* ---------- The game fills one screen; below it the page goes on to the footer ---------- */
@media (min-width: 981px) and (min-height: 620px) {
    .aim-slot-page .aim-slot {
        align-items: stretch;
        min-height: 0;
        overflow: hidden;
    }

    .aim-slot-page .aim-slot__game {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 0;
        padding: 10px 12px;
        overflow: hidden;
    }

    .aim-slot-page .aim-slot__machine {
        margin: 0;
    }

    /* What can go without changing the game: the run rule is in the header hint above. */
    .aim-slot-page .aim-slot__marquee-kicker,
    .aim-slot-page .aim-slot__marquee-subtitle,
    .aim-slot-page .aim-slot__foot {
        display: none;
    }

    .aim-slot-page .aim-slot__cabinet {
        padding-bottom: 14px;
    }

    .aim-slot-page .aim-slot-side {
        height: 100%;
        min-height: 0;
    }

    .aim-slot-page .aim-slot-side__panels {
        flex: 1 1 0;
    }

    .aim-slot-page .aim-slot-panel {
        height: 100%;
        min-height: 0;
    }

    .aim-slot-page .aim-slot-panel > * {
        height: 100%;
        overflow-y: auto;
    }

    .aim-slot-page .aim-slot-panel--story > .aim-slot-story {
        overflow: hidden;
    }

    .aim-slot-page .aim-slot-side .aim-slot-story__reaction {
        max-height: 34%;
        overflow-y: auto;
    }
}

@media (min-width: 981px) and (max-height: 800px) {
    .aim-slot-story__saved,
    .aim-slot-story__meta {
        display: none;
    }

    .aim-slot-story__teaser {
        display: none;
    }

    .aim-slot-story__portrait img {
        width: 48px;
        height: 48px;
    }

    .aim-slot-story__portrait span {
        font-size: 0.72rem;
    }
}

@media (max-width: 980px) {
    .aim-slot {
        grid-template-columns: minmax(0, 1fr);
    }

    .aim-slot-story__paper {
        max-height: 60vh;
    }
}

@media (max-width: 560px) {
    .aim-slot-tabs {
        grid-auto-flow: row;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .aim-slot-story {
        grid-template-columns: minmax(0, 1fr);
    }

    .aim-slot-story__cast {
        grid-column: 1;
        grid-row: auto;
    }
}

/* Wide column: the collection fits without scrolling. */
.aim-slot-panel .aim-slot-achievements__grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

@media (min-width: 981px) and (max-height: 800px) {
    .aim-slot-achievement p {
        margin: 2px 0;
    }

    .aim-slot-story__controls {
        padding-top: 6px;
        padding-bottom: 6px;
    }
}

/* Scrollbars of the saloon: brown track, orange thumb, no arrows. */
.aim-slot-side ::-webkit-scrollbar,
.aim-slot-side::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.aim-slot-side ::-webkit-scrollbar-button {
    display: none;
    width: 0;
    height: 0;
}

.aim-slot-side ::-webkit-scrollbar-track {
    background: #2a170e;
    box-shadow: inset 0 0 0 1px rgba(215, 172, 92, 0.22);
}

.aim-slot-side ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #d9822b, #a4561b);
    border: 2px solid #2a170e;
}

.aim-slot-side ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #f09a3e, #c2691f);
}

.aim-slot-side ::-webkit-scrollbar-corner {
    background: #2a170e;
}

/* Browsers without those selectors (Chrome ignores them once scrollbar-color is set, so only here). */
@supports not selector(::-webkit-scrollbar) {
    .aim-slot-side * {
        scrollbar-width: thin;
        scrollbar-color: #c2691f #2a170e;
    }
}

/* The machine stands on the page itself, with no box behind it. */
.aim-slot-page .aim-slot__game {
    border: 0;
    background: none;
    box-shadow: none;
}

/* Pay table in the colours of the other saloon panels. */
.aim-slot-panel .aim-slot__paytable {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px 22px;
    border: 1px solid #b98948;
    color: #ead9b7;
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.015) 0 1px, transparent 1px 5px),
        linear-gradient(180deg, #352016, #1e130e);
}

.aim-slot-panel .aim-slot__paytable-heading {
    flex: none;
    margin: 0;
    padding: 0 0 12px;
    border-bottom: 1px solid rgba(215, 172, 92, 0.28);
}

.aim-slot-panel .aim-slot__paytable-heading div > span {
    color: #b99a66;
}

.aim-slot-panel .aim-slot__paytable h3 {
    color: #ffe8b2;
}

.aim-slot-panel .aim-slot__paytable-star {
    color: #d7ac5c;
}

.aim-slot-panel .aim-slot__paytable ul#aimSlotPaytable {
    flex: 1 1 auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: space-evenly;
    gap: 8px 22px;
    margin: 0;
    padding: 0;
    border: 0;
}

.aim-slot-panel .aim-slot__paytable li {
    gap: 12px;
    padding: 8px 12px;
    border: 1px solid rgba(215, 172, 92, 0.2);
    background: rgba(12, 6, 3, 0.42);
}

.aim-slot-panel .aim-slot__pay-symbols {
    gap: 5px;
}

.aim-slot-panel .aim-slot__paytable li svg {
    width: 34px;
    height: 37px;
}

.aim-slot-panel .aim-slot__paytable li strong {
    padding: 0;
    border: 0;
    font-size: 1.2rem;
    color: #f2c66d;
    background: none;
}

.aim-slot-panel .aim-slot__rules {
    flex: none;
    margin: 0;
    padding: 14px 0 0;
    border-top: 1px solid rgba(215, 172, 92, 0.28);
}

.aim-slot-panel .aim-slot__rules strong {
    color: #ffe8b2;
}

.aim-slot-panel .aim-slot__paytable p {
    color: #b9a57f;
}

.aim-slot-panel .aim-slot__rule-icon {
    color: #f2c66d;
    border-color: #b98948;
    background: rgba(12, 6, 3, 0.42);
}

@media (max-width: 560px) {
    .aim-slot-panel .aim-slot__paytable ul#aimSlotPaytable {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* The cabinet starts at the left edge of the site body. */
@media (min-width: 981px) {
    .aim-slot-page .aim-slot__game {
        justify-content: flex-start;
        padding-left: 0;
        padding-right: 0;
    }

    .aim-slot-page .aim-slot__machine {
        justify-content: flex-start;
        margin-left: 0;
    }
}

/* No shadow under the machine, and nothing between its cabinet and the edge of the site body. */
@media (min-width: 981px) {
    .aim-slot-page .aim-slot__machine {
        padding-left: 0;
    }
}

.aim-slot-page .aim-slot__machine {
    filter: none;
}

.aim-slot-page .aim-slot__cabinet {
    box-shadow:
        inset 0 0 0 3px #2a150d,
        inset 0 0 0 5px #e0b365,
        inset 0 0 0 8px #402013,
        inset 18px 0 28px rgba(255, 205, 125, 0.07),
        inset -18px 0 28px rgba(0, 0, 0, 0.3);
}

/* Chapter list in the saloon style. */
.aim-slot-select {
    position: relative;
    min-width: 0;
}

.aim-slot-select__button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-height: 34px;
    padding: 6px 10px;
    border: 1px solid #735232;
    color: #f0dbb2;
    background: #241711;
    font: inherit;
    font-size: 0.8rem;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.aim-slot-select__button span {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.aim-slot-select__button i {
    flex: none;
    font-size: 0.7rem;
    color: #d7ac5c;
    transition: transform 0.15s ease;
}

.aim-slot-select__button:hover,
.aim-slot-select.is-open .aim-slot-select__button {
    border-color: #d7ac5c;
    color: #fff0cd;
}

.aim-slot-select.is-open .aim-slot-select__button i {
    transform: rotate(180deg);
}

.aim-slot-select__list {
    position: absolute;
    z-index: 30;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 240px;
    margin: 0;
    padding: 0;
    overflow-y: auto;
    list-style: none;
    border: 1px solid #d7ac5c;
    border-top: 0;
    background: #1e130e;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.aim-slot-select__list li {
    padding: 8px 10px;
    border-bottom: 1px solid rgba(215, 172, 92, 0.14);
    color: #e3cda3;
    font-size: 0.8rem;
    cursor: pointer;
}

.aim-slot-select__list li:last-child {
    border-bottom: 0;
}

.aim-slot-select__list li:hover,
.aim-slot-select__list li:focus {
    outline: 0;
    color: #fff4d6;
    background: #3a2216;
}

.aim-slot-select__list li.is-selected {
    color: #fff4d6;
    background: linear-gradient(180deg, #8d3825, #5d2015);
}

/* No outline around the chapter list: its border lights up instead. Arrow further from the edge. */
.aim-slot-story .aim-slot-select__button,
.aim-slot-story .aim-slot-select__button:focus,
.aim-slot-story .aim-slot-select__button:focus-visible {
    outline: 0;
    padding-right: 16px;
}

.aim-slot-select__button:focus-visible {
    border-color: #f2c66d;
}

/* The site's own scrollbar settings must not win over the saloon's. */
.aim-slot-side,
.aim-slot-side * {
    scrollbar-color: auto;
    scrollbar-width: auto;
}

@supports not selector(::-webkit-scrollbar) {
    .aim-slot-side,
    .aim-slot-side * {
        scrollbar-width: thin;
        scrollbar-color: #c2691f #2a170e;
    }
}

/* Shown after its size is set, so the machine does not jump on load. The animation is a fallback if the script never runs. */
@media (min-width: 981px) and (min-height: 620px) {
    .aim-slot-page .aim-slot:not(.is-fitted) {
        visibility: hidden;
        animation: aim-slot-show 0s linear 1.5s forwards;
    }

    .aim-slot-page .aim-slot.is-fitted {
        animation: aim-slot-fade 0.15s ease-out;
    }
}

@keyframes aim-slot-show {
    to { visibility: visible; }
}

@keyframes aim-slot-fade {
    from { opacity: 0; }
}

/* ---------- Pay table: a wanted board ---------- */
.aim-slot-panel .aim-slot__paytable {
    gap: 12px;
    padding: 14px 18px;
    border: 6px solid #2a170d;
    color: #2d1a0e;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.28), transparent 12%, transparent 88%, rgba(0, 0, 0, 0.34)),
        repeating-linear-gradient(180deg, transparent 0 92px, rgba(10, 4, 1, 0.75) 92px 95px, rgba(255, 215, 160, 0.06) 95px 96px),
        repeating-linear-gradient(91deg, rgba(40, 18, 6, 0.2) 0 3px, transparent 3px 9px, rgba(255, 210, 150, 0.03) 9px 11px, transparent 11px 23px),
        linear-gradient(90deg, #4a2a16, #5b3419 30%, #4d2c17 62%, #432613);
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.55);
}

/* The sign nailed across the top of the board. */
.aim-slot-panel .aim-slot__paytable-heading {
    align-self: center;
    padding: 6px 26px;
    border: 1px solid #1d0f07;
    background: linear-gradient(180deg, #6d4122, #4c2b15);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.6), inset 0 1px rgba(255, 220, 170, 0.18);
}

.aim-slot-panel .aim-slot__paytable-heading div > span {
    color: #d9bb86;
}

.aim-slot-panel .aim-slot__paytable h3 {
    color: #f6e2b8;
    text-shadow: 0 1px 1px #1d0f07;
}

.aim-slot-panel .aim-slot__paytable-star {
    color: #1d0f07;
    text-shadow: 0 1px rgba(255, 220, 170, 0.25);
}

.aim-slot-panel .aim-slot__paytable ul#aimSlotPaytable {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-content: center;
    gap: 16px 18px;
    min-height: 0;
}

.aim-slot-panel .aim-slot__paytable li.aim-slot-poster {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 2px 8px;
    padding: 16px 12px 10px;
    border: 0;
    color: #2d1a0e;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(255, 244, 205, 0.32), transparent 60%),
        radial-gradient(ellipse at 85% 90%, rgba(92, 54, 20, 0.34), transparent 55%),
        repeating-linear-gradient(0deg, rgba(90, 58, 26, 0.05) 0 1px, transparent 1px 3px),
        #c3aa78;
    box-shadow: 0 5px 9px rgba(0, 0, 0, 0.55), inset 0 0 22px rgba(74, 42, 14, 0.5);
    /* Uneven paper edge. */
    clip-path: polygon(0 1%, 18% 0, 47% 1.5%, 76% 0, 100% 1%, 99.3% 34%, 100% 68%, 99.2% 99%, 72% 100%, 44% 98.6%, 16% 100%, 0.6% 99%, 0 62%, 0.8% 30%);
}

.aim-slot-panel .aim-slot__paytable li.aim-slot-poster:nth-child(3n + 1) { transform: rotate(-1deg); }
.aim-slot-panel .aim-slot__paytable li.aim-slot-poster:nth-child(3n + 2) { transform: rotate(0.7deg); }
.aim-slot-panel .aim-slot__paytable li.aim-slot-poster:nth-child(3n) { transform: rotate(-0.4deg); }

/* The nail holding the poster. */
.aim-slot-panel .aim-slot__paytable li.aim-slot-poster::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    width: 8px;
    height: 8px;
    margin-left: -4px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #d9d4c8, #5b564c 70%);
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.55);
}

.aim-slot-poster__wanted {
    grid-column: 1 / -1;
    padding-bottom: 3px;
    border-bottom: 2px solid #3a2111;
    text-align: center;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #3a2111;
}

.aim-slot-panel .aim-slot-poster .aim-slot__pay-symbols {
    grid-column: 1 / -1;
    justify-content: center;
    gap: 3px;
    padding: 6px 0 4px;
    filter: sepia(0.32) saturate(0.85) contrast(0.98);
}

.aim-slot-poster__name {
    grid-column: 1 / -1;
    text-align: center;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.8rem;
    font-style: italic;
    color: #4a2d17;
}

.aim-slot-poster__reward {
    align-self: center;
    margin-top: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5a3a1e;
}

.aim-slot-panel .aim-slot__paytable li.aim-slot-poster strong {
    margin: 4px 0 0;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.28rem;
    color: #6d1f14;
    text-align: right;
}

/* Rules: notes pinned along the bottom. */
.aim-slot-panel .aim-slot__rules {
    gap: 10px;
    padding: 0;
    border: 0;
}

.aim-slot-panel .aim-slot__rules > div {
    padding: 8px 10px;
    background: #b39a69;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.5), inset 0 0 14px rgba(74, 42, 14, 0.4);
}

.aim-slot-panel .aim-slot__rules strong {
    color: #2d1a0e;
}

.aim-slot-panel .aim-slot__paytable .aim-slot__rules p {
    color: #3e2612;
}

.aim-slot-panel .aim-slot__rule-icon {
    color: #3a2111;
    border-color: #3a2111;
    background: none;
}

/* Low windows: a smaller poster keeps the board on one screen. */
@media (min-width: 981px) and (max-height: 800px) {
    .aim-slot-panel .aim-slot__paytable li.aim-slot-poster {
        padding: 12px 8px 6px;
    }

    .aim-slot-panel .aim-slot-poster .aim-slot__pay-symbols svg {
        width: 22px;
        height: 24px;
    }

    .aim-slot-poster__name {
        display: none;
    }

    .aim-slot-panel .aim-slot__rules p {
        display: none;
    }
}

@media (max-width: 720px) {
    .aim-slot-panel .aim-slot__paytable ul#aimSlotPaytable {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* The cherries reach past the drawing's box: they stay whole. */
.aim-slot__cell svg,
.aim-slot__paytable li svg {
    overflow: visible;
}

/* Saloon radio */
.aim-slot-radio {
    flex: none;
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 4px 10px;
    border: 1px solid #b98948;
    color: #e3cda3;
    background: linear-gradient(180deg, #352016, #1e130e);
    font-size: 0.8rem;
}

.aim-slot-radio:empty {
    display: none;
}

.aim-slot-radio__name {
    flex: none;
    margin-right: 6px;
    font-family: Georgia, 'Times New Roman', serif;
    font-weight: 700;
    color: #ffe8b2;
}

.aim-slot-radio__name i {
    color: #d7ac5c;
}

.aim-slot-radio.is-playing .aim-slot-radio__name i {
    animation: aim-slot-radio-pulse 1.4s ease-in-out infinite;
}

@keyframes aim-slot-radio-pulse {
    50% { color: #ff9b5c; }
}

.aim-slot-radio__btn,
.aim-slot-radio__story {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 30px;
    min-width: 30px;
    padding: 0 8px;
    border: 1px solid #735232;
    color: #e3cda3;
    background: #241711;
    font: inherit;
    font-size: 0.76rem;
    cursor: pointer;
}

.aim-slot-radio__btn:hover,
.aim-slot-radio__story:hover {
    border-color: #d7ac5c;
    color: #fff0cd;
}

.aim-slot-radio__btn--main.is-on {
    border-color: #d7ac5c;
    color: #fff4d6;
    background: linear-gradient(180deg, #8d3825, #5d2015);
}

.aim-slot-radio__title {
    flex: 1 1 0;
    min-width: 0;
    padding: 0 8px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-style: italic;
    color: #d9c49a;
}

.aim-slot-radio__story {
    color: #92806a;
}

.aim-slot-radio__story.is-on {
    color: #f2c66d;
}

@media (max-width: 560px) {
    .aim-slot-radio {
        flex-wrap: wrap;
    }

    .aim-slot-radio__name {
        flex-basis: 100%;
    }
}

/* The machine starts level with the tabs; the notice sits under it, no wider than it. */
.aim-slot-notice {
    margin: 8px 0 0;
    font-size: 0.66rem;
    line-height: 1.35;
    color: rgba(175, 200, 228, 0.62);
}

@media (min-width: 981px) {
    .aim-slot-page .aim-slot__game {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding-top: 0;
        padding-bottom: 0;
    }

    .aim-slot-page .aim-slot-notice {
        width: 0;
        min-width: 100%;
        flex: none;
        box-sizing: border-box;
    }
}

/* Remarks: hand-drawn speech bubbles, like the ones of the ghosts on the site. */
.aim-slot-side {
    position: relative;
}

.aim-slot-page .aim-slot-side .aim-slot-story__reaction.aim-slot-story__reaction {
    position: absolute;
    z-index: 40;
    width: min(340px, calc(100% - 8px));
    max-height: none;
    margin: 0;
    padding: 12px 16px;
    box-sizing: border-box;
    overflow: visible;
    border: 2px solid #111;
    border-radius: 255px 22px 225px 22px / 22px 225px 22px 255px !important;
    color: #111;
    background: #fffdf6;
    box-shadow: 2px 3px 0 rgba(0, 0, 0, 0.55), 0 8px 18px rgba(0, 0, 0, 0.45);
    font: 700 0.86rem/1.28 'Comic Sans MS', 'Segoe Print', Inter, sans-serif;
    text-align: center;
    cursor: pointer;
    animation: aim-slot-bubble 0.18s ease-out;
}

/* The face shows who is speaking. */
.aim-slot-page .aim-slot-side .aim-slot-story__reaction > strong:first-child {
    display: none;
}

.aim-slot-page .aim-slot-side .aim-slot-story__reaction p {
    margin: 0 0 6px;
    color: #111;
    font: inherit;
}

.aim-slot-page .aim-slot-side .aim-slot-story__reaction.is-prize {
    width: min(400px, calc(100% - 8px));
    border-radius: 26px !important;
    cursor: default;
}

.aim-slot-page .aim-slot-side .aim-slot-story__reaction.has-tail::before,
.aim-slot-page .aim-slot-side .aim-slot-story__reaction.has-tail::after {
    content: '';
    position: absolute;
    left: var(--bubble-tail, 40px);
    width: 0;
    height: 0;
    border-style: solid;
    border-radius: 0 !important;
}

.aim-slot-page .aim-slot-side .aim-slot-story__reaction.has-tail::before {
    top: -16px;
    border-width: 0 9px 16px;
    border-color: transparent transparent #111;
}

.aim-slot-page .aim-slot-side .aim-slot-story__reaction.has-tail::after {
    top: -12px;
    margin-left: 2px;
    border-width: 0 7px 13px;
    border-color: transparent transparent #fffdf6;
}

@keyframes aim-slot-bubble {
    from { opacity: 0; transform: translateY(-6px) scale(0.96); }
}

/* Remarks: the pumpkin's oval bubble, above the speaker's face. */
.aim-slot-page .aim-slot {
    overflow: visible;
}

.aim-slot-page .aim-slot-side .aim-slot-story__reaction.aim-slot-story__reaction.is-oval {
    width: min(390px, calc(100% - 8px));
    min-height: 118px;
    padding: 20px 52px 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0 !important;
    background: none;
    box-shadow: none;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.45));
    color: #111;
    font-size: 0.84rem;
}

.aim-slot-page .aim-slot-side .aim-slot-story__reaction.is-oval::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 0 !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 96' preserveAspectRatio='none'%3E%3Cpath vector-effect='non-scaling-stroke' d='M80 6C122 4 154 18 154 42C154 64 126 76 76 76L58 92L62 76C34 74 6 64 6 42C6 18 40 7 80 6Z' fill='%23fff' stroke='%23111' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.aim-slot-page .aim-slot-side .aim-slot-story__reaction.is-oval.is-mirrored::before {
    transform: scaleX(-1);
}

.aim-slot-page .aim-slot-side .aim-slot-story__reaction.is-oval::after {
    content: none;
}

/* Text in the round part of the oval, clear of the tail. */
.aim-slot-page .aim-slot-side .aim-slot-story__reaction.aim-slot-story__reaction.is-oval {
    padding: 22px 54px 34px;
    animation: none;
}

/* The oval's flex must not outrank closing the bubble. */
.aim-slot-page .aim-slot-side .aim-slot-story__reaction[hidden] {
    display: none !important;
}

/* The lever comes back without passing its start: past it the shaft is drawn over the ball. */
@keyframes aim-slot-pull {
    0% { transform: rotateX(0deg) rotateZ(3deg); }
    32% { transform: rotateX(-68deg) rotateZ(3deg); }
    46% { transform: rotateX(-62deg) rotateZ(3deg); }
    82% { transform: rotateX(-3deg) rotateZ(3deg); }
    100% { transform: rotateX(0deg) rotateZ(3deg); }
}

@keyframes aim-slot-pull-ball {
    0% { transform: translateZ(2px) rotateX(0deg); }
    32% { transform: translateZ(2px) rotateX(68deg); }
    46% { transform: translateZ(2px) rotateX(62deg); }
    82% { transform: translateZ(2px) rotateX(3deg); }
    100% { transform: translateZ(2px) rotateX(0deg); }
}

.aim-slot__lever-ball {
    transform: translateZ(2px);
}

.aim-slot__lever:not(:disabled):hover .aim-slot__lever-arm {
    transform: rotateX(-10deg) rotateZ(3deg);
}

/* Prize rows: the same columns in every row, so the codes line up. */
.aim-slot-panel .aim-slot-wins__item {
    grid-template-columns: 120px 190px minmax(0, 1fr);
    align-items: center;
}

.aim-slot-panel .aim-slot-wins__code {
    box-sizing: border-box;
    width: 100%;
    text-align: center;
}

.aim-slot-panel .aim-slot-wins__actions {
    justify-content: flex-end;
}

@media (max-width: 560px) {
    .aim-slot-panel .aim-slot-wins__item {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Page head: the volume control is as tall as the buttons beside it, and the description stays on one line. */
.aim-slot-page .aim-header-actions {
    align-items: stretch;
    flex-shrink: 0;
}

.aim-slot-page .aim-volume-mount--hub {
    display: flex;
}

@media (min-width: 1280px) {
    .aim-slot-page .aim-header-bar {
        flex-wrap: nowrap;
    }

    .aim-slot-page .aim-section-hint {
        white-space: nowrap;
    }
}

/* "Activated" stands level with the Copy button, in the bubble and in the prize list. */
.aim-slot-story__prize-actions,
.aim-slot-panel .aim-slot-wins__actions {
    align-items: center;
}

.aim-slot-wins__used {
    display: inline-flex;
    align-items: center;
    align-self: center;
    margin: 0;
}
