@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,500&family=DM+Sans:wght@400;500;600&display=swap');
/* RoveScape launcher: the Greenvale key art with a sign-in column on the left. */
body.launcher-open{background:#07110e;overflow:auto;margin:0}
body.launcher-open #world,body.launcher-open #hud,body.launcher-open #loading{display:none!important}
#rove-launcher{--gold:#d6b87a;--gold-hi:#f2dfaa;--gold-lo:#a8823c;--ink:#f3eee1;--muted:#b6c1b4;--soft:#8fa093;--line:#d6b87a4d;--night:#07110e;min-height:100vh;min-height:100svh;position:relative;isolation:isolate;display:grid;grid-template-rows:auto 1fr auto;color:var(--ink);font:14px/1.6 'DM Sans',system-ui,sans-serif;-webkit-font-smoothing:antialiased;cursor:default}
#rove-launcher *{box-sizing:border-box}
#rove-launcher a{color:inherit;text-decoration:none}
#rove-launcher button,#rove-launcher input{font:inherit;color:inherit}
#rove-launcher svg{display:block}

/* Scene */
.launcher-scene{position:fixed;inset:0;z-index:-1;overflow:hidden;background:radial-gradient(ellipse at 30% 20%,#1c3a30,#07110e 70%)}
.launcher-art{position:absolute;inset:-2%;width:104%;height:104%;object-fit:cover;object-position:68% 50%;opacity:0;transform:scale(1.08);transition:opacity 1.6s ease,transform 2.4s cubic-bezier(.2,.7,.2,1)}
#rove-launcher.art-ready .launcher-art{opacity:1;transform:scale(1);animation:launcher-drift 46s ease-in-out 2.4s infinite alternate}
.launcher-shade{position:absolute;inset:0;background:radial-gradient(ellipse 46% 40% at 9% 14%,#ffd28a2e,transparent 70%),linear-gradient(90deg,#06100ded 0,#06100dd6 24%,#06100d8c 40%,#06100d1f 58%,#06100d00 70%),linear-gradient(0deg,#050d0be6 0,#050d0b80 13%,transparent 32%),linear-gradient(180deg,#050d0bb3 0,transparent 16%)}
.launcher-shade:after{content:'';position:absolute;inset:0;box-shadow:inset 0 0 180px 40px #03080780}
.launcher-motes{position:absolute;inset:0;pointer-events:none}
.launcher-motes i{position:absolute;bottom:-12px;left:var(--x);width:var(--s);height:var(--s);border-radius:50%;background:#ffe3a3;box-shadow:0 0 10px 2px #f5c76a8c;opacity:0;animation:launcher-mote var(--t) linear var(--d) infinite}
.launcher-motes i:nth-child(3n){left:calc(var(--x) * .45)}
@keyframes launcher-drift{to{transform:scale(1.06) translate(-1.2%,-.8%)}}
@keyframes launcher-mote{0%{transform:translate(0,0);opacity:0}12%{opacity:.75}55%{transform:translate(var(--w),-55vh)}85%{opacity:.35}100%{transform:translate(calc(var(--w) * -.5),-108vh);opacity:0}}
@keyframes launcher-rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes launcher-fade{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes launcher-glow{0%,100%{opacity:.55;transform:scale(.96)}50%{opacity:1;transform:scale(1.04)}}
@keyframes launcher-sheen{from{transform:translateX(-120%) skewX(-18deg)}to{transform:translateX(320%) skewX(-18deg)}}
@keyframes launcher-spin{to{transform:rotate(360deg)}}

/* Top bar and footer */
.launcher-top{display:flex;align-items:center;justify-content:flex-end;gap:24px;padding:26px clamp(24px,5vw,72px) 0;animation:launcher-fade .9s .5s both}
.launcher-mini-brand{display:none;align-items:center;gap:10px;margin-right:auto}
.launcher-nav{display:flex;align-items:center;gap:4px}
.launcher-nav a+a:before{content:'';width:4px;height:4px;margin:0 14px 0 -10px;background:#d6b87a99;transform:rotate(45deg)}
.launcher-nav a{display:flex;align-items:center;gap:7px;padding:7px 10px;font-size:11px;font-weight:500;letter-spacing:.16em;text-transform:uppercase;color:#e7e6d9!important;text-shadow:0 1px 8px #000;transition:color .2s}
.launcher-nav a:hover{color:var(--gold-hi)!important}
.launcher-nav .launcher-arrow{width:12px;height:12px;transform:rotate(-45deg);color:var(--gold)}
.launcher-footer{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;padding:18px clamp(24px,5vw,72px) 22px;font-size:10px;letter-spacing:.22em;color:#9aa99c;animation:launcher-fade .9s .7s both}
.launcher-footer p{margin:0;white-space:nowrap}
.launcher-footer span{color:var(--gold);padding:0 8px}
.launcher-region{display:flex;align-items:center}
.launcher-gem{display:inline-block;width:7px;height:7px;padding:0!important;margin-right:12px;background:var(--gold);transform:rotate(45deg);box-shadow:0 0 0 3px #d6b87a26}
.launcher-legal{display:flex;gap:26px;letter-spacing:.16em;text-transform:uppercase}
.launcher-legal a{color:#c9d0c3!important;transition:color .2s}
.launcher-legal a:hover{color:var(--gold-hi)!important}
.launcher-credit{text-align:right}

/* Stage: emblem, wordmark and the card share one column */
.launcher-stage{display:flex;align-items:center;padding:12px clamp(24px,6.5vw,110px) 18px}
.launcher-column{width:min(100%,452px);display:flex;flex-direction:column;align-items:center}
.launcher-hero{display:flex;flex-direction:column;align-items:center;text-align:center;margin-bottom:26px;animation:launcher-rise 1.1s cubic-bezier(.2,.7,.2,1) .15s both}
.launcher-emblem{position:relative;width:112px;height:112px;display:grid;place-items:center;margin-bottom:12px}
.launcher-emblem:before{content:'';position:absolute;inset:-26px;border-radius:50%;background:radial-gradient(circle,#f3cf7c38,#f3cf7c0f 45%,transparent 70%);animation:launcher-glow 6s ease-in-out infinite}
.launcher-emblem img{position:relative;width:104px;height:104px;filter:drop-shadow(0 10px 22px #000a)}
.launcher-wordmark{margin:0;line-height:0}
.launcher-wordmark img{width:300px;height:auto;filter:drop-shadow(0 2px 0 #1a0f0280) drop-shadow(0 8px 24px #000c)}
.launcher-motto{display:flex;align-items:center;gap:14px;margin:14px 0 0;font-size:10px;letter-spacing:.42em;color:#e3cf9f;padding-left:.42em;text-shadow:0 1px 10px #000}
.launcher-motto:before,.launcher-motto:after{content:'';width:46px;height:1px;background:linear-gradient(90deg,transparent,var(--gold))}
.launcher-motto:after{background:linear-gradient(270deg,transparent,var(--gold))}

/* The card */
.launcher-card{position:relative;width:100%;padding:34px 40px 32px;background:linear-gradient(180deg,#15271fe0,#0b1813eb 60%,#09140ff2);border:1px solid #d6b87a5c;box-shadow:0 40px 90px -20px #000000d0,0 0 0 1px #00000040,inset 0 1px 0 #fff3cf14;-webkit-backdrop-filter:blur(18px) saturate(1.2);backdrop-filter:blur(18px) saturate(1.2);animation:launcher-rise 1.1s cubic-bezier(.2,.7,.2,1) .3s both}
.launcher-card:before{content:'';position:absolute;inset:6px;border:1px solid #d6b87a1f;pointer-events:none}
.launcher-card:after{content:'';position:absolute;top:-6px;left:calc(50% - 5px);width:10px;height:10px;background:linear-gradient(135deg,var(--gold-hi),var(--gold-lo));transform:rotate(45deg);box-shadow:0 0 0 4px #0f1f19,0 0 0 5px #d6b87a59}
.launcher-corner{position:absolute;width:28px;height:28px;pointer-events:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M1 27V9Q1 1 9 1H27' fill='none' stroke='%23d6b87a' stroke-width='1.3'/%3E%3Cpath d='M5.5 22V11.5Q5.5 5.5 11.5 5.5H22' fill='none' stroke='%23d6b87a' stroke-opacity='.45'/%3E%3Cpath d='M9.5 6.2l3.3 3.3-3.3 3.3-3.3-3.3z' fill='%23e9cf92'/%3E%3C/svg%3E") center/contain no-repeat}
.launcher-corner:nth-of-type(1){top:5px;left:5px}
.launcher-corner:nth-of-type(2){top:5px;right:5px;transform:scaleX(-1)}
.launcher-corner:nth-of-type(3){bottom:5px;left:5px;transform:scaleY(-1)}
.launcher-corner:nth-of-type(4){bottom:5px;right:5px;transform:scale(-1)}
.launcher-card-head{text-align:center;margin-bottom:22px}
.launcher-eyebrow{margin:0 0 8px;font-size:10px;font-weight:500;letter-spacing:.3em;padding-left:.3em;color:var(--gold)}
.launcher-card h2{margin:0;font:500 36px/1.08 'Cormorant Garamond',Georgia,serif;letter-spacing:-.01em;color:var(--ink)}
.launcher-card h2:after{content:'';display:block;width:44px;height:1px;margin:16px auto 0;background:linear-gradient(90deg,transparent,var(--gold),transparent)}
#launcher-content>*{animation:launcher-fade .45s cubic-bezier(.2,.7,.2,1) both}
#launcher-content>*:nth-child(2){animation-delay:.04s}
#launcher-content>*:nth-child(n+3){animation-delay:.08s}

/* Fields */
.launcher-card form{text-align:left}
.launcher-label{display:block;margin:18px 0 8px;font-size:10.5px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:#d8dccf}
.launcher-label span{font-weight:400;letter-spacing:.06em;text-transform:none;color:var(--soft);margin-left:5px;font-size:11px}
.launcher-card form>.launcher-label:first-child,.launcher-card form>.launcher-notice+.launcher-label{margin-top:0}
.launcher-card input{display:block;width:100%;min-width:0;height:50px;padding:0 15px;background:#040b08a6;border:1px solid #c7d0bd2e;border-radius:3px;color:var(--ink);font-size:14px;outline:none;box-shadow:inset 0 2px 6px #0006;transition:border-color .2s,box-shadow .2s,background .2s}
.launcher-card input::placeholder{color:#7c8f82}
.launcher-card input:hover{border-color:#d6b87a59}
.launcher-card input:focus{border-color:var(--gold);background:#06100cc7;box-shadow:inset 0 2px 6px #0006,0 0 0 3px #d6b87a24}
.launcher-code{text-align:center;letter-spacing:.5em;font-size:20px!important;font-variant-numeric:tabular-nums}
.launcher-password-label{display:flex;align-items:baseline;justify-content:space-between;gap:12px}
.launcher-password-label a{font-size:11px;color:var(--gold)!important;border-bottom:1px solid transparent;transition:border-color .2s}
.launcher-password-label a:hover{border-color:var(--gold)}
.launcher-password{position:relative}
.launcher-password input{padding-right:72px}
.launcher-password button{position:absolute;top:8px;right:8px;bottom:8px;padding:0 12px;border:0;border-left:1px solid #d6b87a2e;background:none;color:var(--gold)!important;font-size:11px!important;font-weight:600;letter-spacing:.12em;text-transform:uppercase;cursor:pointer}

/* Character / authenticator dropdown */
/* The form holding a dropdown sits above the buttons after it, so the open list covers them. */
#launcher-characters,#launcher-mfa{position:relative;z-index:4}
.launcher-picker{position:relative;z-index:3}
.launcher-picker-button{position:relative;display:flex;align-items:center;width:100%;min-height:66px;padding:10px 58px 10px 12px;text-align:left;background:linear-gradient(135deg,#183026,#0b1813);border:1px solid #d6b87a73;border-radius:3px;cursor:pointer;outline:none;box-shadow:inset 0 1px 0 #fff3cf12,0 10px 24px -14px #000;transition:border-color .2s,box-shadow .2s}
.launcher-picker-button:hover{border-color:#d6b87ab3}
.launcher-picker-button:focus-visible,.launcher-picker.is-open .launcher-picker-button{border-color:var(--gold);box-shadow:inset 0 1px 0 #fff3cf12,0 0 0 3px #d6b87a24}
.launcher-picker-face{display:flex;align-items:center;gap:14px;min-width:0;flex:1}
.launcher-monogram{flex:none;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#2a5143,#0d1f19);border:1px solid var(--gold);box-shadow:0 0 0 3px #0b1813,0 0 0 4px #d6b87a40;font:600 21px/1 'Cormorant Garamond',Georgia,serif;color:var(--gold-hi)}
.launcher-picker-text{display:flex;flex-direction:column;justify-content:center;min-width:0}
.launcher-picker-text b{font:600 22px/1.15 'Cormorant Garamond',Georgia,serif;letter-spacing:.01em;color:var(--ink);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.launcher-picker-text small{margin-top:2px;font-size:9.5px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;color:var(--gold)}
.launcher-picker-chevron{position:absolute;top:50%;right:14px;width:30px;height:30px;margin-top:-15px;display:grid;place-items:center;border-radius:50%;border:1px solid #d6b87a59;color:var(--gold);transition:transform .25s cubic-bezier(.2,.7,.2,1),background .2s}
.launcher-picker-chevron svg{width:12px;height:12px}
.launcher-picker.is-open .launcher-picker-chevron{transform:rotate(180deg);background:#d6b87a1f}
.launcher-picker-list{position:absolute;top:calc(100% + 8px);left:0;right:0;margin:0;padding:6px;list-style:none;max-height:min(296px,46vh);overflow-y:auto;overscroll-behavior:contain;background:linear-gradient(180deg,#132820,#0a1612);border:1px solid #d6b87a80;border-radius:3px;box-shadow:0 26px 60px -12px #000000e6,0 0 0 1px #0008;outline:none;animation:launcher-fade .18s ease-out both;scrollbar-width:thin;scrollbar-color:#d6b87a59 transparent}
.launcher-picker-list[hidden]{display:none}
.launcher-picker-list li{display:flex;align-items:center;gap:13px;padding:8px 12px 8px 8px;border-radius:2px;cursor:pointer;transition:background .15s}
.launcher-picker-list li+li{margin-top:2px}
.launcher-picker-list li .launcher-monogram{width:34px;height:34px;font-size:17px;box-shadow:none}
.launcher-picker-list li .launcher-picker-text{flex:1}
.launcher-picker-list li b{font-size:19px}
.launcher-picker-list li.is-active{background:#d6b87a1c}
.launcher-picker-list li[aria-selected="true"] b{color:var(--gold-hi)}
.launcher-picker-check{flex:none;width:15px;height:15px;color:var(--gold);opacity:0}
.launcher-picker-list li[aria-selected="true"] .launcher-picker-check{opacity:1}

/* Buttons */
.launcher-primary,.launcher-secondary{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:52px;margin-top:24px;padding:0 20px;border-radius:3px;font-size:12px!important;font-weight:600;letter-spacing:.2em;text-transform:uppercase;cursor:pointer;transition:filter .2s,background .2s,border-color .2s,transform .2s,box-shadow .2s}
.launcher-primary{border:1px solid #f4e2b0;background:linear-gradient(180deg,#f1dca3 0%,#dcbf80 46%,#c39d57 100%);color:#16231c!important;box-shadow:inset 0 1px 0 #fffbe9b3,inset 0 -2px 0 #8c6a2d66,0 14px 30px -12px #000000d9,0 0 0 1px #3c2b0d;text-shadow:0 1px 0 #f7e7bd80}
.launcher-primary:after{content:'';position:absolute;top:0;bottom:0;left:0;width:40%;background:linear-gradient(90deg,transparent,#fffbea8c,transparent);transform:translateX(-120%) skewX(-18deg);pointer-events:none}
.launcher-primary:hover:not(:disabled){filter:brightness(1.06);transform:translateY(-1px);box-shadow:inset 0 1px 0 #fffbe9b3,inset 0 -2px 0 #8c6a2d66,0 18px 34px -12px #000,0 0 0 1px #3c2b0d,0 0 28px -6px #f2cf8070}
.launcher-primary:hover:not(:disabled):after{animation:launcher-sheen .9s ease}
.launcher-primary:active:not(:disabled){transform:none;filter:brightness(.97)}
.launcher-primary .launcher-arrow{width:16px;height:16px;transition:transform .25s}
.launcher-primary:hover:not(:disabled) .launcher-arrow{transform:translateX(3px)}
.launcher-play{min-height:58px;font-size:14px!important;letter-spacing:.32em;padding-left:calc(20px + .32em)}
.launcher-secondary{margin-top:14px;border:1px solid #d6b87a6b;background:#08130f59;color:var(--ink)!important}
.launcher-secondary:hover{border-color:var(--gold);background:#d6b87a14;color:var(--gold-hi)!important}
.launcher-text{display:block;margin:16px auto 0;padding:4px 0;border:0;border-bottom:1px solid #d6b87a40;background:none;color:var(--gold)!important;font-size:11.5px!important;letter-spacing:.06em;cursor:pointer;transition:border-color .2s,color .2s}
.launcher-text:hover{border-color:var(--gold);color:var(--gold-hi)!important}
.launcher-divider{display:flex;align-items:center;gap:14px;margin:26px 0 0;font-size:9.5px;font-weight:500;letter-spacing:.24em;color:#9fae9f}
.launcher-divider:before,.launcher-divider:after{content:'';flex:1;height:1px;background:linear-gradient(90deg,transparent,#d6b87a59)}
.launcher-divider:after{background:linear-gradient(270deg,transparent,#d6b87a59)}
.launcher-divider+.launcher-secondary{margin-top:16px}
.launcher-account-actions{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:20px;font-size:11.5px}
.launcher-account-actions>span{font-size:6px;color:#d6b87a80}
.launcher-account-actions>a{color:var(--gold)!important;letter-spacing:.06em;border-bottom:1px solid #d6b87a40;padding:4px 0;transition:border-color .2s}
.launcher-account-actions>a:hover{border-color:var(--gold)}
.launcher-account-actions .launcher-text{margin:0}

/* Notices and feedback */
.launcher-notice{margin:0 0 4px;font-size:13.5px;line-height:1.75;color:var(--muted);text-align:center}
.launcher-notice strong{color:var(--ink);font-weight:600;overflow-wrap:anywhere}
.launcher-card form>.launcher-notice{margin-bottom:18px}
.launcher-closed{margin-top:14px;font-size:12px}
.launcher-wait{display:flex;align-items:center;justify-content:center;gap:12px;padding:18px 0}
.launcher-spinner{width:18px;height:18px;border-radius:50%;border:1.5px solid #d6b87a33;border-top-color:var(--gold);animation:launcher-spin .9s linear infinite}
.launcher-letter{width:62px;height:62px;margin:0 auto 16px;display:grid;place-items:center;border-radius:50%;border:1px solid #d6b87a59;background:#d6b87a0f;color:var(--gold)}
.launcher-letter svg{width:28px;height:21px}
/* Feedback reads first, between the heading and the fields it is about. */
.launcher-card{display:flex;flex-direction:column}
#launcher-feedback{order:1;margin:0 0 18px;padding:11px 14px;border-left:2px solid #e0957a;background:#a2412a24;color:#f2c3b2;font-size:12.5px;line-height:1.6;overflow-wrap:anywhere;animation:launcher-fade .3s both}
#launcher-feedback:empty{display:none}
#launcher-feedback[data-tone="ok"]{border-left-color:var(--gold);background:#d6b87a17;color:#ecdcb2}
#launcher-content{order:2}
#rove-launcher button:disabled{opacity:.55;cursor:wait;transform:none;filter:none}
#rove-launcher.is-busy .launcher-primary:not(:disabled):after{animation:launcher-sheen 1.1s linear infinite}
#rove-launcher a:focus-visible,#rove-launcher button:not(.launcher-picker-button):focus-visible{outline:2px solid var(--gold);outline-offset:3px}

/* Short screens tuck the emblem in beside nothing but the wordmark */
@media (max-height:860px) and (min-width:761px){
  .launcher-top{padding-top:18px}
  .launcher-emblem{width:82px;height:82px;margin-bottom:8px}.launcher-emblem img{width:78px;height:78px}
  .launcher-wordmark img{width:260px}.launcher-hero{margin-bottom:20px}.launcher-motto{margin-top:10px}
  .launcher-card{padding:28px 36px 26px}.launcher-card-head{margin-bottom:16px}.launcher-card h2{font-size:32px}
}
@media (max-height:760px) and (min-width:761px){
  .launcher-top{padding-top:12px}.launcher-stage{padding-top:6px;padding-bottom:6px}
  .launcher-emblem{width:60px;height:60px;margin-bottom:6px}.launcher-emblem img{width:58px;height:58px}.launcher-emblem:before{inset:-16px}
  .launcher-wordmark img{width:220px}.launcher-motto{display:none}.launcher-hero{margin-bottom:16px}
  .launcher-card{padding:24px 34px 22px}.launcher-card h2{font-size:29px}.launcher-card h2:after{margin-top:12px}
  .launcher-label{margin:14px 0 7px}.launcher-card input{height:46px}
  .launcher-primary,.launcher-secondary{min-height:48px}.launcher-primary{margin-top:20px}.launcher-divider{margin-top:20px}.launcher-divider+.launcher-secondary{margin-top:12px}
  .launcher-footer{padding-top:10px;padding-bottom:14px}
}
@media (max-width:1100px) and (min-width:761px){.launcher-footer{grid-template-columns:1fr;justify-items:center;gap:8px}.launcher-credit{text-align:center}.launcher-shade{background:radial-gradient(ellipse 46% 40% at 9% 14%,#ffd28a2e,transparent 70%),linear-gradient(90deg,#06100df0 0,#06100dd9 36%,#06100d99 56%,#06100d40 80%),linear-gradient(0deg,#050d0be6 0,transparent 32%)}}
@media (max-width:760px){
  .launcher-art{object-position:74% 50%}
  .launcher-shade{background:linear-gradient(180deg,#06100db3 0,#06100dcc 40%,#06100df2 100%)}
  .launcher-top{justify-content:space-between;padding:18px 18px 0}
  .launcher-mini-brand{display:flex}.launcher-mini-brand img:first-child{width:28px;height:28px}
  .launcher-nav a:not(:last-child){display:none}.launcher-nav a+a:before{display:none}.launcher-nav a{padding:6px 10px;font-size:10px}
  .launcher-stage{padding:18px 16px 12px;align-items:flex-start;justify-content:center}
  .launcher-column{margin:0 auto}
  .launcher-hero{margin-bottom:18px}.launcher-emblem{width:74px;height:74px;margin-bottom:6px}.launcher-emblem img{width:70px;height:70px}
  .launcher-wordmark{display:none}.launcher-motto{margin-top:4px;font-size:9px;letter-spacing:.32em}.launcher-motto:before,.launcher-motto:after{width:28px}
  .launcher-card{padding:28px 22px 24px}.launcher-card h2{font-size:31px}
  .launcher-footer{grid-template-columns:1fr;justify-items:center;gap:10px;text-align:center;padding:16px 16px 20px}
  .launcher-credit{text-align:center}.launcher-legal{gap:20px}
}
@media (prefers-reduced-motion:reduce){
  #rove-launcher *,#rove-launcher *:before,#rove-launcher *:after{animation:none!important;transition:none!important}
  .launcher-motes{display:none}
  #rove-launcher .launcher-art{opacity:1;transform:none}
}
