/*
 * TERA OPTIONS — offers and fees (/offers). Builds on css/home.css (body.home: colours, type, header, footer,
 * buttons, sections, tables); everything here is scoped to body.of. Logical properties, so the Arabic page mirrors.
 */
.of .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.of bdi { unicode-bidi: isolate; direction: ltr; }
html[dir="rtl"] .of [data-o] { unicode-bidi: isolate; direction: ltr; }

/* on-this-page links under the title */
/* a seasonal promotion, above the hero */
.of-promo { background: #0f2a1f; color: #fff; font-size: 15px; line-height: 1.5; }
.of-promo .hm-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding-block: 12px; }
.of-promo b { color: #ffd36b; }
.of-promo span { color: #e3efe8; }
.of .of-promo a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.of-jump { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 24px; font-size: 15px; }
.of .of-jump a { color: var(--brand); text-decoration: none; font-weight: 500; }
@media (hover: hover) { .of .of-jump a:hover { text-decoration: underline; } }
.of-first { padding-top: 72px; }

/* status tags */
.of-tag { display: inline-block; padding: 3px 10px; border-radius: 4px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.of-tag.ok { color: #0b6b52; background: #e3f6ef; }
.of-tag.soon { color: #8a5a00; background: #fff4dc; }

/* offers table */
.of-offers th[scope="row"] { width: 24%; color: var(--ink); font-weight: 600; vertical-align: top; }
.of-offers td { vertical-align: top; }
.of-offers td:last-child { width: 1%; }
.of-offers tbody th, .of-offers tbody td { padding-block: 18px; }
.of-offers td p { color: var(--text); }
.of .of-offers td a { display: inline-block; margin-top: 6px; font-size: 14px; font-weight: 500; text-decoration: none; }
@media (hover: hover) { .of .of-offers td a:hover { text-decoration: underline; } }

/* fees */
.of-fees-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: start; }
.of-fees th[scope="row"] { color: var(--ink); font-weight: 500; }
.of-fees td { white-space: nowrap; color: var(--ink); font-weight: 600; }
.of-fees td small { display: block; font-weight: 400; color: var(--faint); font-size: 13px; }
.of-example { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.of-example h3 { font-size: 16px; margin-bottom: 14px; }
.of-ex { border: 1px solid var(--line); border-radius: 8px; border-collapse: separate; border-spacing: 0; overflow: hidden; font-size: 14px; }
.of-ex th, .of-ex td { padding: 10px 14px; }
.of-ex tbody th { font-weight: 500; color: var(--text); }
.of-ex-total > * { font-weight: 600; color: var(--ink) !important; background: var(--soft); }
.of-ex .of-word { font-family: inherit; font-weight: 600; } /* a word, not a figure: no monospace */
.of-ex-note { margin-top: 12px !important; font-size: 13px; color: var(--muted); }

/* welcome bonus */
.of-notice { margin-bottom: 32px !important; padding: 14px 18px; border-inline-start: 3px solid #d39a1c; background: #fffaf0; color: var(--text); border-radius: 0 6px 6px 0; }
html[dir="rtl"] .of-notice { border-radius: 6px 0 0 6px; }
.of-notice b { color: var(--ink); }
.of-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.of-bal { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.of-bal-cap { font-size: 15px; color: var(--muted); }
.of-bal-cap b { color: var(--ink); }
.of-bal-bar { display: flex; height: 12px; margin: 16px 0 20px; border-radius: 3px; overflow: hidden; gap: 2px; }
.of-bal-bar .c { background: var(--brand); }
.of-bal-bar .b { background: #d39a1c; }
.of-bal-legend { margin: 0; display: grid; gap: 18px; }
.of-bal-legend > div { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; }
.of-bal-legend dt { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; }
.of-bal-legend dd { margin: 0; font-family: var(--mono); color: var(--ink); direction: ltr; }
.of-bal-legend p { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }
.sw { width: 10px; height: 10px; border-radius: 2px; flex: none; }
.sw.c { background: var(--brand); }
.sw.b { background: #d39a1c; }
.of-bal-note { margin-top: 18px !important; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.of-steps li:first-child { padding-top: 0; border-top: 0; }
.of-steps li:first-child::before { top: 2px; }

/* calculator */
.of-calc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.of-calc-in { padding: 28px; border-inline-end: 1px solid var(--line); }
.of-calc-out { padding: 28px; }
.of-calc-out h3 { font-size: 16px; margin-bottom: 8px; }
.of-label { display: block; font-size: 14px; font-weight: 500; color: var(--muted); margin-bottom: 8px; }
.of-amount { display: flex; align-items: center; height: 56px; border: 1px solid var(--line-2); border-radius: 6px; padding: 0 16px; direction: ltr; }
.of-amount:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(36, 83, 217, 0.15); }
.of-amount span { font-size: 22px; color: var(--muted); margin-inline-end: 6px; }
.of-amount input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent; color: var(--ink); font-family: var(--mono); font-size: 24px; -moz-appearance: textfield; }
.of-amount input::-webkit-inner-spin-button, .of-amount input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.of-range { width: 100%; margin: 18px 0 6px; accent-color: var(--brand); direction: ltr; }
.of-check { display: flex; align-items: flex-start; gap: 12px; margin-top: 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; }
.of-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); flex: none; }
.of-check b { display: block; color: var(--ink); font-weight: 600; }
.of-check small { display: block; color: var(--muted); font-size: 13px; }
.of-results { margin: 22px 0 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.of-results > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.of-results > div:nth-child(even) { padding-inline-start: 16px; border-inline-start: 1px solid var(--line); }
.of-results dt { font-size: 13px; color: var(--muted); }
.of-results dd { margin: 4px 0 0; font-size: 20px; font-weight: 600; color: var(--ink); }
.of-results small { display: block; margin-top: 2px; font-size: 12.5px; color: var(--faint); }
.of-results .of-warn { color: #8a5a00; }
.of-cases { border-top: 1px solid var(--line-2); }
.of-case { border-bottom: 1px solid var(--line-2); }
.of-case summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 0; color: var(--ink); font-weight: 500; }
.of-case summary::-webkit-details-marker { display: none; }
.of-case summary::after { content: ''; flex: none; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-3px); transition: transform .2s; }
.of-case[open] summary::after { transform: rotate(-135deg) translateY(-3px); }
.of-case p { padding-bottom: 16px; color: var(--text); font-size: 15px; }
.of-case b { color: var(--ink); }
.of-empty { padding: 16px 0; color: var(--muted); }
.of-calc-note { margin-top: 14px !important; font-size: 13px; color: var(--muted); max-width: 60em; }

/* ---------- smaller screens ---------- */
@media (max-width: 1023px) {
  .of-fees-grid, .of-split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .of-calc { grid-template-columns: minmax(0, 1fr); }
  .of-calc-in { border-inline-end: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .of-first { padding-top: 48px; }
  .of-jump { gap: 6px 16px; font-size: 14px; }
  /* offers: one block per offer */
  .of-offers thead { display: none; }
  .of-offers tr { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; padding: 16px; border-bottom: 1px solid var(--line); }
  .of-offers tbody tr:last-child { border-bottom: 0; }
  .of-offers th[scope="row"], .of-offers td { display: block; width: auto !important; padding: 0 !important; border: 0; }
  .of-offers td:nth-child(2) { grid-column: 1 / -1; grid-row: 2; font-size: 15px; }
  .of-offers td:last-child { grid-column: 2; grid-row: 1; }
  .of-fees td { white-space: normal; }
  .of-example, .of-bal { padding: 18px; }
  .of-calc-in, .of-calc-out { padding: 20px 16px; }
  .of-results dd { font-size: 18px; }
}

/* =====================================================================================
   The game layer: reward cards, quest map and the gift box (dark "arena" sections)
   ===================================================================================== */
.gm-hero, .gm-quests, .gm-gift { position: relative; background: var(--gm-bg); color: var(--gm-text); overflow: hidden; }
.gm-hero h1, .gm-quests h2, .gm-gift h2, .gm-hero h3, .gm-quests h3 { color: #fff; }
/* ---------- hero ---------- */
.gm-hero { padding: 56px 0 72px; }
.gm-hero::before { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 70% at 78% 40%, rgba(91, 143, 255, 0.22), transparent 70%), radial-gradient(40% 50% at 95% 90%, rgba(176, 124, 255, 0.18), transparent 70%); }
.gm-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: center; }
.gm-crumbs { margin-bottom: 26px; }
.of .gm-crumbs, .of .gm-crumbs a { color: var(--gm-dim); }
.of .gm-crumbs [aria-current] { color: #fff; }
.gm-hero h1 { font-family: var(--gm-font); font-size: clamp(38px, 4.6vw, 60px); line-height: 1.05; font-weight: 700; letter-spacing: -0.01em; text-transform: uppercase; }
html[lang="ar"] .gm-hero h1 { text-transform: none; line-height: 1.3; }
.gm-player { margin-top: 28px; padding: 18px 20px; border: 1px solid var(--gm-line); border-radius: 12px; background: rgba(12, 23, 48, 0.75); backdrop-filter: blur(4px); max-width: 460px; }
.gm-player p { color: var(--gm-text); }
.gm-player-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
.gm-lvl { display: flex; align-items: center; gap: 14px; }
.gm-lvl-badge { flex: none; width: 54px; height: 54px; display: grid; place-items: center; font-family: var(--gm-font); font-weight: 700; font-size: 22px; color: #2a1a00;
  background: linear-gradient(180deg, #ffd56a, #f0a91c); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.gm-lvl b { display: block; color: #fff; font-family: var(--gm-font); font-size: 17px; letter-spacing: 0.02em; }
.gm-lvl small { color: var(--gm-dim); font-size: 13px; }
.gm-xp { position: relative; height: 12px; margin-top: 14px; border-radius: 6px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.gm-xp i { position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--p, 0%); border-radius: 6px; background: linear-gradient(90deg, #5b8fff, #5fe0cc); box-shadow: 0 0 12px rgba(95, 224, 204, 0.6); transition: width 1.2s cubic-bezier(.2, .8, .2, 1); }
.gm-xp i::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent); background-size: 50% 100%; background-repeat: no-repeat; animation: gmShine 2.4s linear infinite; }
@keyframes gmShine { from { background-position: -60% 0; } to { background-position: 160% 0; } }

/* ---------- quest map ---------- */
.gm-quests { padding: 88px 0 96px; border-top: 1px solid var(--gm-line); background: radial-gradient(70% 50% at 50% 0%, rgba(91, 143, 255, 0.12), transparent 70%), var(--gm-bg); }
.gm-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.gm-head h2 { font-family: var(--gm-font); font-size: clamp(30px, 3.4vw, 42px); text-transform: uppercase; letter-spacing: 0.02em; }
html[lang="ar"] .gm-head h2 { text-transform: none; letter-spacing: 0; }
.gm-head p { margin-top: 10px !important; color: var(--gm-dim); font-size: 17px; }
.gm-path { --fill: 0%; position: relative; list-style: none; margin: 0 auto; padding: 0; max-width: 980px; display: grid; gap: 22px; }
/* the trail down the middle, lit up to the quest you're on */
.gm-path::before, .gm-path::after { content: ''; position: absolute; inset-inline-start: 50%; top: 20px; bottom: 20px; width: 4px; margin-inline-start: -2px; border-radius: 2px; }
.gm-path::before { background: repeating-linear-gradient(to bottom, rgba(140, 170, 230, 0.3) 0 8px, transparent 8px 16px); }
.gm-path::after { bottom: auto; height: var(--fill); background: linear-gradient(180deg, #5fe0cc, #5b8fff); box-shadow: 0 0 14px rgba(95, 224, 204, 0.7); transition: height 1.4s cubic-bezier(.2, .8, .2, 1); }
.gm-q { position: relative; display: grid; grid-template-columns: 1fr 64px 1fr; align-items: center; }
.gm-q-node { grid-column: 2; justify-self: center; z-index: 1; width: 52px; height: 52px; display: grid; place-items: center; font-family: var(--gm-font); font-weight: 700; font-size: 20px;
  color: var(--gm-dim); background: var(--gm-panel); border: 2px solid rgba(140, 170, 230, 0.35); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.gm-q-node svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.gm-q-card { grid-row: 1; padding: 18px 20px; border-radius: 12px; background: var(--gm-panel); border: 1px solid var(--gm-line); }
.gm-q:nth-child(odd) .gm-q-card { grid-column: 1; }
.gm-q:nth-child(even) .gm-q-card { grid-column: 3; }
.gm-q-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gm-q-k { font-family: var(--gm-font); font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gm-dim); }
html[lang="ar"] .gm-q-k { letter-spacing: 0; font-size: 13px; }
.gm-q-st { font-size: 12px; font-weight: 700; padding: 2px 8px; border-radius: 4px; color: var(--gm-dim); background: rgba(255, 255, 255, 0.06); white-space: nowrap; }
.gm-q h3 { margin-top: 6px; font-family: var(--gm-font); font-size: 19px; font-weight: 700; }
.gm-q p { margin-top: 6px !important; font-size: 15px; color: var(--gm-text); }
.gm-q-reward { --c: var(--gm-dim); display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 6px 12px 6px 8px; border-radius: 6px; font-size: 14px; font-weight: 600; color: #fff;
  background: color-mix(in srgb, var(--c) 16%, transparent); border: 1px solid color-mix(in srgb, var(--c) 50%, transparent); }
.gm-q-reward::before { content: ''; width: 10px; height: 10px; transform: rotate(45deg); background: var(--c); box-shadow: 0 0 8px var(--c); }
.gm-q-reward.r-common { --c: var(--r-common); } .gm-q-reward.r-rare { --c: var(--r-rare); } .gm-q-reward.r-epic { --c: var(--r-epic); } .gm-q-reward.r-legend { --c: var(--r-legend); }
.gm-q-note { color: #ffd56a; font-weight: 500; }
.gm-q-bar { height: 8px; margin-top: 12px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.gm-q-bar i { display: block; height: 100%; width: var(--p); background: linear-gradient(90deg, #5b8fff, #5fe0cc); border-radius: 4px; }
.gm-q-bar + small { display: block; margin-top: 6px; font-size: 13px; color: var(--gm-dim); }
.gm-q-go { display: inline-block; margin-top: 12px; margin-inline-start: 4px; font-family: var(--gm-font); font-weight: 700; font-size: 14px; letter-spacing: 0.04em; color: #ffd56a !important; text-decoration: none !important; }
@media (hover: hover) { .gm-q-go:hover { text-decoration: underline !important; } }
/* states */
.gm-q.is-done .gm-q-node { color: #04291f; background: linear-gradient(180deg, #8af5e3, #2fbfa8); border-color: transparent; }
.gm-q.is-done .gm-q-st { color: #04291f; background: var(--r-common); }
.gm-q.is-done .gm-q-card { border-color: rgba(95, 224, 204, 0.35); }
.gm-q.is-now .gm-q-node { color: #2a1a00; background: linear-gradient(180deg, #ffd56a, #f0a91c); border-color: transparent; animation: gmPulse 1.8s ease-in-out infinite; }
.gm-q.is-now .gm-q-st { color: #2a1a00; background: var(--r-legend); }
.gm-q.is-now .gm-q-card { border-color: rgba(246, 185, 59, 0.6); box-shadow: 0 0 0 1px rgba(246, 185, 59, 0.25), 0 0 34px -8px rgba(246, 185, 59, 0.5); }
.gm-q.is-locked .gm-q-card { border-style: dashed; }
.gm-q.is-locked .gm-q-node { color: var(--r-legend); }
@keyframes gmPulse { 50% { filter: drop-shadow(0 0 12px rgba(246, 185, 59, 0.9)); transform: scale(1.08); } }
/* each quest slides in from its side */
.gm-q.pre .gm-q-card { opacity: 0; transform: translateX(-30px); }
.gm-q.pre:nth-child(even) .gm-q-card { transform: translateX(30px); }
html[dir="rtl"] .gm-q.pre .gm-q-card { transform: translateX(30px); }
html[dir="rtl"] .gm-q.pre:nth-child(even) .gm-q-card { transform: translateX(-30px); }
.gm-q .gm-q-card { transition: opacity .6s, transform .6s cubic-bezier(.2, .8, .2, 1); }

/* ---------- the gift box ---------- */
.gm-gift { padding: 88px 0; border-top: 1px solid var(--gm-line); background: radial-gradient(50% 70% at 75% 50%, rgba(176, 124, 255, 0.28), transparent 70%), var(--gm-bg); }
.gm-gift-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 48px; align-items: center; }
.gm-gift h2 { font-family: var(--gm-font); font-size: clamp(30px, 3.4vw, 44px); line-height: 1.1; text-transform: uppercase; }
html[lang="ar"] .gm-gift h2 { text-transform: none; line-height: 1.35; }
.gm-gift-copy > p { margin-top: 14px !important; font-size: 17px; }
.gm-gift-reveal { margin-top: 22px; padding: 20px 22px; border-radius: 12px; border: 1px solid rgba(176, 124, 255, 0.45); background: rgba(176, 124, 255, 0.1); animation: gmPop .5s cubic-bezier(.2, 1.4, .4, 1) both; }
.gm-gift-big { font-family: var(--gm-font); font-weight: 700; font-size: 22px; color: #fff; line-height: 1.25; }
.gm-gift-reveal p + p { margin-top: 8px !important; }
@keyframes gmPop { from { opacity: 0; transform: scale(.9) translateY(10px); } }
.gm-box { position: relative; justify-self: center; width: 260px; height: 260px; border: 0; background: none; cursor: pointer; padding: 0; -webkit-tap-highlight-color: transparent; }
.gm-box:focus-visible { outline: 2px solid #d3b2ff; outline-offset: 8px; border-radius: 12px; }
.gm-box-base { position: absolute; left: 30px; right: 30px; bottom: 30px; height: 130px; border-radius: 10px; background: linear-gradient(160deg, #c08cff, #6d3ad6 70%); box-shadow: inset 0 -12px 0 rgba(0, 0, 0, 0.18), 0 30px 40px -18px rgba(0, 0, 0, 0.8); }
.gm-box-lid { position: absolute; left: 18px; right: 18px; top: 72px; height: 48px; border-radius: 10px; background: linear-gradient(180deg, #d9b8ff, #9d64f5); box-shadow: inset 0 -8px 0 rgba(0, 0, 0, 0.15); z-index: 2; transition: transform .7s cubic-bezier(.3, 1.6, .5, 1); }
.gm-box-base i, .gm-box-lid i { position: absolute; top: 0; bottom: 0; left: 50%; width: 30px; margin-left: -15px; background: linear-gradient(90deg, #ffcf5a, #ffe39a, #f0a91c); }
.gm-box-lid::before, .gm-box-lid::after { content: ''; position: absolute; top: -40px; width: 56px; height: 44px; border: 12px solid #ffcf5a; border-radius: 50% 50% 10% 50%; }
.gm-box-lid::before { left: calc(50% - 56px); transform: rotate(-20deg); }
.gm-box-lid::after { right: calc(50% - 56px); transform: rotate(20deg) scaleX(-1); }
.gm-rays { position: absolute; inset: -40px; border-radius: 50%; opacity: 0; pointer-events: none;
  background: repeating-conic-gradient(from 0deg, rgba(255, 220, 130, 0.5) 0 8deg, transparent 8deg 24deg); -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 68%); mask-image: radial-gradient(circle, #000 20%, transparent 68%);
  transition: opacity .6s; animation: gmSpinRays 14s linear infinite; }
@keyframes gmSpinRays { to { transform: rotate(360deg); } }
.gm-box-hint { position: absolute; left: 0; right: 0; bottom: -6px; text-align: center; font-family: var(--gm-font); font-weight: 700; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: #d3b2ff; }
html[lang="ar"] .gm-box-hint { letter-spacing: 0; }
.gm-box:not(.is-open) .gm-box-base, .gm-box:not(.is-open) .gm-box-lid { animation: gmWiggle 3s ease-in-out infinite; }
@keyframes gmWiggle { 0%, 70%, 100% { transform: none; } 74% { transform: rotate(-4deg); } 78% { transform: rotate(4deg); } 82% { transform: rotate(-3deg); } 86% { transform: rotate(2deg); } }
.gm-box.is-open .gm-box-lid { transform: translateY(-90px) rotate(-18deg); }
.gm-box.is-open .gm-rays { opacity: 1; }
.gm-box.is-open .gm-box-hint { visibility: hidden; }
/* the gift is already used: the box stays open and quiet */
.gm-box.is-used { cursor: default; }
.gm-box.is-used .gm-rays { opacity: 0.25; }

/* ---------- smaller screens ---------- */
@media (max-width: 1023px) {
  .gm-hero-grid, .gm-gift-grid { grid-template-columns: minmax(0, 1fr); }
  .gm-box { order: -1; } /* the box first, then what it reveals */
  .gm-path::before, .gm-path::after { inset-inline-start: 26px; }
  .gm-q { grid-template-columns: 52px minmax(0, 1fr); gap: 0 16px; align-items: start; }
  .gm-q-node { grid-column: 1; grid-row: 1; }
  .gm-q:nth-child(odd) .gm-q-card, .gm-q:nth-child(even) .gm-q-card { grid-column: 2; }
  .gm-q.pre:nth-child(even) .gm-q-card, html[dir="rtl"] .gm-q.pre:nth-child(even) .gm-q-card { transform: translateX(-30px); }
  html[dir="rtl"] .gm-q.pre .gm-q-card { transform: translateX(30px) !important; }
}
@media (max-width: 640px) {
  .gm-hero { padding: 32px 0 40px; }
  .gm-player { padding: 16px; }
  .gm-player-cta .gm-btn { flex: 1 1 auto; }
  .gm-quests, .gm-gift { padding: 60px 0; }
  .gm-head { margin-bottom: 32px; }
  .gm-q-card { padding: 16px; }
  .gm-q h3 { font-size: 17px; }
  .gm-box { width: 220px; height: 230px; }
}
@media (prefers-reduced-motion: reduce) {
  .gm-xp i::after, .gm-q.is-now .gm-q-node, .gm-box-base, .gm-box-lid, .gm-rays { animation: none !important; }
  .gm-q.pre .gm-q-card { opacity: 1; transform: none !important; }
}
