/* Dynasty: styles taken from the design canvas (Trainer Dashboard v3, dark with blue accent, plus light). */

:root,
:root[data-theme="dark"] {
  --bg: #0d1322;
  --bg-tint-1: rgba(146, 204, 239, 0.07);
  --bg-tint-2: rgba(149, 227, 169, 0.05);
  --card: #1f2a42;
  --inset: #182238;
  --nav: #131a2c;
  --nav-border: rgba(140, 180, 220, 0.14);
  --line: rgba(200, 220, 255, 0.08);
  --line-2: rgba(200, 220, 255, 0.16);
  --input-border: rgba(200, 220, 255, 0.30);
  --ink: #e8eefa;
  --ink-2: #b9c4d8;
  --muted: #8d9ab3;
  --icon: #7c8aa3;
  --track: rgba(255, 237, 210, 0.08);
  --shadow: 0 1px 0 rgba(0, 0, 0, 0.4), 0 2px 6px rgba(0, 0, 0, 0.35);
  --topbar: linear-gradient(180deg, #0a0f1c 0%, #070b14 100%);
  --topbar-ink: #f4ede0;
  --topbar-muted: rgba(244, 237, 224, 0.7);
  --wordmark: #a1c2da;
  --accent: #2f78ad;
  --accent-ink: #a1c2da;
  --accent-soft: rgba(161, 194, 218, 0.18);
  --accent-ring: rgba(47, 120, 173, 0.35);
  --on-accent: #ffffff;
  --primary-bg: #2f78ad;
  --primary-ink: #ffffff;
  --button-bg: rgba(255, 237, 210, 0.04);
  --tag-bg: rgba(200, 220, 255, 0.06);
  --mint-bg: rgba(149, 227, 169, 0.22);
  --mint-ink: #95e3a9;
  --sky-bg: rgba(140, 210, 250, 0.20);
  --sky-ink: #92ccef;
  --butter-bg: rgba(240, 210, 122, 0.22);
  --butter-ink: #f0d27a;
  --danger-bg: rgba(255, 156, 135, 0.14);
  --danger-ink: #ffb8a8;
  --frame-tint: rgba(146, 204, 239, 0.18);
  --hp: linear-gradient(90deg, #7fb98a, #b5d97a);
  --hp-hurt: #f2a65e;
  --hp-low: #ff9c87;
  --xp: linear-gradient(90deg, #a1c2da, #2f78ad);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #f5f1ea;
  --bg-tint-1: rgba(216, 115, 56, 0.05);
  --bg-tint-2: rgba(60, 100, 133, 0.05);
  --card: #ffffff;
  --inset: #fbf8f3;
  --nav: #ffffff;
  --nav-border: rgba(42, 29, 23, 0.10);
  --line: rgba(42, 29, 23, 0.08);
  --line-2: rgba(42, 29, 23, 0.14);
  --input-border: rgba(42, 29, 23, 0.30);
  --ink: #2a1d17;
  --ink-2: #4a3a32;
  --muted: #76675d;
  --icon: #8a7a70;
  --track: rgba(42, 29, 23, 0.08);
  --shadow: 0 1px 0 rgba(42, 29, 23, 0.04), 0 2px 6px rgba(42, 29, 23, 0.04);
  --topbar: linear-gradient(180deg, #21425e 0%, #173247 100%);
  --topbar-ink: #f4ede0;
  --topbar-muted: rgba(244, 237, 224, 0.8);
  --wordmark: #7ec2ef;
  --accent: #2f78ad;
  --accent-ink: #c0392b;
  --accent-soft: #f1d8d2;
  --accent-ring: rgba(192, 57, 43, 0.12);
  --on-accent: #ffffff;
  --primary-bg: #21425e;
  --primary-ink: #eaf3fb;
  --button-bg: #ffffff;
  --tag-bg: rgba(42, 29, 23, 0.05);
  --mint-bg: #cfe8d2;
  --mint-ink: #3f6b48;
  --sky-bg: #c8dff0;
  --sky-ink: #3c6485;
  --butter-bg: #f4dca0;
  --butter-ink: #6b4f16;
  --danger-bg: #f6dcd6;
  --danger-ink: #8e2719;
  --frame-tint: rgba(216, 115, 56, 0.15);
  --hp-hurt: #d97338;
  --hp-low: #c0392b;
  --xp: linear-gradient(90deg, #c89860, #d97338, #c0392b);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100vh;
  background-color: var(--bg);
  background-image: radial-gradient(1100px 500px at 0% -10%, var(--bg-tint-1), transparent 60%),
                    radial-gradient(900px 500px at 110% 0%, var(--bg-tint-2), transparent 60%);
  color: var(--ink);
  font-family: "Geist", ui-sans-serif, system-ui, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: -0.005em;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-ink); }
.mono { font-family: "Geist Mono", ui-monospace, monospace; }
.serif { font-family: "Instrument Serif", Georgia, serif; font-weight: 400; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 2px; }

/* ---------- top bar ---------- */
.topbar { background: var(--topbar); border-bottom: 1px solid rgba(0, 0, 0, 0.5); color: var(--topbar-ink); }
.topbar-inner { max-width: 1460px; margin: 0 auto; min-height: 60px; padding: 8px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.wordmark { display: flex; align-items: center; gap: 10px; font-family: "Instrument Serif", Georgia, serif; font-size: 24px; color: var(--topbar-ink); min-width: 200px; }
.wordmark:hover { color: var(--topbar-ink); }
.wordmark-badge { width: 24px; height: 24px; border-radius: 50%; background: #c0392b; color: #fff8ee; display: grid; place-items: center; font-size: 17px; line-height: 1; }
.wordmark em { color: var(--wordmark); }
.topnav { flex: 1 1 auto; display: flex; flex-wrap: wrap; gap: 2px; }
.topnav a { padding: 7px 13px; border-radius: 999px; font-weight: 500; color: var(--topbar-muted); }
.topnav a:hover { color: #ffffff; background: rgba(255, 255, 255, 0.06); }
.topnav a[aria-current="page"] { background: var(--accent); color: #ffffff; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 34px; height: 34px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, 0.10); background: rgba(255, 255, 255, 0.05); color: rgba(244, 237, 224, 0.85); display: grid; place-items: center; cursor: pointer; font: inherit; }
.icon-btn:hover { border-color: rgba(255, 255, 255, 0.3); }
.user-chip { display: flex; align-items: center; gap: 10px; padding: 3px 12px 3px 3px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.10); background: rgba(255, 255, 255, 0.05); color: var(--topbar-ink); }
.avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #ffffff; display: grid; place-items: center; font-weight: 600; font-size: 12px; }
.user-chip small { display: block; font-family: "Geist Mono", ui-monospace, monospace; font-size: 10.5px; color: var(--topbar-muted); }
.theme-icon-light { display: none; }
:root[data-theme="light"] .theme-icon-light { display: block; }
:root[data-theme="light"] .theme-icon-dark { display: none; }

/* ---------- shell ---------- */
.shell { max-width: 1460px; margin: 0 auto; padding: 20px 24px 40px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 20px; }
.shell > .sidenav { flex: 1 1 220px; min-width: 0; }
.shell > main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.shell > aside { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.narrow { max-width: 1080px; margin: 0 auto; padding: 32px 24px 40px; display: flex; flex-direction: column; gap: 20px; }

/* ---------- side nav ---------- */
.sidenav { background: var(--nav); border: 1px solid var(--nav-border); border-radius: 14px; padding: 6px; box-shadow: var(--shadow); }
.sidenav-stripe { height: 4px; border-radius: 999px; margin: 2px 4px 6px; background: linear-gradient(90deg, #c0392b 0 25%, #f0d27a 25% 50%, #95e3a9 50% 75%, #92ccef 75% 100%); opacity: 0.85; }
.nav-group { padding: 6px 2px; display: flex; flex-direction: column; }
.nav-group + .nav-group { border-top: 1px dashed var(--line); }
.nav-label { padding: 6px 10px; font-family: "Geist Mono", ui-monospace, monospace; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.nav-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dot, var(--accent)); }
.nav-item { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 8px; color: var(--ink-2); }
.nav-item svg { stroke: var(--icon); flex-shrink: 0; }
.nav-item:hover { background: var(--tag-bg); color: var(--ink); }
.nav-item[aria-current="page"] { background: var(--accent); color: var(--on-accent); font-weight: 500; }
.nav-item[aria-current="page"] svg { stroke: #ffffff; }
.nav-item.soon { opacity: 0.55; }
.badge { margin-left: auto; font-family: "Geist Mono", ui-monospace, monospace; font-size: 10px; padding: 1px 6px; border-radius: 4px; background: var(--tag-bg); color: var(--muted); }
.badge.fresh { background: var(--mint-bg); color: var(--mint-ink); }

/* ---------- cards & bits ---------- */
.breadcrumb { padding: 0 4px; font-family: "Geist Mono", ui-monospace, monospace; font-size: 11px; color: var(--muted); display: flex; gap: 8px; }
.breadcrumb span:last-child { color: var(--ink); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.card-head h2, .card-head h3 { margin: 0; font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.card-body { padding: 16px; }
.tag { font-family: "Geist Mono", ui-monospace, monospace; font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); background: var(--tag-bg); padding: 2px 6px; border-radius: 4px; }
.pill { display: inline-flex; font-family: "Geist Mono", ui-monospace, monospace; font-size: 9.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; padding: 2px 7px; border-radius: 999px; }
.pills { display: flex; flex-wrap: wrap; gap: 4px; }
.chip { font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: 999px; }
.chip.mint { background: var(--mint-bg); color: var(--mint-ink); }
.chip.butter { background: var(--butter-bg); color: var(--butter-ink); }
.chip.accent { background: var(--accent-soft); color: var(--accent-ink); }
.label { font-family: "Geist Mono", ui-monospace, monospace; font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }

.bar { height: 6px; border-radius: 999px; background: var(--track); overflow: hidden; flex: 1 1 0; }
.bar > span { display: block; height: 100%; border-radius: 999px; background: var(--hp); }
.bar.hurt > span { background: var(--hp-hurt); }
.bar.low > span { background: var(--hp-low); }
.bar.xp > span { background: var(--xp); }
.bar.stat > span { background: var(--accent); }
.bar-row { display: flex; align-items: center; gap: 8px; }
.bar-row .num { font-family: "Geist Mono", ui-monospace, monospace; font-size: 11px; color: var(--ink-2); min-width: 44px; text-align: right; }

.frame { border-radius: 50%; background: var(--card); box-shadow: 0 0 0 1px var(--line-2), 0 0 0 9px rgba(127, 127, 127, 0.05); display: grid; place-items: center; text-align: center; font-family: "Geist Mono", ui-monospace, monospace; font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); position: relative; flex-shrink: 0; }
.frame img { width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
.frame.square { border-radius: 14px; background-color: var(--inset); background-image: radial-gradient(60% 60% at 50% 40%, var(--frame-tint), transparent 70%); box-shadow: none; border: 1px solid var(--line-2); }
.lvl-tag { position: absolute; bottom: -6px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #ffffff; font-size: 10px; font-weight: 600; letter-spacing: 0; text-transform: none; padding: 2px 8px; border-radius: 999px; border: 2px solid var(--card); white-space: nowrap; }
.ministats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
.ministat { background: var(--inset); border-radius: 8px; padding: 7px 9px; }
.ministat b { display: block; font-family: "Geist Mono", ui-monospace, monospace; font-size: 13px; font-weight: 600; margin-top: 2px; }

/* ---------- buttons & forms ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 9px 16px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--button-bg); color: var(--ink); font: inherit; font-weight: 500; cursor: pointer; white-space: nowrap; }
.btn:hover { border-color: var(--accent); color: var(--ink); }
.btn.primary { background: var(--primary-bg); border-color: var(--primary-bg); color: var(--primary-ink); }
.btn.primary:hover { filter: brightness(1.08); color: var(--primary-ink); }
.btn.block { width: 100%; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 500; }
.field input[type="text"], .field input[type="email"], .field input[type="password"] {
  min-height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--input-border); background: var(--inset); color: var(--ink); font: inherit; font-size: 14px;
}
.field input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px var(--accent-ring); }
.field .hint { font-size: 12px; color: var(--muted); }
.field .error { font-size: 12px; color: var(--danger-ink); }
.field input[aria-invalid="true"] { border-color: var(--danger-ink); }
.check { display: flex; align-items: center; gap: 8px; accent-color: var(--accent); }
.notice { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px; }
.notice.danger { background: var(--danger-bg); color: var(--danger-ink); }
.notice.success { background: var(--mint-bg); color: var(--mint-ink); }
.form-stack { display: flex; flex-direction: column; gap: 14px; }

/* ---------- auth pages ---------- */
.hero h1 { margin: 0; font-size: 40px; line-height: 1.05; }
.hero p { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.auth-card { max-width: 460px; width: 100%; }
.steps { display: flex; gap: 8px; font-family: "Geist Mono", ui-monospace, monospace; font-size: 11px; color: var(--muted); }
.steps span[aria-current="step"] { color: var(--accent-ink); }

.starter-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 12px; }
.starter { position: relative; display: block; cursor: pointer; }
.starter input { position: absolute; opacity: 0; pointer-events: none; }
.starter-body { height: 100%; display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 12px; background: var(--inset); border: 1px solid var(--line-2); }
.starter:hover .starter-body { border-color: var(--accent); }
.starter input:checked + .starter-body { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-ring); }
.starter input:focus-visible + .starter-body { outline: 2px solid var(--accent-ink); outline-offset: 2px; }
.starter-top { display: flex; align-items: center; gap: 14px; }
.starter-name { font-family: "Instrument Serif", Georgia, serif; font-size: 22px; line-height: 1.05; }
.starter-stats { display: grid; grid-template-columns: auto 1fr auto; gap: 4px 8px; align-items: center; font-family: "Geist Mono", ui-monospace, monospace; font-size: 10.5px; color: var(--muted); }
.starter-stats .val { color: var(--ink-2); text-align: right; }
.picked { display: none; }
.starter input:checked + .starter-body .picked { display: inline-flex; }

/* ---------- dashboard ---------- */
.hero-card { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; padding: 20px 22px; }
.hero-card h1 { margin: 0; font-size: 30px; line-height: 1.05; }
.stat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); gap: 10px; }
.stat-tile { position: relative; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.stat-tile::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--bar, var(--accent)); opacity: 0.85; }
.stat-tile .value { font-family: "Instrument Serif", Georgia, serif; font-size: 26px; line-height: 1; margin-top: 8px; }
.table-wrap { overflow-x: auto; }
table.data { width: 100%; min-width: 420px; border-collapse: collapse; text-align: left; }
table.data th { font-family: "Geist Mono", ui-monospace, monospace; font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 500; padding: 8px 12px; border-bottom: 1px solid var(--line); }
table.data td { padding: 10px 12px; border-bottom: 1px dashed var(--line); vertical-align: middle; }
table.data tr:last-child td { border-bottom: 0; }
.party-lead { padding: 16px 14px 12px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; border-bottom: 1px dashed var(--line); }
.slots { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; padding: 12px 14px 14px; }
.slot { aspect-ratio: 1 / 1; border-radius: 9px; background: var(--inset); border: 1px solid var(--line); display: grid; place-items: center; position: relative; font-family: "Geist Mono", ui-monospace, monospace; font-size: 9.5px; font-weight: 600; color: var(--ink-2); }
.slot.active { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-ring); }
.slot .lv { position: absolute; bottom: 3px; right: 3px; font-size: 9px; background: rgba(0, 0, 0, 0.4); color: #e8eefa; padding: 1px 4px; border-radius: 3px; }
.slot.empty { color: var(--muted); font-weight: 400; }
.moves { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; width: 100%; }
.move { background: var(--inset); border-radius: 8px; padding: 7px 9px; text-align: left; display: flex; flex-direction: column; gap: 4px; }
.move b { font-weight: 600; font-size: 12.5px; }

.site-footer { max-width: 1460px; margin: 0 auto; padding: 0 24px 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 12px; }

@media (max-width: 720px) {
  .topbar-inner { padding: 8px 14px; }
  .shell, .narrow { padding: 14px; }
  .hero h1 { font-size: 32px; }
  .wordmark { min-width: 0; }
  .user-chip span:last-child { display: none; }
}

/* ---------- shared list rows, tiles, forms in cards ---------- */
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 230px), 100%), 1fr)); gap: 12px; }
.tile { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border-radius: 12px; background: var(--inset); border: 1px solid var(--line-2); color: var(--ink); text-align: left; font: inherit; }
button.tile, a.tile { cursor: pointer; }
button.tile:hover, a.tile:hover { border-color: var(--accent); color: var(--ink); }
.tile.selected { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-ring); }
.tile.muted-tile { opacity: 0.6; }
.tile-title { font-family: "Instrument Serif", Georgia, serif; font-size: 22px; line-height: 1.05; }
.row-list { display: flex; flex-direction: column; }
.row { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px dashed var(--line); }
.row:last-child { border-bottom: 0; }
.row .grow { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.inline-form { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.btn.small { min-height: 32px; padding: 5px 11px; font-size: 12px; border-radius: 8px; }
.btn.danger { color: var(--danger-ink); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
select, input[type="number"] { min-height: 40px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--input-border); background: var(--inset); color: var(--ink); font: inherit; }
.page-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; }
.page-head h1 { margin: 0; font-size: 28px; line-height: 1.05; }
.empty-note { padding: 18px 16px; color: var(--muted); }

/* ---------- battle ---------- */
.arena { position: relative; background-color: var(--inset); background-image: radial-gradient(70% 90% at 78% 12%, var(--bg-tint-2), transparent 70%), radial-gradient(70% 90% at 20% 95%, var(--bg-tint-1), transparent 70%); padding: 26px 24px 30px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; align-items: center; }
.status-box { width: 100%; max-width: 290px; background: var(--card); border: 1px solid var(--line-2); border-radius: 10px; padding: 11px 13px; display: flex; flex-direction: column; gap: 7px; }
.status-box .name { font-family: "Instrument Serif", Georgia, serif; font-size: 20px; line-height: 1.1; }
.arena .left { justify-self: start; }
.arena .right { justify-self: end; }
.arena .center { justify-self: center; }
.log-turn { display: flex; gap: 12px; padding: 8px 16px; border-bottom: 1px dashed var(--line); }
.log-turn:last-child { border-bottom: 0; }
.log-turn .t { font-family: "Geist Mono", ui-monospace, monospace; font-size: 10.5px; color: var(--muted); min-width: 24px; padding-top: 2px; }
.log-turn .lines { display: flex; flex-direction: column; gap: 2px; }
.log-turn.latest .lines { color: var(--ink); }
.log-turn:not(.latest) .lines { color: var(--ink-2); }
.move-btn { display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding: 14px 16px; border-radius: 10px; background: var(--inset); border: 1px solid var(--line-2); color: var(--ink); font: inherit; text-align: left; cursor: pointer; width: 100%; }
.move-btn:hover:not(:disabled) { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent-ring); }
.move-btn:disabled { opacity: 0.45; cursor: not-allowed; }
.move-btn .mname { font-family: "Instrument Serif", Georgia, serif; font-size: 22px; line-height: 1; }
.stage-chips { display: flex; flex-wrap: wrap; gap: 4px; }
@media (max-width: 720px) {
  .arena { padding: 16px 12px 20px; gap: 14px 10px; }
  .status-box .name { font-size: 17px; }
}

/* Narrow screens: content first, then the side column, then the menu. */
@media (max-width: 900px) {
  .shell > main { order: 1; }
  .shell > aside { order: 2; }
  .shell > .sidenav { order: 3; }
}
