@font-face {
  font-family: RPDisplay;
  src: url('/fonts/Tektur-Variable.ttf') format('truetype');
  font-weight: 400 900;
  font-display: swap;
}

/* The season has its own surface; the surrounding app keeps its existing shell */
.rush-pass-view { width: 100%; max-width: 1200px !important; min-width: 0; margin: 0 auto; }
body:has(.rush-pass-view) { background: #111310; color: #eeeee6; }
body[data-view='pass'] #site-footer { display: none; }
.rp-page {
  --rp-bg: #111310;
  --rp-surface: #1a1e19;
  --rp-raised: #22271f;
  --rp-line: #e8edda15;
  --rp-text: #eeeee6;
  --rp-muted: #9ca393;
  --rp-copper: #c78853;
  --rp-amber: #efbb72;
  --rp-olive: #9aaa7a;
  --rp-ease: cubic-bezier(.22,.72,.26,1);
  --rp-modal-gutter: 20px;
  min-width: 0;
  overflow: clip;
  padding: 24px 28px 70px;
  color: var(--rp-text);
  font: 400 14px/1.5 Manrope,-apple-system,BlinkMacSystemFont,sans-serif;
  animation: rp-page-in .35s var(--rp-ease) both;
}
.rp-page *, .rp-page *::before, .rp-page *::after { box-sizing: border-box; }
.rp-page :is(h1,h2,h3,p) { margin: 0; }
.rp-page button { font: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.rp-page button:disabled { cursor: default; }
.rp-page button:focus-visible, .rp-reward-viewport:focus-visible { outline: 2px solid var(--rp-amber); outline-offset: 4px; }
.rp-page [hidden] { display: none !important; }
.rp-icon { display: inline-block; flex: none; width: 20px; height: 20px; vertical-align: middle; }

/* Hero: a small product stage, followed by one continuous XP strip */
.rp-season-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.rp-season-kicker { display: flex; align-items: center; gap: 8px; color: var(--rp-copper); font-size: 10px; font-weight: 750; letter-spacing: .12em; white-space: nowrap; }
.rp-season-kicker > .rp-icon { width: 16px; height: 16px; }
.rp-season-name { margin-left: 4px; padding-left: 12px; border-left: 1px solid #a4ab8c36; color: #c6cdba; letter-spacing: .14em; }
.rp-season-time { display: flex; align-items: center; gap: 6px; color: var(--rp-muted); font-size: 11px; white-space: nowrap; }
.rp-season-time .rp-icon { width: 14px; height: 14px; }
.rp-season-time strong { color: #e1e5d6; font-weight: 750; }
.rp-hero {
  --pointer-x: 0px;
  --pointer-y: 0px;
  position: relative;
  isolation: isolate;
  height: 318px;
  overflow: hidden;
  border: 1px solid #7781633d;
  border-radius: 26px;
  background: #20271e;
  box-shadow: inset 0 1px #d2d9be0b, 0 14px 32px #0000001c;
}
.rp-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 75% 26%,#ac824c24,transparent 48%),linear-gradient(106deg,#171d17 4%,#263022 65%,#1b211b); pointer-events: none; }
.rp-hero::after { content: ''; position: absolute; z-index: 0; width: 1px; top: -90px; bottom: 76px; left: 49%; background: #cfbc8520; transform: rotate(24deg); pointer-events: none; }
.rp-forest { position: absolute; inset: 0 0 78px 37%; z-index: -1; opacity: .16; overflow: hidden; mask-image: linear-gradient(90deg,transparent,#000); }
.rp-forest > i { position: absolute; top: -10%; bottom: -10%; left: 24%; width: 18px; transform: rotate(13deg); background: #0d170e; }
.rp-forest > i:nth-child(2) { left: 47%; width: 28px; transform: rotate(-9deg); }
.rp-forest > i:nth-child(3) { left: 69%; width: 12px; transform: rotate(7deg); }
.rp-forest > i:nth-child(4) { left: 85%; width: 32px; }
.rp-forest > i:nth-child(5) { display: none; }
.rp-hero-copy { position: relative; z-index: 3; width: 48%; padding: 17px 0 0 30px; }
.rp-hero-edition { display: block; margin-bottom: 7px; color: #b8c0a7; font-size: 9px; line-height: 1.2; font-weight: 750; letter-spacing: .18em; }
.rp-hero h1 { width: max-content; font: 800 72px/.84 RPDisplay,Tektur,sans-serif; letter-spacing: -.065em; color: #f0eee3; transform: skew(-3deg); text-shadow: 0 2px 0 #706b54,0 8px 18px #070a0759; }
.rp-hero h1 em { display: inline-block; margin-top: 5px; color: var(--rp-amber); font-style: normal; text-shadow: 0 2px 0 #885e32,0 8px 18px #070a0759; }
.rp-hero-subtitle { margin-top: 9px !important; color: #b9c1ac; font-size: 12px; letter-spacing: .01em; }
.rp-hero-cta { margin-top: 10px; min-height: 34px !important; padding: 0 15px !important; border-radius: 10px !important; font-size: 11px !important; }
.rp-hero-object { position: absolute; z-index: 2; right: 3%; top: -25px; width: 48%; height: 290px; pointer-events: none; transform: translate(var(--pointer-x),var(--pointer-y)); transition: transform .55s var(--rp-ease); }
.rp-hero-object > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; filter: drop-shadow(0 14px 13px #080b0877); animation: rp-case-float 9s ease-in-out infinite; }
.rp-object-ground { position: absolute; right: 15%; left: 15%; bottom: 11%; height: 12px; border-radius: 50%; background: #050a0599; filter: blur(12px); }
.rp-leaves { position: absolute; inset: 0 0 78px; z-index: 1; overflow: hidden; pointer-events: none; }
.rp-leaves > span { position: absolute; left: calc(39% + var(--leaf)*19%); top: calc(14% + var(--leaf)*17%); color: #d19a57; opacity: .35; animation: rp-leaf-drift calc(13s + var(--leaf)*2s) ease-in-out infinite; animation-delay: calc(var(--leaf)*-3s); }
.rp-leaves .rp-icon { width: calc(12px + var(--leaf)*3px); height: calc(12px + var(--leaf)*3px); fill: #c28c3c22; stroke-width: 1; }
.rp-progress-card { position: absolute; z-index: 4; inset: auto 0 0; height: 78px; display: grid; grid-template-columns: 52px minmax(0,1fr) 100px; grid-template-rows: 18px 4px 15px; align-content: center; align-items: center; gap: 5px 16px; padding: 12px 27px; border-top: 1px solid #b9c59825; background: #141b14ed; }
.rp-progress-eyebrow { display: none; }
.rp-level-ring { grid-column: 1; grid-row: 1/4; position: relative; width: 52px; height: 52px; }
.rp-level-ring > div { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.rp-level-ring strong { color: #f1e5cb; font: 650 26px/.95 RPDisplay,Tektur,sans-serif; letter-spacing: -.045em; }
.rp-level-ring span { margin-top: 5px; color: #a9b69b; font-size: 6px; font-weight: 750; letter-spacing: .08em; }
.rp-level-ring > svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke-width: 3; transform: rotate(-90deg); }
.rp-ring-base { stroke: #62724a3d; }
.rp-ring-value { stroke: var(--rp-amber); stroke-linecap: round; transition: stroke-dasharray .5s var(--rp-ease); }
.rp-xp { grid-column: 2; grid-row: 1; display: flex; align-items: baseline; gap: 6px; color: #9eac90; font-size: 11px; }
.rp-xp strong { color: #e8eddb; font-size: 16px; font-weight: 750; font-variant-numeric: tabular-nums; }
.rp-xp-line { grid-column: 2; grid-row: 2; height: 4px; overflow: hidden; border-radius: 4px; background: #7b8b5e26; }
.rp-xp-line > i { display: block; height: 100%; border-radius: inherit; background: var(--rp-amber); transition: width .5s var(--rp-ease); }
.rp-progress-card > p { grid-column: 2; grid-row: 3; color: #a3b197; font-size: 10px; line-height: 1.35; }
.rp-pass-status { grid-column: 3; grid-row: 1/4; align-self: center; display: flex; align-items: center; justify-content: center; gap: 7px; width: 100%; min-height: 36px; padding: 0 10px; border: 1px solid #8e9b7138; border-radius: 10px; background: #8e9b7110; color: #c0caaa; font-size: 10px !important; font-weight: 750 !important; letter-spacing: .05em; }
.rp-pass-status > .rp-icon { width: 13px; height: 13px; }
.rp-pass-status.is-premium { color: var(--rp-amber); border-color: #c9944a54; background: #c9944a10; }

/* Navigation and actions */
.rp-primary,.rp-secondary,.rp-text-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; white-space: nowrap; font-weight: 750 !important; transition: background .18s,border-color .18s,transform .18s var(--rp-ease); }
.rp-primary { min-height: 44px; padding: 0 21px; border-radius: 12px; background: var(--rp-amber); color: #292216; font-size: 12px !important; box-shadow: inset 0 1px #fff4; }
.rp-primary > .rp-icon,.rp-secondary > .rp-icon { width: 16px; height: 16px; }
.rp-primary:active:not(:disabled),.rp-secondary:active:not(:disabled) { transform: translateY(1px); }
.rp-primary:disabled { opacity: .6; }
.rp-secondary { min-height: 42px; padding: 0 17px; border: 1px solid #a9844e4d; border-radius: 12px; background: #2a2a1f; color: #dcc6a0; font-size: 12px !important; }
.rp-section-nav { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin: 20px 0 27px; scroll-margin-top: 100px; }
.rp-tabs { display: flex; gap: 4px; min-width: 0; padding: 4px; border: 1px solid #76816323; border-radius: 15px; background: #1a1f18; }
.rp-tab { position: relative; display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 41px; padding: 0 20px; border: 1px solid transparent; border-radius: 11px; background: transparent; color: #969f8a; font-size: 12px !important; font-weight: 700 !important; transition: background .18s,color .18s; }
.rp-tab > .rp-icon { width: 16px; height: 16px; }
.rp-tab.is-active { border-color: #a4ae8330; background: #343d2c; color: #edf0da; box-shadow: inset 0 1px #d0d7b20d; }
.rp-notification-dot { position: absolute; top: 6px; right: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--rp-amber); }
.rp-collection-count { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 42px; padding: 0 14px; border: 1px solid #8e9c6f35; border-radius: 12px; background: transparent; color: #c0c8ad; font-size: 11px !important; font-weight: 650 !important; white-space: nowrap; }
.rp-collection-count > .rp-icon { width: 16px; height: 16px; color: #9fac87; }
.rp-collection-count b { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; margin-left: 5px; padding: 0 5px; border-radius: 6px; background: #a7b28114; color: #dfe5d1; font-size: 10px; font-weight: 750; }
.rp-panel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 14px; margin-bottom: 18px; }
.rp-panel-head h2 { color: #e9ece0; font: 600 26px/1.15 RPDisplay,Tektur,sans-serif; letter-spacing: -.055em; }
.rp-panel-head small { display: block; margin-top: 6px; color: #939e83; font-size: 10px; line-height: 1.4; }
.rp-overline { display: block; margin-bottom: 8px; color: #a8b28f; font-size: 9px; line-height: 1.4; font-weight: 750; letter-spacing: .12em; }
.rp-text-button { min-height: 36px; padding: 0 11px; border: 1px solid #83926730; border-radius: 10px; background: #1c231a; color: #c5cfb4; font-size: 10px !important; }
.rp-text-button > .rp-icon { width: 14px; height: 14px; }

/* The next milestone gets a real, readable preview before the long reward rail */
.rp-featured { margin-bottom: 18px; }
.rp-featured-reward { position: relative; display: grid; grid-template-columns: 84px minmax(0,1fr) 34px; gap: 15px; align-items: center; width: 100%; min-height: 100px; padding: 8px 19px 8px 8px; border: 1px solid #b1935e43; border-radius: 18px; background: linear-gradient(108deg,#2e3023,#1b221a 75%); text-align: left; color: var(--rp-text); }
.rp-featured-reward > .rp-item-art { width: 84px; height: 84px; }
.rp-featured-copy { min-width: 0; }
.rp-featured-copy > small { display: block; margin-bottom: 5px; color: #c3a778; font-size: 9px; font-weight: 750; letter-spacing: .1em; }
.rp-featured-copy > strong { display: block; color: #e4e8d8; font-size: 14px; line-height: 1.4; font-weight: 700; }
.rp-featured-copy > span { display: block; margin-top: 5px; color: #9aa88b; font-size: 11px; }
.rp-featured-lock { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #aaa37738; border-radius: 10px; background: #9597620b; color: #c2bc91; }
.rp-featured-lock > .rp-icon { width: 15px; height: 15px; }

/* Fifty columns, two tracks: only this viewport scrolls horizontally */
.rp-reward-viewport { width: 100%; overflow-x: auto; overflow-y: hidden; padding: 3px 0 12px; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-left: 96px; scrollbar-width: thin; scrollbar-color: #69744e66 transparent; contain: inline-size; }
.rp-reward-viewport::-webkit-scrollbar { height: 4px; }
.rp-reward-viewport::-webkit-scrollbar-thumb { border-radius: 5px; background: #69744e66; }
.rp-reward-grid { position: relative; display: grid; grid-template-columns: 84px repeat(50,168px); grid-template-rows: 214px 46px 214px; column-gap: 12px; width: max-content; padding-right: 4px; }
.rp-track-label { position: sticky; left: 0; z-index: 5; grid-column: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 11px; isolation: isolate; background: var(--rp-bg); box-shadow: 10px 0 14px var(--rp-bg); }
.rp-free-label { grid-row: 1; color: #b9c8a2; }
.rp-premium-label { grid-row: 3; color: #dcba81; }
.rp-track-label > .rp-icon { width: 24px; height: 24px; }
.rp-track-label > strong { font: 650 12px RPDisplay,Tektur,sans-serif; letter-spacing: .035em; }
.rp-track-label > span { max-width: 72px; text-align: center; font-size: 8px; line-height: 1.6; color: #8c9879; letter-spacing: .04em; }
.rp-track-label > button { margin-top: 1px; padding: 5px 0; border: 0; background: transparent; color: #c4b488; font-size: 9px !important; text-decoration: underline; text-underline-offset: 4px; }
.rp-track-axis { position: sticky; left: 0; z-index: 5; grid-column: 1; grid-row: 2; display: flex; align-items: center; justify-content: center; background: var(--rp-bg); box-shadow: 10px 0 14px var(--rp-bg); color: #7e8b6a; font-size: 8px; font-weight: 700; letter-spacing: .06em; }
.rp-reward { --rarity: #9ba984; position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: stretch; min-width: 0; padding: 12px 13px 11px; overflow: hidden; scroll-snap-align: start; border: 1px solid #8b9a6f2b; border-bottom: 2px solid color-mix(in srgb,var(--rarity) 60%,#273022); border-radius: 16px; background: #1d241b; text-align: left; color: #e3e9d7; transition: transform .2s var(--rp-ease),border-color .2s,background .2s; }
.rp-reward::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 48%,color-mix(in srgb,var(--rarity) 10%,transparent),transparent 70%); pointer-events: none; }
.rp-reward[style*='grid-row:3'] { background: #27251d; border-top-color: #b99b5a40; }
.rp-rarity-common { --rarity: #9ba984; }
.rp-rarity-uncommon { --rarity: #a9b286; }
.rp-rarity-rare { --rarity: #86a9b7; }
.rp-rarity-epic { --rarity: #b79bbc; }
.rp-rarity-legendary { --rarity: #efbb72; }
.rp-reward-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 7px; min-height: 15px; color: #a2af93; font-size: 10px; line-height: 1.3; }
.rp-reward-top > span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.rp-reward-top > .rp-icon { width: 13px; height: 13px; color: #8a977b; }
.rp-reward-top > i { flex: none; width: 5px; height: 5px; border-radius: 50%; background: #c0cc8e; }
.rp-reward-title { display: -webkit-box; min-height: 34px; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 12px; line-height: 1.4; font-weight: 700; color: #e6ebd9; }
.rp-reward-bottom { display: flex; justify-content: space-between; align-items: center; gap: 6px; min-height: 22px; margin-top: auto; padding-top: 7px; color: var(--rarity); font-size: 9px; font-weight: 800; letter-spacing: .04em; }
.rp-reward-bottom > .rp-icon { width: 14px; height: 14px; }
.rp-reward.is-current { border-color: #c5a36591; box-shadow: inset 0 0 0 1px #d2b67313; }
.rp-reward.is-available { border-color: #bdba7754; background: #282e20; }
.rp-reward.is-available .rp-reward-bottom { color: #e0cc95; }
.rp-reward.is-claimed { background: #191f17; }
.rp-reward.is-claimed .rp-item-art { opacity: .64; }
.rp-reward.is-claimed .rp-reward-top > .rp-icon { color: #adc88d; }
.rp-reward.is-locked .rp-item-art { opacity: .88; }
.rp-level-tick { position: relative; z-index: 1; isolation: isolate; display: flex; align-items: center; justify-content: center; color: #83936e; font: 600 11px RPDisplay,Tektur,sans-serif; }
.rp-level-tick::before { content: ''; position: absolute; z-index: -1; top: 50%; left: -6px; width: calc(100% + 12px); height: 1px; background: #53613c75; }
.rp-level-tick > span { padding: 4px 9px; background: var(--rp-bg); font-variant-numeric: tabular-nums; }
.rp-level-tick.is-earned { color: #d2bd8d; }
.rp-level-tick.is-earned::before { background: #9f815483; }
.rp-level-tick.is-current > span { display: grid; place-items: center; width: 29px; height: 29px; padding: 0; border: 1px solid #d6ab6466; border-radius: 50%; background: #69512c; color: #ffe6b7; }
.rp-level-tick > i { position: absolute; bottom: -1px; color: #cbb77f; font: normal 700 6px Manrope,sans-serif; letter-spacing: .06em; white-space: nowrap; }
.rp-rail-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 7px; color: #899776; font-size: 10px; }
.rp-rail-foot > span:first-child { display: flex; align-items: center; gap: 6px; }
.rp-rail-foot .rp-icon { width: 13px; height: 13px; }
.rp-rail-foot > span:nth-child(2) { color: #717e60; }

/* Cosmetic artwork */
.rp-item-art { position: relative; isolation: isolate; display: flex; flex: none; align-items: center; justify-content: center; width: 100%; height: 116px; min-height: 0; pointer-events: none; }
.rp-item-art > img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 7px 7px #0004); transition: transform .3s var(--rp-ease); }
.rp-art-fallback { display: none; align-items: center; justify-content: center; width: 64px; height: 64px; border: 1px solid #b3915755; border-radius: 17px; background: #343323; color: #d3b67f; }
.rp-art-fallback > .rp-icon { width: 35px; height: 35px; }
.rp-image-unavailable > .rp-art-fallback { display: flex; }
.rp-art-landscape { position: relative; display: block; width: 109px; height: 74px; overflow: hidden; border: 1px solid #a9bd7d59; border-radius: 10px; background: linear-gradient(150deg,#758253,#1d3623); box-shadow: 0 8px 12px #0003; transform: rotate(-7deg); filter: hue-rotate(var(--item-tone)); }
.rp-art-landscape > i { position: absolute; top: -8%; bottom: -8%; left: 17%; width: 7px; background: #182c1c; transform: rotate(13deg); }
.rp-art-landscape > i:nth-child(2) { left: 45%; width: 11px; transform: rotate(-7deg); }
.rp-art-landscape > i:nth-child(3) { left: 81%; width: 7px; transform: rotate(4deg); }
.rp-art-landscape > b { position: absolute; top: 35%; left: -10%; right: -10%; height: 18px; background: #e0d29730; filter: blur(5px); transform: rotate(-15deg); }
.rp-item-art > .rp-art-avatar { position: relative; display: grid; place-items: center; width: 72px; height: 72px; border: 1px solid #b0c38b70; border-radius: 22px; background: #38472b; color: #d7e2bc; box-shadow: 0 8px 12px #0003; transform: rotate(-7deg); filter: hue-rotate(var(--item-tone)); }
.rp-art-avatar > .rp-icon { width: 39px; height: 39px; }
.rp-art-avatar > i { position: absolute; right: -5px; bottom: -4px; min-width: 23px; padding: 3px; border-radius: 6px; background: #b9c791; color: #25351e; text-align: center; font: normal 750 10px RPDisplay,sans-serif; }
.rp-item-art > .rp-art-sticker { display: grid; place-items: center; width: 64px; height: 70px; border: 3px solid #eedbb7; border-radius: 20px 9px 22px 9px; background: #d7ad6e; color: #75502b; box-shadow: 0 6px 8px #0004; transform: rotate(-14deg); filter: hue-rotate(calc(var(--item-tone)*.4)); }
.rp-art-sticker > .rp-icon { width: 39px; height: 39px; fill: #92643220; }
.rp-item-art > .rp-art-title { display: block; max-width: 135px; padding: 8px 2px; border-block: 1px solid #c0ba8055; color: #d2d2af; font: 600 13px/1.25 RPDisplay,Tektur,sans-serif; letter-spacing: -.04em; text-align: center; text-transform: uppercase; transform: rotate(-4deg); text-wrap: balance; }

/* Premium remains a collection of profile cosmetics */
.rp-premium-banner { position: relative; isolation: isolate; display: flex; align-items: center; gap: 16px; margin-top: 25px; padding: 21px 22px; overflow: hidden; border: 1px solid #a0804e3a; border-radius: 20px; background: #26271e; }
.rp-premium-banner-icon { display: grid; place-items: center; flex: none; width: 43px; height: 43px; border: 1px solid #c6a2673d; border-radius: 12px; background: #b18c4210; color: #d3b071; }
.rp-premium-banner-icon > .rp-icon { width: 23px; height: 23px; }
.rp-premium-banner .rp-overline { color: #b4a174; font-size: 8px; margin-bottom: 5px; }
.rp-premium-banner h3 { color: #e4d5b5; font: 600 20px/1.2 RPDisplay,Tektur,sans-serif; letter-spacing: -.04em; }
.rp-premium-banner p { margin-top: 6px; color: #a5ab95; font-size: 11px; }
.rp-premium-unlock { width: min(100%, 280px); min-width: 0; margin-top: 12px; }
.rp-premium-unlock-label { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; color: #b4bea4; font-size: 10px; line-height: 1.5; }
.rp-premium-unlock-label > span { min-width: 0; overflow-wrap: anywhere; }
.rp-premium-unlock .rp-mission-progress { width: 100%; margin-top: 7px; }
.rp-premium-banner > .rp-secondary { position: relative; z-index: 1; margin-left: auto; }
.rp-banner-leaf { position: absolute; z-index: -1; right: 18%; top: -20px; bottom: -20px; color: #b1915220; transform: rotate(-17deg); }
.rp-banner-leaf > .rp-icon { width: 145px; height: 145px; stroke-width: 1; }

/* Missions */
.rp-segment { display: flex; gap: 3px; padding: 3px; border: 1px solid #8b9a6d24; border-radius: 11px; background: #1a2118; }
.rp-segment > button { min-height: 32px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: #97a285; font-size: 10px; font-weight: 650; }
.rp-segment > button.is-active { background: #37432b; color: #e3ebd3; }
.rp-mission-summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 16px; color: #8d9d79; font-size: 11px; }
.rp-mission-summary > span { display: flex; align-items: center; gap: 6px; }
.rp-mission-summary .rp-icon { width: 14px; height: 14px; }
.rp-mission-summary > b { color: #b4c49b; font-weight: 650; white-space: nowrap; }
.rp-missions { display: grid; gap: 12px; }
.rp-mission { display: grid; grid-template-columns: 46px minmax(0,1fr) auto; gap: 18px; align-items: center; padding: 22px; border: 1px solid #8b9f6529; border-radius: 19px; background: #1a2218; }
.rp-mission-mark { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid #a9be7c2b; border-radius: 13px; background: #87a35c10; color: #b6ca94; }
.rp-mission-mark .rp-icon { width: 23px; height: 23px; }
.rp-mission-copy { min-width: 0; }
.rp-mission-copy > .rp-overline { margin-bottom: 6px; font-size: 8px; color: #91a478; }
.rp-mission-copy h3 { color: #e0e9d3; font-size: 15px; line-height: 1.35; font-weight: 750; letter-spacing: -.02em; }
.rp-mission-copy > p { margin-top: 5px; color: #98aa86; font-size: 12px; line-height: 1.5; }
.rp-mission-progress { width: 240px; max-width: 100%; height: 4px; margin-top: 13px; overflow: hidden; border-radius: 4px; background: #829c4f1b; }
.rp-mission-progress > i { display: block; height: 100%; border-radius: inherit; background: #a4b87a; transition: width .4s var(--rp-ease); }
.rp-mission-copy > small { display: block; margin-top: 6px; color: #a0b586; font-size: 10px; }
.rp-mission-reward { display: flex; flex-direction: column; align-items: flex-end; gap: 11px; }
.rp-mission-reward > b { color: #ebc283; font: 600 25px/1 RPDisplay,Tektur,sans-serif; letter-spacing: -.05em; white-space: nowrap; }
.rp-mission-reward > b > span { color: #b9a778; font: 750 10px Manrope,sans-serif; letter-spacing: .04em; }
.rp-mission-reward > .rp-primary { min-height: 38px; padding: 0 15px; border-radius: 10px; font-size: 11px !important; }
.rp-mission-state { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid #8399632b; border-radius: 10px; background: #28351e; color: #99ac7e; font-size: 11px !important; font-weight: 650 !important; }
.rp-mission-state > .rp-icon { width: 13px; height: 13px; }
.rp-mission.is-complete:not(.is-claimed) { border-color: #a9bc6e6b; background: #232c1c; }
.rp-mission.is-claimed .rp-mission-mark { background: #6b8e3b18; color: #9ebd74; }

/* Dialogs, owned collection and request states */
.rp-overlay { position: fixed; z-index: 1000; inset: 0; display: grid; grid-template: minmax(0,1fr) / minmax(0,1fr); place-items: center; padding: 20px; background: #080c08d6; backdrop-filter: blur(9px); animation: rp-fade-in .18s ease both; }
.rp-modal { position: relative; width: 430px; min-width: 0; max-width: 100%; max-height: calc(100dvh - 40px); padding: 28px; overflow-y: auto; overscroll-behavior: contain; outline: none; border: 1px solid #9aa9784d; border-radius: 25px; background: #1c251a; box-shadow: 0 24px 90px #0008; text-align: center; animation: rp-modal-in .23s var(--rp-ease) both; scrollbar-width: thin; scrollbar-color: #82945a70 transparent; }
.rp-modal-close { position: absolute; z-index: 2; top: 13px; right: 13px; display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid #8b9b6e2b; border-radius: 50%; background: #7e92530c; color: #a4b38e; }
.rp-modal-close > .rp-icon { width: 16px; height: 16px; }
.rp-modal h2 { margin-top: 8px; color: #ece5d3; font: 600 27px/1.2 RPDisplay,Tektur,sans-serif; letter-spacing: -.055em; overflow-wrap: anywhere; }
.rp-modal h2 > em { color: var(--rp-amber); font-style: normal; }
.rp-modal > p { margin-top: 11px; color: #9eaf8a; font-size: 12px; line-height: 1.6; }
.rp-modal > .rp-overline { margin-top: 8px; color: #adb888; font-size: 9px; }
.rp-modal-primary { display: flex; width: 100%; margin-top: 22px; min-height: 44px; }
.rp-modal-reward-art { position: relative; height: 184px; margin-bottom: 18px; border-radius: 20px; background: radial-gradient(ellipse at center,color-mix(in srgb,var(--rarity) 9%,transparent),transparent 68%); }
.rp-item-art-large { width: 100%; height: 184px; margin: auto; }
.rp-item-art-large > img { max-width: 260px; }
.rp-item-art-large .rp-art-landscape { width: 176px; height: 120px; border-radius: 15px; }
.rp-item-art-large .rp-art-avatar { width: 110px; height: 110px; border-radius: 32px; }
.rp-item-art-large .rp-art-avatar > .rp-icon { width: 57px; height: 57px; }
.rp-item-art-large .rp-art-sticker { width: 100px; height: 110px; border-radius: 31px 15px 34px 15px; }
.rp-item-art-large .rp-art-sticker > .rp-icon { width: 60px; height: 60px; }
.rp-item-art-large .rp-art-title { max-width: 260px; padding: 15px; font-size: 25px; }
.rp-modal-rarity { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--rarity); font-size: 10px; }
.rp-modal-rarity > i { width: 5px; height: 5px; border-radius: 50%; background: var(--rarity); }
.rp-modal-received,.rp-modal-locked { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 20px; padding: 13px; border: 1px solid #97b96338; border-radius: 12px; background: #7e9a4c0d; color: #b4cc94; font-size: 12px; }
.rp-modal-locked { color: #a7b697; border-color: #8b9b6b30; }
.rp-modal-received > .rp-icon,.rp-modal-locked > .rp-icon { width: 17px; height: 17px; }
.rp-premium-modal-art { position: relative; height: 155px; margin: 0 auto 19px; }
.rp-premium-modal-art > img { max-width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 8px 14px #0004); }
.rp-premium-perks { display: flex; flex-direction: column; gap: 11px; width: max-content; max-width: 100%; margin: 24px auto 0; text-align: left; }
.rp-premium-perks > span { display: flex; align-items: center; gap: 8px; color: #c0cdb0; font-size: 12px; }
.rp-premium-perks .rp-icon { width: 17px; height: 17px; color: #d3b57b; }
.rp-collection-modal { width: 690px; }
.rp-collection-persona { position: relative; display: flex; align-items: center; gap: 16px; margin: 22px 0; padding: 18px; border: 1px solid #96a66b30; border-radius: 17px; background: #25301f; text-align: left; }
.rp-collection-persona.has-background { background: linear-gradient(120deg,#3b4a2e,#1c3021 65%,#5b492a); }
.rp-collection-persona.has-theme { border-color: #c09a5e79; }
.rp-persona-avatar { position: relative; display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: #4c5c35; color: #e0e8cd; font-size: 21px; font-weight: 750; }
.rp-persona-avatar > img { position: absolute; inset: -20%; width: 140%; height: 140%; max-width: none; object-fit: contain; pointer-events: none; }
.rp-collection-persona > div { min-width: 0; }
.rp-collection-persona strong { display: block; color: #e4ebd6; font-size: 14px; line-height: 1.4; overflow-wrap: anywhere; }
.rp-collection-persona > div > span { display: block; margin-top: 5px; color: #adba98; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.rp-persona-badge { flex: none; width: 32px; height: 32px; margin-left: auto; object-fit: contain; }
.rp-collection-persona:has(.rp-persona-case) { padding-right: 80px; }
.rp-persona-case { position: absolute; right: 3px; bottom: -6px; width: 80px; height: 80px; object-fit: contain; transform: rotate(-7deg); pointer-events: none; }
.rp-persona-sticker { position: absolute; right: 10px; top: 8px; display: grid; place-items: center; width: 27px; height: 31px; border: 2px solid #efd5a5; border-radius: 8px 4px 10px 4px; background: #d5a165; color: #563c26; transform: rotate(12deg); }
.rp-persona-sticker > .rp-icon { width: 20px; height: 20px; }
.rp-collection-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.rp-owned-item { display: flex; flex-direction: column; min-width: 0; padding: 13px; border: 1px solid #8e9f6c2c; border-radius: 15px; background: #182216; text-align: left; }
.rp-owned-item.is-equipped { border-color: #a8bd6d7a; background: #26341e; }
.rp-owned-item > .rp-item-art { height: 106px; }
.rp-owned-item > span:not(.rp-item-art) { color: #8eaa74; font-size: 10px; }
.rp-owned-item h3 { display: -webkit-box; min-height: 36px; margin: 5px 0 13px; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: #dce7cc; font-size: 12px; line-height: 1.5; font-weight: 650; }
.rp-owned-item > button { width: 100%; min-height: 36px; margin-top: auto; padding: 0 8px; gap: 5px; border-radius: 10px; font-size: 11px !important; }
.rp-server-state { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; min-height: 190px; padding: 28px; border: 1px solid #92a16e30; border-radius: 20px; background: #1a2317; text-align: center; }
.rp-server-state > .rp-icon { width: 30px; height: 30px; color: #c29f61; }
.rp-server-state h2,.rp-server-state h3 { color: #dbe6c8; font: 600 24px/1.2 RPDisplay,Tektur,sans-serif; letter-spacing: -.04em; }
.rp-server-state p { max-width: 320px; color: #99ad82; font-size: 12px; }
.rp-server-state .rp-mission-progress { margin-top: 0; }
.rp-server-state[aria-busy='true'] .rp-mission-progress > i { width: 40%; animation: rp-loading 1.5s ease-in-out infinite; }
.rp-toast { position: fixed; z-index: 1100; left: 50%; bottom: calc(94px + env(safe-area-inset-bottom,0px)); display: flex; align-items: center; gap: 8px; max-width: calc(100vw - 32px); padding: 12px 16px; border: 1px solid #a6bd7b50; border-radius: 13px; background: #29371ff5; box-shadow: 0 8px 24px #0005; color: #e4edda; font-size: 12px; font-weight: 650; white-space: normal; opacity: 0; transform: translate(-50%,10px); pointer-events: none; transition: opacity .2s,transform .2s var(--rp-ease); }
.rp-toast.is-visible { opacity: 1; transform: translate(-50%,0); }
.rp-toast > .rp-icon { width: 17px; height: 17px; color: #b8cf8d; }
.rp-preview-label { color: #a3ad92; font-size: 10px; }
.rp-equipped-frame-art { position: absolute; z-index: 1; inset: -22%; width: 144%; height: 144%; max-width: none; object-fit: contain; pointer-events: none; }
.rp-equipped-frame > div { z-index: 2; }
.rp-equipped-badge { width: 18px; height: 18px; object-fit: contain; }
.rp-equipped-background { background: linear-gradient(115deg,#304029,#18271b 65%,#514229); }
.rp-equipped-theme { box-shadow: inset 0 0 0 1px #cba26055; }

/* Owned cosmetics retain their existing profile presentation */
.profile-head .avatar > img.profile-pass-frame { position: absolute; z-index: 1; inset: -21%; width: 142%; height: 142%; max-width: none; border-radius: 0; object-fit: contain; pointer-events: none; }
.profile-head.profile-pass-background { padding: 22px; border-radius: 19px; background: linear-gradient(135deg,#39412b,#18241b 65%,#514029); }
.profile-head.profile-pass-theme { box-shadow: inset 0 0 0 1px #c49b5a75; }
.profile-pass-title { display: block; margin-top: 5px; color: #d1af75; font-size: 11px; line-height: 1.4; }
.profile-pass-badge { width: 28px; height: 28px; margin-left: 6px; object-fit: contain; vertical-align: middle; }
.profile-pass-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin: 16px 0; padding: 15px 18px; border: 1px solid #9e975e42; border-radius: 14px; background: #24281a; color: #e2d4b2; font-size: 12px; font-weight: 700; }
.profile-pass-link span:last-child { color: #b9a77c; font-size: 11px; }
.profile-pass-collectibles { display: flex; flex-wrap: wrap; gap: 9px; margin: 10px 0; }
.profile-pass-collectible { display: flex; align-items: center; gap: 9px; flex: 1; min-width: 130px; padding: 9px 11px; overflow: hidden; border: 1px solid #8c9b692d; border-radius: 12px; background: #24281b; }
.profile-pass-collectible > img { flex: none; width: 44px; height: 44px; object-fit: contain; }
.profile-pass-collectible > svg { flex: none; width: 31px; height: 35px; padding: 3px; border: 2px solid #edcd94; border-radius: 9px 5px 10px 4px; background: #daa764; color: #4b3722; transform: rotate(-7deg); }
.profile-pass-collectible > span { min-width: 0; }
.profile-pass-collectible small { display: block; color: #9d9f85; font-size: 10px; }
.profile-pass-collectible strong { display: block; margin-top: 4px; color: #e0c79d; font-size: 11px; line-height: 1.35; overflow-wrap: anywhere; }

/* RUSH PASS uses .rp-page rather than the shell's .page. Reserve the fixed
   navigation footprint here too, including Telegram/iOS's bottom safe area. */
@media (max-width:979px) {
  body.has-tabs[data-view='pass'] {
    --rp-fixed-nav-space: calc(max(var(--tabbar-h, 60px), 80px) + max(var(--safe-bottom, env(safe-area-inset-bottom, 0px)), var(--tg-content-safe-area-inset-bottom, 0px)));
  }
  body.has-tabs[data-view='pass'] .rp-page {
    padding-bottom: calc(var(--rp-fixed-nav-space) + 24px);
  }
  body.has-tabs[data-view='pass'] .rp-overlay {
    padding-bottom: calc(var(--rp-fixed-nav-space) + var(--rp-modal-gutter));
  }
  body.has-tabs[data-view='pass'] .rp-modal {
    max-height: calc(100dvh - var(--rp-fixed-nav-space) - var(--rp-modal-gutter) - var(--rp-modal-gutter));
  }
}

@media (min-width:980px) {
  body[data-view='pass'] .tabbar { display: none; }
  body[data-view='pass'] { padding-bottom: 24px; }
}

@media (hover:hover) {
  .rp-primary:hover:not(:disabled) { background: #ffd18c; transform: translateY(-1px); }
  .rp-secondary:hover:not(:disabled) { background: #3a3929; border-color: #c4a36877; }
  .rp-tab:hover:not(.is-active) { background: #8f9f6310; color: #dae1cc; }
  .rp-text-button:hover,.rp-collection-count:hover { border-color: #a4b77866; background: #718f3f12; }
  .rp-reward:hover { transform: translateY(-3px); border-color: color-mix(in srgb,var(--rarity) 75%,transparent); }
  .rp-reward:hover .rp-item-art > img { transform: translateY(-3px) rotate(-3deg); }
  .rp-featured-reward:hover { border-color: #c4ac746f; background: linear-gradient(108deg,#373b29,#202a1e 75%); }
}

@media (max-width:900px) {
  .rp-page { padding-inline: 21px; }
  .rp-hero { height: 298px; }
  .rp-hero-copy { padding: 13px 0 0 25px; }
  .rp-hero h1 { font-size: 64px; }
  .rp-hero-object { right: 1%; width: 50%; height: 244px; top: -13px; }
  .rp-hero-cta { margin-top: 8px; }
  .rp-hero-subtitle { margin-top: 8px !important; }
  .rp-progress-card { padding-inline: 22px; }
  .rp-reward-grid { grid-template-columns: 70px repeat(50,156px); grid-template-rows: 204px 44px 204px; column-gap: 11px; }
  .rp-reward-viewport { scroll-padding-left: 81px; }
  .rp-premium-banner { flex-wrap: wrap; gap: 13px; }
  .rp-premium-banner > .rp-secondary { margin-left: 59px; }
}

@media (max-width:600px) {
  .rp-page { --rp-modal-gutter: 13px; padding: 10px 16px 38px; }
  .rp-season-head { margin-bottom: 10px; gap: 8px; }
  .rp-season-kicker { gap: 6px; font-size: 8px; letter-spacing: .08em; }
  .rp-season-kicker > .rp-icon { width: 14px; height: 14px; }
  .rp-season-name { margin-left: 2px; padding-left: 8px; letter-spacing: .09em; }
  .rp-season-time { gap: 4px; font-size: 9px; }
  .rp-season-time > .rp-icon { width: 12px; height: 12px; }
  .rp-hero { height: 256px; border-radius: 20px; }
  .rp-hero::after { left: 52%; bottom: 66px; }
  .rp-forest { bottom: 66px; left: 30%; opacity: .13; }
  .rp-hero-copy { width: 55%; padding: 12px 0 0 17px; }
  .rp-hero-edition { margin-bottom: 6px; font-size: 7px; letter-spacing: .13em; }
  .rp-hero h1 { font-size: clamp(47px,13.8vw,53px); line-height: .84; letter-spacing: -.065em; }
  .rp-hero h1 em { margin-top: 4px; }
  .rp-hero-subtitle { margin-top: 8px !important; font-size: 10px; white-space: nowrap; }
  .rp-hero-cta { min-height: 32px !important; margin-top: 7px; padding: 0 12px !important; border-radius: 9px !important; font-size: 10px !important; gap: 6px; }
  .rp-hero-cta > .rp-icon { width: 13px; height: 13px; }
  .rp-hero-object { top: -2px; right: 1%; width: 53%; height: 194px; }
  .rp-hero-object > img { filter: drop-shadow(0 10px 9px #080b0870); }
  .rp-object-ground { left: 14%; right: 11%; bottom: 14%; height: 9px; filter: blur(10px); }
  .rp-leaves { bottom: 66px; }
  .rp-leaves > span { opacity: .25; }
  .rp-leaves .rp-icon { max-width: 16px; max-height: 16px; }
  .rp-progress-card { height: 66px; grid-template-columns: 43px minmax(0,1fr) 62px; grid-template-rows: 16px 3px 13px; gap: 5px 10px; padding: 10px 14px; }
  .rp-level-ring { width: 43px; height: 43px; }
  .rp-level-ring strong { font-size: 23px; }
  .rp-level-ring span { margin-top: 4px; font-size: 5px; }
  .rp-level-ring > svg { stroke-width: 3.5; }
  .rp-xp { gap: 4px; font-size: 9px; white-space: nowrap; }
  .rp-xp strong { font-size: 14px; }
  .rp-xp-line { height: 3px; }
  .rp-progress-card > p { font-size: 9px; white-space: nowrap; }
  .rp-pass-status { gap: 4px; min-height: 32px; padding: 0 6px; border-radius: 9px; font-size: 8px !important; letter-spacing: .01em; }
  .rp-pass-status > .rp-icon { width: 11px; height: 11px; }
  .rp-section-nav { gap: 10px; margin: 16px 0 23px; }
  .rp-tabs { flex: 1; gap: 2px; padding: 3px; border-radius: 13px; }
  .rp-tab { flex: 1; gap: 5px; min-height: 37px; padding: 0 10px; border-radius: 9px; font-size: 11px !important; }
  .rp-tab > .rp-icon { width: 14px; height: 14px; }
  .rp-collection-count { min-height: 43px; padding: 0 10px; border-radius: 11px; font-size: 10px !important; gap: 5px; }
  .rp-collection-count > .rp-icon { width: 14px; height: 14px; }
  .rp-collection-count b { min-width: 18px; height: 18px; margin-left: 3px; font-size: 9px; }
  .rp-panel-head { gap: 12px; margin-bottom: 15px; }
  .rp-panel-head h2 { font-size: 22px; }
  .rp-panel-head small { margin-top: 5px; font-size: 9px; }
  .rp-text-button { min-height: 33px; padding: 0 9px; font-size: 9px !important; gap: 5px; }
  .rp-text-button > .rp-icon { width: 12px; height: 12px; }
  .rp-featured { margin-bottom: 15px; }
  .rp-featured-reward { grid-template-columns: 66px minmax(0,1fr) 26px; gap: 10px; min-height: 86px; padding: 7px 12px 7px 5px; border-radius: 16px; }
  .rp-featured-reward > .rp-item-art { width: 66px; height: 70px; }
  .rp-featured-copy > small { margin-bottom: 4px; font-size: 7px; letter-spacing: .07em; }
  .rp-featured-copy > strong { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 11px; line-height: 1.4; }
  .rp-featured-copy > span { margin-top: 4px; font-size: 9px; }
  .rp-featured-lock { width: 26px; height: 28px; border-radius: 8px; }
  .rp-featured-lock > .rp-icon { width: 12px; height: 12px; }
  .rp-reward-grid { grid-template-columns: 50px repeat(50,140px); grid-template-rows: 188px 40px 188px; column-gap: 10px; }
  .rp-reward-viewport { scroll-padding-left: 60px; padding-bottom: 10px; }
  .rp-track-label { gap: 9px; box-shadow: 8px 0 12px var(--rp-bg); }
  .rp-track-label > .rp-icon { width: 19px; height: 19px; }
  .rp-track-label > strong { font-size: 9px; letter-spacing: .005em; }
  .rp-track-label > span,.rp-track-label > button { display: none; }
  .rp-track-axis { font-size: 6px; letter-spacing: .015em; box-shadow: 8px 0 12px var(--rp-bg); }
  .rp-reward { padding: 10px 10px 9px; border-radius: 14px; }
  .rp-reward-top { min-height: 13px; gap: 4px; font-size: 8px; }
  .rp-reward-top > .rp-icon { width: 11px; height: 11px; }
  .rp-reward-title { min-height: 31px; font-size: 11px; line-height: 1.4; }
  .rp-reward-bottom { min-height: 20px; padding-top: 6px; font-size: 8px; }
  .rp-reward-bottom > .rp-icon { width: 12px; height: 12px; }
  .rp-item-art { height: 102px; }
  .rp-art-landscape { width: 94px; height: 65px; border-radius: 9px; }
  .rp-item-art:not(.rp-item-art-large) > .rp-art-sticker { width: 57px; height: 63px; }
  .rp-art-sticker > .rp-icon { width: 34px; height: 34px; }
  .rp-item-art > .rp-art-title { max-width: 115px; font-size: 11px; }
  .rp-level-tick { font-size: 10px; }
  .rp-level-tick.is-current > span { width: 25px; height: 25px; }
  .rp-level-tick > i { bottom: -1px; font-size: 5px; }
  .rp-rail-foot { gap: 7px; margin-top: 7px; font-size: 8px; }
  .rp-rail-foot > span:nth-child(2) { display: none; }
  .rp-rail-foot > span:last-child { white-space: nowrap; }
  .rp-rail-foot .rp-icon { width: 11px; height: 11px; }
  .rp-premium-banner { gap: 12px; margin-top: 22px; padding: 17px; border-radius: 17px; }
  .rp-premium-banner-icon { width: 36px; height: 36px; border-radius: 11px; }
  .rp-premium-banner-icon > .rp-icon { width: 20px; height: 20px; }
  .rp-premium-banner > div:nth-child(2) { flex: 1; min-width: 0; }
  .rp-premium-banner h3 { font-size: 17px; }
  .rp-premium-banner p { margin-top: 5px; font-size: 10px; line-height: 1.5; }
  .rp-premium-banner .rp-overline { font-size: 6px; }
  .rp-premium-banner > .rp-secondary { width: 100%; margin-left: 0; min-height: 39px; font-size: 11px !important; }
  .rp-missions-panel .rp-panel-head { align-items: center; }
  .rp-missions-panel .rp-panel-head h2 { max-width: 140px; font-size: 20px; }
  .rp-missions-panel .rp-overline { display: none; }
  .rp-segment { gap: 2px; padding: 3px; border-radius: 10px; }
  .rp-segment > button { min-height: 31px; padding: 0 9px; border-radius: 7px; font-size: 9px; white-space: nowrap; }
  .rp-mission-summary { gap: 9px; padding-bottom: 13px; font-size: 9px; }
  .rp-mission-summary > span { gap: 4px; }
  .rp-mission-summary .rp-icon { width: 12px; height: 12px; }
  .rp-missions { gap: 11px; }
  .rp-mission { grid-template-columns: 34px minmax(0,1fr); gap: 11px 12px; padding: 16px; border-radius: 17px; }
  .rp-mission-mark { width: 33px; height: 35px; align-self: start; border-radius: 10px; }
  .rp-mission-mark .rp-icon { width: 19px; height: 19px; }
  .rp-mission-copy h3 { font-size: 13px; }
  .rp-mission-copy > p { margin-top: 4px; font-size: 10px; }
  .rp-mission-progress { margin-top: 11px; height: 3px; }
  .rp-mission-copy > small { margin-top: 5px; font-size: 9px; }
  .rp-mission-reward { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; }
  .rp-mission-reward > b { font-size: 21px; }
  .rp-mission-reward > b > span { font-size: 9px; }
  .rp-mission-reward > .rp-primary { min-height: 36px; padding: 0 12px; font-size: 10px !important; }
  .rp-mission-reward > .rp-secondary { min-width: 0; max-width: 100%; min-height: 36px; padding: 0 12px; font-size: 10px !important; }
  .rp-mission-state { min-height: 34px; padding: 0 10px; font-size: 10px !important; }
  .rp-overlay { padding: 13px; }
  .rp-modal { max-height: calc(100dvh - 26px); padding: 26px 22px; border-radius: 22px; }
  .rp-modal h2 { font-size: 24px; }
  .rp-modal > p { font-size: 11px; }
  .rp-modal-reward-art,.rp-item-art-large { height: 169px; }
  .rp-item-art-large .rp-art-title { max-width: 235px; font-size: 22px; }
  .rp-collection-modal { padding: 25px 16px; }
  .rp-collection-persona { gap: 12px; margin: 20px 0; padding: 15px; }
  .rp-collection-persona strong { font-size: 13px; }
  .rp-collection-persona > div > span { font-size: 10px; }
  .rp-collection-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  .rp-owned-item { padding: 10px; border-radius: 13px; }
  .rp-owned-item > .rp-item-art { height: 96px; }
  .rp-owned-item h3 { min-height: 35px; margin-bottom: 11px; font-size: 11px; }
  .rp-owned-item > button { min-height: 34px; font-size: 10px !important; }
  .rp-collection-modal .rp-item-art > .rp-art-title { max-width: 110px; font-size: 11px; }
  .rp-server-state { min-height: 170px; padding: 23px; }
  .rp-server-state h2,.rp-server-state h3 { font-size: 21px; }
  .rp-server-state p { font-size: 11px; }
  .rp-toast { padding: 12px 14px; font-size: 11px; }
}

@media (max-width:360px) {
  .rp-page { padding-inline: 12px; }
  .rp-season-name { padding-left: 6px; margin-left: 0; }
  .rp-season-time { font-size: 8px; }
  .rp-hero { height: 246px; }
  .rp-hero-copy { padding-left: 15px; }
  .rp-hero-object { right: 1%; width: 53%; height: 183px; top: 2px; }
  .rp-hero-subtitle { font-size: 9px; }
  .rp-hero-cta { margin-top: 9px; min-height: 30px !important; }
  .rp-progress-card { padding-inline: 11px; column-gap: 8px; grid-template-columns: 41px minmax(0,1fr) 58px; }
  .rp-level-ring { width: 41px; height: 41px; }
  .rp-progress-card > p { font-size: 8px; }
  .rp-xp { font-size: 8px; }
  .rp-xp strong { font-size: 13px; }
  .rp-section-nav { gap: 8px; }
  .rp-tab { padding-inline: 7px; font-size: 10px !important; }
  .rp-collection-count { padding-inline: 9px; }
  .rp-collection-count > .rp-icon { display: none; }
  .rp-panel-head h2 { font-size: 20px; }
  .rp-featured-copy > strong { font-size: 10px; }
  .rp-mission-summary { font-size: 8px; }
  .rp-missions-panel .rp-panel-head h2 { font-size: 18px; }
  .rp-segment > button { padding-inline: 7px; font-size: 8px; }
}

@keyframes rp-page-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes rp-case-float { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-4px) rotate(-2deg); } }
@keyframes rp-leaf-drift { 0%,100% { transform: translate(0,0) rotate(calc(var(--leaf)*37deg)); } 50% { transform: translate(-9px,7px) rotate(calc(var(--leaf)*37deg + 15deg)); } }
@keyframes rp-fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rp-modal-in { from { opacity: 0; transform: translateY(9px) scale(.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes rp-loading { 0% { transform: translateX(-105%); } 100% { transform: translateX(350%); } }

@media (prefers-reduced-motion:reduce) {
  .rp-page,.rp-page *,.rp-page *::before,.rp-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .rp-hero-object { transform: none !important; }
  .rp-hero-object > img { transform: rotate(-3deg); }
}
