/* Horoscop Space 1.9.29.21 — app games on the website and the homepage section
 * "Karty Przestworzy i darmowe zabawy". Dark surfaces use the --pt-* tokens of premium-tiles.css
 * (amethyst night in the classic skin, emerald in the new one); the game pages keep the light
 * look of the existing Yes/No wheel and Magic Ball pages. Mobile first. */

/* --- Fanned deck (decorative) ------------------------------------------------- */
.hs-sky-deck {
    position: relative;
    width: 100%;
    max-width: 260px;
    aspect-ratio: 13 / 10;
    margin-inline: auto;
}
.hs-sky-deck__card {
    position: absolute;
    left: 50%;
    bottom: 6%;
    width: 42%;
    aspect-ratio: 5 / 8;
    display: grid;
    place-items: center;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, .6);
    background:
        radial-gradient(circle at 50% 42%, rgba(212, 175, 55, .22), transparent 55%),
        repeating-linear-gradient(45deg, rgba(212, 175, 55, .06) 0 6px, transparent 6px 12px),
        linear-gradient(160deg, var(--pt-surface-2, #1b1636), var(--pt-surface-3, #0b091a));
    box-shadow: inset 0 0 0 4px rgba(0, 0, 0, .25), inset 0 0 0 5px rgba(212, 175, 55, .25), 0 16px 28px -16px rgba(0, 0, 0, .85);
    transform-origin: 50% 100%;
}
.hs-sky-deck__card--1 { transform: translateX(-50%) rotate(-16deg) translateX(-30%); }
.hs-sky-deck__card--2 { transform: translateX(-50%) translateY(-6%); z-index: 2; }
.hs-sky-deck__card--3 { transform: translateX(-50%) rotate(16deg) translateX(30%); }
.hs-sky-deck__glyph { color: var(--pt-gold-soft, #ecd18a); font-size: clamp(1.1rem, 3vw, 1.6rem); text-shadow: 0 0 12px rgba(236, 209, 138, .7); }
.hs-sky-deck__glow {
    position: absolute;
    left: 50%;
    bottom: 2%;
    width: 70%;
    height: 22%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(212, 175, 55, .35), transparent);
    filter: blur(6px);
    transform: translateX(-50%);
    z-index: -1;
}
@media (prefers-reduced-motion: no-preference) {
    .hs-sky-deck--large .hs-sky-deck__card--2 { animation: hs-deck-float 5.5s ease-in-out infinite; }
    .hs-sky-deck--large .hs-sky-deck__card--1 { animation: hs-deck-sway-l 7s ease-in-out infinite; }
    .hs-sky-deck--large .hs-sky-deck__card--3 { animation: hs-deck-sway-r 7s ease-in-out infinite; }
}
@keyframes hs-deck-float { 50% { transform: translateX(-50%) translateY(-11%); } }
@keyframes hs-deck-sway-l { 50% { transform: translateX(-50%) rotate(-19deg) translateX(-32%); } }
@keyframes hs-deck-sway-r { 50% { transform: translateX(-50%) rotate(19deg) translateX(32%); } }

/* --- Homepage section -------------------------------------------------------- */
.hs-home-games {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 20px 16px;
    border: 1px solid var(--pt-line, rgba(212, 175, 55, .2));
    border-radius: 24px;
    color: var(--pt-ink, #f3f0fb);
    background:
        radial-gradient(55% 45% at 85% 10%, rgba(212, 175, 55, .13), transparent 70%),
        radial-gradient(70% 60% at 0% 100%, var(--pt-accent, rgba(139, 92, 246, .16)), transparent 60%),
        linear-gradient(165deg, var(--pt-surface-2, #1b1636) 0%, var(--pt-surface, #120f26) 55%, var(--pt-surface-3, #0b091a) 100%);
    box-shadow: 0 30px 70px -48px rgba(0, 0, 0, .85);
}
.hs-home-games::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .45;
    pointer-events: none;
    background-image:
        radial-gradient(circle, #fff7dd 0 1px, transparent 1.4px),
        radial-gradient(circle, rgba(236, 209, 138, .8) 0 .8px, transparent 1.2px);
    background-size: 97px 103px, 151px 139px;
    background-position: 11px 17px, 61px 83px;
}
.hs-home-games__feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    align-items: center;
}
.hs-home-games__deck { order: -1; display: block; max-width: 210px; width: 62%; margin: 0 auto; }
.hs-home-games__kicker { margin: 0 0 6px; color: var(--pt-gold, #d4af37) !important; font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hs-home-games h2 { margin: 0 0 8px !important; color: var(--pt-ink, #f3f0fb) !important; font-size: clamp(1.55rem, 6.4vw, 2.5rem); line-height: 1.08; }
.hs-home-games__lead { margin: 0 0 14px !important; color: var(--pt-muted, #bdb5d6) !important; line-height: 1.55; }
.hs-home-games__actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.hs-home-games__actions .hs-btn { justify-content: center; min-height: 52px; }
.hs-home-games__note { display: flex; gap: 6px; align-items: center; justify-content: center; color: var(--pt-faint, #8f88aa); font-size: .78rem; }
.hs-home-games__note span { color: var(--pt-gold, #d4af37); }

.hs-home-games__list { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--pt-line, rgba(212, 175, 55, .2)); }
.hs-home-games__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.hs-home-games__head h3 { margin: 0 0 3px !important; color: var(--pt-ink, #f3f0fb) !important; font-size: 1.15rem; }
.hs-home-games__head p { margin: 0 !important; color: var(--pt-faint, #8f88aa) !important; font-size: .8rem; line-height: 1.45; }
.hs-home-games__all { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; color: var(--pt-gold-soft, #ecd18a) !important; font-size: .82rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.hs-home-games__all:hover { text-decoration: underline; }

/* --- Game tiles (homepage dark, game pages light) ----------------------------- */
.hs-game-tiles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.hs-game-tile {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-height: 64px;
    padding: 10px 12px;
    border: 1px solid rgba(132, 100, 85, .18);
    border-radius: 16px;
    color: inherit;
    background: rgba(255, 253, 249, .9);
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.hs-game-tile:hover { transform: translateY(-2px); border-color: rgba(187, 135, 50, .45); box-shadow: 0 14px 30px -20px rgba(58, 32, 68, .45); }
.hs-game-tile:focus-visible { outline: 2px solid #b9782c; outline-offset: 2px; }
.hs-game-tile__icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(187, 135, 50, .4);
    color: #9b6a26;
    background: rgba(212, 175, 55, .1);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.1rem;
    font-weight: 700;
}
.hs-game-tile__body { display: grid; gap: 2px; min-width: 0; }
.hs-game-tile__body strong { color: #30203e; font-size: .98rem; line-height: 1.25; }
.hs-game-tile__body span { display: -webkit-box; overflow: hidden; color: #6f6672; font-size: .8rem; line-height: 1.4; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hs-game-tile__go { display: grid; justify-items: end; gap: 3px; }
.hs-game-tile__go em { padding: 2px 8px; border-radius: 999px; color: #1f7a55; background: rgba(16, 185, 129, .12); font-size: .64rem; font-style: normal; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.hs-game-tile__go b { display: none; color: #8f5c1f; font-size: .78rem; white-space: nowrap; }
/* Phones: one line per game, no badge (the heading already says "free"), an arrow instead. */
@media (max-width: 639px) {
    .hs-game-tile { grid-template-columns: 40px minmax(0, 1fr) 18px; gap: 10px; min-height: 58px; padding: 8px 12px; }
    .hs-game-tile__icon { width: 40px; height: 40px; font-size: 1rem; }
    .hs-game-tile__body span { -webkit-line-clamp: 1; }
    .hs-game-tile__go em { display: none; }
    .hs-game-tile__go::after { content: "›"; color: #b9782c; font-size: 1.4rem; line-height: 1; }
    [dir="rtl"] .hs-game-tile__go::after { content: "‹"; }
    .hs-home-games .hs-game-tile__go::after { color: var(--pt-gold-soft, #ecd18a); }
    .hs-home-games__head p { display: none; }
    .hs-home-games__head { align-items: center; margin-bottom: 10px; }
}

.hs-home-games .hs-game-tile { border-color: var(--pt-line, rgba(212, 175, 55, .2)); background: rgba(255, 255, 255, .04); }
.hs-home-games .hs-game-tile:hover { border-color: rgba(212, 175, 55, .55); background: rgba(212, 175, 55, .07); box-shadow: 0 14px 30px -22px rgba(0, 0, 0, .9); }
.hs-home-games .hs-game-tile:focus-visible { outline-color: var(--pt-gold-soft, #ecd18a); }
.hs-home-games .hs-game-tile__icon { border-color: rgba(212, 175, 55, .45); color: var(--pt-gold-soft, #ecd18a); background: rgba(212, 175, 55, .1); }
.hs-home-games .hs-game-tile__body strong { color: var(--pt-ink, #f3f0fb) !important; }
.hs-home-games .hs-game-tile__body span { color: var(--pt-muted, #bdb5d6) !important; }
.hs-home-games .hs-game-tile__go em { color: #8ee5bf; background: rgba(16, 185, 129, .14); }
.hs-home-games .hs-game-tile__go b { color: var(--pt-gold-soft, #ecd18a); }

@media (min-width: 640px) {
    .hs-home-games { padding: 26px 24px; border-radius: 28px; }
    .hs-home-games__actions { flex-direction: row; align-items: center; flex-wrap: wrap; }
    .hs-home-games__note { justify-content: flex-start; }
    .hs-game-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
    .hs-home-games { padding: 34px 38px; }
    .hs-home-games__feature { grid-template-columns: minmax(0, 1.25fr) minmax(220px, .75fr); gap: 32px; }
    .hs-home-games__deck { order: 0; width: 100%; max-width: 280px; }
    .hs-home-games .hs-game-tiles { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
    .hs-home-games .hs-game-tile { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 10px; min-height: 0; padding: 16px; }
    .hs-home-games .hs-game-tile__go { justify-items: start; grid-auto-flow: column; justify-content: space-between; align-items: center; }
    .hs-home-games .hs-game-tile__go b { display: inline; }
    .hs-home-games .hs-game-tile__body span { -webkit-line-clamp: 3; }
}

/* --- Hub: three new game cards + Karty Przestworzy banner ---------------------- */
.hs-free-tool-card__visual--couple { background: radial-gradient(circle at 50% 50%, rgba(255, 214, 214, .4), transparent 36%), linear-gradient(145deg, #3d1f3f, #7b3d5c 58%, #c08a66); }
.hs-free-tool-card__visual--redflags { background: radial-gradient(circle at 50% 46%, rgba(255, 236, 200, .4), transparent 34%), linear-gradient(145deg, #1f1d3a, #4b2f55 56%, #8c5a4c); }
.hs-free-tool-card__visual--blood { background: radial-gradient(circle at 50% 48%, rgba(255, 224, 224, .42), transparent 34%), linear-gradient(145deg, #2a1530, #6e2537 56%, #b0644f); }
.hs-free-tool-card__visual--blood span { font-size: 1.45rem; font-weight: 700; }

.hs-free-sky-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    margin-top: 18px;
    padding: 18px 16px;
    border: 1px solid var(--pt-line, rgba(212, 175, 55, .2));
    border-radius: 22px;
    color: var(--pt-ink, #f3f0fb);
    text-decoration: none;
    background:
        radial-gradient(55% 60% at 90% 0%, rgba(212, 175, 55, .14), transparent 70%),
        linear-gradient(160deg, var(--pt-surface-2, #1b1636), var(--pt-surface, #120f26) 60%, var(--pt-surface-3, #0b091a));
    box-shadow: 0 24px 50px -36px rgba(0, 0, 0, .9);
    transition: transform .2s ease, box-shadow .2s ease;
}
.hs-free-sky-card:hover { transform: translateY(-2px); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .95); }
.hs-free-sky-card:focus-visible { outline: 2px solid #b9782c; outline-offset: 3px; }
.hs-free-sky-card .hs-sky-deck { max-width: 150px; }
.hs-free-tools-cards > .hs-free-sky-card { margin-top: 0; }
@media (min-width: 768px) {
    .hs-free-tools-cards > .hs-free-sky-card { grid-template-columns: 160px minmax(0, 1fr); gap: 18px; min-height: 230px; padding: 22px 26px 22px 18px; border-radius: 24px; }
    .hs-free-tools-cards > .hs-free-sky-card strong { font-size: 1.7rem; }
}
.hs-free-sky-card__body { display: grid; gap: 7px; justify-items: start; }
.hs-free-sky-card__badges { display: flex; flex-wrap: wrap; gap: 6px; }
.hs-free-sky-card__badges em { padding: 3px 9px; border-radius: 999px; color: #8ee5bf; background: rgba(16, 185, 129, .15); font-size: .66rem; font-style: normal; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.hs-free-sky-card__badges em.is-premium { color: var(--pt-gold-soft, #ecd18a); background: rgba(212, 175, 55, .14); }
.hs-free-sky-card strong { color: var(--pt-ink, #f3f0fb); font-family: var(--hs-display-font, Georgia, serif); font-size: 1.5rem; font-weight: 500; line-height: 1.1; }
.hs-free-sky-card__body > span:not([class]) { color: var(--pt-muted, #bdb5d6); font-size: .88rem; line-height: 1.5; }
.hs-free-sky-card__cta { margin-top: 4px; color: var(--pt-gold-soft, #ecd18a); font-size: .84rem; font-weight: 800; }
@media (min-width: 700px) {
    .hs-free-sky-card { grid-template-columns: 190px minmax(0, 1fr); gap: 22px; padding: 22px 28px; }
}
@media (max-width: 699px) {
    .hs-free-sky-card { grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 14px; }
    .hs-free-sky-card strong { font-size: 1.25rem; }
    .hs-free-sky-card__body > span:not([class]) { display: -webkit-box; overflow: hidden; font-size: .82rem; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}

/* --- Game pages --------------------------------------------------------------- */
.hs-app-panel { display: block; max-width: 860px; margin-inline: auto; }
.hs-app-panel__intro { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: center; margin-bottom: 18px; }
.hs-app-panel__intro h2 { max-width: none; margin: 4px 0 8px; font-size: clamp(1.7rem, 5vw, 2.7rem); }
.hs-app-panel__intro p:last-child { margin: 0; color: #6a606e; line-height: 1.6; }
.hs-app-panel .hs-free-action { display: inline-flex; justify-content: center; width: 100%; margin-top: 16px; }
.hs-app-label { margin: 0 0 4px !important; color: #a37129 !important; font-size: .66rem !important; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.hs-app-note { display: flex; gap: 10px; margin-top: 18px; padding: 14px 16px; border: 1px solid rgba(193, 143, 59, .22); border-radius: 16px; background: rgba(255, 248, 230, .7); }
.hs-app-note > span { color: #b67b2b; }
.hs-app-note strong { display: block; margin-bottom: 3px; color: #4f3b54; font-size: .88rem; }
.hs-app-note p { margin: 0; color: #6a606e; font-size: .84rem; line-height: 1.5; }
.hs-app-text-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 4px; border: 0; color: #7e5c29; background: transparent; font: inherit; font-size: .84rem; font-weight: 750; cursor: pointer; }
.hs-app-text-btn:disabled { opacity: .4; cursor: default; }
.hs-app-text-btn:focus-visible { outline: 2px solid #b9782c; outline-offset: 2px; border-radius: 8px; }
.hs-app-game-related { margin-top: 30px; }
.hs-app-game-related h2 { margin: 0 0 12px; font-size: clamp(1.3rem, 3.4vw, 1.8rem); }

/* emblems */
.hs-couple-orbit, .hs-redflags-emblem, .hs-blood-emblem {
    position: relative;
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    color: #fff4cb;
    background: radial-gradient(circle at 40% 32%, rgba(255, 240, 196, .35), transparent 42%), linear-gradient(145deg, #3a2050, #6f4168 58%, #b07b57);
    box-shadow: 0 0 0 9px rgba(212, 175, 55, .1), 0 16px 30px -14px rgba(58, 32, 68, .6);
}
.hs-couple-orbit { background: radial-gradient(circle at 40% 32%, rgba(255, 220, 220, .35), transparent 42%), linear-gradient(145deg, #3d1f3f, #7b3d5c 58%, #c08a66); }
.hs-couple-orbit__ring { position: absolute; inset: 14px; border: 1px dashed rgba(255, 244, 203, .55); border-radius: 50%; }
.hs-couple-orbit__a, .hs-couple-orbit__b { position: absolute; font-size: .8rem; }
.hs-couple-orbit__a { top: 6px; left: 50%; transform: translateX(-50%); }
.hs-couple-orbit__b { bottom: 6px; left: 50%; transform: translateX(-50%); }
.hs-couple-orbit__heart { font-size: 1.6rem; }
@media (prefers-reduced-motion: no-preference) {
    .hs-couple-orbit::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(255, 244, 203, .2); animation: hs-app-pulse 3.2s ease-out infinite; }
}
@keyframes hs-app-pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(1.35); opacity: 0; } }
.hs-redflags-emblem { background: radial-gradient(circle at 40% 32%, rgba(255, 236, 200, .3), transparent 42%), linear-gradient(145deg, #1f1d3a, #4b2f55 56%, #8c5a4c); }
.hs-redflags-emblem__ring { position: absolute; inset: 16px; border: 2px solid rgba(255, 244, 203, .5); border-radius: 50%; }
.hs-redflags-emblem__core { font-size: 1.5rem; }
.hs-blood-emblem { background: radial-gradient(circle at 40% 32%, rgba(255, 224, 224, .32), transparent 42%), linear-gradient(145deg, #2a1530, #6e2537 56%, #b0644f); }
.hs-blood-emblem span { font-family: Georgia, serif; font-size: 1.05rem; font-weight: 700; letter-spacing: .06em; }
.hs-blood-emblem i { position: absolute; bottom: 14px; font-size: .72rem; font-style: normal; letter-spacing: .12em; opacity: .85; }

/* entry animation of results */
@media (prefers-reduced-motion: no-preference) {
    .is-in { animation: hs-app-in .45s cubic-bezier(.2, .7, .2, 1) both; }
}
@keyframes hs-app-in { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }

/* couple */
.hs-couple-stage:empty { display: none; }
.hs-couple-card {
    padding: 18px 16px;
    border: 1px solid rgba(193, 143, 59, .28);
    border-radius: 20px;
    background: linear-gradient(140deg, rgba(255, 248, 225, .95), rgba(248, 238, 248, .9));
    box-shadow: 0 18px 40px -28px rgba(58, 32, 68, .5);
}
.hs-couple-card__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.hs-couple-card__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #fff4cb; background: linear-gradient(145deg, #7b3d5c, #c08a66); font-size: 1.3rem; }
.hs-couple-card__time { padding: 5px 10px; border-radius: 999px; color: #6b4a7d; background: rgba(107, 74, 125, .1); font-size: .76rem; font-weight: 700; }
.hs-couple-card h3 { margin: 0 0 12px; color: #30203e; font-size: clamp(1.35rem, 4vw, 1.8rem); }
.hs-couple-card__block { margin-top: 12px; }
.hs-couple-card__block p:not(.hs-app-label), .hs-couple-card__reflection p:not(.hs-app-label) { margin: 0; color: #4b4252; line-height: 1.6; }
.hs-couple-card__reflection { margin-top: 14px; padding: 12px 14px; border-inline-start: 3px solid #c58d38; border-radius: 0 12px 12px 0; background: rgba(255, 255, 255, .6); }
[dir="rtl"] .hs-couple-card__reflection { border-radius: 12px 0 0 12px; }

/* redflags */
.hs-redflags-start p { margin: 0; color: #6a606e; font-size: .9rem; line-height: 1.55; }
.hs-redflags-progress { margin-bottom: 12px; }
.hs-redflags-progress > div:first-child { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 6px; color: #8d7e86; font-size: .76rem; }
.hs-redflags-progress strong { color: #4f3b54; }
.hs-redflags-progress__track { height: 6px; overflow: hidden; border-radius: 999px; background: rgba(107, 74, 125, .12); }
.hs-redflags-progress__track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #c58d38, #8b5271); transition: width .3s ease; }
[dir="rtl"] .hs-redflags-progress__track i { margin-inline-start: auto; }
.hs-redflags-question, .hs-redflags-results { padding: 18px 16px; border: 1px solid rgba(122, 91, 95, .18); border-radius: 20px; background: rgba(255, 255, 255, .75); }
.hs-redflags-question__top { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: start; }
.hs-redflags-question__num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff4cb; background: linear-gradient(145deg, #4b2f55, #8c5a4c); font-weight: 800; font-size: .9rem; }
.hs-redflags-question__icon { color: #b9782c; font-size: 1.3rem; }
.hs-redflags-question h3, .hs-redflags-results h3 { margin: 0; color: #30203e; font-size: clamp(1.2rem, 3.6vw, 1.6rem); line-height: 1.2; outline: none; }
.hs-redflags-question__body { margin: 12px 0 14px; color: #4b4252; line-height: 1.6; }
.hs-redflags-answers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hs-redflags-answer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    padding: 8px 10px;
    border: 1px solid rgba(94, 70, 83, .22);
    border-radius: 14px;
    color: #30203e;
    background: #fff;
    font: inherit;
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease;
}
.hs-redflags-answer span { color: #b9782c; }
.hs-redflags-answer strong { font-size: .92rem; }
.hs-redflags-answer:hover { border-color: rgba(187, 135, 50, .6); }
.hs-redflags-answer.is-selected { border-color: #b9782c; background: rgba(212, 175, 55, .14); }
.hs-redflags-answer.is-skip { color: #6f6672; background: transparent; border-style: dashed; }
.hs-redflags-answer:focus-visible { outline: 2px solid #b9782c; outline-offset: 2px; }
.hs-redflags-controls { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.hs-redflags-results__head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.hs-redflags-results__head > span { display: grid; place-items: center; flex: 0 0 40px; height: 40px; border-radius: 50%; color: #fff4cb; background: linear-gradient(145deg, #4b2f55, #8c5a4c); }
.hs-redflags-results > p { margin: 0 0 10px; color: #4b4252; line-height: 1.6; }
.hs-redflags-results__skipped { color: #8d7e86 !important; font-size: .84rem; }
.hs-redflags-results__details { margin: 8px 0 12px; border: 1px solid rgba(122, 91, 95, .16); border-radius: 14px; background: rgba(255, 253, 249, .8); }
.hs-redflags-results__details summary { min-height: 44px; padding: 12px 14px; color: #4f3b54; font-weight: 750; cursor: pointer; }
.hs-redflags-results__details ul { list-style: none; margin: 0; padding: 0 14px 10px; }
.hs-redflags-results__details li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 10px 0; border-top: 1px solid rgba(122, 91, 95, .1); }
.hs-redflags-results__details li > span:first-child { color: #b9782c; }
.hs-redflags-results__details li strong { display: block; color: #30203e; font-size: .88rem; }
.hs-redflags-results__details li small { color: #6f6672; font-size: .78rem; line-height: 1.45; }
.hs-redflags-results__details li b { color: #6f6672; font-size: .78rem; white-space: nowrap; }
.hs-redflags-results__details li.is-noticed b { color: #8c2f39; }
.hs-redflags-results__next { padding: 12px 14px; border-inline-start: 3px solid #c58d38; border-radius: 0 12px 12px 0; background: rgba(255, 248, 230, .8); }
[dir="rtl"] .hs-redflags-results__next { border-radius: 12px 0 0 12px; }
.hs-redflags-results__next p:not(.hs-app-label) { margin: 0; color: #4b4252; line-height: 1.55; }
.hs-redflags-safety {
    display: flex;
    gap: 12px;
    max-width: 860px;
    margin: 16px auto 0;
    padding: 16px;
    border: 1px solid rgba(140, 47, 57, .22);
    border-radius: 18px;
    background: rgba(255, 244, 242, .85);
}
.hs-redflags-safety__icon { color: #8c2f39; font-size: 1.2rem; }
.hs-redflags-safety strong { display: block; margin-bottom: 4px; color: #5e1a24; }
.hs-redflags-safety p { margin: 0 0 8px; color: #4b4252; font-size: .9rem; line-height: 1.55; }
.hs-redflags-safety__links { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.hs-redflags-safety__links a { display: inline-flex; align-items: center; min-height: 44px; color: #8c2f39; font-weight: 750; font-size: .88rem; }
.hs-redflags-safety small { color: #8d7e86; font-size: .74rem; }

/* blood */
.hs-blood-pair { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.hs-blood-person, .hs-blood-role { min-width: 0; margin: 0; padding: 14px; border: 1px solid rgba(122, 91, 95, .16); border-radius: 18px; background: rgba(255, 255, 255, .7); }
.hs-blood-role { margin-top: 12px; }
.hs-blood-person legend, .hs-blood-role legend { display: flex; align-items: center; gap: 8px; padding: 0 4px; color: #30203e; font-weight: 800; font-size: .98rem; }
.hs-blood-person__num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: #fff4cb; background: linear-gradient(145deg, #6e2537, #b0644f); font-size: .72rem; font-weight: 800; }
.hs-blood-person__hint { margin: 2px 0 10px; color: #8d7e86; font-size: .78rem; }
.hs-blood-types { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.hs-blood-type, .hs-blood-role__btn {
    min-height: 46px;
    padding: 6px 2px;
    white-space: nowrap;
    border: 1px solid rgba(94, 70, 83, .22);
    border-radius: 12px;
    color: #30203e;
    background: #fff;
    font: inherit;
    font-size: .86rem;
    font-weight: 750;
    cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
@media (max-width: 420px) { .hs-blood-type { font-size: .76rem; letter-spacing: -.01em; } }
.hs-blood-role__btn { white-space: normal; }
.hs-blood-roles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; margin-top: 8px; }
.hs-blood-role__btn { padding-inline: 12px; }
.hs-blood-type:hover, .hs-blood-role__btn:hover { border-color: rgba(176, 100, 79, .6); }
.hs-blood-type.is-selected, .hs-blood-role__btn.is-selected { border-color: #8c2f39; color: #fff; background: linear-gradient(145deg, #6e2537, #9a4a3f); }
.hs-blood-type:focus-visible, .hs-blood-role__btn:focus-visible { outline: 2px solid #8c2f39; outline-offset: 2px; }
.hs-app-panel .hs-free-action:disabled { opacity: .5; cursor: not-allowed; filter: grayscale(.3); }
.hs-blood-result { margin-top: 16px; padding: 18px 16px; border: 1px solid rgba(193, 143, 59, .28); border-radius: 20px; background: linear-gradient(140deg, rgba(255, 248, 225, .95), rgba(248, 238, 248, .9)); }
.hs-blood-result[hidden] { display: none !important; }
.hs-blood-result__head { display: flex; gap: 12px; align-items: flex-start; }
.hs-blood-result__head > span { display: grid; place-items: center; flex: 0 0 40px; height: 40px; border-radius: 50%; color: #fff4cb; background: linear-gradient(145deg, #6e2537, #b0644f); }
.hs-blood-result h3 { margin: 0; color: #30203e; font-size: clamp(1.2rem, 3.6vw, 1.55rem); }
.hs-blood-result__pair { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; align-items: center; margin: 14px 0 8px; text-align: center; }
.hs-blood-result__pair > div { padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, .75); }
.hs-blood-result__pair span { display: block; color: #8d7e86; font-size: .74rem; }
.hs-blood-result__pair strong { color: #30203e; font-size: 1.05rem; }
.hs-blood-result__pair i { color: #b9782c; font-style: normal; }
.hs-blood-result__role { margin: 0 0 10px; color: #6a606e; font-size: .86rem; }
.hs-blood-result__role strong { color: #30203e; }
.hs-blood-result__reading { padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .7); }
.hs-blood-result__reading.is-attention { border-inline-start: 3px solid #8c2f39; }
.hs-blood-result__reading p { margin: 0; color: #4b4252; line-height: 1.6; }
.hs-blood-result__medical { display: flex; gap: 8px; margin: 12px 0 4px; color: #6a606e; font-size: .84rem; line-height: 1.5; }
.hs-blood-result__medical > span { color: #b9782c; }
.hs-blood-result__medical p { margin: 0; }
.hs-blood-result__medical a { color: #8c2f39; font-weight: 750; }

@media (min-width: 640px) {
    .hs-app-panel__intro { grid-template-columns: 88px minmax(0, 1fr); gap: 20px; }
    .hs-app-panel .hs-free-action { width: auto; }
    .hs-redflags-answers { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .hs-blood-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hs-blood-roles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hs-couple-card, .hs-redflags-question, .hs-redflags-results, .hs-blood-result { padding: 22px 24px; }
}
@media (max-width: 767px) {
    .hs-free-tools-cards { grid-template-columns: minmax(0, 1fr); }
}

/* --- Emerald skin: the game pages stay light, the accents follow the skin ------- */
html[data-hs-skin="highend"] .hs-game-tile__go em { color: #0f6a4a; }
html[data-hs-skin="highend"] .hs-home-games .hs-game-tile__go em { color: #8ee5bf; }

/* --- Homepage, bottom of the page: Karty Przestworzy as Premium + free games as small icons ---- */
.hs-home-games__note { display: flex; gap: 8px; align-items: flex-start; justify-content: flex-start; margin: 0 0 14px !important; padding: 10px 12px; border: 1px solid rgba(212, 175, 55, .28); border-radius: 14px; background: rgba(212, 175, 55, .07); color: var(--pt-gold-soft, #ecd18a) !important; font-size: .86rem; line-height: 1.5; }
.hs-home-games__note span { flex: 0 0 auto; color: var(--pt-gold, #d4af37); }
.hs-home-games__premium { justify-content: center; min-height: 52px; border-color: rgba(212, 175, 55, .45) !important; color: var(--pt-gold-soft, #ecd18a) !important; background: transparent !important; }
.hs-home-games__premium:hover { background: rgba(212, 175, 55, .1) !important; }
.hs-home-games__list { margin-top: 18px; padding-top: 14px; }
.hs-home-games__head h3 { font-size: .74rem !important; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--pt-faint, #8f88aa) !important; }
.hs-game-icons { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(58px, 1fr)); gap: 6px; }
.hs-game-icon { display: grid; justify-items: center; gap: 6px; padding: 6px 2px; border-radius: 12px; color: var(--pt-muted, #bdb5d6); text-decoration: none; text-align: center; transition: background-color .2s ease, color .2s ease; }
.hs-game-icon:hover { background: rgba(212, 175, 55, .08); color: var(--pt-ink, #f3f0fb); }
.hs-game-icon:focus-visible { outline: 2px solid var(--pt-gold-soft, #ecd18a); outline-offset: 2px; }
.hs-game-icon__mark { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(212, 175, 55, .4); border-radius: 50%; color: var(--pt-gold-soft, #ecd18a); background: rgba(212, 175, 55, .08); font-family: Georgia, 'Times New Roman', serif; font-size: .95rem; font-weight: 700; }
.hs-game-icon__name { display: -webkit-box; overflow: hidden; font-size: .68rem; line-height: 1.25; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
@media (min-width: 640px) {
    .hs-home-games__premium { min-height: 48px; }
    .hs-game-icons { display: flex; flex-wrap: wrap; gap: 8px 18px; }
    .hs-game-icon { grid-auto-flow: column; justify-items: start; align-items: center; gap: 8px; padding: 4px 8px 4px 4px; }
    .hs-game-icon__mark { width: 34px; height: 34px; font-size: .85rem; }
    .hs-game-icon__name { font-size: .8rem; -webkit-line-clamp: 1; white-space: nowrap; }
}
