/* Rilvaris has its own shop and wallet; the portal economy stays separate. */
.rv-gamebar { position: relative; z-index: 4; display: flex; align-items: center; gap: 22px; min-height: 64px; padding: 10px 30px; background: #10243c; color: #fff3d3; border-bottom: 2px solid #e4bc60; }
.rv-game-brand { color: #ffe0a1; font: 900 24px/.95 'Fraunces', Georgia, serif; margin-right: auto; }
.rv-game-brand small { display: block; margin-top: 5px; font: 8px/1 'DM Sans', sans-serif; letter-spacing: .13em; text-transform: uppercase; color: #abbdc9; }
.rv-wallet { display: flex; align-items: center; gap: 10px; }
.rv-balance { display: flex; align-items: center; gap: 8px; min-width: 103px; padding: 4px 12px 4px 5px; border: 1px solid #d9bd7b40; border-radius: 6px; background: #ffffff08; color: #f8e5b9; }
.rv-balance img { width: 32px; height: 32px; object-fit: contain; flex: none; }
.rv-balance small { display: block; font-size: 9px; color: #d9c79e; }
.rv-balance b { display: block; font-size: 13px; line-height: 1.25; }
.rv-balance.rv-prisms { border-color: #a79bff55; color: #e2d3ff; }
.rv-balance.rv-prisms small { color: #b8a9df; }
.rv-account { display: flex; align-items: center; gap: 8px; background: none; color: #f5e6c5; font-size: 12px; font-weight: 700; padding: 6px 0; max-width: 160px; }
.rv-account img { width: 32px; height: 32px; border: 1px solid #d3b96e; border-radius: 50%; }
.rv-account span { overflow: hidden; text-overflow: ellipsis; }
.rv-signin { padding: 9px 13px; border: 1px solid #c6af744f; border-radius: 4px; }
.rv-market { min-height: 100dvh; }
.rv-market > .dh-nav { border-bottom: 1px solid #dacba5; padding-block: 9px; }
.rv-market-hero { display: flex; align-items: center; justify-content: space-between; gap: 30px; max-width: 1180px; padding: 50px 35px 42px; margin: auto; position: relative; }
.rv-eyebrow { color: #9b7434; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.rv-market-hero h1 { color: #10253c; font-size: clamp(44px, 5.5vw, 76px); line-height: .95; margin: 17px 0; }
.rv-market-hero h1 em { font-style: normal; color: #255c91; }
.rv-market-hero p { font-size: 13px; line-height: 1.6; color: #7f7d72; }
.rv-market-emblem { position: relative; display: flex; align-items: center; justify-content: center; width: 310px; height: 225px; flex: none; isolation: isolate; }
.rv-market-emblem::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse, #8869ef2b, transparent 68%); }
.rv-market-emblem i { position: absolute; width: 205px; height: 205px; border: 1px solid #bd9c4b66; border-radius: 50%; outline: 1px solid #bd9c4b33; outline-offset: 13px; }
.rv-market-emblem i::after { content: "◆"; position: absolute; color: #bc9346; inset: -9px auto auto 50%; animation: rv-crest-orbit 25s linear infinite; transform-origin: 0 112px; }
.rv-market-emblem img { width: 126px; height: 126px; transform: rotate(-16deg) translateY(11px); filter: drop-shadow(0 10px 8px #8d662e22); }
.rv-market-emblem img + img { transform: rotate(13deg) translateY(-15px); width: 154px; height: 154px; margin-left: -24px; filter: drop-shadow(0 10px 20px #7867d64d); }
.rv-market-emblem > span { position: absolute; bottom: 1px; color: #a78953; font-size: 8px; letter-spacing: .4em; }
@keyframes rv-crest-orbit { to { transform: rotate(360deg); } }
.rv-market-content { max-width: 1180px; padding: 0 35px 30px; margin: auto; }
.rv-market-tabs { display: flex; gap: 25px; border-bottom: 1px solid #cdbb8d; margin-bottom: 30px; }
.rv-market-tabs > a { color: #77796f; font-size: 13px; font-weight: 800; padding: 0 4px 15px; border-bottom: 3px solid transparent; }
.rv-market-tabs > a span { display: block; margin-top: 4px; font-size: 9px; font-weight: 400; color: #94917f; }
.rv-market-tabs > a[aria-current] { color: #163c5d; border-color: #b18a3e; }
.rv-shop-intro { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 34px 0 22px; }
.rv-shop-intro h2, .rv-section-title h2 { font-size: 33px; line-height: 1.1; color: #142d44; margin: 8px 0; }
.rv-shop-intro p, .rv-section-title p { color: #8a877b; font-size: 12px; margin: 0; line-height: 1.6; }
.rv-shop-intro > div > span, .rv-section-title > span { color: #ae8b4c; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; }
.rv-set-tabs { display: flex; gap: 6px; flex: none; }
.rv-set-tabs a { font-size: 10px; font-weight: 800; color: #7b7d73; padding: 9px 12px; border: 1px solid #d8c69e; border-radius: 4px; }
.rv-set-tabs a[aria-current] { color: #fff1c9; background: #16344e; border-color: #16344e; }
.rv-market .pk-shop { border-radius: 10px; margin: 0 0 30px; border-color: #c6a568; }
.rv-market .pk-product-copy h2 { font-size: clamp(32px, 3.4vw, 47px); }
.rv-market .pk-rl01 { background: radial-gradient(ellipse at 20% 45%, #277ac753, transparent 55%), linear-gradient(120deg, #0f243e, #183553 56%, #101e35); }
.rv-market .pk-product-actions { flex-wrap: wrap; gap: 10px; }
.rv-market .pk-buy { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; min-height: 44px; padding: 10px 14px; }
.rv-market .pk-buy img { width: 23px; height: 23px; }
.rv-market .pk-buy-prisms { background: linear-gradient(110deg, #a984de, #6f4aa9) !important; border-color: #b694df !important; color: #fff6ff !important; }
.rv-market .pk-buy-prisms:disabled { opacity: .45; }
.rv-market .pk-buy-runes:disabled { opacity: .45; }
.rv-market .pk-product-actions > .btn-quiet { width: 100%; text-align: left; padding-left: 0; font-size: 11px; color: #d7c7e9; }
.rv-market .pk-shortage { color: #d9b989; font-size: 11px; line-height: 1.6; }
.rv-market .pk-shortage a { color: #f4d6a4; text-decoration: underline; text-underline-offset: 3px; }
.rv-currency-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 27px 0; }
.rv-currency-card { padding: 27px; background: #fffaf0b3; border: 1px solid #d9c39a; border-radius: 8px; }
.rv-currency-card.rv-prisms { background: linear-gradient(140deg, #f2edff99, #fffaf0); border-color: #c2afd1; }
.rv-currency-art { float: right; width: 110px; height: 110px; }
.rv-currency-art img { width: 100%; height: 100%; }
.rv-currency-card > span { font-size: 9px; font-weight: 800; color: #9c8149; text-transform: uppercase; letter-spacing: .1em; }
.rv-currency-card h3 { font-family: 'Fraunces', Georgia, serif; font-size: 28px; margin: 10px 0 3px; color: #283c4c; }
.rv-currency-card > strong { font-size: 37px; font-weight: 800; color: #b18a40; }
.rv-currency-card.rv-prisms > strong { color: #8c62b6; }
.rv-currency-card p { clear: both; font-size: 12px; color: #8d8a7b; line-height: 1.7; padding-top: 12px; }
.rv-currency-card dl { margin: 18px 0 0; font-size: 11px; color: #7b796d; }
.rv-currency-card dl > div { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 1px solid #d8c8a580; }
.rv-currency-card dd { margin: 0; font-weight: 800; color: #655e4d; }
.rv-wallet-note { padding: 18px 22px; border-left: 3px solid #b9944e; background: #d4bd8a13; margin: 25px 0; color: #6c746f; font-size: 12px; line-height: 1.8; }
.rv-wallet-note b { color: #4a5e65; }
.rv-wallet-note p { margin: 5px 0; }
.rv-market-footer { display: flex; justify-content: space-between; gap: 20px; max-width: 1180px; padding: 25px 35px; margin: auto; border-top: 1px solid #cdbb8d; font-size: 10px; color: #9b927c; }
.rv-market-footer a { color: #6d7f84; font-weight: 800; }
.rv-match-reward a { display: inline-block; color: #e6ce98; font-size: 12px; margin-top: 10px; }
.rv-market :is(a, button):focus-visible, .rv-gamebar :is(a, button):focus-visible { outline: 3px solid #4c91b9; outline-offset: 3px; }
@media (max-width: 760px) { .rv-gamebar { padding: 9px 14px; gap: 12px; } .rv-account span { display: none; } .rv-market-hero { padding: 35px 22px; gap: 0; } .rv-market-emblem { width: 190px; height: 180px; } .rv-market-emblem i { width: 150px; height: 150px; } .rv-market-emblem i::after { transform-origin: 0 85px; } .rv-market-emblem img { width: 90px; height: 90px; } .rv-market-emblem img + img { width: 110px; height: 110px; } .rv-market-content { padding-inline: 22px; } .rv-currency-grid { gap: 12px; } .rv-currency-card { padding: 19px; } .rv-currency-art { width: 75px; height: 75px; } }
@media (max-width: 540px) { .rv-gamebar { gap: 7px; flex-wrap: wrap; } .rv-game-brand { font-size: 21px; } .rv-game-brand small { display: none; } .rv-wallet { gap: 5px; } .rv-balance { min-width: 69px; padding: 4px 6px 4px 3px; gap: 3px; } .rv-balance img { width: 27px; height: 27px; } .rv-balance small { font-size: 8px; } .rv-balance b { font-size: 11px; } .rv-signin { font-size: 9px; padding: 8px; } .rv-market > .dh-nav { display: flex; flex-direction: column; align-items: stretch; gap: 6px; padding: 6px 10px 0; } .rv-market-hero { padding: 30px 18px; } .rv-market-hero h1 { font-size: 41px; } .rv-market-hero p { font-size: 11px; max-width: 220px; } .rv-market-emblem { position: absolute; width: 140px; height: 140px; right: -35px; top: 38px; opacity: .35; z-index: -1; } .rv-market-emblem i { width: 100px; height: 100px; } .rv-market-emblem img { width: 70px; height: 70px; } .rv-market-emblem img + img { width: 90px; height: 90px; } .rv-market-emblem > span { display: none; } .rv-market-content { padding-inline: 15px; } .rv-market-tabs { margin-bottom: 22px; gap: 22px; } .rv-market-tabs > a { font-size: 12px; } .rv-shop-intro { align-items: start; flex-direction: column; gap: 15px; margin-top: 20px; } .rv-shop-intro h2, .rv-section-title h2 { font-size: 29px; } .rv-shop-intro p { font-size: 11px; } .rv-market .pk-shop { margin-bottom: 22px; } .rv-market .pk-product-copy { padding: 8px 22px 26px; } .rv-market .pk-product-copy h2 { font-size: 36px; } .rv-currency-grid { grid-template-columns: 1fr; } .rv-market-footer { padding: 20px 15px; flex-direction: column; gap: 8px; } }
@media (prefers-reduced-motion: reduce) { .rv-market *, .rv-market *::after { animation: none !important; transition: none !important; } }
