/* REGRET R5.9.0 / A+B Guild Empire — scoped improvements.
   No editor canvas, video, text-image artwork or API/moderation behavior is changed. */
body.rg590-unified{--rg590-gold:#e9bf77;--rg590-pink:#f35ce5;--rg590-soft:#eeddf1;--rg590-edge:#8e4a95;font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;color:#f8eefe;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
body.rg590-unified #rg28-shell{font-size:16px;line-height:1.55}
body.rg590-unified #rg28-shell .rg28-header{min-height:78px;border-bottom:1px solid #9c4a8f;background:linear-gradient(100deg,#13071dfb,#2c1234f9 52%,#100613fb);box-shadow:0 12px 32px #000b,0 1px 18px #f448d534}
body.rg590-unified #rg28-shell .rg28-header-inner{min-height:78px}
body.rg590-unified #rg28-shell .rg28-brand strong{font-size:24px}
body.rg590-unified #rg28-shell .rg28-desktop{justify-content:center;gap:14px}
body.rg590-unified #rg28-shell .rg28-toplink{font-size:16px;min-height:46px;padding:10px 16px;font-weight:800;letter-spacing:.01em;color:#fff4fb}
body.rg590-unified #rg28-shell .rg590-guild-link{border:1.5px solid #ad6d8b;background:#29112c;box-shadow:inset 0 0 0 1px #e4a96625}
body.rg590-unified #rg28-shell .rg28-account,body.rg590-unified #rg28-shell .rg28-trade{font-size:15px;min-height:46px;padding:9px 13px}
body.rg590-unified #rg28-shell .rg28-dropdown{width:min(720px,calc(100vw - 42px));max-height:calc(100dvh - 118px);overflow-y:auto;left:50%;transform:translateX(-50%);padding:21px 22px;gap:14px;background:linear-gradient(140deg,#1d0c28f9,#0d0915fc);border:1.5px solid var(--rg590-gold);box-shadow:0 25px 65px #000d,0 0 32px #b53ec24d}
body.rg590-unified #rg28-shell .rg590-explore-section{margin:0 0 5px;padding:0 0 12px;border-bottom:1px solid #794a7c7c}
body.rg590-unified #rg28-shell .rg590-explore-heading{margin:0 0 9px;color:var(--rg590-gold);font-size:14px;font-weight:900;letter-spacing:.14em;line-height:1.5}
body.rg590-unified #rg28-shell .rg590-explore-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
body.rg590-unified #rg28-shell .rg590-explore-links>a{min-height:46px;padding:10px 13px;border:1px solid #69416f;background:#281330;border-radius:10px;font-size:15px;font-weight:740;color:#f5e1fc;white-space:normal;line-height:1.45}
body.rg590-unified #rg28-shell .rg590-explore-links>a:hover,body.rg590-unified #rg28-shell .rg590-explore-links>a:focus-visible,body.rg590-unified #rg28-shell .rg590-explore-links>a[aria-current]{background:#5b226b;border-color:#ee82f0;color:white}
body.rg590-unified #rg28-shell .rg28-subnav{display:none!important} /* Destinations live in one Explore menu, not repeated in a secondary strip. */
body.rg590-unified #rg28-shell .rg28-crumbs{font-size:14px}body.rg590-unified #rg28-shell .rg28-you-are{font-size:14px}
body.rg590-unified #rg28-shell .rg590-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
body.rg590-unified #rg28-shell .rg590-nav-note{color:#dabfe8;font-size:14px;line-height:1.5;padding:6px 12px;margin:0}
body.rg590-unified #rg28-shell .rg28-mobile-group>div{display:block}
body.rg590-unified #rg28-shell .rg28-mobile-group .rg590-explore-section{margin:10px 0}
body.rg590-unified #rg28-shell .rg590-guild-mobile{display:flex;align-items:center;padding:12px 14px;min-height:48px;border:1.5px solid var(--rg590-gold);border-radius:11px;background:#312038;color:#ffe3b2;font-size:16px;font-weight:800;text-decoration:none}
body.rg590-unified #rg28-shell .rg28-mobile-group>summary{font-size:16px!important;min-height:48px!important}
body.rg590-unified #rg28-shell .rg28-mobile-toggle{min-width:45px;min-height:45px}
/* Legibility rules are scoped to main content and common shell chrome, not canvas/editor artwork. */
body.rg590-unified main :is(p,li){font-size:max(16px,1em);line-height:1.65}
body.rg590-unified main :is(label,small){font-size:max(14px,1em);line-height:1.5}
body.rg590-unified main :is(input,textarea,select){font-size:max(16px,1em);line-height:1.5}
body.rg590-unified main :is(a,button){font-size:max(15px,1em);line-height:1.45}
body.rg590-unified main :is(.rg30-kicker,.rg31-overline,.rg30-disclaimer,.rg31-disclaimer,.rg30-chip,.rg31-chip,.rg30-card-bottom,.rg30-pager,.rg31-pager,.rg30-status-pill,.rg31-pill,.rg311-field-error,.rg312-status-chip,.rg30-mine-row small,.rg31-card-info,.rg29-eyebrow,.rg29-chip,.eyebrow,.mini-kicker,.studio-pills,.small-note,.preview-tag,.rg312-project-gate,.rg312-project-gate strong,.rg312-project-gate p){font-size:max(14px,1em);line-height:1.5}
body.rg590-unified :is(.rg311-account,.rg311-account *){letter-spacing:normal}
body.rg590-unified .rg311-account :is(p,label,small){font-size:max(14px,1em);line-height:1.5}
body.rg590-unified .rg311-account :is(button,input){font-size:max(16px,1em)}
body.rg590-unified :is(.rg30-container,.rg31-wrap) :is(h1,h2){text-wrap:balance;letter-spacing:.008em}
body.rg590-unified :is(.rg30-hero,.rg31-hero){border:1.5px solid #c89164;background:radial-gradient(circle at 85% 20%,#c935bd37,transparent 54%),linear-gradient(135deg,#20092e,#13081e 56%,#2b1030);box-shadow:0 0 34px #ba33cd23,0 24px 58px #0007}
body.rg590-unified :is(.rg30-hero,.rg31-hero) h1{color:#ffebdb;text-shadow:0 2px 12px #1003179e}
body.rg590-unified :is(.rg30-hero,.rg31-hero) h1 em{color:#ed62eb}
body.rg590-unified :is(.rg30-panel,.rg31-panel,.rg30-search,.rg31-search){border-color:#87548c;box-shadow:0 10px 36px #06000927}
body.rg590-unified :is(a,button,input,textarea,select,summary):focus-visible{outline:3px solid #ceff76!important;outline-offset:3px}
body.rg590-unified :is(.rg30-container,.rg31-wrap,.main) :is(p,li,label,button,a){text-shadow:none}
@media(max-width:1190px){body.rg590-unified #rg28-shell .rg28-header-inner{gap:9px}body.rg590-unified #rg28-shell .rg28-mobile-group>div .rg590-explore-links{grid-template-columns:repeat(2,minmax(0,1fr))}body.rg590-unified #rg28-shell .rg28-mobile-group>div{padding:9px 3px 4px}body.rg590-unified #rg28-shell .rg28-mobile{font-size:16px}}
@media(max-width:600px){body.rg590-unified #rg28-shell .rg28-header{min-height:70px}body.rg590-unified #rg28-shell .rg28-header-inner{min-height:70px;gap:6px}body.rg590-unified #rg28-shell .rg28-brand strong{font-size:20px}body.rg590-unified #rg28-shell .rg28-account,body.rg590-unified #rg28-shell .rg28-trade{padding:9px;min-width:42px}body.rg590-unified #rg28-shell .rg28-mobile-group>div .rg590-explore-links{grid-template-columns:1fr}body.rg590-unified #rg28-shell .rg590-explore-links>a{font-size:15px}body.rg590-unified #rg28-shell .rg28-dropdown{left:10px;right:10px;transform:none;width:auto}body.rg590-unified main :is(p,li){font-size:16px}}
@media(prefers-reduced-motion:reduce){body.rg590-unified *{scroll-behavior:auto!important}body.rg590-unified #rg28-shell *{transition-duration:.01ms!important}}

/* Very small devices: full-size text, two available actions, Trade inside mobile menu. */
body.rg590-unified #rg28-shell .rg590-trade-mobile{display:none}
@media(max-width:420px){
body.rg590-unified #rg28-shell .rg28-trade{display:none!important}
body.rg590-unified #rg28-shell .rg590-trade-mobile{display:flex;align-items:center;padding:11px 14px;min-height:48px;border-radius:10px;border:1.5px solid #b2eb64;background:#1a2a12;color:#e4ffb4;font-size:16px;font-weight:850}
body.rg590-unified #rg28-shell .rg28-header-inner{gap:4px}
body.rg590-unified #rg28-shell .rg28-actions{gap:5px}
body.rg590-unified #rg28-shell .rg28-brand strong{font-size:20px}
body.rg590-unified .rg30-hero{grid-template-columns:minmax(0,1fr)!important;min-width:0}
body.rg590-unified .rg30-hero>*{min-width:0;max-width:100%}
body.rg590-unified .rg30-hero h1{font-size:clamp(32px,9vw,48px)!important;overflow-wrap:anywhere}
body.rg590-unified .rg30-hero img{width:min(100%,290px);height:auto}
}
/* Preserve functional form actions, but never let high-specificity legacy rules shrink them. */
body.rg590-unified.rg31-page .rg312-gate-actions :is(a,button),
body.rg590-unified.rg31-page .rg311-schedule-button{font-size:15px!important;line-height:1.45;min-height:44px}
/* Audit-driven fixes for actual small visible text nodes in old components. */
body.rg590-unified main :is(span,b,strong){font-size:max(14px,1em)}
body.rg590-unified main :is(.tiny,.micro,.timer,.daily-num,.today-status,.r7-eyebrow,.r7-feedback,.kicker){font-size:max(14px,1em);line-height:1.55}
body.rg590-unified main :is(h3){font-size:max(18px,1em);line-height:1.3}
body.rg590-unified main :is(.studio-pills span,.preset span,.r7-perks span,.rg31-stages span){font-size:max(14px,1em)}
body.rg590-unified main :is(.kicker,.bottomnote,.status){font-size:14px!important;line-height:1.55}
