:root {
  --bg: #0a0805;
  --panel: #120e08;
  --panel-2: #0d0a06;
  --line: rgba(255, 255, 255, 0.07);
  --text: #f5ecd9;
  --muted: #b8a679;
  --gold-1: #fff2c2;
  --gold-2: #efc861;
  --gold-3: #c79222;
  --yellow-1: #ffd95e;
  --yellow-2: #f2b705;
  --green: #1eff00;
  --grey: #9d9d9d;
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top center, rgba(255, 214, 120, 0.05), transparent 24%), linear-gradient(180deg, #050402 0%, var(--bg) 34%);
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.bar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px;
  min-height: 84px; padding: 0 40px; background: rgba(8, 6, 3, 0.82);
  border-bottom: 1px solid rgba(239, 200, 97, 0.14); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28); backdrop-filter: blur(14px);
}
.brand {
  font-size: 2rem; font-weight: 900; text-transform: uppercase; letter-spacing: 1px; line-height: 1;
  background: linear-gradient(var(--gold-1), var(--gold-2), var(--gold-3)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.bar-links { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 28px; }
.bar-links a { font-size: 0.95rem; font-weight: 800; letter-spacing: 0.4px; text-transform: uppercase; color: #f3db99; transition: color 0.2s ease, transform 0.2s ease; }
.bar-links a:hover { color: #ffe066; transform: translateY(-1px); }
.bar-links .bar-on { color: #ffe066; box-shadow: 0 2px 0 var(--gold-2); padding-bottom: 4px; }
.bar-gap { flex: 1; }
.lang, .bar-btn { height: 44px; padding: 0 16px; display: inline-flex; align-items: center; justify-content: center; border-radius: 11px; border: 1px solid rgba(255, 216, 101, 0.22);
  background: rgba(18, 20, 26, 0.5); color: #e8dcb8; cursor: pointer; font-size: 0.88rem; font-weight: 900; text-transform: uppercase; transition: transform 0.2s ease, filter 0.2s ease; }
.lang { text-transform: none; }
.lang:hover, .bar-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.bar-btn-primary { border: 0; background: linear-gradient(180deg, #f5d678, #b88820); color: #fff; box-shadow: 0 0 16px rgba(239, 200, 97, 0.32); }
@media (max-width: 900px) {
  .bar-links { display: none; }
}

.page { width: 100%; max-width: 1440px; margin: 0 auto; padding: 28px 40px 56px; }
.card { border-radius: 18px; background: linear-gradient(180deg, var(--panel), var(--panel-2)); border: 1px solid var(--line); box-shadow: var(--shadow); }
.muted { color: var(--muted); }
.small { font-size: 0.82rem; }

.hero { padding: 22px 26px; display: flex; align-items: center; gap: 22px; }
.hero-text { min-width: 0; }

.por { --cc: #d9c89a; position: relative; display: inline-block; flex: none; border-radius: 50%; padding: 2px; background: conic-gradient(from 210deg, var(--cc), #1a140a 40%, var(--cc) 70%, #1a140a); box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 0 18px -4px var(--cc); }
.por-img { display: block; width: 100%; height: 100%; border-radius: 50%; border: 2px solid #0a0805; object-fit: cover; }
.hero-por { width: 92px; height: 92px; padding: 3px; }

.hall-page { background:
  radial-gradient(ellipse 70% 50% at 50% -10%, rgba(255, 196, 80, 0.16), transparent 70%),
  radial-gradient(ellipse 40% 30% at 15% 30%, rgba(80, 120, 255, 0.07), transparent 70%),
  radial-gradient(ellipse 40% 30% at 85% 30%, rgba(255, 70, 50, 0.07), transparent 70%),
  linear-gradient(180deg, #050402 0%, var(--bg) 40%); }
.hall-page::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: 0.55;
  background-image: radial-gradient(1.5px 1.5px at 12% 80%, #ffd27a, transparent), radial-gradient(1px 1px at 28% 60%, #ffcf6a, transparent),
    radial-gradient(1.5px 1.5px at 47% 90%, #ffb84d, transparent), radial-gradient(1px 1px at 63% 70%, #ffd98a, transparent),
    radial-gradient(2px 2px at 78% 85%, #ffc35a, transparent), radial-gradient(1px 1px at 90% 65%, #ffe0a0, transparent),
    radial-gradient(1.5px 1.5px at 6% 50%, #ffcf6a, transparent), radial-gradient(1px 1px at 38% 40%, #ffd98a, transparent);
  animation: embers 14s linear infinite; }
@keyframes embers { from { transform: translateY(0); opacity: 0.55; } 70% { opacity: 0.4; } to { transform: translateY(-38vh); opacity: 0; } }
.hall-page .page { position: relative; z-index: 1; }

.hall { position: relative; max-width: 860px; margin: 36px auto 0; text-align: center; padding: 36px 0 8px; }
.hall-glow { position: absolute; left: 50%; top: -40px; width: min(520px, 100%); height: 260px; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 200, 90, 0.18), transparent); filter: blur(8px); }
.hall-title { position: relative; margin: 0; padding-bottom: 0.14em; font-size: clamp(2.2rem, 6vw, 4.2rem); line-height: 1.12; font-weight: 900; letter-spacing: -0.5px;
  background: linear-gradient(180deg, #fff6d6 0%, var(--gold-2) 55%, var(--gold-3) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 24px rgba(255, 190, 60, 0.18)); }

.hall-search { position: relative; display: flex; align-items: center; gap: 8px; max-width: 640px; margin: 30px auto 0; padding: 8px 8px 8px 50px; border-radius: 18px;
  background: linear-gradient(180deg, rgba(28, 22, 12, 0.92), rgba(12, 9, 5, 0.95)); border: 1px solid rgba(255, 216, 101, 0.28);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 240, 200, 0.06); text-align: left; transition: border-color 0.2s, box-shadow 0.2s; }
.hall-search:focus-within { border-color: rgba(255, 216, 101, 0.6); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55), 0 0 0 4px rgba(242, 183, 5, 0.12), 0 0 40px -6px rgba(255, 200, 80, 0.35); }
.hall-glass { position: absolute; left: 18px; top: 50%; width: 16px; height: 16px; margin-top: -10px; border: 2.5px solid var(--gold-2); border-radius: 50%; }
.hall-glass::after { content: ""; position: absolute; right: -7px; bottom: -6px; width: 8px; height: 2.5px; background: var(--gold-2); transform: rotate(45deg); border-radius: 2px; }
.hall-input { flex: 1; min-width: 0; height: 50px; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 1.2rem; font-weight: 600; }
.hall-input::placeholder { color: #8d7d58; font-weight: 500; }
.hall-search .hall-go { height: 50px; padding: 0 24px; border-radius: 12px; }
.hall-hint { position: relative; min-height: 1.3em; margin: 12px 0 0; color: #a8976c; font-size: 0.88rem; }

.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30; margin: 0; padding: 6px; list-style: none; max-height: 420px; overflow-y: auto;
  border-radius: 16px; background: rgba(16, 12, 7, 0.98); border: 1px solid rgba(255, 216, 101, 0.25); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7); }
.suggest[hidden] { display: none; }
.sug-link { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 11px; }
.sug[aria-selected="true"] .sug-link { background: linear-gradient(90deg, rgba(255, 216, 101, 0.13), rgba(255, 216, 101, 0.03)); box-shadow: inset 2px 0 0 var(--yellow-2); }
.sug-por { width: 40px; height: 40px; }
.sug-body { display: grid; min-width: 0; flex: 1; }
.sug-name { font-weight: 900; font-size: 1.02rem; }
.sug-meta { color: var(--muted); font-size: 0.84rem; white-space: pre; overflow: hidden; text-overflow: ellipsis; }


.roster { max-width: 1180px; margin: 54px auto 0; }
.roster-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.roster-title { margin: 0; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 2px; color: var(--gold-2); }
.roster-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.hcard { --cc: #d9c89a; position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; overflow: hidden;
  background: radial-gradient(circle at 0 50%, color-mix(in srgb, var(--cc) 16%, transparent), transparent 55%), linear-gradient(180deg, var(--panel), var(--panel-2));
  border: 1px solid var(--line); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.3);
  transition: transform 0.18s ease, border-color 0.18s, box-shadow 0.18s; animation: rise 0.5s ease both; animation-delay: calc(var(--i) * 35ms); }
.hcard:hover, .hcard:focus-visible { transform: translateY(-3px); border-color: color-mix(in srgb, var(--cc) 55%, transparent); box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45), 0 0 30px -10px var(--cc); outline: 0; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hcard-por-wrap { position: relative; flex: none; }
.hcard-por { width: 54px; height: 54px; }
.hcard-dot { position: absolute; right: 1px; bottom: 1px; width: 13px; height: 13px; border-radius: 50%; background: #5fd35f; border: 2px solid #0d0a06; box-shadow: 0 0 10px rgba(95, 211, 95, 0.9); }
.hcard-body { display: grid; gap: 2px; min-width: 0; flex: 1; }
.hcard-name { font-weight: 900; font-size: 1.08rem; overflow: hidden; text-overflow: ellipsis; }
.hcard-meta { color: #d8c9a2; font-size: 0.84rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hcard-guild { color: var(--gold-2); font-size: 0.8rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hcard-arrow { color: #6d5d3a; font-size: 1.6rem; line-height: 1; transition: transform 0.18s, color 0.18s; }
.hcard:hover .hcard-arrow { color: var(--cc); transform: translateX(3px); }

@media (max-width: 700px) {
  .hall { margin-top: 12px; padding-top: 20px; }
  .hall-search { padding-left: 42px; }
  .hall-glass { left: 14px; }
  .hall-search .hall-go { padding: 0 14px; }
  .roster { margin-top: 36px; }
  .hero { gap: 14px; }
  .hero-por { width: 64px; height: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .hall-page::before, .hcard { animation: none; }
  .hcard, .hcard-arrow { transition: none; }
}
.hero-name { margin: 0; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.05; }
.hero-guild { margin-top: 4px; color: var(--gold-2); font-weight: 700; }
.hero-meta { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 14px; color: #e8dcb8; font-weight: 600; }
.online-pill { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; background: rgba(95, 211, 95, 0.12); border: 1px solid rgba(95, 211, 95, 0.35); color: #8fe58f; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.4px; }
.online-dot { width: 8px; height: 8px; border-radius: 50%; background: #5fd35f; box-shadow: 0 0 8px rgba(95, 211, 95, 0.8); }
.faction-A { color: #9bc0ff; }
.faction-H { color: #ffaaaa; }

.tabs { display: flex; gap: 8px; margin: 18px 0; padding: 8px; border-radius: 14px; background: var(--panel-2); border: 1px solid var(--line); }
.tab { padding: 10px 18px; border-radius: 10px; border: 0; background: transparent; color: #e8dcb8; font-weight: 800; cursor: pointer; }
.tab-on { background: linear-gradient(180deg, var(--yellow-1), var(--yellow-2)); color: #111; }

.char-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr) 260px; grid-template-areas: "left gear right"; gap: 18px; align-items: start; }
.char-grid .stats-left { grid-area: left; }
.char-grid .center-col { grid-area: gear; display: grid; gap: 18px; align-content: start; min-width: 0; }
.char-grid .stats-right { grid-area: right; }
.gear { padding: 18px; }
.gear-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px 18px; }
.gear-col { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; align-content: start; min-width: 0; }
.gear-bottom { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.slot { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 6px; border-radius: 12px; background: rgba(255, 255, 255, 0.02); cursor: default; }
.slot-right { justify-content: flex-end; text-align: right; }
.slot:hover { background: rgba(255, 255, 255, 0.05); }
.slot-frame { flex: none; width: 56px; height: 56px; border-radius: 8px; border: 2px solid rgba(255, 255, 255, 0.12); overflow: hidden; background: #000; }
.slot-icon { display: block; width: 100%; height: 100%; }
.slot-icon-empty { opacity: 0.15; filter: grayscale(1); }
.slot-label { min-width: 0; flex: 1 1 auto; }
.slot-name { font-weight: 700; overflow-wrap: anywhere; }
.slot-type { font-size: 0.78rem; color: var(--muted); }
.slot-mods { display: flex; align-items: center; gap: 6px; margin-top: 2px; min-width: 0; }
.slot-right .slot-mods { justify-content: flex-end; }
.slot-gems { display: inline-flex; gap: 2px; flex: none; }
.slot-gem { width: 16px; height: 16px; border-radius: 3px; display: block; }
.slot-gem-empty { border-radius: 0; }
.slot-ench { font-size: 0.76rem; color: var(--green); font-weight: 700; line-height: 1.3; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slot-ench-off { color: var(--grey); text-decoration: line-through; }
.slot-right .slot-gems { order: 2; }
.slot-empty .slot-name { color: var(--muted); font-weight: 500; }

.stats { display: grid; gap: 12px; }
.stat-group { padding: 12px 14px; border-radius: 14px; background: linear-gradient(180deg, var(--panel), var(--panel-2)); border: 1px solid var(--line); }
.stat-group h3 { margin: 0 0 8px; text-align: center; font-size: 0.85rem; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold-2); }
.stat-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.025); margin-top: 4px; font-size: 0.92rem; }
.stat-val { font-weight: 700; font-variant-numeric: tabular-nums; }
.stat-row-x { cursor: help; }
.stat-row-x:hover { background: rgba(255, 217, 94, 0.06); }
.xp { min-width: 250px; }
.xp-row { display: flex; justify-content: space-between; gap: 18px; }
.xp-val { font-variant-numeric: tabular-nums; color: var(--green); white-space: nowrap; }
.xp-sub { padding-left: 14px; color: var(--grey); font-size: 0.92em; }
.xp-sub .xp-val { color: var(--grey); }
.xp-head { margin-top: 6px; color: var(--gold-2); font-weight: 700; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 3px; margin-bottom: 8px; border-radius: 10px; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line); }
.seg-btn { position: relative; padding: 6px 4px; border: 0; border-radius: 8px; background: transparent; color: var(--muted); font-size: 0.78rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; cursor: pointer; }
.seg-btn:hover { color: var(--gold-1); }
.seg-on { background: rgba(255, 217, 94, 0.14); color: var(--gold-2); box-shadow: 0 0 0 1px rgba(242, 183, 5, 0.45) inset; }
.seg-changed::after { content: ""; position: absolute; top: 5px; right: 7px; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow-1); }
.slot-warn { font-size: 0.74rem; color: #ff6b5a; font-weight: 700; }
.skills { padding: 18px; }
.skills-title { margin: 0 0 10px; text-align: center; font-size: 0.85rem; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold-2); }
.skill-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; align-items: start; }
.skill-col { display: grid; gap: 7px; align-content: start; min-width: 0; }
.skill-head { margin: 0 0 1px; font-size: 1rem; font-weight: 700; color: #f4f4f4; letter-spacing: 0.2px; }
.skill { min-width: 0; }
.skill-line { display: flex; align-items: center; gap: 8px; }
.skill-icon { flex: none; width: 24px; height: 24px; border-radius: 5px; border: 1px solid rgba(255, 255, 255, 0.14); }
.skill-bar { position: relative; flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 14px; height: 24px; padding: 0 10px; border-radius: 5px; border: 2px solid #3a3a42; background: #05061a; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(255, 255, 255, 0.05); overflow: hidden; }
.skill-fill { position: absolute; inset: 0 auto 0 0; background: linear-gradient(180deg, #1a2470 0%, #111a55 50%, #0a1038 100%); box-shadow: inset 0 1px 0 rgba(140, 155, 230, 0.18); }
.skill-name, .skill-value, .skill-select { position: relative; }
.skill-name { color: #ffd100; font-weight: 700; text-shadow: 0 1px 1px #000; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.skill-value { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; text-shadow: 0 1px 1px #000; white-space: nowrap; }
.skill-bar-off { border-color: #34343a; }
.skill-bar-off .skill-name, .skill-bar-off .skill-value { color: var(--muted); }
.skill-off .skill-icon { opacity: 0.35; filter: grayscale(1); }
.skill-bar-add { border-style: dashed; }
.skill-select { min-width: 0; flex: 0 1 auto; max-width: 70%; height: 20px; padding: 0 4px; border: 0; border-radius: 4px; background: transparent; color: #ffd100; font: inherit; font-weight: 700; text-shadow: 0 1px 1px #000; cursor: pointer; }
.skill-select:hover, .skill-select:focus-visible { background: rgba(0, 0, 0, 0.35); }
.skill-select option { background: #0d0a06; color: var(--text); text-shadow: none; }
.skill-bar-add .skill-select { max-width: 100%; color: var(--muted); }
.skill-btn { flex: none; width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); color: var(--muted); cursor: pointer; font-size: 1rem; font-weight: 700; line-height: 1; }
.skill-btn:hover { color: #ff6b5a; border-color: rgba(255, 107, 90, 0.5); }
.skill-btn-add:hover { color: var(--green); border-color: rgba(30, 255, 0, 0.45); }
.perks { margin: 6px 0 2px 32px; display: grid; gap: 6px; }
.perk { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 6px 10px 6px 6px; border-radius: 11px; background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)); border: 1px solid var(--line); }
.perk-art { width: 34px; height: 34px; border-radius: 8px; box-shadow: none; }
.perk-body { gap: 1px; }
.perk-name { font-size: 0.86rem; }
.perk-passive { color: var(--gold-2); }
.perk-sub { font-size: 0.74rem; line-height: 1.3; }
.perk-count { flex: none; margin-left: auto; padding: 2px 8px; border-radius: 999px; background: rgba(255, 217, 94, 0.14); border: 1px solid rgba(242, 183, 5, 0.45); color: var(--gold-1); font-size: 0.74rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.skill-none { margin: 2px 0 0; }
@media (max-width: 700px) {
  .skill-cols { grid-template-columns: 1fr; }
}

.loadouts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 18px; }
.loadout { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel-2); color: var(--text); cursor: pointer; font-weight: 700; }
.loadout-on { border-color: var(--yellow-1); box-shadow: 0 0 0 1px var(--yellow-2) inset; }
.loadout-pts { color: var(--muted); font-variant-numeric: tabular-nums; }
.badge { padding: 2px 8px; border-radius: 6px; background: rgba(160, 220, 60, 0.18); color: #c6f36a; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.6px; }
.trees { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tree { padding: 14px; }
.tree-head { display: flex; align-items: center; gap: 10px; font-weight: 800; margin-bottom: 12px; }
.tree-icon { width: 34px; height: 34px; border-radius: 6px; }
.tree-points { margin-left: auto; color: var(--gold-2); }
.tree-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 60px; gap: 8px; justify-items: center; }
.talent { position: relative; width: 52px; height: 52px; border-radius: 8px; border: 2px solid rgba(255, 255, 255, 0.12); overflow: hidden; background: #000; }
.talent-icon { width: 100%; height: 100%; display: block; filter: grayscale(1) brightness(0.45); }
.talent-on { border-color: #59c13a; }
.talent-on .talent-icon { filter: none; }
.talent-max { border-color: var(--yellow-2); }
.talent-rank { position: absolute; right: 2px; bottom: 1px; padding: 0 3px; border-radius: 4px; background: rgba(0, 0, 0, 0.75); font-size: 0.72rem; font-weight: 800; }
.glyphs { margin-top: 16px; padding: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; }
.glyphs h3 { grid-column: 1 / -1; margin: 0 0 6px; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1.2px; color: var(--gold-2); }
.glyph-group h4 { margin: 0 0 6px; color: var(--muted); font-size: 0.82rem; text-transform: uppercase; }
.glyph { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 10px; background: rgba(255, 255, 255, 0.025); margin-bottom: 6px; }
.glyph-icon { width: 34px; height: 34px; border-radius: 50%; }

.tc-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; }
.btn { height: 46px; padding: 0 20px; border-radius: 11px; border: 0; font-weight: 900; text-transform: uppercase; cursor: pointer; }
.btn-primary { background: linear-gradient(180deg, var(--yellow-1), var(--yellow-2)); color: #111; }
.btn-small { height: 36px; padding: 0 14px; border-radius: 9px; font-size: 0.8rem; background: rgba(18, 20, 26, 0.6); color: #e8dcb8; border: 1px solid rgba(255, 216, 101, 0.22); }
.btn-small.btn-primary { background: linear-gradient(180deg, var(--yellow-1), var(--yellow-2)); color: #111; border-color: transparent; }
.btn-ghost { background: transparent; color: #e8dcb8; border: 1px solid rgba(255, 216, 101, 0.22); }
.gear-tc .slot-edit { cursor: pointer; outline: 1px dashed rgba(255, 216, 101, 0.18); }
.gear-tc .slot-edit:hover, .gear-tc .slot-edit:focus-visible { outline-color: var(--yellow-1); }
.stat-delta { margin-left: 8px; font-size: 0.78rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.stat-delta.pos { color: #5fd35f; }
.stat-delta.neg { color: #ff6b6b; }
.stat-row { align-items: baseline; }
.stat-row .stat-val { margin-left: auto; }

.modal-overlay {
  position: fixed; inset: 0; z-index: 40; display: flex; align-items: center; justify-content: center; padding: 24px;
  background: radial-gradient(circle at 50% 20%, rgba(255, 196, 70, 0.08), transparent 40%), rgba(3, 3, 6, 0.78);
  backdrop-filter: blur(6px);
}
.modal-x { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); color: var(--text); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.modal-x:hover { border-color: rgba(255, 216, 101, 0.4); }

.studio {
  width: 100%; max-width: 1180px; height: min(860px, calc(100vh - 48px)); display: grid; grid-template-rows: auto auto 1fr; overflow: hidden;
  background: linear-gradient(180deg, rgba(24, 19, 11, 0.98), rgba(10, 8, 5, 0.98));
  border: 1px solid rgba(255, 216, 101, 0.16); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
}
.studio-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px 12px; }
.studio-title { display: flex; align-items: baseline; gap: 14px; min-width: 0; flex-wrap: wrap; }
.studio-title h2 { margin: 0; font-size: 1.35rem; letter-spacing: 0.6px; text-transform: uppercase; background: linear-gradient(var(--gold-1), var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.studio-sub { font-weight: 700; overflow-wrap: anywhere; }
.studio-tabs { display: flex; gap: 6px; padding: 0 22px 12px; border-bottom: 1px solid var(--line); }
.studio-tab { padding: 9px 18px; border-radius: 999px; border: 1px solid transparent; background: rgba(255, 255, 255, 0.03); color: #e8dcb8; font-weight: 800; letter-spacing: 0.4px; cursor: pointer; }
.studio-tab:hover:not(:disabled) { border-color: rgba(255, 216, 101, 0.3); }
.studio-tab-on { background: linear-gradient(180deg, var(--yellow-1), var(--yellow-2)); color: #111; }
.studio-tab:disabled { opacity: 0.35; cursor: not-allowed; }
.studio-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; min-height: 0; }
.studio-main { min-height: 0; overflow-y: auto; padding: 16px 22px 22px; scrollbar-color: rgba(255, 216, 101, 0.25) transparent; }
.studio-side { min-height: 0; overflow-y: auto; padding: 16px 18px; border-left: 1px solid var(--line); background: rgba(0, 0, 0, 0.18); display: flex; flex-direction: column; gap: 10px; }
.side-head { margin: 4px 0 0; font-size: 0.74rem; letter-spacing: 1.4px; text-transform: uppercase; color: var(--gold-2); }
.side-item { display: flex; gap: 12px; align-items: center; padding: 10px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.side-ench { margin-top: 4px; color: var(--green); font-size: 0.82rem; }
.side-note { margin: 0; padding: 8px 10px; border-radius: 10px; background: rgba(255, 196, 70, 0.08); color: #f3db99; font-size: 0.8rem; }
.side-note.warn { background: rgba(255, 90, 90, 0.1); color: #ffb4b4; }
.side-actions { margin-top: auto; display: flex; gap: 10px; justify-content: flex-end; padding-top: 12px; position: sticky; bottom: -16px; background: linear-gradient(180deg, transparent, rgba(10, 8, 5, 0.96) 30%); padding-bottom: 6px; }
.tt-inline { max-width: none; box-shadow: none; border-color: rgba(180, 180, 200, 0.3); font-size: 0.88rem; }
.tt-inline .tt-title { font-size: 1.05rem; }
.change-list { display: grid; gap: 3px; }
.change-group { margin-top: 6px; color: var(--muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 1px; }
.change-row { display: flex; justify-content: space-between; gap: 10px; padding: 5px 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.025); font-size: 0.88rem; }
.change-row .stat-delta { margin-left: 0; }

.browser { display: grid; gap: 12px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.field { height: 40px; min-width: 0; flex: 1 1 220px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(255, 216, 101, 0.2); background: rgba(5, 4, 2, 0.8); color: var(--text); font-size: 0.92rem; }
.field:focus { outline: none; border-color: var(--yellow-1); box-shadow: 0 0 0 3px rgba(255, 217, 94, 0.15); }
.field-select { flex: 0 1 200px; }
.field-num { flex: 0 0 120px; }
.filters { display: grid; gap: 8px; }
.chip-group { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.chip-label { min-width: 64px; color: var(--muted); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.8px; }
.chip { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); color: #e8dcb8; font-size: 0.8rem; font-weight: 700; cursor: pointer; }
.chip:hover { border-color: rgba(255, 216, 101, 0.35); }
.chip-on { background: rgba(255, 217, 94, 0.16); border-color: var(--yellow-2); color: var(--gold-1); }
.q-0.chip-on { color: #b5b5b5; border-color: #9d9d9d; }
.q-1.chip-on { color: #ffffff; border-color: #ffffff; }
.q-6.chip-on { color: #f2dfa3; border-color: #e6cc80; }
.q-7.chip-on { color: #7fe3ff; border-color: #00ccff; }
.q-2.chip-on { color: #1eff00; border-color: #1eff00; }
.q-3.chip-on { color: #4aa3ff; border-color: #0070dd; }
.q-4.chip-on { color: #c77dff; border-color: #a335ee; }
.q-5.chip-on { color: #ff9a2e; border-color: #ff8000; }
.chip-socket { border-style: dashed; }
.browser-count { color: var(--muted); font-size: 0.8rem; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px; }
.card-grid-tight { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.pick-card {
  display: flex; gap: 12px; align-items: flex-start; width: 100%; padding: 10px; border-radius: 14px; text-align: left; cursor: pointer; color: var(--text);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015)); border: 1px solid var(--line);
  transition: border-color 0.12s ease, transform 0.12s ease, box-shadow 0.12s ease;
}
.pick-card:hover { border-color: rgba(255, 216, 101, 0.35); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35); }
.pick-card:focus-visible { outline: 2px solid var(--yellow-1); outline-offset: 2px; }
.pick-on { border-color: var(--yellow-2); box-shadow: 0 0 0 1px var(--yellow-2) inset, 0 0 24px rgba(242, 183, 5, 0.12); background: linear-gradient(180deg, rgba(255, 217, 94, 0.08), rgba(255, 217, 94, 0.02)); }
.pick-none { align-items: center; min-height: 60px; }
.pick-art { flex: none; width: 48px; height: 48px; border-radius: 10px; border: 2px solid rgba(255, 255, 255, 0.14); overflow: hidden; background: #000; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4); }
.pick-art-small { width: 40px; height: 40px; border-radius: 9px; }
.pick-art-img { display: block; width: 100%; height: 100%; }
.pick-body { min-width: 0; display: grid; gap: 4px; flex: 1; }
.pick-title { display: flex; align-items: center; gap: 8px; }
.pick-name { font-weight: 800; line-height: 1.25; overflow-wrap: anywhere; }
.ench-name { color: #b6f5a8; font-weight: 700; }
.pick-sub { color: var(--muted); font-size: 0.78rem; }
.pick-req { color: #ffb36b; font-size: 0.76rem; }
.pick-match { justify-self: start; padding: 1px 7px; border-radius: 6px; background: rgba(95, 211, 95, 0.12); color: #8fe58f; font-size: 0.7rem; font-weight: 800; }
.pick-fav-wrap { position: relative; display: grid; }
.pick-fav-wrap > .pick-card { padding-right: 34px; }
.fav-btn { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; display: grid; place-items: center; border: 0; border-radius: 7px; background: transparent; color: rgba(255, 216, 101, 0.45); font-size: 1rem; line-height: 1; }
.fav-btn:hover { color: var(--yellow-1); background: rgba(255, 216, 101, 0.08); }
.fav-btn:focus-visible { outline: 2px solid var(--yellow-1); outline-offset: 1px; }
.fav-on { color: var(--yellow-2); }
.card-grid-items { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 6px; }
.pick-card-item { align-items: center; padding: 8px 10px; }
.pick-card-item .pick-name-wrap { flex: 1; min-width: 0; display: grid; gap: 2px; }
.pick-flag { font-size: 0.76rem; font-weight: 700; }
.item-flag { font-weight: 700; }
.pick-card-item .badge { flex: none; }
.more { justify-self: center; }

.sockets { display: flex; flex-wrap: wrap; gap: 8px; }
.socket-card { display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); color: var(--text); cursor: pointer; text-align: left; }
.socket-card:hover { border-color: rgba(255, 216, 101, 0.35); }
.socket-on { border-color: var(--yellow-2); box-shadow: 0 0 0 1px var(--yellow-2) inset; }
.gsock { position: relative; flex: none; display: grid; place-items: center; width: 62px; height: 58px; }
.gsock > img { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); image-rendering: auto; }
.gsock-bg { width: 43px; height: 43px; }
.gsock-large .gsock-bg { width: 57px; height: 52px; }
.gsock-gem { width: 37px; height: 37px; }
.gsock-br { width: 61px; height: 57px; }
.gsock-filled .gsock-br { width: 53px; height: 53px; }
.socket-text { display: grid; gap: 2px; }
.socket-title { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.8px; color: var(--muted); }
.socket-gem-name { font-weight: 800; font-size: 0.86rem; }
.bonus-line { padding: 8px 12px; border-radius: 10px; font-size: 0.86rem; }
.bonus-on { background: rgba(95, 211, 95, 0.1); color: #8fe58f; }
.bonus-off { background: rgba(255, 255, 255, 0.04); color: var(--grey); }
.bonus-warn { background: rgba(255, 90, 90, 0.1); color: #ffb4b4; }
.gem-0.chip-on { border-color: #d43b3b; color: #ff9b9b; }
.gem-2.chip-on { border-color: #f2c94c; color: #ffe08a; }
.gem-1.chip-on { border-color: #3a7bf0; color: #9cc0ff; }
.gem-5.chip-on { border-color: #f08a3a; color: #ffc08a; }
.gem-3.chip-on { border-color: #a35ee8; color: #d4adff; }
.gem-4.chip-on { border-color: #4fbf5a; color: #9ee8a5; }
.gem-8.chip-on { border-color: #c9a7ff; color: #e5d4ff; }

@media (max-width: 900px) {
  .modal-overlay { padding: 0; align-items: stretch; }
  .studio { max-width: none; height: 100vh; border-radius: 0; grid-template-rows: auto auto minmax(0, 1fr); }
  .studio-grid { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .studio-side { border-left: 0; border-top: 1px solid var(--line); max-height: 38vh; }
  .studio-head, .studio-tabs, .studio-main { padding-left: 16px; padding-right: 16px; }
  .card-grid, .card-grid-tight { grid-template-columns: 1fr; }
  .chip-label { min-width: 100%; }
}


.icon { width: 36px; height: 36px; }
.icon-missing { visibility: hidden; }

.tt-layer { position: fixed; z-index: 50; max-width: 340px; pointer-events: none; }
.tt { padding: 10px 12px; border-radius: 8px; background: rgba(8, 10, 22, 0.96); border: 1px solid rgba(180, 180, 200, 0.45); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55); font-size: 0.86rem; line-height: 1.45; color: #fff; }
.tt-title { font-size: 1rem; font-weight: 700; }
.tt-row { display: flex; justify-content: space-between; gap: 18px; }
.tt-green { color: var(--green); }
.tt-grey { color: var(--grey); }
.tt-red { color: #ff2020; }
.tt-gold { color: #ffd100; }
.tt-set-on { color: #ffff98; }
.tt-gap { margin-top: 8px; }
.tt-socket { display: flex; align-items: center; gap: 6px; }
.tt-gem { width: 16px; height: 16px; }

@media (max-width: 1180px) {
  .char-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "gear gear" "left right"; }
}
@media (max-width: 1080px) {
  .trees { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .char-grid { grid-template-columns: 1fr; grid-template-areas: "gear" "left" "right"; }
}
@media (max-width: 700px) {
  .bar { padding: 0 16px; gap: 8px; min-height: 72px; }
  .brand { font-size: 1.35rem; }
  .lang, .bar-btn { height: 38px; padding: 0 10px; font-size: 0.76rem; }
  .bar-btn:not(.bar-btn-primary) { display: none; }
  .page { padding: 18px 16px 40px; }
  .gear-cols { grid-template-columns: minmax(0, 1fr); }
  .slot-right { flex-direction: row-reverse; justify-content: flex-end; text-align: left; }
  .gear-bottom { grid-template-columns: minmax(0, 1fr); }
  .glyphs { grid-template-columns: 1fr; }
  .search-form { flex-direction: column; }
}
.banner { --cc: #d9c89a; position: relative; overflow: hidden; padding: 28px 30px; isolation: isolate;
  background: radial-gradient(ellipse 55% 140% at 0% 50%, color-mix(in srgb, var(--cc) 20%, transparent), transparent 70%),
    radial-gradient(ellipse 40% 120% at 100% 0%, rgba(255, 200, 90, 0.08), transparent 70%), linear-gradient(180deg, var(--panel), var(--panel-2)); }
.banner::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--cc) 30%, var(--cc) 50%, transparent); opacity: 0.8; }
.banner-art { position: absolute; right: 8%; top: 50%; transform: translateY(-50%); z-index: -1; opacity: 0.13; pointer-events: none;
  -webkit-mask-image: radial-gradient(circle, #000 35%, transparent 70%); mask-image: radial-gradient(circle, #000 35%, transparent 70%); }
.banner-ghost { width: 360px; height: 360px; padding: 0; background: none; box-shadow: none; }
.banner-ghost .por-img { border: 0; filter: blur(1px) saturate(0.8); }
.banner .hero-por { width: 104px; height: 104px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6), 0 0 34px -6px var(--cc); }
.banner .hero-name { font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: -0.5px; text-shadow: 0 4px 30px color-mix(in srgb, var(--cc) 35%, transparent); }
.banner-badges { position: relative; margin-left: auto; display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: stretch; gap: 12px; }
.bstat { display: grid; align-content: center; justify-items: center; min-width: 116px; padding: 12px 18px; border-radius: 14px; text-align: center;
  background: rgba(5, 4, 2, 0.55); border: 1px solid rgba(255, 255, 255, 0.08); box-shadow: inset 0 1px 0 rgba(255, 240, 200, 0.05); animation: rise 0.45s ease both; }
.bstat-val { font-size: 2.1rem; font-weight: 900; line-height: 1; text-shadow: 0 0 22px currentColor; }
.bstat-lbl { margin-top: 6px; font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.bspec { grid-auto-flow: column; justify-items: start; gap: 12px; text-align: left; animation-delay: 60ms; }
.bspec-icon { width: 42px; height: 42px; border-radius: 9px; border: 1px solid color-mix(in srgb, var(--cc) 60%, transparent); box-shadow: 0 0 16px -4px var(--cc); }
.bspec-text { display: grid; min-width: 0; }
.banner .hero-text { flex: 1 1 0; }
.bspec-name { font-size: 1.05rem; font-weight: 900; color: var(--cc); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bspec .bstat-lbl { margin-top: 3px; letter-spacing: 1px; }
.bshare { display: grid; align-content: center; justify-items: center; gap: 6px; min-width: 96px; padding: 10px 14px; border-radius: 14px; cursor: pointer;
  background: rgba(5, 4, 2, 0.55); border: 1px solid rgba(255, 216, 101, 0.22); color: #e8dcb8; font-size: 0.72rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase;
  transition: border-color 0.18s, color 0.18s, transform 0.18s; animation: rise 0.45s ease both; animation-delay: 120ms; }
.bshare:hover { border-color: rgba(255, 216, 101, 0.6); color: var(--gold-1); transform: translateY(-2px); }
.bshare-done { border-color: rgba(95, 211, 95, 0.6); color: #8fe58f; }
.bshare-icon { position: relative; width: 20px; height: 14px; }
.bshare-icon::before, .bshare-icon::after { content: ""; position: absolute; top: 2px; width: 11px; height: 8px; border: 2px solid currentColor; border-radius: 6px; }
.bshare-icon::before { left: 0; }
.bshare-icon::after { right: 0; }

@media (max-width: 900px) {
  .banner { flex-wrap: wrap; }
  .banner-badges { margin-left: 0; width: 100%; justify-content: flex-start; }
}
@media (max-width: 700px) {
  .banner { padding: 20px 18px; }
  .banner .hero-por { width: 72px; height: 72px; }
  .banner-art { right: -30%; }
  .banner-badges { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 8px; }
  .bstat { min-width: 0; padding: 10px 12px; }
  .bstat-val { font-size: 1.7rem; }
  .bspec { gap: 8px; }
  .bspec-icon { width: 34px; height: 34px; }
  .bshare { min-width: 0; padding: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .bstat, .bshare { animation: none; transition: none; }
}
.sr-copy { position: fixed; left: -9999px; top: 0; opacity: 0; }

body { font-family: "Inter", "Segoe UI", "Microsoft YaHei", Arial, sans-serif; background: #05040a; cursor: url("cursor.svg") 3 2, auto; -webkit-font-smoothing: antialiased; }
a, button, [role="button"], label, select, summary { cursor: url("cursor.svg") 3 2, pointer; }
input, textarea { cursor: text; }
.world { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: #05040a; }
.world-scene { position: absolute; inset: -4%; background: url("img/backdrop.webp") 50% 62% / cover no-repeat; filter: brightness(0.62) saturate(0.95) contrast(1.05); transform: scale(1.08); }
.world-shade { position: absolute; inset: 0; background: radial-gradient(ellipse 75% 65% at 50% 50%, rgba(5, 4, 10, 0.42), rgba(5, 4, 10, 0.12) 70%, rgba(5, 4, 10, 0.5)), linear-gradient(180deg, rgba(5, 4, 10, 0.45), transparent 22%, transparent 78%, rgba(5, 4, 10, 0.65)); }
.world-fog { position: absolute; left: -50%; right: -50%; height: 46%; opacity: 0.5; background: radial-gradient(ellipse 30% 60% at 20% 50%, rgba(200, 180, 150, 0.1), transparent 70%), radial-gradient(ellipse 25% 55% at 55% 60%, rgba(200, 190, 170, 0.08), transparent 70%), radial-gradient(ellipse 30% 50% at 85% 45%, rgba(190, 170, 140, 0.09), transparent 70%); animation: worldFog 70s linear infinite; }
.world-fog.a { bottom: -8%; }
.world-fog.b { bottom: 18%; opacity: 0.3; animation-duration: 110s; animation-direction: reverse; }
@keyframes worldFog { to { transform: translateX(25%); } }
.world-motes { position: absolute; inset: 0; width: 100%; height: 100%; }
@media (prefers-reduced-motion: reduce) { .world-fog { animation: none; } }

.bar { background: rgba(8, 6, 3, 0.82); }
.brand { position: relative; display: block; flex: none; width: 190px; height: 84px; background: none; }
.brand-logo { position: absolute; left: -10px; top: 1px; width: 178px; height: 96px; background: url("img/logo.webp") no-repeat; background-size: 178px 96px; background-position: 0 0; mix-blend-mode: screen; filter: brightness(1.15) contrast(1.25) saturate(1.1) drop-shadow(0 6px 14px rgba(0, 0, 0, 0.6)); transform: scale(0.88); transform-origin: 0 0; transition: transform 0.35s cubic-bezier(.2, .8, .2, 1); }
.bar-small .brand-logo { transform: scale(0.8) translateY(2px); }
.bar-links a { font-family: "Cinzel", Georgia, serif; font-weight: 700; letter-spacing: 0.08em; }
.lang, .bar-btn { font-family: "Inter", "Segoe UI", Arial, sans-serif; }
.hall-title, .roster-title, .hero-name, .studio-title h2, .tree-head, .skills-title, .stat-group h3, .glyphs h3 { font-family: "Cinzel", "Noto Serif SC", Georgia, serif; letter-spacing: 0.01em; }
.hall-title { font-weight: 800; letter-spacing: 0.01em; }
.card { background: linear-gradient(180deg, rgba(18, 14, 8, 0.9), rgba(13, 10, 6, 0.92)); backdrop-filter: blur(4px); }
@media (max-width: 900px) {
  .brand { width: 130px; height: 72px; }
  .brand-logo { left: 2px; transform: scale(0.7); }
  .bar-small .brand-logo { transform: scale(0.66); }
}
@media (max-width: 1360px) and (min-width: 901px) { .bar-links { gap: 20px; } .bar-links a { font-size: .86rem; letter-spacing: .06em; } }
@media (max-width: 1180px) and (min-width: 901px) { .bar-links { position: static; transform: none; gap: 16px; margin-left: 4px; } .bar-links a { font-size: .8rem; letter-spacing: .04em; } .bar { padding: 0 24px; } }
@media (max-width: 1000px) and (min-width: 901px) { .bar-links { gap: 12px; } .bar-links a { font-size: .74rem; letter-spacing: .02em; } .lang, .bar-btn { padding: 0 12px; } }
