/* Vex Ragnarok Online — FluxCP theme.
   Night-castle look taken from the Vex artwork: midnight navy, icy-blue wings, amber feathers.
   Change colors and fonts in :root; everything else follows. */
:root {
    --vx-night: #060c1d;
    --vx-navy: #0c1630;
    --vx-navy-2: #13234a;
    --vx-ice: #8fd0f5;
    --vx-ice-deep: #3d8fd0;
    --vx-amber: #f2a93b;
    --vx-gold: #ffd98a;
    --vx-ink: #1b1204;
    --vx-text: #e8eefb;
    --vx-text-dim: #9fb0cf;
    --vx-border: rgba(143,208,245,.16);
    --vx-border-strong: rgba(143,208,245,.34);
    --vx-radius: 16px;
    --vx-container: 1180px;
    --vx-font: "Figtree", "Inter", -apple-system, "Segoe UI", sans-serif;
    --vx-display: "Cinzel", "Georgia", serif;

    /* legacy names, kept so older header/footer markup keeps working */
    --vx-orange: var(--vx-amber);
    --vx-brown: #6b3f0a;
    --vx-sky: var(--vx-ice);
    --vx-blue: var(--vx-ice-deep);
    --vx-blue-dark: #1d4f86;
    --vx-bg: var(--vx-night);
    --vx-card: var(--vx-navy-2);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { min-height: 100%; background: var(--vx-night); }
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--vx-font);
    background: var(--vx-night);
    color: var(--vx-text);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}
.yr-main { flex: 1 0 auto; width: 100%; }
.yr-footer { margin-top: auto; }

a { text-decoration: none; color: inherit; }
h1, h2, h3 { font-weight: 700; line-height: 1.2; }
p { color: var(--vx-text-dim); line-height: 1.6; }
::selection { background: rgba(242,169,59,.35); color: #fff; }
:focus-visible { outline: 2px solid var(--vx-ice); outline-offset: 2px; }

.yr-container { max-width: var(--vx-container); margin: 0 auto; padding: 0 24px; }
.yr-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Buttons ---------- */
.yr-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 26px; border-radius: 9999px;
    font-family: var(--vx-font); font-weight: 700; font-size: 14px; line-height: 1;
    border: 1px solid transparent; cursor: pointer; white-space: nowrap;
    transition: transform .15s ease, box-shadow .2s ease, filter .15s ease, background .2s ease;
}
.yr-btn--sm { padding: 9px 20px; font-size: 13px; }
.yr-btn--lg { padding: 15px 34px; font-size: 15px; min-width: 190px; }

.yr-btn--primary,
.yr-main .yr-btn--primary { background: linear-gradient(180deg, #ffe7ae, var(--vx-amber)); color: var(--vx-ink); border-color: #ffe9b8; box-shadow: 0 0 0 1px rgba(242,169,59,.35), 0 8px 28px rgba(242,169,59,.32); }
.yr-btn--secondary,
.yr-main .yr-btn--secondary { background: rgba(143,208,245,.12); color: #e3f4ff; border-color: rgba(143,208,245,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 8px 28px rgba(61,143,208,.2); }
.yr-btn--ghost,
.yr-main .yr-btn--ghost { background: transparent; color: var(--vx-text); border-color: var(--vx-border-strong); }
.yr-btn--primary:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: 0 0 0 1px rgba(242,169,59,.5), 0 12px 34px rgba(242,169,59,.45); }
.yr-btn--secondary:hover { transform: translateY(-2px); background: rgba(143,208,245,.22); }
.yr-btn--ghost:hover { border-color: var(--vx-ice); color: #fff; }
.yr-main .yr-btn:hover { text-decoration: none; }

/* ---------- Status bar ---------- */
.yr-status { background: #040815; border-bottom: 1px solid var(--vx-border); color: var(--vx-text-dim); font-size: 12px; }
.yr-status__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 9px; padding-bottom: 9px; }
.yr-status__online { display: flex; align-items: center; gap: 8px; }
.yr-dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 3px rgba(61,220,132,.22), 0 0 12px rgba(61,220,132,.7); }

/* ---------- Nav (floating glass pill) ---------- */
.yr-nav { position: sticky; top: 0; z-index: 50; padding: 12px 0; pointer-events: none; }
.yr-nav__inner { position: relative; width: calc(100% - 32px); pointer-events: auto; display: flex; align-items: center; gap: 20px; min-height: 60px; padding: 0 10px 0 22px; background: rgba(8,15,36,.6); backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2); border: 1px solid var(--vx-border); border-radius: 9999px; box-shadow: 0 12px 40px rgba(0,0,0,.4); }

.yr-logo { display: flex; align-items: center; gap: 10px; }
.yr-logo__vex { font-family: var(--vx-display); font-weight: 800; font-size: 28px; line-height: 1; letter-spacing: .04em; background: linear-gradient(180deg, #fff3cf, var(--vx-amber)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.yr-logo__sub { font-family: var(--vx-display); font-weight: 500; font-size: 10.5px; line-height: 1.15; letter-spacing: .12em; color: var(--vx-ice); }

.yr-nav__links { flex: 1; display: flex; align-items: center; justify-content: center; gap: 2px; font-size: 14px; font-weight: 500; }
.yr-nav__links > a, .yr-dropdown__trigger { padding: 9px 14px; border-radius: 9999px; color: var(--vx-text-dim); transition: background .15s ease, color .15s ease; }
.yr-nav__links > a:hover, .yr-dropdown__trigger:hover, .yr-dropdown.is-open > .yr-dropdown__trigger { background: rgba(143,208,245,.12); color: #fff; }
.yr-nav__cta { display: flex; align-items: center; gap: 8px; }

.yr-dropdown { position: relative; }
.yr-dropdown__trigger { display: flex; align-items: center; gap: 5px; background: none; border: none; font: inherit; cursor: pointer; }
.yr-caret { transition: transform .2s ease; }
.yr-dropdown.is-open .yr-caret { transform: rotate(180deg); }
.yr-dropdown__menu { display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 14px; min-width: 200px; padding: 8px; background: rgba(10,19,42,.96); backdrop-filter: blur(14px); border: 1px solid var(--vx-border-strong); border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.55); z-index: 100; }
.yr-dropdown.is-open .yr-dropdown__menu { display: block; }
.yr-dropdown__menu a { display: block; padding: 10px 14px; font-size: 14px; border-radius: 10px; color: var(--vx-text-dim); }
.yr-dropdown__menu a:hover { background: rgba(143,208,245,.12); color: #fff; }

.yr-burger { display: none; margin-left: auto; width: 42px; height: 42px; background: rgba(143,208,245,.12); border: none; border-radius: 50%; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.yr-burger span { width: 16px; height: 2px; background: var(--vx-ice); border-radius: 2px; }

/* ---------- Hero ---------- */
/* Artwork: themes/yoraro/img/hero.jpg. The night-sky gradient is the fallback if the file is missing. */
.yr-hero {
    position: relative; overflow: hidden;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
    min-height: 680px; margin-top: -84px; padding: 120px 0 56px; text-align: center; color: #fff;
    background:
        linear-gradient(180deg, rgba(5,9,22,.5) 0, rgba(5,9,22,0) 20%, rgba(5,9,22,0) 54%, rgba(6,12,29,.8) 84%, var(--vx-night) 100%),
        url('../img/hero.jpg') center top / cover no-repeat,
        radial-gradient(ellipse at 50% 18%, #27447f 0, #0e1a38 55%, var(--vx-night) 100%);
}
/* With the artwork, the logo is already in the picture; buttons sit on the plaza below the gate */
.yr-hero--art { min-height: max(840px, calc(100vh - 34px)); justify-content: flex-end; padding-bottom: 60px; }
/* On wide screens the artwork scales up with the width, so lift it to keep the ribbon clear of the text below */
@media (min-width: 1100px) {
    .yr-hero--art { background-position: 0 0, center calc(0px - 3.8vw), 0 0; }
}
.yr-hero > * { position: relative; z-index: 1; }

.yr-hero > .yr-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.yr-hero > .yr-hero__shade { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: linear-gradient(180deg, rgba(5,9,22,.35), rgba(5,9,22,0) 30%, rgba(5,9,22,0) 55%, var(--vx-night)); }

.yr-hero__inner { max-width: 860px; margin: 0 auto; padding: 0 24px; animation: yr-rise .9s cubic-bezier(.2,.7,.2,1) both; }
@keyframes yr-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.yr-hero__logo { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 20px; }
.yr-hero__logo img { max-width: min(520px, 90%); height: auto; filter: drop-shadow(0 10px 24px rgba(0,0,0,.5)); }
.yr-hero__logo h1:not(.yr-sr) { font-family: var(--vx-display); font-weight: 800; font-size: clamp(76px, 12vw, 128px); line-height: .95; letter-spacing: .06em; background: linear-gradient(180deg, #fff3cf 10%, var(--vx-amber) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; filter: drop-shadow(0 6px 22px rgba(242,169,59,.35)); }
.yr-hero__tag { font-family: var(--vx-display); font-weight: 700; font-size: clamp(13px, 2vw, 17px); letter-spacing: .22em; text-transform: uppercase; color: #e3f4ff; padding: 6px 22px; border-radius: 9999px; border: 1px solid var(--vx-border-strong); background: rgba(143,208,245,.1); }

.yr-hero__subtitle { max-width: 560px; margin: 0 auto 14px; font-size: 16px; font-weight: 500; color: #eaf3ff; text-shadow: 0 2px 14px rgba(0,0,0,.85); }
.yr-hero__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) { .yr-hero__inner { animation: none; } .yr-hero__video { display: none; } }

/* Server info strip inside the hero: quiet, no boxes */
.yr-hero__info { position: relative; margin: 0 auto 26px; padding: 18px 0 6px; }
.yr-hero__info::before { content: ""; position: absolute; inset: -10px -60px; z-index: -1; background: radial-gradient(ellipse at center, rgba(5,9,22,.62), rgba(5,9,22,0) 70%); }
.yr-hero__stats { display: flex; justify-content: center; flex-wrap: wrap; margin: 0; }
.yr-hero__stat { position: relative; padding: 2px 24px; text-align: center; }
.yr-hero__stat + .yr-hero__stat::before { content: ""; position: absolute; left: 0; top: 14%; bottom: 14%; width: 1px; background: rgba(143,208,245,.3); }
.yr-hero__stat dt { margin-bottom: 4px; font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(232,238,251,.72); text-shadow: 0 1px 10px rgba(0,0,0,.8); }
.yr-hero__stat dd { margin: 0; font-family: var(--vx-display); font-size: 24px; font-weight: 700; line-height: 1.1; color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.7); font-variant-numeric: tabular-nums; }
.yr-hero__stat.is-rate dd { color: var(--vx-gold); }
.yr-hero__tags { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; max-width: 820px; margin: 16px auto 0; font-size: 12.5px; font-weight: 500; color: rgba(232,238,251,.8); text-shadow: 0 1px 10px rgba(0,0,0,.85); }
.yr-hero__tags li { display: flex; align-items: center; gap: 8px; }
.yr-hero__tags li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--vx-ice); opacity: .85; }

/* ---------- Home sections ---------- */
.yr-main > section.yr-sec { width: 100%; max-width: var(--vx-container); margin-left: auto; margin-right: auto; padding: 72px 24px 0; }
.yr-main > .yr-hero + section.yr-sec { padding-top: 40px; }

.yr-sec__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 26px; }
.yr-main .yr-sec__title { font-family: var(--vx-display); font-weight: 700; font-size: clamp(26px, 3.2vw, 36px); letter-spacing: .01em; margin: 0; color: #fff; }
.yr-main .yr-sec__lead { max-width: 52ch; margin: 8px 0 0; font-size: 15px; color: var(--vx-text-dim); }
.yr-sec__meta { font-size: 14px; font-weight: 600; color: var(--vx-gold); }

/* Registration milestones */
.yr-track { position: relative; height: 22px; margin: 6px 11px 0; }
.yr-track__bar { position: absolute; left: 0; right: 0; top: 8px; height: 6px; background: rgba(143,208,245,.16); border-radius: 9999px; }
.yr-track__fill { position: relative; min-width: 10px; height: 100%; background: linear-gradient(90deg, var(--vx-ice-deep), var(--vx-amber)); border-radius: 9999px; box-shadow: 0 0 14px rgba(242,169,59,.5); }
.yr-track__fill::after { content: ""; position: absolute; right: -6px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: #fff3cf; box-shadow: 0 0 0 3px rgba(242,169,59,.35), 0 0 16px 4px rgba(242,169,59,.85); }
.yr-track__tick { position: absolute; top: 3px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--vx-navy); border: 2px solid rgba(143,208,245,.5); }
.yr-track__tick.is-done { background: var(--vx-amber); border-color: #ffe9b8; box-shadow: 0 0 12px rgba(242,169,59,.7); }

.yr-miles__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
.yr-mile { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 18px; background: rgba(12,22,48,.7); border: 1px solid var(--vx-border); border-radius: 16px; }
.yr-mile__img { width: 72px; height: 72px; margin-bottom: 10px; object-fit: contain; border-radius: 14px; background: radial-gradient(circle at 50% 35%, rgba(143,208,245,.2), rgba(143,208,245,.04)); border: 1px solid var(--vx-border); filter: grayscale(.7) brightness(.8); }
.yr-mile__reward { font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--vx-text); }
.yr-mile__state { font-size: 13px; color: var(--vx-text-dim); }
.yr-mile.is-done { border-color: rgba(242,169,59,.55); background: linear-gradient(180deg, rgba(242,169,59,.12), rgba(12,22,48,.7)); box-shadow: 0 0 32px rgba(242,169,59,.12); }
.yr-mile.is-done .yr-mile__img { filter: none; border-color: rgba(242,169,59,.5); background: radial-gradient(circle at 50% 35%, rgba(255,217,138,.3), rgba(242,169,59,.05)); }
.yr-mile.is-done .yr-mile__state { color: var(--vx-gold); font-weight: 600; }

/* ---------- Footer ---------- */
.yr-footer { background: #040815; border-top: 1px solid var(--vx-border); padding: 24px 0; }
.yr-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.yr-footer__brand { font-size: 13px; color: var(--vx-text-dim); }
.yr-footer__links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 13px; color: var(--vx-text-dim); }
.yr-footer__links a { transition: color .15s ease; }
.yr-footer__links a:hover { color: var(--vx-gold); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
    .yr-miles__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
    .yr-burger { display: flex; }
    .yr-nav__cta { display: none; }
    .yr-nav__links { display: none; position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 16px 14px; background: rgba(10,19,42,.97); border: 1px solid var(--vx-border-strong); border-radius: 24px; box-shadow: 0 20px 50px rgba(0,0,0,.55); }
    .yr-nav__links.is-open { display: flex; }
    .yr-nav__links > a, .yr-dropdown__trigger { padding: 12px 8px; width: 100%; border-radius: 10px; }
    .yr-dropdown__menu { position: static; transform: none; box-shadow: none; border: none; background: none; margin-top: 0; padding: 0 0 8px 12px; }
    .yr-status__rates { display: none; }
}
@media (max-width: 640px) {
    .yr-hero { min-height: 0; }
    .yr-hero--art { min-height: 960px; padding-bottom: 48px; }
    .yr-hero__stat { flex: 0 0 50%; padding: 8px 6px; }
    .yr-hero__stat + .yr-hero__stat::before { display: none; }
    .yr-hero__stat:last-child { flex-basis: 100%; }
    .yr-hero__stat dd { font-size: 21px; }
    .yr-hero__tags { gap: 5px 14px; font-size: 12px; }
    .yr-btn--lg { width: 100%; }
    .yr-hero__actions { flex-direction: column; align-items: center; }
    .yr-logo__sub { display: none; }
    .yr-miles__list { grid-template-columns: 1fr 1fr; gap: 10px; }
    .yr-mile { padding: 14px; }
    .yr-mile__img { width: 56px; height: 56px; }
    .yr-main > section.yr-sec { padding-top: 56px; }
    .yr-footer__inner { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ==========================================================================
   Inner FluxCP pages (login, register, rankings, account, shop, etc.)
   ========================================================================== */
.yr-main > *:not(.yr-hero) { max-width: 960px; margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.yr-main > *:last-child { margin-bottom: 72px; }

.yr-main h2, .yr-main h3 { font-family: var(--vx-display); color: #fff; font-size: 28px; margin: 48px 0 10px; letter-spacing: .01em; }
.yr-main h3 { font-size: 20px; margin-top: 32px; }
.yr-main p { font-size: 14px; margin-bottom: 12px; }
.yr-main p strong { color: #fff; font-weight: 600; }
.yr-main a { color: var(--vx-ice); font-weight: 500; }
.yr-main a:hover { color: #fff; text-decoration: underline; }
.yr-main hr { border: none; border-top: 1px solid var(--vx-border); margin: 24px 0; }

/* Narrow, centered form pages (login, register, reset password) */
.yr-main > h2, .yr-main > p, .yr-main > form { max-width: 460px; }
.yr-main > form { margin-top: 20px; padding: 30px 28px 26px; background: linear-gradient(180deg, rgba(24,42,86,.72), rgba(12,22,48,.78)); border: 1px solid var(--vx-border); border-radius: 18px; box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.yr-main form table { margin: 0; border: none; background: none; border-radius: 0; box-shadow: none; }
.yr-main form table, .yr-main form tbody, .yr-main form tr, .yr-main form th, .yr-main form td { display: block; width: 100%; }
.yr-main form tr { margin-bottom: 16px; }
.yr-main form th { padding: 0 0 6px; text-align: left; white-space: normal; font-size: 13px; font-weight: 600; color: var(--vx-text); background: none; }
.yr-main form td { padding: 0; }
.yr-main form tr:hover td { background: none; }

/* Data tables (rankings, lists) */
.yr-main table { width: 100%; margin: 24px 0; border-collapse: separate; border-spacing: 0; background: rgba(12,22,48,.72); border: 1px solid var(--vx-border); border-radius: var(--vx-radius); overflow: hidden; font-size: 14px; color: var(--vx-text); }
.yr-main th, .yr-main td { padding: 12px 16px; text-align: left; border-bottom: 1px solid rgba(143,208,245,.08); }
.yr-main tr:last-child > td, .yr-main tr:last-child > th { border-bottom: none; }
.yr-main th { color: var(--vx-text-dim); font-weight: 600; font-size: 13px; }
.yr-main table.horizontal-table th { background: rgba(143,208,245,.1); color: var(--vx-ice); font-weight: 700; }
.yr-main table.vertical-table th { width: 32%; background: rgba(143,208,245,.06); color: var(--vx-text-dim); }
.yr-main tr:hover td { background: rgba(143,208,245,.06); }
.yr-main table img { max-width: 100%; vertical-align: middle; }

/* Inputs */
.yr-main input[type="text"], .yr-main input[type="password"], .yr-main input[type="email"], .yr-main input[type="number"], .yr-main input[type="search"], .yr-main textarea {
    width: 100%; background: rgba(4,8,21,.6); border: 1px solid var(--vx-border-strong); color: var(--vx-text);
    border-radius: 12px; padding: 12px 14px; font: 14px var(--vx-font); outline: none;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.yr-main input[type="text"]:focus, .yr-main input[type="password"]:focus, .yr-main input[type="email"]:focus, .yr-main input[type="number"]:focus, .yr-main input[type="search"]:focus, .yr-main textarea:focus { background: rgba(4,8,21,.85); border-color: var(--vx-amber); box-shadow: 0 0 0 4px rgba(242,169,59,.18); }
.yr-main ::placeholder { color: #66769a; }
.yr-main select { background: rgba(4,8,21,.7); border: 1px solid var(--vx-border-strong); color: var(--vx-text); border-radius: 10px; padding: 9px 12px; font: 14px var(--vx-font); cursor: pointer; }
.yr-main input[type="radio"], .yr-main input[type="checkbox"] { accent-color: var(--vx-amber); margin-right: 8px; cursor: pointer; }

.yr-main input[type="submit"], .yr-main button:not([data-yr-dropdown-trigger]) {
    background: linear-gradient(180deg, #ffe7ae, var(--vx-amber)); color: var(--vx-ink);
    border: 1px solid #ffe9b8; border-radius: 9999px; padding: 12px 30px;
    font: 700 14px var(--vx-font); cursor: pointer; box-shadow: 0 0 0 1px rgba(242,169,59,.35), 0 8px 24px rgba(242,169,59,.25);
    transition: transform .15s ease, filter .15s ease;
}
.yr-main input[type="submit"]:hover, .yr-main button:not([data-yr-dropdown-trigger]):hover { transform: translateY(-2px); filter: brightness(1.06); }
.yr-main form input[type="submit"] { width: 100%; margin-top: 4px; }
.yr-main img[src*="captcha"] { border-radius: 8px; margin: 12px 0; display: block; }

/* FluxCP messages, pagination and misc helpers */
.yr-main .message, .yr-main .notice { padding: 14px 18px; margin: 20px 0; border: 1px solid var(--vx-border-strong); border-left: 3px solid var(--vx-ice); border-radius: 12px; background: rgba(143,208,245,.08); color: var(--vx-text); font-size: 14px; }
.yr-main .message.success, .yr-main .green { color: #6fe7a3; }
.yr-main .message.error, .yr-main .red, .yr-main .error { color: #ff8f8f; }
.yr-main .message.error { border-left-color: #ff6b6b; background: rgba(255,107,107,.08); }
.yr-main .message.success { border-left-color: #3ddc84; background: rgba(61,220,132,.08); }
.yr-main .pages, .yr-main .paginator { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0; }
.yr-main .pages a, .yr-main .pages span, .yr-main .page-num, .yr-main .current-page { padding: 7px 13px; border: 1px solid var(--vx-border); border-radius: 9px; font-size: 13px; color: var(--vx-text-dim); }
.yr-main .pages a:hover, .yr-main .page-num:hover { border-color: var(--vx-ice); color: #fff; text-decoration: none; }
.yr-main .current-page, .yr-main .pages .current { background: var(--vx-amber); border-color: var(--vx-amber); color: var(--vx-ink); font-weight: 700; }
.yr-main fieldset { border: 1px solid var(--vx-border); border-radius: 14px; padding: 16px 18px; margin: 20px 0; }
.yr-main legend { padding: 0 8px; color: var(--vx-ice); font-weight: 600; font-size: 13px; }

/* ---------- Reward item popup ---------- */
.yr-mile[data-mile-open] { cursor: pointer; transition: transform .18s ease, border-color .18s ease, box-shadow .2s ease; }
.yr-mile[data-mile-open]:hover { transform: translateY(-3px); border-color: var(--vx-ice); box-shadow: 0 10px 30px rgba(61,143,208,.2); }
.yr-mile.is-done[data-mile-open]:hover { border-color: var(--vx-gold); box-shadow: 0 10px 34px rgba(242,169,59,.28); }
.yr-mile__more { margin-top: auto; padding-top: 10px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--vx-ice); }
.yr-mile__more::after { content: " \2192"; }

.yr-dialog { margin: auto; padding: 0; width: calc(100% - 32px); max-width: 420px; color: var(--vx-text); background: linear-gradient(180deg, #172b58, #0c1630); border: 1px solid var(--vx-border-strong); border-radius: 20px; box-shadow: 0 30px 80px rgba(0,0,0,.6); overflow: visible; }
.yr-dialog[open] { animation: yr-pop .22s cubic-bezier(.2,.8,.2,1); }
.yr-dialog::backdrop { background: rgba(3,6,16,.72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
@keyframes yr-pop { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
.yr-dialog__body { position: relative; padding: 28px 26px 22px; text-align: center; }
.yr-dialog__close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(143,208,245,.12); color: var(--vx-ice); font-size: 22px; line-height: 1; cursor: pointer; }
.yr-dialog__close:hover { background: rgba(143,208,245,.24); color: #fff; }
.yr-dialog__img { width: 88px; height: 88px; object-fit: contain; border-radius: 16px; background: radial-gradient(circle at 50% 35%, rgba(255,217,138,.28), rgba(143,208,245,.05)); border: 1px solid rgba(242,169,59,.4); }
.yr-main .yr-dialog__title { margin: 14px 0 4px; font-size: 22px; }
.yr-main .yr-dialog__state { margin: 0 0 18px; font-size: 13px; color: var(--vx-text-dim); }
.yr-main .yr-dialog__state.is-done { color: var(--vx-gold); font-weight: 600; }
.yr-dialog__label { text-align: left; margin-bottom: 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--vx-ice); }
.yr-items { list-style: none; text-align: left; }
.yr-items li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-top: 1px solid rgba(143,208,245,.12); font-size: 14px; }
.yr-items b { font-family: var(--vx-display); font-weight: 800; color: var(--vx-gold); font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .yr-dialog[open] { animation: none; } }