:root {
  --bg:       #08080b;
  --bg-2:     #101016;
  --panel:    #15151c;
  --panel-2:  #1c1c25;
  --line:     #2a2a35;
  --text:     #ececf2;
  --muted:    #9a9aa8;
  --accent:   #d9b44a;
  --accent-2: #b8860b;
  --accent-glow: rgba(212, 175, 55, 0.45);
  --danger:   #ff6b6b;
  --radius:   14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Space Grotesk", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.hero-hand, .signature {
  font-family: "Caveat", cursive;
  color: var(--accent);
}
.hero-hand {
  position: relative; font-size: 24px; margin-top: 18px; transform: rotate(-2deg);
}
.signature {
  text-align: center; font-size: 28px; margin-top: 30px; transform: rotate(-1.5deg); opacity: .9;
}
.section-lead--soft { color: var(--muted); font-size: 16px; margin-top: 16px; }

.owned-by {
  position: relative; display: inline-block; margin-top: 16px;
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--accent); text-decoration: none;
  background: rgba(212, 175, 55,.1); border: 1px solid rgba(212, 175, 55,.4);
  padding: 5px 14px; border-radius: 20px; transition: background .15s, border-color .15s;
}
.owned-by:hover { background: rgba(212, 175, 55,.2); border-color: var(--accent); }

.nav-deskkit { color: var(--accent) !important; font-weight: 700; }
.nav-deskkit:hover { color: #fff !important; }

.footer a { color: var(--accent); text-decoration: none; }
.footer a:hover { text-decoration: underline; }

#bg {
  position: fixed; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  opacity: 0.6; pointer-events: none;
}

main, .nav { position: relative; z-index: 1; }

.btn {
  font: inherit; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; border-radius: 10px;
  padding: 10px 18px; transition: transform .12s, background .15s, border-color .15s, box-shadow .15s;
  text-decoration: none; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-solid {
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #0a0a10; border: none;
  box-shadow: 0 6px 20px -8px var(--accent-glow);
}
.btn-solid:hover { box-shadow: 0 10px 28px -8px var(--accent-glow); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: #fff; }
.btn-lg { padding: 14px 26px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-discord {
  width: 100%; background: #5865F2; color: #fff; border: none; padding: 12px; font-size: 15px;
}
.btn-discord:hover { background: #4752c4; }

.discord-mark {
  position: relative; width: 20px; height: 15px; border-radius: 7px 7px 5px 5px;
  background: #fff; display: inline-block;
}
.discord-mark::before, .discord-mark::after {
  content: ""; position: absolute; top: 6px; width: 4px; height: 5px; border-radius: 50%;
  background: #5865F2;
}
.discord-mark::before { left: 4px; }
.discord-mark::after { right: 4px; }

.nav {
  position: sticky; top: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px; gap: 18px;
  background: rgba(8, 8, 11, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; }
.brand-logo { height: 38px; }
.brand-text { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: 1px; }
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; transition: color .15s; }
.nav-links a:hover { color: #fff; }
.nav-auth { display: flex; gap: 10px; align-items: center; }

.user-chip { display: flex; align-items: center; gap: 10px; }
.user-chip img, .user-chip .avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--panel-2); display: grid; place-items: center;
  font-weight: 700; color: var(--accent); border: 1px solid var(--line);
}
.user-chip .uname { font-weight: 600; }

.hero {
  position: relative; text-align: center;
  padding: 90px 20px 70px; overflow: hidden;
}
.hero-glow {
  position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px; pointer-events: none;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 62%);
  opacity: .5; filter: blur(8px);
}
.hero-logo { position: relative; max-width: 620px; width: 86%; filter: drop-shadow(0 10px 40px rgba(0,0,0,.6)); }
.hero-fallback {
  position: relative; font-size: clamp(40px, 9vw, 92px); font-weight: 900; letter-spacing: 2px;
  line-height: .95; color: #e7e7ee;
}
.hero-fallback span { color: var(--accent); }
.hero-fallback small { display: block; font-size: .42em; letter-spacing: 14px; color: var(--muted); margin-top: 8px; }
.tagline { position: relative; margin: 26px auto 0; max-width: 560px; font-size: clamp(17px, 2.4vw, 21px); color: var(--muted); }
.hero-cta { position: relative; margin-top: 34px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.section { max-width: 1040px; margin: 0 auto; padding: 76px 24px; }
.section-title {
  font-size: clamp(28px, 4vw, 40px); font-weight: 800; text-align: center; margin-bottom: 10px;
}
.section-title::after {
  content: ""; display: block; width: 56px; height: 4px; margin: 14px auto 0;
  border-radius: 4px; background: linear-gradient(90deg, var(--accent-2), var(--accent));
}
.section-lead { max-width: 760px; margin: 26px auto 0; text-align: center; font-size: 18px; color: #cfcfda; }
.section-lead strong { color: #fff; }
.section-sub { text-align: center; color: var(--muted); margin-bottom: 6px; }

.pillars { margin-top: 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.pillar {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; text-align: center; transition: transform .15s, border-color .15s;
}
.pillar:hover { transform: translateY(-4px); border-color: var(--accent); }
.pillar h3 { margin: 16px 0 6px; font-size: 19px; }
.pillar p { color: var(--muted); font-size: 15px; }

.game-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.game-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .15s, border-color .15s, box-shadow .15s;
}
.game-card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 14px 40px -18px var(--accent-glow); }
.game-art {
  height: 160px; display: grid; place-items: center; font-size: 58px;
  background:
    radial-gradient(circle at 30% 30%, rgba(212, 175, 55,.25), transparent 60%),
    repeating-linear-gradient(45deg, #14141b 0 10px, #181820 10px 20px);
}
.game-art::after { content: attr(data-emoji); }
.game-card--coming .game-art { filter: grayscale(.5); opacity: .8; }
.game-body { padding: 20px 22px 24px; }
.game-body h3 { font-size: 20px; margin-bottom: 8px; }
.badge {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  color: var(--accent); background: rgba(212, 175, 55,.12); border: 1px solid rgba(212, 175, 55,.35);
  padding: 3px 10px; border-radius: 20px; margin-bottom: 12px;
}
.badge--muted { color: var(--muted); background: rgba(255,255,255,.05); border-color: var(--line); }
.game-body p { color: var(--muted); font-size: 15px; }

.section--join { text-align: center; }
.join-cta { margin-top: 28px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.footer { border-top: 1px solid var(--line); padding: 30px 20px; text-align: center; color: var(--muted); font-size: 14px; }

.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(4, 4, 7, 0.78); backdrop-filter: blur(6px);
  display: grid; place-items: center; padding: 20px;
  animation: fade .18s ease;
}
.modal-overlay[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal {
  position: relative; width: 100%; max-width: 400px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px;
  padding: 34px 30px 30px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.8);
  animation: pop .2s ease;
}
@keyframes pop { from { transform: translateY(12px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-close {
  position: absolute; top: 14px; right: 16px; background: none; border: none;
  color: var(--muted); font-size: 26px; line-height: 1; cursor: pointer;
}
.modal-close:hover { color: #fff; }
.modal-title { font-size: 24px; font-weight: 800; }
.modal-sub { color: var(--muted); margin: 6px 0 22px; font-size: 15px; }
.form { display: flex; flex-direction: column; gap: 12px; }
.form input {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px;
  color: var(--text); padding: 12px 14px; font: inherit; outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.form input::placeholder { color: #5b5b68; }
.form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(212, 175, 55,.18); }
.code-input { text-align: center; font-size: 28px; letter-spacing: 14px; font-weight: 700; padding-left: 14px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 16px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.modal-foot { margin-top: 18px; text-align: center; color: var(--muted); font-size: 14px; }
.link { background: none; border: none; color: var(--accent); cursor: pointer; font: inherit; font-weight: 600; padding: 0; }
.link:hover { text-decoration: underline; }
.form-error {
  margin-top: 16px; background: rgba(255,107,107,.1); border: 1px solid rgba(255,107,107,.4);
  color: #ffb3b3; padding: 10px 14px; border-radius: 10px; font-size: 14px; text-align: center;
}
.success-check {
  position: relative;
  width: 64px; height: 64px; margin: 4px auto 16px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  box-shadow: 0 8px 26px -6px var(--accent-glow);
}

.success-check::after {
  content: ""; position: absolute; left: 23px; top: 14px;
  width: 13px; height: 24px; border: solid #0a0a10; border-width: 0 4px 4px 0;
  transform: rotate(45deg);
}
.view[data-view="success"] { text-align: center; }

.download-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.download-card {
  position: relative; text-decoration: none; color: var(--text);
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 20px; text-align: center; transition: transform .15s, border-color .15s, box-shadow .15s;
}
.download-card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 14px 40px -18px var(--accent-glow); }
.download-card h3 { font-size: 19px; margin-bottom: 4px; }
.dl-meta { color: var(--muted); font-size: 13px; }
.download-card.recommended { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 14px 40px -18px var(--accent-glow); }
.download-card.recommended::before {
  content: "Recommended"; position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #0a0a10;
  font-size: 11px; font-weight: 700; padding: 3px 12px; border-radius: 20px; white-space: nowrap;
}
.dl-note { text-align: center; color: var(--muted); margin-top: 22px; font-size: 14px; }

.reviews-summary { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 24px 0 10px; }
.rs-avg { font-size: 40px; font-weight: 800; color: #fff; }
.rs-stars { color: var(--accent); font-size: 22px; letter-spacing: 2px; }
.rs-count { color: var(--muted); font-size: 14px; }
.review-form {
  max-width: 620px; margin: 18px auto 0; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 12px;
}
.star-pick { display: flex; gap: 4px; }
.star-pick button {
  background: none; border: none; cursor: pointer; font-size: 30px; line-height: 1;
  color: #3a3a46; transition: color .1s;
}
.star-pick button:hover, .star-pick button.on { color: var(--accent); }
.review-form textarea {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; color: var(--text);
  padding: 12px 14px; font: inherit; resize: vertical; min-height: 80px; outline: none;
}
.review-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(212, 175, 55,.18); }
.review-form .btn { align-self: flex-start; }
.review-msg { color: var(--accent); font-size: 14px; }
.review-locked { text-align: center; color: var(--muted); margin-top: 16px; }
.review-list { max-width: 720px; margin: 30px auto 0; display: flex; flex-direction: column; gap: 14px; }
.review { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.review-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.review-who { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.review-who img, .review-who .avatar, .chat-msg img, .chat-msg .avatar {
  width: 32px; height: 32px; border-radius: 50%; object-fit: cover;
  background: var(--panel-2); display: grid; place-items: center; font-weight: 700; color: var(--accent);
  border: 1px solid var(--line); flex: none;
}
.review-meta { display: flex; align-items: center; gap: 10px; }
.review-stars { color: var(--accent); letter-spacing: 1px; }
.review-time { color: var(--muted); font-size: 12px; }
.review-text { color: #cfcfda; }

.chat-box {
  max-width: 700px; margin: 28px auto 0; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
}
.chat-head { display: flex; align-items: center; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.chat-dot { width: 9px; height: 9px; border-radius: 50%; background: #555; transition: background .2s; }
.chat-dot.on { background: #4ade80; box-shadow: 0 0 8px #4ade80; }
.chat-messages { height: 340px; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.chat-messages:empty::after { content: "No messages yet — say hello."; color: var(--muted); margin: auto; }
.chat-msg { display: flex; gap: 10px; align-items: flex-start; }
.chat-msg.mine { flex-direction: row-reverse; }
.chat-bubble { background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px; padding: 7px 12px; max-width: 78%; }
.chat-msg.mine .chat-bubble { background: rgba(212, 175, 55,.16); border-color: rgba(212, 175, 55,.4); }
.chat-name { display: block; font-size: 12px; font-weight: 700; color: var(--accent); margin-bottom: 2px; }
.chat-msg.mine .chat-name { text-align: right; }
.chat-body { color: #e7e7ee; word-break: break-word; }
.chat-input { display: flex; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--line); }
.chat-input input {
  flex: 1; background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px;
  color: var(--text); padding: 11px 14px; font: inherit; outline: none;
}
.chat-input input:focus { border-color: var(--accent); }
.chat-input input:disabled { opacity: .5; }
.chat-locked { text-align: center; color: var(--muted); padding: 0 0 16px; }

.ico { position: relative; width: 54px; height: 46px; margin: 0 auto 8px; }

.ico-controller { width: 58px; height: 34px; border-radius: 17px;
  background: linear-gradient(135deg, #f2e3b3, var(--accent)); }
.ico-controller::before { content: ""; position: absolute; left: 9px; top: 9px; width: 16px; height: 16px;
  background:
    linear-gradient(#2c2150, #2c2150) center / 14px 4px no-repeat,
    linear-gradient(#2c2150, #2c2150) center / 4px 14px no-repeat; }
.ico-controller::after { content: ""; position: absolute; right: 12px; top: 14px; width: 6px; height: 6px;
  border-radius: 50%; background: #2c2150;
  box-shadow: -9px 0 #2c2150, -4.5px -5px #2c2150, -4.5px 5px #2c2150; }

.ico-spark { width: 46px; height: 46px;
  background: linear-gradient(135deg, #f2e3b3, var(--accent));
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }

.ico-people { width: 54px; height: 40px; }
.ico-people::before, .ico-people::after { content: ""; position: absolute; top: 5px;
  width: 28px; height: 28px; border-radius: 50%; border: 4px solid var(--accent); }
.ico-people::before { left: 2px; }
.ico-people::after { right: 2px; border-color: #f2e3b3; }

.ico-windows { width: 46px; height: 46px;
  background:
    linear-gradient(#f2e3b3, var(--accent)) 0 0 / 20px 20px no-repeat,
    linear-gradient(#f2e3b3, var(--accent)) 26px 0 / 20px 20px no-repeat,
    linear-gradient(#f2e3b3, var(--accent)) 0 26px / 20px 20px no-repeat,
    linear-gradient(#f2e3b3, var(--accent)) 26px 26px / 20px 20px no-repeat; }

.ico-mac { width: 52px; height: 40px; }
.ico-mac::before { content: ""; position: absolute; left: 9px; top: 2px; width: 34px; height: 24px;
  border-radius: 5px; background: var(--bg); box-shadow: inset 0 0 0 3px var(--accent); }
.ico-mac::after { content: ""; position: absolute; left: 1px; bottom: 4px; width: 50px; height: 6px;
  border-radius: 0 0 7px 7px; background: #f2e3b3; }

.ico-linux { width: 50px; height: 40px; border-radius: 7px; background: #16121f;
  border: 2px solid var(--accent); display: flex; align-items: center; justify-content: center; }
.ico-linux::before { content: ""; position: absolute; top: 6px; left: 8px; width: 5px; height: 5px;
  border-radius: 50%; background: var(--accent); box-shadow: 8px 0 #f2e3b3, 16px 0 var(--accent-2); }
.ico-linux span { font-family: "Courier New", monospace; color: var(--accent); font-weight: 700; font-size: 17px; margin-top: 6px; }

.news-form { position: relative; max-width: 680px; margin: 10px auto 30px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px 22px; display: flex; flex-direction: column; gap: 12px; }
.news-form-badge { position: absolute; top: -11px; left: 20px; letter-spacing: 1px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent)); color: #0a0a10;
  font-size: 11px; font-weight: 700; padding: 3px 12px; border-radius: 20px; }
.news-form input, .news-form textarea {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; color: var(--text);
  padding: 12px 14px; font: inherit; outline: none; }
.news-form textarea { min-height: 120px; resize: vertical; }
.news-form input:focus, .news-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(212, 175, 55,.18); }
.news-form-row { display: flex; align-items: center; gap: 12px; }
.news-msg { color: var(--accent); font-size: 14px; }
.news-list { max-width: 720px; margin: 24px auto 0; display: flex; flex-direction: column; gap: 16px; }
.news-empty { text-align: center; color: var(--muted); }
.news-post { position: relative; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 24px; }
.news-post h3 { font-size: 21px; margin-bottom: 4px; padding-right: 24px; }
.news-meta { color: var(--muted); font-size: 13px; margin-bottom: 12px; }
.news-author-tag { color: var(--accent); font-weight: 600; }
.news-body { color: #cfcfda; white-space: pre-wrap; word-break: break-word; }
.news-del { position: absolute; top: 14px; right: 16px; background: none; border: none;
  color: var(--muted); cursor: pointer; font-size: 22px; line-height: 1; }
.news-del:hover { color: var(--danger); }

@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav { padding: 12px 16px; }
  .section { padding: 56px 18px; }
}

.in-app #download,
.in-app .nav-links a[href="#download"],
.in-app .hero-cta a[href="#download"] { display: none !important; }

.btn { border-radius: 999px; font-weight: 700; }
.btn-lg { padding: 16px 34px; font-size: 17px; }
.btn-discord { border-radius: 999px; }
.nav-auth .btn { border-radius: 999px; }
.nav { padding: 16px 32px; }

.hero { padding: 64px 20px 92px; }
.hero-logo { max-width: 360px; width: 68%; }
.hero-headline {
  position: relative; margin: 24px auto 0; max-width: 900px;
  font-size: clamp(34px, 6vw, 66px); font-weight: 800; line-height: 1.03;
  letter-spacing: 1px; color: #fff; text-transform: uppercase;
}
.tagline { font-size: clamp(17px, 2.2vw, 20px); margin-top: 16px; }
.hero-cta { margin-top: 30px; }
.hero-cta .btn { min-width: 210px; }

.section { padding: 92px 24px; }
.section-title { font-size: clamp(30px, 4.4vw, 46px); }
.pillar, .review, .review-form, .news-post, .news-form, .chat-box { border-radius: 22px; }

.footer { border-top: 1px solid var(--line); background: #0a0a0e; padding: 0; text-align: left; }
.footer-top {
  max-width: 1040px; margin: 0 auto; padding: 60px 24px 38px;
  display: grid; grid-template-columns: 1.3fr 2fr; gap: 40px;
}
.footer-brand .footer-logo { height: 66px; width: auto; margin-bottom: 14px; }
.footer-brand p { color: var(--muted); max-width: 320px; font-size: 14px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-col h4 { color: var(--accent); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px; }
.footer-col a { display: block; color: var(--muted); text-decoration: none; font-size: 15px; margin-bottom: 10px; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid var(--line); max-width: 1040px; margin: 0 auto; padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--muted); font-size: 13px;
}
.footer-mark { font-weight: 800; letter-spacing: 3px; color: #2a2a35; }
.footer a { color: var(--accent); text-decoration: none; }
.footer a:hover { text-decoration: underline; }

@media (max-width: 760px) {
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
}

.field-label { font-size: 12px; color: var(--muted); letter-spacing: .5px; margin: 2px 0 -4px; }
.settings-msg { display: block; margin-top: 14px; text-align: center; font-size: 14px; min-height: 18px; }
.user-chip .btn { padding: 8px 14px; }

.deskkit-bar {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 20px 24px; text-decoration: none; letter-spacing: 1px;
  background: linear-gradient(90deg, rgba(217,180,74,.07), rgba(217,180,74,.18), rgba(217,180,74,.07));
  border-top: 1px solid var(--line); transition: background .2s;
}
.deskkit-bar:hover { background: linear-gradient(90deg, rgba(217,180,74,.13), rgba(217,180,74,.30), rgba(217,180,74,.13)); }
.deskkit-bar-label { color: var(--muted); font-size: 14px; }
.deskkit-bar-name { font-weight: 800; letter-spacing: 4px; color: var(--accent); font-size: 17px; }

.verify-hint { font-size: 13px; color: var(--muted); margin: -8px 0 16px; line-height: 1.4; }
.verify-hint strong { color: var(--accent); }

.social-actions { text-align: center; margin: 6px 0 32px; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.video-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 20px 0; }
.video-empty a { color: var(--accent); }
.video-card {
  text-decoration: none; color: var(--text); background: var(--panel);
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
  transition: transform .15s, border-color .15s, box-shadow .15s;
}
.video-card:hover { transform: translateY(-5px); border-color: var(--accent); box-shadow: 0 14px 40px -18px var(--accent-glow); }
.video-thumb { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%; background: rgba(0,0,0,.55); transition: background .15s;
}
.video-play::after {
  content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-40%, -50%);
  border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #fff;
}
.video-card:hover .video-play { background: var(--accent); }
.video-card:hover .video-play::after { border-left-color: #1a1407; }
.video-title { padding: 14px 16px; font-weight: 600; font-size: 15px; line-height: 1.3; }

.project { max-width: 880px; margin: 40px auto 0; text-align: center; }
.project-art { display: block; max-width: 460px; width: 82%; margin: 0 auto 26px; border-radius: 18px; }
.project-art-fallback {
  display: grid; place-items: center; min-height: 200px; max-width: 460px; width: 82%;
  margin: 0 auto 26px; padding: 28px; border: 1px solid var(--line); border-radius: 18px;
  background: var(--panel); color: var(--accent); font-weight: 800; font-size: 20px;
  text-transform: uppercase; letter-spacing: 1px;
}
.project-video {
  position: relative; aspect-ratio: 16 / 9; max-width: 760px; margin: 0 auto 28px;
  border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: #000;
  box-shadow: 0 18px 50px -20px var(--accent-glow);
}
.project-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.project-body h3 { font-size: 28px; margin-bottom: 10px; }
.project-body .badge { margin-bottom: 14px; }
.project-body p { color: #cfcfda; max-width: 640px; margin: 14px auto 0; font-size: 16px; }

.project-actions { margin-top: 24px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.wishlist-count { color: var(--muted); font-size: 14px; }
#wishlist-btn { min-width: 200px; }
#wishlist-btn.wished { background: var(--panel); color: var(--accent); border: 1px solid var(--accent); box-shadow: none; }

.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; }
body { padding-top: 68px; }
html { scroll-padding-top: 84px; }
@media (max-width: 680px) { body { padding-top: 60px; } }

.news-image { display: block; width: 100%; max-height: 460px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); margin: 0 0 14px; }
.news-file-label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.news-file-label input[type=file] { color: var(--muted); font-size: 13px; }
