/* The page of the FF14 mods (its own address, FF14_DOMAIN): its own look, nothing of the role-playing site's. */
:root { --bg: #0e1418; --card: #151d23; --card-2: #1b262e; --line: #26343e; --text: #e9f1f4; --faint: #93a5b0; --a: #25c7b0; --b: #2f86ff; --bad: #ff7b7b; color-scheme: dark; }
* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body { background: var(--bg); color: var(--text); font: 15.500px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; overflow-x: hidden; }
body::before { content: ""; position: fixed; z-index: -1; left: -25vmax; top: -30vmax; width: 70vmax; height: 70vmax; border-radius: 50%; background: var(--a); filter: blur(100px); opacity: .13; pointer-events: none; }
h1, h2, h3, p { margin: 0; }
a { color: var(--a); }
.faint { color: var(--faint); }
.bad { color: var(--bad); min-height: 1.2em; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--card-2); color: var(--text); font: inherit; cursor: pointer; white-space: nowrap; }
.btn:hover { border-color: var(--a); }
.btn:focus-visible, input:focus-visible { outline: 2px solid var(--a); outline-offset: 1px; }
.btn.primary { background: linear-gradient(135deg, var(--a), var(--b)); border-color: transparent; color: #04161a; font-weight: 700; }
.btn.small { padding: 6px 12px; font-size: 14px; }
input[type="text"], input[type="password"] { background: #0b1114; color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; font: inherit; min-width: 0; }

.ff14-mods-page { max-width: 900px; margin: 0 auto; padding: clamp(20px, 5vh, 48px) 18px 48px; display: flex; flex-direction: column; gap: 16px; }
.ff14-top { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.ff14-top img { width: 48px; height: 48px; border-radius: 13px; box-shadow: 0 10px 28px -8px var(--a); flex: none; }
.ff14-top h1 { font-size: clamp(24px, 4vw, 32px); letter-spacing: -.02em; line-height: 1.1; }
.ff14-top .spacer { flex: 1; }
.ff14-section { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: 20px; border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, 0) 55%), var(--card); }
.ff14-section h2 { font-size: 20px; }
.ff14-section h3 { margin-top: 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--faint); }
.ff14-link-row { display: flex; gap: 8px; width: 100%; }
.ff14-link-row input { flex: 1; font-family: ui-monospace, Consolas, monospace; font-size: 13.500px; }
.ff14-steps { margin: 0; padding-left: 1.4em; display: flex; flex-direction: column; gap: 3px; }
.ff14-plugins { list-style: none; margin: 0; padding: 0; width: 100%; display: flex; flex-direction: column; gap: 10px; }
.ff14-plugin { border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 6px; background: var(--card-2); }
.ff14-plugin-head { display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.ff14-plugin-head strong { font-size: 17px; }
.ff14-installs { margin-left: auto; font-weight: 700; color: var(--a); }
.ff14-message { white-space: pre-wrap; overflow-wrap: anywhere; margin: 0; padding: 12px 14px; width: 100%; border-radius: 12px; background: #0b1114; border: 1px solid var(--line); font: 13.500px/1.5 ui-monospace, Consolas, monospace; }

/* The way in: the account of the site this page is for */
.ff14-gate { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.ff14-gate form, .ff14-gate .box { width: min(380px, 100%); display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); }
.ff14-gate img { width: 56px; height: 56px; border-radius: 14px; }
.ff14-gate h1 { font-size: 22px; }
@media (max-width: 520px) { .ff14-link-row { flex-direction: column; } .ff14-installs { margin-left: 0; } }
