/* KINGDOMFALL — front end: loading, sign-in, main menu, hero select, world map,
   chapter complete. Shares tokens with kf.css (obsidian glass, aged gold). */

/* ------------------------------------------------ vista (painted backdrop) */
.vista { position: absolute; inset: 0; overflow: hidden; background: #050507; }
.vista > * { position: absolute; inset: 0; }
.vista .vsky { animation: kenburns 60s ease-in-out infinite alternate; }
.vista .vland { width: 100%; height: 100%; animation: kenburns 60s ease-in-out infinite alternate; transform-origin: 50% 100%; }
.vista .vl0 { opacity: .55; } .vista .vl1 { opacity: .8; }
.vista .vglow { mix-blend-mode: screen; animation: breathe 7s ease-in-out infinite; }
.vista .vparts { width: 100%; height: 100%; }
.vista .vvignette { background: radial-gradient(ellipse at 50% 55%, transparent 35%, rgba(0,0,0,.78) 100%); }
@keyframes kenburns { from { transform: scale(1.02) translate(0,0); } to { transform: scale(1.1) translate(-1.5%, -1%); } }
@keyframes breathe { 50% { opacity: .55; } }

/* ------------------------------------------------ loading */
#loading.loading2 { display: block; padding: 0; background: #000; z-index: 60; }
.loading2 .lbody { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 7vw 6vh; }
.loading2 .crest { position: absolute; top: 7vh; left: 50%; transform: translateX(-50%); width: 120px; height: 120px; filter: drop-shadow(0 0 22px rgba(255,160,70,.35)); }
.crestsvg { width: 100%; height: 100%; }
.crestsvg .d1 { stroke-dasharray: 352; stroke-dashoffset: 352; animation: draw 2.2s ease forwards; }
.crestsvg .d2 { stroke-dasharray: 260; stroke-dashoffset: 260; animation: draw 1.8s .5s ease forwards; }
.crestsvg .d3 { stroke-dasharray: 80; stroke-dashoffset: 80; animation: draw 1s 1.4s ease forwards; }
.crestsvg .spin { transform-origin: 60px 60px; animation: spin 40s linear infinite; }
.crestsvg .gem { animation: gem 2.6s ease-in-out infinite; transform-origin: 60px 68px; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes gem { 50% { opacity: .55; transform: scale(.85); } }
.loading2 .lchap { font-family: var(--display); letter-spacing: .38em; font-size: 12px; color: var(--gold); margin-bottom: 10px; animation: rise .9s ease both; }
.loading2 .lname { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 5.2vw, 76px); letter-spacing: .06em; color: var(--parchment); line-height: 1; text-shadow: 0 4px 40px rgba(0,0,0,.9); animation: rise 1.1s .1s ease both; }
.loading2 .lname.logo { background: linear-gradient(180deg, #fff6df 10%, #d9b46a 55%, #6a4a1e); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: .14em; }
.loading2 .ldesc { max-width: 720px; font-size: 19px; font-style: italic; color: #d8cdb6; margin-top: 14px; text-shadow: 0 2px 12px #000; animation: rise 1.2s .2s ease both; }
.loading2 .lore { position: absolute; right: 7vw; top: 30vh; width: 330px; padding: 18px 20px; border-left: 1px solid var(--line); background: linear-gradient(90deg, rgba(10,9,12,.55), transparent); animation: rise 1.4s .4s ease both; }
.loading2 .lore .lt { font-family: var(--display); letter-spacing: .24em; font-size: 12px; color: var(--gold-hi); margin-bottom: 8px; }
.loading2 .lore .lx { color: #cfc4ae; font-size: 16px; line-height: 1.45; }
.loading2 .lfoot { margin-top: 5vh; }
.loading2 .lphase { display: flex; justify-content: space-between; font-family: var(--display); font-size: 11px; letter-spacing: .3em; color: var(--mute); text-transform: uppercase; margin-bottom: 8px; }
.loading2 .lphase #lpct { color: var(--gold-hi); }
#loading.loading2 .lbar { position: relative; width: auto; margin-top: 0; height: 2px; background: rgba(201,164,92,.15); overflow: hidden; }
.loading2 .lbar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: linear-gradient(90deg, var(--gold-dim), var(--gold-hi)); box-shadow: 0 0 12px var(--gold); transition: width .35s ease; }
.loading2 .lbar b { position: absolute; top: 0; bottom: 0; width: 120px; background: linear-gradient(90deg, transparent, rgba(255,240,200,.7), transparent); animation: sweep 2.4s linear infinite; }
@keyframes sweep { from { left: -120px; } to { left: 100%; } }
.loading2 .tip { margin-top: 14px; min-height: 22px; color: #b8ae98; font-size: 16px; transition: opacity .45s; }
.loading2 .tip.out { opacity: 0; }
.loading2 .lpress { margin-top: 18px; text-align: center; font-family: var(--display); letter-spacing: .4em; font-size: 14px; color: var(--gold-hi); opacity: 0; pointer-events: none; }
.loading2 .lpress.show { animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ------------------------------------------------ front-end shell */
#fe { position: fixed; inset: 0; z-index: 30; pointer-events: none; color: var(--text); }
#fe .fe-screen { position: absolute; inset: 0; opacity: 0; transition: opacity .45s ease; }
#fe .fe-screen.in { opacity: 1; }
#fe .fe-screen.out { opacity: 0; pointer-events: none; }
#fe .fe-screen > * { pointer-events: auto; }
#fe.leaving { opacity: 0; transition: opacity .8s; }
#fe .fe-screen::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(4,4,8,.82) 0%, rgba(4,4,8,.35) 38%, transparent 60%), linear-gradient(0deg, rgba(4,4,8,.7), transparent 30%); }
#fe .map-screen::before { background: none; }
.fe-brand { position: absolute; left: 6vw; top: 8vh; width: max-content; text-align: left; }
body.fe-mode #ui { display: none; }
.fe-brand .crestsvg { width: 76px; height: 76px; filter: drop-shadow(0 0 18px rgba(255,160,70,.35)); }
.fe-brand .logo { font-family: var(--display); font-weight: 900; font-size: 58px; letter-spacing: .1em; background: linear-gradient(180deg, #fff6df 10%, #d9b46a 55%, #6a4a1e); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(0 4px 30px rgba(0,0,0,.9)); line-height: 1.05; }
.fe-brand .sub { font-family: var(--display); letter-spacing: .6em; color: var(--gold); font-size: 13px; margin-top: 6px; }
.fe-brand.small .logo { font-size: 40px; } .fe-brand.small .crestsvg { width: 56px; height: 56px; }
.fe-foot { position: absolute; left: 6vw; bottom: 3.5vh; font-size: 13px; color: var(--mute); letter-spacing: .08em; }
.fe-panel { position: absolute; padding: 26px 28px; }
.fe-panel h2 { font-family: var(--display); letter-spacing: .3em; font-size: 16px; color: var(--gold-hi); margin: 0 0 16px; font-weight: 600; }
.btn.wide { width: 100%; }
.btn.big { padding: 16px 22px; font-size: 17px; }
.btn.busy { opacity: .6; cursor: progress; }
.btn:disabled { opacity: .35; cursor: default; }
.msg { min-height: 20px; font-size: 15px; margin: 4px 0 10px; }
.msg.err { color: #ff8a7a; } .msg.ok { color: #b8e0a0; }
.fine { font-size: 13px; color: var(--mute); margin-top: 8px; line-height: 1.4; }
.fine.warn { color: #e0b070; }
.link { display: inline-block; margin-top: 10px; color: var(--gold); font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.orline { display: flex; align-items: center; gap: 12px; margin: 18px 0 14px; color: var(--mute); font-size: 12px; letter-spacing: .3em; }
.orline::before, .orline::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* ------------------------------------------------ sign in */
.login-screen .fe-panel.login { left: 6vw; top: 34vh; width: 420px; max-height: 62vh; overflow: auto; }
.tabs2 { display: flex; gap: 0; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.tabs2 button { flex: 1; background: none; border: 0; color: var(--mute); font-family: var(--display); letter-spacing: .2em; font-size: 13px; padding: 10px 0 12px; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; text-transform: uppercase; }
.tabs2 button.on { color: var(--gold-hi); border-bottom-color: var(--gold); }
.lform label { display: block; font-family: var(--display); font-size: 11px; letter-spacing: .24em; color: var(--mute); text-transform: uppercase; margin-bottom: 12px; }
.lform input, .guest input, .acct input { display: block; width: 100%; margin-top: 6px; padding: 11px 13px; background: rgba(0,0,0,.45); border: 1px solid rgba(201,164,92,.3); color: var(--parchment); font-family: var(--serif); font-size: 17px; outline: none; transition: border-color .2s, box-shadow .2s; }
.lform input:focus, .guest input:focus, .acct input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,164,92,.15); }
.guest input { margin: 0 0 10px; }

/* ------------------------------------------------ account chip */
#fe-chip { position: fixed; right: 26px; top: 22px; z-index: 32; display: flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; background: rgba(10,10,14,.7); border: 1px solid var(--line); cursor: pointer; transition: border-color .2s; }
#fe-chip:hover { border-color: var(--gold); }
#fe-chip .av { width: 40px; height: 40px; display: grid; place-items: center; font-size: 22px; color: var(--gold-hi); border: 1px solid var(--gold-dim); background: radial-gradient(circle, #2a2118, #0c0a0a); }
#fe-chip .nm { font-family: var(--display); letter-spacing: .12em; font-size: 14px; color: var(--parchment); }
#fe-chip .st { font-size: 12px; color: var(--mute); } #fe-chip .st.on { color: #9ad08a; }

/* ------------------------------------------------ main menu */
.fe-menu { position: absolute; left: 6vw; top: 30vh; width: 400px; display: flex; flex-direction: column; gap: 8px; }
.fe-menu .btn { text-align: left; display: flex; flex-direction: column; gap: 2px; padding: 12px 18px; }
.fe-menu .btn .k { font-family: var(--display); letter-spacing: .2em; font-size: 15px; text-transform: uppercase; }
.fe-menu .btn .d { font-size: 14px; letter-spacing: 0; text-transform: none; font-family: var(--serif); }
.fe-menu .btn.sel { border-color: var(--gold); box-shadow: 0 0 18px rgba(201,164,92,.25), inset 0 0 18px rgba(201,164,92,.12); color: #fff; }
.fe-menu .btn.cont { border-color: var(--gold); background: linear-gradient(90deg, rgba(90,60,20,.45), rgba(20,16,14,.6)); }
.fe-news { position: absolute; right: 4vw; bottom: 8vh; width: 360px; padding: 18px 22px; }
.fe-news .h { font-family: var(--display); letter-spacing: .3em; font-size: 12px; color: var(--gold); margin-bottom: 8px; }
.fe-news p { margin: 6px 0; font-size: 15px; line-height: 1.45; }

/* ------------------------------------------------ load */
.fe-panel.wide2 { left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(980px, 92vw); }
.slots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 18px; }
.slotcard { background: rgba(0,0,0,.4); border: 1px solid var(--line); color: var(--text); padding: 14px 10px; text-align: center; cursor: pointer; font-family: var(--serif); transition: all .15s; min-height: 170px; }
.slotcard:hover:not(:disabled) { border-color: var(--gold); transform: translateY(-2px); }
.slotcard .sid { font-family: var(--display); letter-spacing: .2em; font-size: 11px; color: var(--gold); margin-bottom: 10px; }
.slotcard .glyph { font-size: 36px; margin: 6px 0; }
.slotcard .n { font-family: var(--display); font-size: 13px; letter-spacing: .08em; color: var(--parchment); }
.slotcard.empty { opacity: .45; }
.small { font-size: 12px; } .row { display: flex; gap: 10px; flex-wrap: wrap; }

/* ------------------------------------------------ hero select */
.hero-screen::before { background: linear-gradient(90deg, rgba(4,4,8,.75) 0%, transparent 26%, transparent 60%, rgba(4,4,8,.85) 100%), linear-gradient(0deg, rgba(4,4,8,.7), transparent 25%) !important; }
.hs-list { position: absolute; left: 3vw; top: 18vh; display: flex; flex-direction: column; gap: 10px; width: 250px; }
.hcard { display: flex; align-items: center; gap: 14px; padding: 12px 14px; background: rgba(10,10,14,.6); border: 1px solid rgba(201,164,92,.2); color: var(--text); cursor: pointer; text-align: left; font-family: var(--serif); transition: all .18s; }
.hcard .g { width: 44px; height: 44px; display: grid; place-items: center; font-size: 22px; color: var(--hc); border: 1px solid color-mix(in srgb, var(--hc) 50%, transparent); transform: rotate(45deg); }
.hcard .g::first-letter { } .hcard .g { } .hcard span b { display: block; font-family: var(--display); letter-spacing: .1em; font-size: 14px; color: var(--parchment); }
.hcard span i { font-size: 13px; color: var(--mute); }
.hcard:hover { border-color: var(--gold-dim); transform: translateX(4px); }
.hcard.on { border-color: var(--hc); background: linear-gradient(90deg, color-mix(in srgb, var(--hc) 22%, transparent), rgba(10,10,14,.6)); box-shadow: 0 0 22px color-mix(in srgb, var(--hc) 25%, transparent); transform: translateX(8px); }
.hs-title { position: absolute; left: 50%; top: 6vh; transform: translateX(-50%); text-align: center; pointer-events: none; }
.hs-title .role { font-family: var(--display); letter-spacing: .4em; font-size: 12px; }
.hs-title .name { font-family: var(--display); font-weight: 700; font-size: clamp(36px, 4.6vw, 64px); letter-spacing: .08em; color: var(--parchment); text-shadow: 0 4px 30px #000; animation: rise .6s ease both; }
.hs-title .ttl { font-style: italic; font-size: 19px; color: #cdbf9f; }
.hs-info { position: absolute; right: 3vw; top: 14vh; width: 390px; padding: 22px 24px; max-height: 70vh; overflow: auto; animation: rise .5s ease both; }
.hs-info .quote { font-style: italic; font-size: 18px; color: var(--parchment); line-height: 1.4; border-left: 2px solid var(--gold); padding-left: 12px; }
.hs-info .lore { color: #bfb49c; font-size: 15px; line-height: 1.5; }
.ratings { display: grid; gap: 6px; margin: 14px 0; }
.rt { display: flex; align-items: center; justify-content: space-between; font-family: var(--display); font-size: 11px; letter-spacing: .2em; color: var(--mute); text-transform: uppercase; }
.rt i { display: flex; gap: 4px; }
.rt i b, .rt i em { width: 22px; height: 6px; transform: skewX(-20deg); }
.rt i b { background: linear-gradient(90deg, var(--gold-dim), var(--gold-hi)); box-shadow: 0 0 6px rgba(240,208,138,.5); }
.rt i em { background: rgba(201,164,92,.15); }
.abil { display: grid; gap: 10px; margin: 14px 0; }
.ab { padding: 10px 12px; background: rgba(0,0,0,.35); border: 1px solid rgba(201,164,92,.18); }
.ab .an { font-family: var(--display); letter-spacing: .12em; font-size: 13px; color: var(--gold-hi); }
.ab .ad { font-size: 14px; color: #c8bea8; margin-top: 3px; }
.stats { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: var(--mute); }
.stats b { color: var(--parchment); font-weight: 600; }
.hs-actions { position: absolute; left: 50%; bottom: 6vh; transform: translateX(-50%); display: flex; gap: 14px; }
.hs-arrows { position: absolute; left: 50%; bottom: 16vh; transform: translateX(-50%); display: flex; gap: 340px; }
.hs-arrows button { width: 54px; height: 54px; border: 1px solid var(--line); background: rgba(10,10,14,.5); color: var(--gold-hi); font-size: 34px; cursor: pointer; line-height: 1; transition: all .15s; }
.hs-arrows button:hover { border-color: var(--gold); transform: scale(1.08); }
.hs-warn { position: absolute; left: 50%; bottom: 2.4vh; transform: translateX(-50%); font-size: 13px; color: #d8a870; }

/* ------------------------------------------------ world map */
.wm { position: absolute; inset: 0; display: flex; }
.wm-map { position: relative; flex: 1; overflow: hidden; }
.wm-vista { position: absolute; inset: 0; filter: saturate(.8) brightness(.8); }
.wm-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.wm-region { position: absolute; transform: translate(-50%, -100%); font-family: var(--display); font-size: 10px; letter-spacing: .3em; text-align: center; opacity: .85; text-shadow: 0 2px 8px #000; pointer-events: none; }
.wm-region b { font-size: 13px; letter-spacing: .14em; font-weight: 600; }
.wm-node { position: absolute; transform: translate(-50%, -50%); background: none; border: 0; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.wm-node .pin { width: 46px; height: 46px; display: grid; place-items: center; transform: rotate(45deg); border: 1px solid var(--rc); background: radial-gradient(circle, rgba(40,30,20,.95), rgba(8,6,6,.95)); color: var(--parchment); font-family: var(--display); font-size: 17px; box-shadow: 0 0 16px color-mix(in srgb, var(--rc) 40%, transparent); transition: all .2s; }
.wm-node .pin { line-height: 1; } .wm-node .pin::after { content: ''; }
.wm-node.open .pin { animation: nodePulse 2.2s ease-in-out infinite; }
.wm-node.done .pin { background: radial-gradient(circle, #6a4a18, #1a1208); color: var(--gold-hi); }
.wm-node.locked .pin, .wm-node.sealed .pin { filter: grayscale(.8) brightness(.6); border-style: dashed; }
.wm-node.sel .pin { transform: rotate(45deg) scale(1.25); border-color: #fff; box-shadow: 0 0 30px var(--rc); }
.wm-node .stars { font-size: 12px; letter-spacing: 2px; margin-top: 10px; }
.stars i { color: rgba(201,164,92,.25); font-style: normal; } .stars i.on { color: var(--gold-hi); text-shadow: 0 0 8px var(--gold); }
@keyframes nodePulse { 50% { box-shadow: 0 0 30px var(--rc); } }
.wm-side { width: 420px; padding: 30px 30px; display: flex; flex-direction: column; gap: 10px; overflow: auto; border-left: 1px solid var(--line); background: linear-gradient(180deg, rgba(14,12,16,.95), rgba(6,6,8,.97)); }
.wm-hero { font-family: var(--display); letter-spacing: .1em; font-size: 14px; }
.wm-reg { font-family: var(--display); letter-spacing: .3em; font-size: 11px; margin-top: 18px; }
.wm-name { font-family: var(--display); font-size: 26px; color: var(--parchment); letter-spacing: .05em; line-height: 1.2; }
.wm-side p { color: #c8bea8; font-size: 16px; line-height: 1.5; margin: 4px 0 8px; }
.wm-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13px; color: var(--mute); }
.wm-meta b { color: var(--parchment); }
.wm-goals { display: grid; gap: 8px; margin: 10px 0 14px; }
.goal { display: flex; gap: 10px; align-items: center; font-size: 15px; color: #b0a690; }
.goal i { font-style: normal; color: rgba(201,164,92,.3); font-size: 18px; } .goal.got { color: var(--parchment); } .goal.got i { color: var(--gold-hi); text-shadow: 0 0 8px var(--gold); }
.sealed-note { padding: 12px 14px; border: 1px dashed var(--line); color: #b8a888; font-size: 15px; margin: 8px 0; }

/* ------------------------------------------------ account */
.acct { left: 50%; top: 50%; transform: translate(-50%, -50%); width: 460px; }
.arow { display: flex; gap: 16px; align-items: center; margin-bottom: 16px; }
.bigav { width: 70px; height: 70px; display: grid; place-items: center; font-size: 36px; color: var(--gold-hi); border: 1px solid var(--gold); background: radial-gradient(circle, #2a2118, #0c0a0a); }
.arow .nm { font-family: var(--display); letter-spacing: .1em; font-size: 20px; color: var(--parchment); }
.acct label { font-family: var(--display); font-size: 11px; letter-spacing: .24em; color: var(--mute); text-transform: uppercase; }
.avs { display: flex; gap: 8px; margin: 14px 0 6px; flex-wrap: wrap; }
.avs button { width: 44px; height: 44px; font-size: 22px; background: rgba(0,0,0,.4); border: 1px solid var(--line); color: var(--gold-hi); cursor: pointer; }
.avs button.on { border-color: var(--gold-hi); box-shadow: 0 0 12px rgba(240,208,138,.4); }

/* ------------------------------------------------ chapter complete */
.stagedone { z-index: 55; background: radial-gradient(ellipse at 50% 40%, rgba(40,28,14,.88), rgba(0,0,0,.96)); flex-direction: column; opacity: 0; transition: opacity 1.2s; }
.stagedone.in { opacity: 1; } .stagedone.out { opacity: 0; }
.sd-inner { text-align: center; max-width: 760px; }
.sd-k { font-family: var(--display); letter-spacing: .5em; font-size: 14px; color: var(--gold); animation: rise .8s .2s both; }
.sd-name { font-family: var(--display); font-weight: 700; font-size: clamp(34px, 5vw, 64px); color: var(--parchment); margin: 10px 0 26px; animation: rise 1s .3s both; }
.sd-stars { display: flex; justify-content: center; gap: 22px; margin-bottom: 20px; }
.sd-star { font-size: 76px; color: rgba(201,164,92,.18); animation: starIn .7s cubic-bezier(.2,1.6,.4,1) both; }
.sd-star.on { color: var(--gold-hi); text-shadow: 0 0 30px var(--gold), 0 0 60px rgba(255,160,70,.5); }
.sd-star.old { color: rgba(240,208,138,.55); }
@keyframes starIn { from { transform: scale(0) rotate(-120deg); opacity: 0; } to { transform: none; opacity: 1; } }
.sd-goals { display: inline-grid; gap: 8px; text-align: left; margin-bottom: 26px; font-size: 17px; color: #9a917f; animation: rise 1s 1.4s both; }
.sd-goals i { font-style: normal; display: inline-block; width: 26px; color: #8a4a3a; } .sd-goals .got { color: var(--parchment); } .sd-goals .got i, .sd-goals .old i { color: var(--gold-hi); }
.sd-stats { display: flex; justify-content: center; gap: 42px; margin-bottom: 18px; animation: rise 1s 1.6s both; }
.sd-stats div { display: flex; flex-direction: column; font-family: var(--display); letter-spacing: .2em; font-size: 11px; color: var(--mute); }
.sd-stats b { font-size: 30px; color: var(--parchment); letter-spacing: .04em; margin-top: 4px; }
.sd-stats em { font-family: var(--serif); letter-spacing: 0; font-size: 13px; color: var(--gold); }
.sd-next { font-size: 17px; color: #d8cdb6; margin-bottom: 22px; animation: rise 1s 1.8s both; }
.sd-next b { color: var(--gold-hi); }
.sd-btns { display: flex; gap: 12px; justify-content: center; animation: rise 1s 2s both; }

/* ------------------------------------------------ save indicator */
#saveIcon { position: fixed; right: 28px; bottom: 120px; font-family: var(--display); color: var(--gold); font-size: 13px; letter-spacing: .2em; opacity: 0; transition: opacity .4s; z-index: 20; pointer-events: none; }
#saveIcon .spin { display: inline-block; animation: spin 1.2s linear infinite; }
#saveIcon.cloud::after { content: ' · CLOUD'; color: #9ad08a; }

@media (max-width: 1100px) {
  .hs-info { width: 320px; } .fe-news { display: none; } .hs-arrows { gap: 200px; }
  .slots { grid-template-columns: repeat(3, 1fr); }
}

.hs-title.swap .name, .hs-title.swap .role, .hs-title.swap .ttl { animation: rise .5s ease both; }
.hs-info.swap { animation: rise .45s ease both; }
