html.tgc26-app-mode,
body.tgc26-app-mode {
    margin: 0;
    min-height: 100%;
    padding: 0;
    width: 100%;
}

body.tgc26-app-mode {
    background:
        radial-gradient(circle at top, rgba(255, 194, 82, 0.18), transparent 28%),
        radial-gradient(circle at 50% 100%, rgba(255, 70, 40, 0.2), transparent 30%),
        linear-gradient(180deg, #250102 0%, #4f0709 42%, #230204 100%);
    overflow-x: hidden;
}

body.tgc26-app-mode .site-header,
body.tgc26-app-mode .site-footer,
body.tgc26-app-mode .sidebar,
body.tgc26-app-mode .widget-area,
body.tgc26-app-mode .comments-area,
body.tgc26-app-mode .wp-block-post-title,
body.tgc26-app-mode .entry-title,
body.tgc26-app-mode .wp-block-post-comments,
body.tgc26-app-mode .post-navigation-link,
body.tgc26-app-mode .wp-block-template-part:not(.tgc26-keep-visible),
body.tgc26-app-mode .breadcrumbs,
body.tgc26-app-mode .breadcrumb,
body.tgc26-app-mode .page-header,
body.tgc26-app-mode .site-main > header:first-child {
    display: none !important;
}

body.tgc26-app-mode .wp-site-blocks,
body.tgc26-app-mode .site,
body.tgc26-app-mode .site-content,
body.tgc26-app-mode .content-area,
body.tgc26-app-mode .entry-content,
body.tgc26-app-mode .wp-block-post-content,
body.tgc26-app-mode main,
body.tgc26-app-mode article,
body.tgc26-app-mode .site-main,
body.tgc26-app-mode .is-layout-constrained {
    margin: 0 !important;
    max-width: none !important;
    padding: 0 !important;
    width: 100% !important;
}

.tgc26-app {
    align-items: stretch;
    background:
        radial-gradient(circle at top, rgba(255, 192, 74, 0.14), transparent 22%),
        linear-gradient(180deg, #2f0305 0%, #5c060a 40%, #230204 100%);
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    height: 100vh;
    min-height: 100svh;
    margin: 0;
    overflow: clip;
    overflow-x: hidden;
    padding: 0;
    width: 100vw;
}

.tgc26-app-shell {
    box-sizing: border-box;
    display: flex;
    height: 100vh;
    min-height: 100svh;
    padding: 0;
    width: 100vw;
    max-width: none;
}

.tg26-game,
.tg26-game * {
    box-sizing: border-box;
}

.tg26-game {
    --tg26-red-900: #2f0305;
    --tg26-red-700: #7f090d;
    --tg26-red-500: #d71c17;
    --tg26-red-400: #ff4f2d;
    --tg26-gold-500: #efb42f;
    --tg26-gold-300: #ffd677;
    --tg26-cream: #fff4e2;
    --tg26-ink: #2b1010;
    --tg26-white: #fffaf4;
    --tg26-shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
    --tg26-logo-scale-factor: calc(var(--tg26-logo-scale, 100) / 100);
    --tgc26-screen-padding: 16px;
    display: flex;
    flex: 1;
    height: 100vh;
    color: var(--tg26-white);
    margin: 0;
    max-width: none;
    min-height: 100svh;
    overflow: hidden;
    position: relative;
    width: 100vw;
}

.tg26-game__bg,
.tg26-game__bg::before,
.tg26-game__bg::after {
    inset: 0;
    pointer-events: none;
    position: absolute;
}

.tg26-game__bg {
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 201, 95, 0.2), transparent 24%),
        linear-gradient(180deg, rgba(118, 6, 10, 0.96), rgba(53, 3, 6, 0.98)),
        linear-gradient(160deg, rgba(255, 255, 255, 0.04), transparent 60%);
}

.tg26-game__bg::before {
    background:
        radial-gradient(circle at 15% 34%, rgba(255, 170, 54, 0.24), transparent 22%),
        radial-gradient(circle at 85% 34%, rgba(255, 170, 54, 0.24), transparent 22%),
        linear-gradient(180deg, transparent 72%, rgba(0, 0, 0, 0.34) 100%);
    content: "";
}

.tg26-game__bg::after {
    background:
        radial-gradient(circle at bottom, rgba(0, 0, 0, 0.42), transparent 44%),
        repeating-linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.03) 0,
            rgba(255, 255, 255, 0.03) 2px,
            transparent 2px,
            transparent 38px
        );
    content: "";
    opacity: 0.35;
}

.tg26-game__glow,
.tg26-game__grid {
    display: block;
    position: absolute;
}

.tg26-game__glow--top {
    background: radial-gradient(circle, rgba(255, 214, 119, 0.34), transparent 66%);
    height: 320px;
    left: 50%;
    top: -130px;
    transform: translateX(-50%);
    width: 320px;
}

.tg26-game__glow--bottom {
    background: radial-gradient(circle, rgba(255, 89, 42, 0.24), transparent 68%);
    bottom: -180px;
    height: 360px;
    left: 50%;
    transform: translateX(-50%);
    width: 460px;
}

.tg26-game__grid {
    background:
        linear-gradient(transparent 96%, rgba(255, 255, 255, 0.06) 100%),
        linear-gradient(90deg, transparent 96%, rgba(255, 255, 255, 0.04) 100%);
    background-size: 100% 34px, 34px 100%;
    inset: 0;
    mix-blend-mode: soft-light;
    opacity: 0.2;
}

.tg26-game__inner {
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 2.2vw, 12px);
    height: 100vh;
    min-height: 100svh;
    padding:
        max(10px, env(safe-area-inset-top))
        min(12px, 4vw)
        max(12px, env(safe-area-inset-bottom))
        min(12px, 4vw);
    position: relative;
    z-index: 1;
}

.tg26-intro-modal {
    inset: 0;
    position: absolute;
    z-index: 12;
}

.tg26-intro-modal[hidden] {
    display: none !important;
}

.tg26-intro-modal__overlay {
    background: rgba(18, 2, 4, 0.76);
    inset: 0;
    position: absolute;
}

.tg26-intro-modal__card {
    background:
        linear-gradient(180deg, rgba(131, 10, 14, 0.96), rgba(72, 5, 8, 0.98)),
        linear-gradient(135deg, rgba(255, 193, 89, 0.12), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 205, 108, 0.28);
    border-radius: 24px;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.38);
    color: var(--tg26-white);
    display: grid;
    gap: 14px;
    left: 50%;
    max-height: min(86svh, 720px);
    overflow: auto;
    padding: 20px 18px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(calc(100vw - 28px), 460px);
}

.tg26-intro-modal__lang {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.tg26-intro-modal__lang[hidden] {
    display: none !important;
}

.tg26-intro-modal__lang-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 205, 108, 0.22);
    border-radius: 999px;
    color: #fff8f0;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    min-height: 40px;
    padding: 0 14px;
}

.tg26-intro-modal__lang-btn.is-active {
    background: linear-gradient(180deg, #ffba54, #ef6d1b);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 0 14px rgba(255, 184, 80, 0.28);
}

.tg26-intro-modal__title {
    font-size: clamp(24px, 6vw, 34px);
    line-height: 1.1;
    margin: 0;
    text-align: center;
}

.tg26-intro-modal__steps {
    color: rgba(255, 244, 234, 0.92);
    display: grid;
    gap: 10px;
    font-size: clamp(15px, 4vw, 18px);
    line-height: 1.5;
    text-align: left;
}

.tg26-intro-modal__steps[dir="rtl"] {
    direction: rtl;
    font-family: "Tajawal", "Cairo", "Noto Kufi Arabic", "Noto Sans Arabic", system-ui, sans-serif;
    text-align: right;
}

.tg26-intro-modal__step {
    margin: 0;
}

.tg26-intro-modal__start {
    margin-top: 4px;
}

.tg26-topbar {
    align-items: center;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    padding: 4px 0 1px;
    width: 100%;
}

.tgc26-header {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 4px 0 1px;
    box-sizing: border-box;
}

.tg26-brand {
    display: grid;
    gap: 2px;
}

.tg26-brand--solo {
    align-items: center;
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: none;
}

.tgc26-header-logo-wrap {
    width: 100%;
    max-width: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tg26-brand__name {
    font-size: clamp(1.85rem, 6vw, 2.3rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 0.95;
}

.tg26-brand__logo {
    display: block;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    width: min(calc(76vw * var(--tg26-logo-scale-factor)), 100%);
}

.tgc26-header-logo,
.tgc26-header img {
    display: block;
    width: min(calc(76vw * var(--tg26-logo-scale-factor)), 100%) !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    object-fit: contain;
}

.tg26-game__eyebrow,
.tg26-section-heading__step,
.tg26-progress__step {
    font-size: clamp(12px, 3vw, var(--tg26-step-label-size, 14px));
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.tg26-progress {
    align-items: center;
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 0;
    position: relative;
}

.tg26-progress__back {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 228, 188, 0.22);
    border-radius: 999px;
    color: #fff8f0;
    cursor: pointer;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 1rem;
    height: 32px;
    justify-content: center;
    padding: 0;
    transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
    width: 32px;
}

.tg26-progress[data-has-back="false"] {
    justify-content: center;
}

.tg26-progress__back[hidden] {
    display: none !important;
}

.tg26-progress__meta {
    display: grid;
    flex: 0 1 min(100%, 320px);
    gap: 4px;
    padding-top: 14px;
    position: relative;
    width: min(100%, 320px);
}

.tgc26-step-label {
    left: 50%;
    position: absolute;
    text-align: center;
    top: 0;
    transform: translateX(-50%);
    white-space: nowrap;
}

.tg26-progress__track {
    display: flex;
    justify-content: space-between;
    gap: 0;
}

.tg26-progress__dot {
    align-items: center;
    appearance: none;
    background: transparent;
    border: 0;
    color: transparent;
    cursor: pointer;
    display: inline-flex;
    flex: 1 1 0;
    height: 44px;
    justify-content: center;
    min-width: 44px;
    padding: 0;
    position: relative;
}

.tg26-progress__dot::before {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 236, 203, 0.4);
    border-radius: 999px;
    content: "";
    display: block;
    height: 12px;
    position: relative;
    transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, border-color 220ms ease, opacity 220ms ease;
    width: 12px;
    z-index: 1;
}

.tg26-progress__dot::after {
    background: rgba(255, 255, 255, 0.12);
    content: "";
    height: 2px;
    left: calc(50% + 12px);
    position: absolute;
    right: calc(-50% + 12px);
    top: 50%;
    transform: translateY(-50%);
    transition: background 220ms ease, box-shadow 220ms ease, opacity 220ms ease;
}

.tg26-progress__dot:last-child::after {
    display: none;
}

.tg26-progress__dot.is-complete::before,
.tg26-progress__dot.is-active::before {
    background: linear-gradient(180deg, #ffd977, #ff8f2e);
    border-color: rgba(255, 217, 119, 0.82);
    box-shadow: 0 0 16px rgba(255, 192, 74, 0.55);
    transform: scale(1.06);
}

.tg26-progress__dot.is-active::before {
    transform: scale(1.16);
}

.tg26-progress__dot.is-glow::before {
    animation: tg26ProgressGlow 300ms ease;
}

.tg26-progress__dot.is-complete::after {
    background: linear-gradient(90deg, #ffd977, #ff8f2e);
    box-shadow: 0 0 12px rgba(255, 192, 74, 0.35);
}

.tg26-progress__dot.is-locked {
    cursor: default;
}

.tg26-progress__dot.is-locked::before,
.tg26-progress__dot.is-locked::after {
    opacity: 0.52;
}

.tg26-progress__back:focus,
.tg26-progress__dot:focus {
    outline: none;
}

.tg26-progress__back:focus {
    box-shadow: 0 0 0 3px rgba(255, 205, 108, 0.24);
}

.tg26-progress__dot:focus::before {
    box-shadow:
        0 0 0 4px rgba(255, 205, 108, 0.24),
        0 0 16px rgba(255, 192, 74, 0.55);
}

.tg26-screen {
    animation: tg26FadeIn 220ms ease;
    display: none;
    flex: 1;
    min-width: 0;
}

.tg26-screen--closed {
    display: block;
}

.tg26-screen.is-active {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 0;
}

.tg26-screen--selection-step.is-active {
    gap: 0;
    padding-left: var(--tgc26-screen-padding);
    padding-right: var(--tgc26-screen-padding);
}

.tg26-hero--closed {
    justify-content: center;
    min-height: clamp(420px, 70svh, 700px);
}

.tg26-screen[data-tg26-screen="details"].is-active {
    padding-left: var(--tgc26-screen-padding);
    padding-right: var(--tgc26-screen-padding);
}

.tg26-screen--hero {
    flex: 1;
    min-height: 0;
}

.tg26-hero {
    align-items: center;
    display: grid;
    gap: clamp(8px, 2.2vw, 12px);
    justify-items: center;
    text-align: center;
}

.tg26-game__eyebrow {
    color: var(--tg26-gold-300);
    font-size: clamp(12px, 3vw, var(--tg26-campaign-size, 16px));
    margin: 0;
    text-align: center;
}

.tg26-hero-copy {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: min(100%, 520px);
}

.tg26-hero-ar,
.tg26-hero-fr {
    text-align: center;
}

.tg26-hero-ar {
    direction: rtl;
    margin-bottom: 14px;
    font-family: "Tajawal", "Cairo", "Noto Kufi Arabic", "Noto Sans Arabic", system-ui, sans-serif;
}

.tg26-hero-fr {
    direction: ltr;
}

.tg26-hero-title {
    font-size: clamp(24px, 6vw, var(--tg26-title-fr-size, 42px));
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0 0 8px;
    text-wrap: balance;
}

.tg26-hero-ar .tg26-hero-title {
    font-size: clamp(26px, 7vw, var(--tg26-title-ar-size, 48px));
    line-height: 1.35;
    font-weight: 800;
}

.tg26-hero-fr .tg26-hero-title {
    text-transform: none;
}

.tg26-hero-subtitle {
    color: rgba(255, 246, 234, 0.9);
    font-size: clamp(16px, 4vw, var(--tg26-description-fr-size, 18px));
    line-height: 1.45;
    margin: 0;
    text-wrap: balance;
}

.tg26-hero-ar .tg26-hero-subtitle {
    font-size: clamp(17px, 4.5vw, var(--tg26-description-ar-size, 18px));
    line-height: 1.6;
}

.tg26-hero-fr .tg26-hero-subtitle {
    font-size: clamp(15px, 4vw, var(--tg26-description-fr-size, 18px));
}

.tg26-consent {
    align-items: flex-start;
    color: rgba(255, 245, 233, 0.94);
    display: grid;
    gap: 8px;
    grid-template-columns: auto 1fr;
    margin-top: 2px;
    margin-left: auto;
    margin-right: auto;
    max-width: min(100%, 520px);
    text-align: center;
    width: 100%;
}

.tg26-consent__control {
    display: inline-flex;
    position: relative;
}

.tg26-consent__control input {
    height: 20px;
    inset: 0;
    margin: 0;
    opacity: 0;
    position: absolute;
    width: 20px;
}

.tg26-consent__box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 223, 184, 0.38);
    border-radius: 6px;
    display: inline-block;
    height: 20px;
    margin-top: 2px;
    width: 20px;
}

.tg26-consent__control input:checked + .tg26-consent__box {
    background: linear-gradient(180deg, #ffba54, #ef6d1b);
    border-color: transparent;
    box-shadow: 0 0 0 2px rgba(255, 208, 123, 0.18);
}

.tg26-consent__control input:checked + .tg26-consent__box::after {
    color: #fff;
    content: "✓";
    display: block;
    font-size: 14px;
    font-weight: 900;
    line-height: 20px;
    text-align: center;
}

.tg26-consent__copy {
    display: grid;
    gap: 4px;
    justify-items: center;
}

.tg26-consent__copy > span:first-child {
    font-size: clamp(13px, 3.4vw, var(--tg26-terms-text-size, 14px));
    line-height: 1.35;
}

.tg26-consent__copy > span:last-child {
    direction: rtl;
    font-family: "Tajawal", "Cairo", "Noto Kufi Arabic", "Noto Sans Arabic", system-ui, sans-serif;
    font-size: clamp(13px, 3.6vw, var(--tg26-terms-text-size, 14px));
    line-height: 1.5;
    text-align: center;
}

.tg26-consent__text a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.tg26-consent__error {
    color: #ffe3df;
    font-size: clamp(13px, 3.4vw, 15px);
    line-height: 1.35;
    margin: -2px 0 0;
    max-width: min(100%, 520px);
    text-align: center;
}

.tg26-button {
    align-items: center;
    border: 0;
    border-radius: 20px;
    cursor: pointer;
    display: inline-flex;
    font-size: clamp(16px, 4.5vw, var(--tg26-button-text-size, 18px));
    font-weight: 800;
    gap: 10px;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease, opacity 180ms ease;
    width: 100%;
}

.tg26-button--primary {
    background: linear-gradient(180deg, #ff5d3e 0%, #df1917 55%, #af090f 100%);
    box-shadow: 0 18px 28px rgba(103, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    color: #fff8f3;
}

.tg26-button.is-pressed {
    animation: tg26ButtonPress 220ms ease;
}

.tg26-button--primary:disabled {
    cursor: not-allowed;
    filter: saturate(0.55);
    opacity: 0.6;
}

.tg26-button--hero {
    margin-top: 6px;
    margin-left: auto;
    margin-right: auto;
    max-width: min(100%, 420px);
}

.tg26-form {
    display: block;
    margin: 0;
}

.tg26-section-heading {
    display: grid;
    gap: 4px;
    margin-top: clamp(14px, 3.2vw, 18px);
    margin-bottom: clamp(6px, 1.8vw, 10px);
}

.tg26-section-heading--selection {
    gap: 4px;
    margin-bottom: 10px;
}

.tg26-section-heading h2 {
    font-size: clamp(22px, 5.2vw, 28px);
    line-height: 0.94;
    margin: 0;
    text-transform: uppercase;
}

.tg26-section-heading p {
    color: rgba(255, 245, 233, 0.82);
    font-size: clamp(14px, 3.8vw, 17px);
    line-height: 1.35;
    margin: 0;
}

.tgc26-screen-title-ar {
    direction: rtl;
    font-family: "Tajawal", "Cairo", "Noto Kufi Arabic", "Noto Sans Arabic", system-ui, sans-serif;
    font-size: clamp(28px, 7vw, var(--tg26-title-ar-size, 48px));
    font-weight: 800;
    line-height: 1.3;
    margin: 0;
    text-align: center;
}

.tgc26-screen-title-fr {
    font-size: clamp(16px, 4vw, var(--tg26-title-fr-size, 42px));
    font-weight: 700;
    line-height: 1.15;
    margin: 0;
    text-align: center;
    text-transform: none;
    white-space: nowrap;
}

.tgc26-screen-subtitles {
    display: grid;
    gap: 2px;
    margin-top: 2px;
}

.tgc26-screen-subtitle-ar,
.tgc26-screen-subtitle-fr {
    color: rgba(255, 245, 233, 0.82);
    font-size: clamp(14px, 3.6vw, var(--tg26-description-ar-size, 18px));
    line-height: 1.3;
    margin: 0;
    text-align: center;
}

.tgc26-screen-subtitle-ar {
    direction: rtl;
}

.tgc26-screen-subtitle-fr {
    font-size: clamp(13px, 3.5vw, var(--tg26-description-fr-size, 18px));
}

.tg26-section-heading--compact {
    margin-bottom: 12px;
}

.tg26-section-heading--compact p:last-child {
    display: none;
}

.tg26-section-heading__step {
    color: var(--tg26-gold-300);
    margin: 0;
}

.tg26-size-grid {
    display: grid;
    gap: clamp(10px, 2.6vw, 14px);
    margin-bottom: clamp(16px, 4vw, 20px);
}

.tgc26-tv-grid {
    flex: 1 1 auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 12px;
    height: auto;
    max-height: none;
    min-height: 0;
    overflow: visible;
    overflow-x: hidden;
    overflow-y: visible;
    padding: 2px 0;
    margin: 0;
}

.tg26-size-card {
    align-items: center;
    background:
        linear-gradient(135deg, rgba(255, 151, 73, 0.12), rgba(255, 255, 255, 0.04)),
        rgba(65, 5, 10, 0.72);
    border: 1px solid rgba(255, 163, 100, 0.24);
    border-radius: 18px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    color: #fff5ec;
    cursor: pointer;
    display: grid;
    gap: 6px;
    grid-template-columns: 1fr auto;
    max-width: 100%;
    min-height: 0;
    min-height: 82px;
    padding: 14px 16px;
    text-align: center;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
    width: 100%;
}

.tg26-size-card__copy {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.tg26-size-card__copy strong {
    font-size: clamp(20px, 5vw, 28px);
    line-height: 1;
}

.tg26-size-card__copy span {
    color: rgba(255, 245, 233, 0.8);
    font-size: clamp(11px, 3vw, 13px);
}

.tg26-size-card__check {
    align-items: center;
    border: 2px solid rgba(255, 210, 140, 0.55);
    border-radius: 50%;
    color: transparent;
    display: inline-flex;
    height: 28px;
    justify-content: center;
    width: 28px;
    font-size: 12px;
    justify-self: end;
    transform: scale(0.92);
    transition: transform 220ms ease, background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.tg26-size-card.is-selected,
.tg26-size-card[aria-checked="true"] {
    background:
        linear-gradient(135deg, rgba(255, 80, 45, 0.38), rgba(110, 15, 12, 0.92)),
        rgba(113, 9, 12, 0.88);
    border-color: #ffbf4d;
    box-shadow: 0 0 18px rgba(255, 190, 80, 0.28), 0 16px 30px rgba(72, 0, 0, 0.34);
    transform: scale(1.015);
}

.tg26-size-card.is-animated {
    animation: tg26SelectionPulse 260ms ease;
}

.tg26-selection-helper {
    color: rgba(255, 241, 223, 0.64);
    font-size: 13px;
    line-height: 1.3;
    margin: 10px auto 0;
    max-width: 100%;
    text-align: center;
}

.tg26-size-card.is-selected .tg26-size-card__screen::after,
.tg26-size-card[aria-checked="true"] .tg26-size-card__screen::after {
    animation: tg26Shine 1200ms ease;
}

.tg26-size-card.is-selected .tg26-size-card__check,
.tg26-size-card[aria-checked="true"] .tg26-size-card__check {
    background: linear-gradient(180deg, #ffb34d, #ff7a18);
    border-color: #ffd88a;
    color: #fff;
    box-shadow: 0 0 12px rgba(255, 178, 60, 0.45);
    transform: scale(1);
}

.tg26-form__fields {
    display: grid;
    gap: clamp(10px, 2.4vw, 12px);
    margin-bottom: clamp(14px, 3.6vw, 18px);
}

.tg26-form__fields label + label {
    margin-top: clamp(2px, 0.8vw, 4px);
}

.tg26-form__fields label {
    display: grid;
    gap: 6px;
}

.tg26-form__fields label span {
    color: rgba(255, 246, 234, 0.88);
    font-size: clamp(14px, 3.8vw, 16px);
    font-weight: 700;
}

.tg26-form__fields input {
    appearance: none;
    background: rgba(255, 246, 237, 0.08);
    border: 1px solid rgba(255, 223, 184, 0.2);
    border-radius: 18px;
    color: #fff;
    font-size: clamp(15px, 4vw, 17px);
    min-height: 54px;
    outline: none;
    padding: 14px 16px;
    transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
    width: 100%;
}

.tg26-form__fields input::placeholder {
    color: rgba(255, 236, 220, 0.5);
}

.tg26-form__fields input.is-invalid {
    border-color: rgba(255, 126, 126, 0.7);
    box-shadow: 0 0 0 2px rgba(255, 126, 126, 0.14);
}

.tg26-form__error {
    color: #ffe3df;
    display: block;
    font-size: clamp(13px, 3.4vw, 15px);
    line-height: 1.35;
    margin: 2px 0 0;
    text-align: left;
}

.tg26-form__error[hidden] {
    display: none !important;
}

.tg26-form__fields input:focus,
.tg26-progress__back:focus,
.tg26-progress__dot:focus,
.tg26-button:focus,
.tg26-size-card:focus,
.tg26-result__code button:focus,
.tg26-result__link:focus {
    box-shadow: 0 0 0 3px rgba(255, 205, 108, 0.28);
    outline: none;
}

.tg26-feedback {
    align-items: flex-start;
    backdrop-filter: blur(8px);
    background: rgba(255, 245, 232, 0.08);
    border: 1px solid rgba(255, 236, 208, 0.14);
    border-radius: 18px;
    color: rgba(255, 247, 236, 0.92);
    display: flex;
    gap: 12px;
    line-height: 1.55;
    max-width: 100%;
    padding: 14px 16px;
}

.tg26-feedback {
    margin: 0;
}

.tg26-scratch {
    background:
        linear-gradient(180deg, rgba(255, 228, 166, 0.24), rgba(102, 10, 10, 0.22)),
        linear-gradient(160deg, #743307, #e4ad28 34%, #ffdf88 52%, #c88b12 72%, #7f3207 100%);
    border: 1px solid rgba(255, 230, 170, 0.62);
    border-radius: 24px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -10px 30px rgba(87, 30, 0, 0.18),
        0 18px 40px rgba(36, 0, 0, 0.26);
    isolation: isolate;
    flex: 1;
    margin-top: auto;
    max-width: 100%;
    min-height: min(33svh, 244px);
    overflow: hidden;
    position: relative;
}

.tg26-scratch::before,
.tg26-scratch::after {
    content: "";
    inset: 12px;
    pointer-events: none;
    position: absolute;
}

.tg26-scratch::before {
    border: 2px solid rgba(255, 239, 194, 0.52);
    border-radius: 22px;
}

.tg26-scratch::after {
    background:
        radial-gradient(circle at 50% 22%, rgba(255, 255, 255, 0.2), transparent 30%),
        radial-gradient(circle at 30% 72%, rgba(166, 66, 0, 0.18), transparent 24%),
        radial-gradient(circle at 70% 70%, rgba(166, 66, 0, 0.18), transparent 24%);
    border-radius: 22px;
}

.tg26-scratch__content {
    align-items: center;
    color: #601206;
    display: flex;
    flex-direction: column;
    inset: 0;
    justify-content: center;
    padding: clamp(16px, 4vw, 22px);
    pointer-events: none;
    position: absolute;
    text-align: center;
    z-index: 1;
}

.tg26-scratch__badge {
    background: linear-gradient(180deg, #c91918, #8b060e);
    border-radius: 999px;
    color: #fff7ef;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
    padding: 6px 12px;
}

.tg26-scratch__content strong {
    font-size: clamp(24px, 7vw, 34px);
    line-height: 0.98;
    margin: 0;
    text-transform: uppercase;
}

.tg26-scratch__content > span:last-child {
    font-size: clamp(15px, 4vw, 17px);
    line-height: 1.45;
    margin-top: 6px;
}

.tg26-scratch__reward {
    color: #8d0b10;
    font-size: clamp(42px, 16vw, var(--tg26-reward-amount-size, 72px));
    line-height: 0.92;
    text-shadow: 0 8px 24px rgba(255, 255, 255, 0.26);
}

.tg26-scratch__code {
    background: rgba(255, 248, 237, 0.92);
    border: 1px dashed rgba(141, 11, 16, 0.42);
    border-radius: 16px;
    color: #66120c;
    display: inline-block;
    font-size: clamp(16px, 4.2vw, 18px);
    font-weight: 800;
    margin-top: 14px;
    max-width: min(100%, 280px);
    overflow-wrap: anywhere;
    padding: 12px 14px;
}

.tg26-scratch__hint {
    color: rgba(96, 18, 6, 0.86);
    display: block;
    font-size: 0.96rem;
    margin-top: 16px;
}

.tg26-scratch canvas {
    cursor: crosshair;
    display: block;
    height: auto;
    position: relative;
    touch-action: none;
    user-select: none;
    width: 100%;
    z-index: 2;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
}

.tg26-scratch.is-scratching,
.tg26-scratch.is-scratching canvas {
    cursor: grabbing;
}

.tg26-scratch[data-state="loading"] canvas {
    cursor: progress;
}

.tg26-scratch[data-state="revealed"] canvas.is-cleared {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.24s ease;
}

.tg26-scratch[data-state="idle"] .tg26-scratch__reward,
.tg26-scratch[data-state="idle"] .tg26-scratch__code,
.tg26-scratch[data-state="idle"] .tg26-scratch__hint {
    display: none;
}

.tg26-result-shell {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.tg26-result {
    background:
        radial-gradient(circle at top, rgba(255, 232, 172, 0.18), transparent 24%),
        linear-gradient(180deg, rgba(83, 4, 8, 0.96), rgba(44, 2, 5, 0.98));
    border: 1px solid rgba(255, 217, 119, 0.34);
    border-radius: 30px;
    box-shadow: var(--tg26-shadow);
    color: #fff8f0;
    direction: ltr;
    overflow: hidden;
    padding: 24px 18px 20px;
    position: relative;
    text-align: center;
    width: 100%;
}

.tg26-result::before {
    background:
        linear-gradient(90deg, rgba(255, 221, 140, 0.9), rgba(255, 221, 140, 0.2) 42%, transparent 42%, transparent 58%, rgba(255, 221, 140, 0.2) 58%, rgba(255, 221, 140, 0.9));
    content: "";
    height: 3px;
    left: 24px;
    position: absolute;
    right: 24px;
    top: 0;
}

.tg26-result__eyebrow {
    color: var(--tg26-gold-300);
    display: flex;
    flex-wrap: wrap;
    font-size: clamp(15px, 4vw, 18px);
    font-weight: 800;
    gap: 4px;
    justify-content: center;
    letter-spacing: 0.04em;
    margin: 0 0 14px;
    text-align: center;
}

.tg26-result__reward {
    color: #ffd774;
    font-size: clamp(54px, 14vw, var(--tg26-reward-amount-size, 72px));
    font-weight: 900;
    line-height: 1;
    margin: 0 0 14px;
    overflow-wrap: anywhere;
    text-align: center;
    text-shadow: 0 0 18px rgba(255, 190, 80, 0.25);
}

.tg26-result__reward,
.tg26-result__description,
.tg26-result__code,
.tg26-result__note,
.tg26-result__link {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px) scale(0.98);
    transition: opacity 220ms ease, transform 220ms ease;
}

.tg26-result[data-reveal-stage="amount"] .tg26-result__reward,
.tg26-result[data-reveal-stage="amount"] .tg26-result__description,
.tg26-result[data-reveal-stage="code"] .tg26-result__reward,
.tg26-result[data-reveal-stage="code"] .tg26-result__description,
.tg26-result[data-reveal-stage="code"] .tg26-result__code,
.tg26-result[data-reveal-stage="actions"] .tg26-result__reward,
.tg26-result[data-reveal-stage="actions"] .tg26-result__description,
.tg26-result[data-reveal-stage="actions"] .tg26-result__code,
.tg26-result[data-reveal-stage="actions"] .tg26-result__note,
.tg26-result[data-reveal-stage="actions"] .tg26-result__link {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
}

.tg26-result[data-reveal-stage="amount"] .tg26-result__reward {
    animation: tg26RewardPop 320ms ease;
}

.tg26-result__description,
.tg26-result__note {
    color: rgba(255, 245, 233, 0.88);
    font-size: clamp(15px, 4vw, 17px);
    line-height: 1.65;
    margin: 0 0 18px;
    overflow-wrap: anywhere;
    text-align: center;
}

.tg26-result__code-label {
    color: rgba(255, 230, 176, 0.88);
    font-size: clamp(13px, 3.6vw, 15px);
    font-weight: 800;
    letter-spacing: 0.16em;
    margin: 0 0 10px;
    text-align: center;
    text-transform: uppercase;
}

.tg26-result__code {
    align-items: stretch;
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
    margin: 18px 0;
    justify-items: center;
}

.tg26-result__code code {
    align-items: center;
    background: rgba(15, 4, 5, 0.52);
    border: 1px dashed rgba(255, 210, 106, 0.68);
    border-radius: 18px;
    color: #fff7ec;
    display: flex;
    font-size: clamp(19px, 5vw, var(--tg26-promo-code-size, 32px));
    font-weight: 800;
    justify-content: center;
    min-height: 58px;
    min-width: 0;
    overflow-wrap: anywhere;
    padding: 14px 16px;
    text-align: center;
    width: 100%;
}

.tg26-result__code button,
.tg26-result__link {
    align-items: center;
    background: linear-gradient(180deg, #ff5d3e 0%, #d81917 100%);
    border: 0;
    border-radius: 20px;
    color: #fffaf4;
    display: inline-flex;
    font-size: clamp(16px, 4.5vw, var(--tg26-button-text-size, 18px));
    font-weight: 800;
    justify-content: center;
    min-height: 54px;
    padding: 0 24px;
    text-align: center;
    text-decoration: none;
    width: 100%;
}

.tg26-result__link {
    border: 0;
    display: flex;
    justify-self: center;
    align-self: center;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.tg26-result__code button {
    max-width: 360px;
}

.tg26-result__link {
    max-width: 360px;
}

.tg26-feedback {
    min-height: 58px;
}

.tg26-feedback[hidden] {
    display: none !important;
}

.tg26-feedback[data-state="busy"] {
    border-color: rgba(255, 214, 120, 0.4);
    color: #fff4d0;
}

.tg26-feedback[data-state="error"] {
    background: rgba(210, 23, 23, 0.14);
    border-color: rgba(255, 126, 126, 0.3);
    color: #fff2f2;
}

.tg26-feedback[data-state="success"] {
    border-color: rgba(255, 224, 154, 0.3);
    color: #fff8e7;
}

.tg26-confetti {
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    position: absolute;
}

.tg26-confetti-piece {
    animation: tg26Confetti 2.4s linear forwards;
    border-radius: 999px;
    height: 14px;
    opacity: 0;
    position: absolute;
    top: -10%;
    width: 8px;
}

.tg26-firework {
    animation: tg26FireworkBurst 1.7s ease-out forwards;
    height: 14px;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    transform: translate(-50%, -50%);
    width: 14px;
}

.tg26-firework__ray {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), var(--tg26-ray-color, #ffd468));
    border-radius: 999px;
    height: 52px;
    left: 50%;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -100%) rotate(var(--tg26-ray-rotate, 0deg));
    transform-origin: center bottom;
    width: 4px;
}

.tg26-firework__ray::after {
    background: var(--tg26-ray-color, #ffd468);
    border-radius: 50%;
    content: "";
    height: 8px;
    left: 50%;
    position: absolute;
    top: -5px;
    transform: translateX(-50%);
    width: 8px;
}

.tg26-firework .tg26-firework__ray:nth-child(1) { animation: tg26FireworkRay 1.2s ease-out 0.02s forwards; }
.tg26-firework .tg26-firework__ray:nth-child(2) { animation: tg26FireworkRay 1.2s ease-out 0.05s forwards; }
.tg26-firework .tg26-firework__ray:nth-child(3) { animation: tg26FireworkRay 1.2s ease-out 0.08s forwards; }
.tg26-firework .tg26-firework__ray:nth-child(4) { animation: tg26FireworkRay 1.2s ease-out 0.11s forwards; }
.tg26-firework .tg26-firework__ray:nth-child(5) { animation: tg26FireworkRay 1.2s ease-out 0.14s forwards; }
.tg26-firework .tg26-firework__ray:nth-child(6) { animation: tg26FireworkRay 1.2s ease-out 0.17s forwards; }
.tg26-firework .tg26-firework__ray:nth-child(7) { animation: tg26FireworkRay 1.2s ease-out 0.2s forwards; }
.tg26-firework .tg26-firework__ray:nth-child(8) { animation: tg26FireworkRay 1.2s ease-out 0.23s forwards; }
.tg26-firework .tg26-firework__ray:nth-child(9) { animation: tg26FireworkRay 1.2s ease-out 0.26s forwards; }
.tg26-firework .tg26-firework__ray:nth-child(10) { animation: tg26FireworkRay 1.2s ease-out 0.29s forwards; }

.tg26-hp {
    left: -9999px;
    position: absolute;
}

.tg26-game [dir="rtl"] {
    text-align: right;
}

.tg26-button:hover,
.tg26-button:active,
.tg26-progress__back:hover,
.tg26-size-card:hover,
.tg26-result__code button:hover,
.tg26-result__link:hover {
    transform: translateY(-1px);
}

@keyframes tg26FadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes tg26ButtonPress {
    0% { transform: scale(1); }
    50% { transform: scale(0.97); }
    100% { transform: scale(1); }
}

@keyframes tg26SelectionPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

@keyframes tg26ProgressGlow {
    0% { transform: scale(1.08); box-shadow: 0 0 0 rgba(255, 192, 74, 0); }
    50% { transform: scale(1.2); box-shadow: 0 0 18px rgba(255, 192, 74, 0.6); }
    100% { transform: scale(1.08); box-shadow: 0 0 0 rgba(255, 192, 74, 0); }
}

@keyframes tg26RewardPop {
    0% { transform: scale(0.8); }
    60% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes tg26Shine {
    from {
        transform: skewX(-24deg) translateX(-115%);
    }

    to {
        transform: skewX(-24deg) translateX(135%);
    }
}

@keyframes tg26Confetti {
    0% {
        opacity: 0;
        transform: translate3d(0, 0, 0) rotate(0deg) scale(0.7);
    }

    15% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate3d(var(--tg26-drift, 0), 115vh, 0) rotate(520deg) scale(1);
    }
}

@keyframes tg26FireworkBurst {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.35);
    }

    18% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.08);
    }
}

@keyframes tg26FireworkRay {
    0% {
        opacity: 0;
        transform: translate(-50%, -36%) rotate(var(--tg26-ray-rotate, 0deg)) scaleY(0.25);
    }

    24% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -118%) rotate(var(--tg26-ray-rotate, 0deg)) scaleY(1);
    }
}

@media (min-width: 768px) {
    .tgc26-app {
        align-items: center;
        padding: 28px;
    }

    .tgc26-app-shell {
        max-width: 600px;
        width: min(100%, 600px);
    }

    .tg26-game {
        border-radius: 34px;
        box-shadow: var(--tg26-shadow);
        height: auto;
        min-height: auto;
        max-width: 600px;
        width: 100%;
    }

    .tg26-game__inner {
        height: auto;
        min-height: 100svh;
        padding: 24px;
    }

    .tgc26-header-logo,
    .tgc26-header img {
        width: min(calc(56vw * var(--tg26-logo-scale-factor)), 650px) !important;
    }

    .tg26-screen--hero {
        min-height: 720px;
    }

    .tg26-result__code {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .tg26-result__link {
        width: auto;
    }
}

@media (max-width: 767px) {
    .tg26-scratch {
        min-height: min(34svh, 250px);
    }
}

@media (max-width: 560px) {
    .tg26-game {
        --tgc26-screen-padding: 14px;
    }

    .tgc26-app-shell {
        width: 100%;
    }

    .tg26-game {
        min-height: 100svh;
    }

    .tg26-game__inner {
        padding: max(8px, env(safe-area-inset-top)) 12px max(10px, env(safe-area-inset-bottom)) 12px;
    }

    .tg26-topbar,
    .tgc26-header {
        padding: max(4px, env(safe-area-inset-top)) 0 2px;
    }

    .tgc26-header-logo,
    .tgc26-header img {
        width: min(calc(76vw * var(--tg26-logo-scale-factor)), 100%) !important;
    }

    .tg26-screen--hero {
        min-height: 0;
    }

    .tg26-hero-copy {
        width: min(100%, 92%);
    }

    .tg26-consent {
        gap: 6px;
        max-width: min(100%, 360px);
    }

    .tg26-button--hero {
        max-width: min(100%, 360px);
    }

    .tg26-size-card {
        min-height: 78px;
        padding: 14px;
    }

    .tgc26-tv-grid {
        gap: 12px;
        max-height: none !important;
        height: auto !important;
        overflow: visible !important;
    }

    .tg26-section-heading--selection {
        margin-bottom: 8px;
    }

    .tg26-section-heading--selection h2 {
        font-size: clamp(21px, 5vw, 26px);
    }

    .tg26-section-heading--selection p {
        font-size: clamp(14px, 3.7vw, 16px);
    }

    .tgc26-screen-title-ar {
        font-size: clamp(26px, 6.6vw, 36px);
    }

    .tgc26-screen-title-fr {
        font-size: clamp(15px, 3.8vw, 19px);
    }

    .tgc26-screen-subtitle-ar,
    .tgc26-screen-subtitle-fr {
        font-size: clamp(13px, 3.5vw, 15px);
    }

    .tg26-size-grid {
        margin-bottom: clamp(16px, 4.2vw, 20px);
    }

    .tg26-form__fields {
        margin-bottom: clamp(16px, 4.2vw, 20px);
    }

    .tg26-scratch {
        border-radius: 20px;
        min-height: min(29svh, 210px);
    }

    .tg26-scratch__content {
        padding: 18px 14px;
    }

    .tg26-scratch__content strong {
        font-size: clamp(1.55rem, 8.6vw, 2.1rem);
    }

    .tg26-result {
        border-radius: 24px;
        padding: 22px 18px 20px;
    }
}

@media (min-width: 600px) {
    .tg26-game {
        --tgc26-screen-padding: 24px;
    }

    .tgc26-tv-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
