:root {
  color-scheme: dark;
  --bg: #090c14;
  --panel: #101521;
  --panel-soft: #111827;
  --line: #202a3a;
  --muted: #8d98aa;
  --text: #edf1f8;
  --blue: #2757f5;
  --cyan: #67b9ff;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--bg); }
body { margin: 0; color: var(--text); background: var(--bg); font-family: "DM Sans", sans-serif; font-size: 14px; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.topbar { height: 78px; padding: 0 max(6.7vw, 28px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(139, 158, 194, .11); position: relative; z-index: 2; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: "Space Grotesk", sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .13em; }
.brand-logo { width: 34px; height: 34px; border-radius: 8px; object-fit: cover; box-shadow: 0 0 22px rgba(39, 87, 245, .3); }
.brand-name { display: inline-flex; gap: .35em; }
.brand-light { color: #78859a; font-weight: 500; }
.top-link { color: #c1ccdc; font-size: 13px; transition: color .2s; }
.top-link:hover, .text-button:hover { color: #fff; }
.top-link span { color: #6a8bff; margin-left: 8px; }
.hero-shell { max-width: 1190px; min-height: calc(100vh - 135px); margin: 0 auto; padding: 90px 30px 75px; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 45px; }
.eyebrow { color: #a4b0c2; font-size: 10px; font-weight: 700; letter-spacing: .16em; display: flex; align-items: center; gap: 9px; }
.pulse, .site-footer i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #4b7aff; box-shadow: 0 0 12px #2757f5; }
h1, h2, h3, p { margin-top: 0; }
.hero-copy h1, .page-heading h1, .download-shell h1, .not-found h1 { margin: 25px 0 20px; font-family: "Space Grotesk", sans-serif; font-size: clamp(42px, 5vw, 66px); line-height: 1.05; letter-spacing: -.055em; font-weight: 600; }
.gradient-text { background: linear-gradient(100deg, #6595ff 6%, #71c7ff 96%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-description { max-width: 440px; color: var(--muted); line-height: 1.8; font-size: 15px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 29px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 18px; border: 1px solid transparent; border-radius: 7px; padding: 0 18px; font-size: 12px; font-weight: 700; cursor: pointer; transition: transform .18s, box-shadow .18s, background .18s; }
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button-primary { background: var(--blue); color: white; box-shadow: 0 8px 26px rgba(39, 87, 245, .23); }
.button-primary:hover:not(:disabled) { background: #3465ff; box-shadow: 0 9px 30px rgba(39, 87, 245, .35); }
.button-primary:disabled { opacity: .46; cursor: not-allowed; }
.button-primary span { font-size: 18px; line-height: 0; }
.button-secondary { border-color: #2c3d60; color: #dce5f4; background: #141d2e; }
.secure-note { color: #8b97a9; font-size: 11px; }
.lock-icon, .aside-lock { color: #6a91ff; font-size: 17px; margin-right: 5px; }
.feature-row { display: flex; gap: 28px; margin-top: 58px; padding-top: 25px; border-top: 1px solid rgba(139, 158, 194, .13); }
.feature-row > div { display: grid; grid-template-columns: 25px auto; align-items: center; column-gap: 8px; }
.feature-icon { grid-row: span 2; color: #7696ff; font-size: 20px; }
.feature-row strong { font-size: 11px; font-weight: 600; }
.feature-row small { margin-top: 3px; color: #778499; font-size: 10px; white-space: nowrap; }
.hero-art { min-height: 440px; position: relative; display: grid; place-items: center; }
.art-glow { position: absolute; width: 410px; height: 370px; border-radius: 50%; background: radial-gradient(ellipse, rgba(39, 87, 245, .22), rgba(31, 74, 215, .05) 48%, transparent 72%); filter: blur(8px); }
.art-grid { position: absolute; inset: 20px 0; opacity: .25; background-image: linear-gradient(rgba(99, 125, 172, .13) 1px, transparent 1px), linear-gradient(90deg, rgba(99, 125, 172, .13) 1px, transparent 1px); background-size: 39px 39px; mask-image: radial-gradient(ellipse at center, black, transparent 72%); }
.preview-card { width: min(335px, 82%); z-index: 1; padding: 13px; border: 1px solid #29334a; border-radius: 12px; background: linear-gradient(145deg, rgba(21, 29, 46, .97), rgba(12, 17, 28, .98)); box-shadow: 0 28px 80px rgba(0, 0, 0, .48), 0 0 55px rgba(39, 87, 245, .12); transform: rotate(-4deg); }
.preview-top { height: 32px; display: flex; align-items: center; gap: 9px; }
.mini-mark { width: 21px; height: 21px; border-radius: 6px; object-fit: cover; box-shadow: 0 0 14px rgba(39, 87, 245, .3); }
.preview-kicker { color: #98a7be; font-size: 8px; letter-spacing: .14em; }
.preview-menu { margin-left: auto; color: #7d8ca6; letter-spacing: 2px; }
.preview-image { height: 245px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; background: radial-gradient(ellipse at 60% 40%, #314c9b 0, #182443 36%, #101521 70%); }
.preview-image:before { content: ""; position: absolute; inset: 0; opacity: .2; background: repeating-linear-gradient(130deg, transparent 0 23px, rgba(136, 176, 255, .16) 24px, transparent 25px 48px); }
.preview-orbit { position: absolute; border: 1px solid rgba(129, 165, 255, .37); border-radius: 50%; transform: rotate(-27deg); }
.orbit-one { width: 205px; height: 114px; }
.orbit-two { width: 150px; height: 255px; transform: rotate(42deg); border-color: rgba(91, 128, 232, .24); }
.preview-emblem { width: 105px; height: 105px; z-index: 1; display: grid; place-items: center; border: 1px solid rgba(180, 203, 255, .7); color: #d6e4ff; font-family: "Space Grotesk", sans-serif; font-size: 55px; font-weight: 700; font-style: italic; text-shadow: 0 0 28px #6991ff; transform: skew(-8deg); box-shadow: 0 0 44px rgba(64, 112, 255, .26), inset 0 0 25px rgba(87, 126, 238, .15); }
.preview-caption { position: absolute; z-index: 1; bottom: 20px; left: 18px; color: #e7edff; font-family: "Space Grotesk", sans-serif; font-size: 15px; font-weight: 700; letter-spacing: .13em; line-height: .96; }
.preview-caption span { color: #83a3ff; }
.preview-code { position: absolute; right: 15px; bottom: 24px; color: #91a1c0; font-size: 7px; letter-spacing: .13em; }
.preview-bottom { min-height: 55px; padding: 12px 3px 1px; display: flex; align-items: center; justify-content: space-between; }
.preview-bottom > div { display: grid; gap: 4px; }
.preview-bottom strong { font-size: 10px; }
.preview-bottom span { color: #8290a8; font-size: 9px; }
.preview-bottom .ready-pill { padding: 5px 7px; border: 1px solid rgba(87, 159, 144, .32); border-radius: 4px; color: #83d2b7; font-size: 7px; letter-spacing: .1em; }
.floating-tag { z-index: 2; position: absolute; border: 1px solid #273348; border-radius: 7px; background: rgba(15, 21, 33, .92); box-shadow: 0 14px 40px rgba(0, 0, 0, .25); }
.tag-top { top: 45px; right: 12px; padding: 10px 12px; color: #c9d4e4; font-size: 8px; letter-spacing: .12em; }
.tag-dot { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: #5daeff; box-shadow: 0 0 8px #2c68ff; }
.tag-muted { color: #69758b; }
.tag-bottom { bottom: 40px; left: -5px; min-width: 225px; padding: 12px; display: flex; align-items: center; gap: 10px; }
.download-symbol { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid #304877; border-radius: 7px; background: rgba(39, 87, 245, .14); color: #83a4ff; font-size: 17px; }
.tag-bottom > span:nth-child(2) { display: grid; gap: 4px; }
.tag-bottom strong { font-size: 9px; letter-spacing: .08em; }
.tag-bottom small { color: #8692a7; font-size: 9px; }
.tag-arrow { margin-left: auto; color: #7a9aff; }
.orbit-dot { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #80aeff; box-shadow: 0 0 13px #4181ff; }
.dot-a { right: 44px; bottom: 100px; }.dot-b { top: 83px; left: 72px; width: 4px; height: 4px; }
.site-footer { min-height: 57px; padding: 0 max(6.7vw, 28px); display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(139, 158, 194, .1); color: #657187; font-size: 8px; letter-spacing: .11em; }
.site-footer i { width: 5px; height: 5px; margin-right: 5px; vertical-align: 1px; }
.app-body { min-height: 100vh; background: radial-gradient(ellipse at 50% -20%, rgba(39, 87, 245, .12), transparent 49%), var(--bg); }
.user-area { display: flex; align-items: center; gap: 10px; color: #b6c0d0; font-size: 11px; }
.user-avatar { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid #324a83; border-radius: 50%; color: #9ab2ff; background: #17213a; font-weight: 700; }
.text-button { margin-left: 10px; padding: 7px 0 7px 13px; border: 0; border-left: 1px solid #293348; color: #8d98aa; background: none; cursor: pointer; font-size: 11px; }
.dashboard { width: min(100% - 48px, 1020px); margin: 0 auto; padding: 59px 0 90px; }
.packs-list { display: grid; gap: 12px; }
.pack-card { padding: 17px; border: 1px solid #222d40; border-radius: 7px; background: rgba(16, 21, 33, .72); }
.pack-card-heading { display: flex; align-items: center; gap: 12px; }
.pack-card-heading h2 { overflow: hidden; margin: 0; font-family: "Space Grotesk", sans-serif; font-size: 15px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.active-pill { flex: 0 0 auto; padding: 5px 7px; border: 1px solid rgba(87, 159, 144, .32); border-radius: 4px; color: #83d2b7; font-size: 7px; letter-spacing: .1em; }
.pack-details { margin: 12px 0; display: flex; flex-wrap: wrap; gap: 7px 17px; color: #8390a5; font-size: 9px; }
.pack-share-link { display: block; overflow: hidden; padding: 10px 11px; border: 1px solid #26334a; border-radius: 5px; color: #86a4ff; background: #0c111b; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.pack-actions { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }
.pack-actions .button { min-height: 36px; padding: 0 12px; gap: 7px; font-size: 10px; }
.pack-actions .button:disabled { opacity: .5; cursor: wait; }
.empty-packs { padding: 38px 24px; display: flex; flex-direction: column; align-items: center; border: 1px dashed #303d55; border-radius: 7px; background: rgba(16, 23, 36, .45); text-align: center; }
.empty-packs .aside-icon { font-size: 18px; }
.empty-packs h2 { margin: 14px 0 7px; font-family: "Space Grotesk", sans-serif; font-size: 17px; }
.empty-packs p { max-width: 430px; margin: 0 0 17px; color: #8591a5; font-size: 11px; line-height: 1.7; }
.notice-success { border-color: #2b574e; color: #a7e6c6; background: rgba(25, 70, 58, .2); }
.page-heading { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 35px; }
.page-heading h1, .download-shell h1 { margin: 15px 0 9px; font-size: clamp(34px, 4vw, 45px); }
.heading-period { color: #5280ff; }
.page-heading p, .download-intro { margin: 0; color: #8995a8; font-size: 13px; }
.secure-badge { margin-bottom: 6px; padding: 9px 11px; display: flex; align-items: center; gap: 8px; border: 1px solid #273551; border-radius: 5px; color: #7395ff; font-size: 13px; }
.secure-badge span { color: #9caac0; font-size: 8px; letter-spacing: .1em; }
.upload-layout { display: grid; grid-template-columns: minmax(0, 1fr) 255px; gap: 30px; align-items: start; }
.field-label { display: flex; justify-content: space-between; color: #c5cede; font-size: 11px; font-weight: 600; }
.field-label span { color: #68758a; font-size: 8px; letter-spacing: .1em; }
.text-input { width: 100%; height: 44px; margin: 10px 0 20px; padding: 0 13px; border: 1px solid #263146; border-radius: 5px; outline: none; color: var(--text); background: #0e131e; font-size: 12px; }
.text-input:focus { border-color: #3e6dff; box-shadow: 0 0 0 3px rgba(39, 87, 245, .13); }
.text-input::placeholder { color: #69758a; }
.drop-zone { min-height: 205px; padding: 23px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px dashed #35435d; border-radius: 7px; background: rgba(16, 23, 36, .55); cursor: pointer; transition: border-color .2s, background .2s; }
.drop-zone:hover, .drop-zone.is-dragging, .drop-zone:focus { border-color: #4b75ff; outline: none; background: rgba(39, 87, 245, .07); }
.upload-icon { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid #30416a; border-radius: 9px; color: #7fa0ff; background: rgba(39, 87, 245, .13); font-size: 21px; }
.drop-zone h2 { margin: 13px 0 5px; font-family: "Space Grotesk", sans-serif; font-size: 15px; font-weight: 500; }
.drop-zone p { margin: 0; color: #7e8ba0; font-size: 11px; }
.inline-button { padding: 0; border: 0; color: #82a2ff; background: none; text-decoration: underline; cursor: pointer; font-size: inherit; }
.format-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin: 16px 0 9px; }
.format-list span { padding: 4px 6px; border: 1px solid #283449; border-radius: 3px; color: #98a6bb; font-size: 8px; letter-spacing: .04em; }
.format-list span:last-child { color: #82a2ff; border-color: #334779; }
.drop-zone > small { color: #68758a; font-size: 9px; }
.selected-heading { margin: 21px 0 9px; display: flex; justify-content: space-between; color: #aeb9ca; font-size: 9px; font-weight: 700; letter-spacing: .1em; }
.selected-heading span:last-child { color: #7b879b; font-weight: 500; letter-spacing: 0; }
.file-list { display: grid; gap: 7px; }
.empty-state { padding: 16px; border: 1px solid #202a3a; border-radius: 5px; color: #69758a; text-align: center; font-size: 10px; }
.file-row { min-width: 0; padding: 9px 10px; display: flex; align-items: center; gap: 11px; border: 1px solid #222d40; border-radius: 5px; background: rgba(16, 21, 33, .68); }
.file-type, .large-file-type { display: grid; place-items: center; flex: 0 0 auto; color: #88a6ff; border: 1px solid #2e416b; border-radius: 5px; background: #141e34; font-size: 8px; font-weight: 700; }
.file-type { width: 34px; height: 34px; }
.file-thumbnail { object-fit: cover; }
.file-info, .download-details { min-width: 0; display: grid; gap: 4px; }
.file-info strong, .download-details strong { overflow: hidden; color: #dce4f1; font-size: 10px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.file-info span, .download-details span { color: #79869a; font-size: 9px; }
.remove-file { width: 27px; height: 27px; margin-left: auto; border: 0; border-radius: 4px; color: #778499; background: transparent; cursor: pointer; font-size: 19px; }
.remove-file:hover { color: #ff8c9a; background: #2a1c27; }
.progress-wrap { margin-top: 16px; }
.progress-label { display: flex; justify-content: space-between; margin-bottom: 8px; color: #96a4b9; font-size: 10px; }
.progress-track { height: 4px; overflow: hidden; border-radius: 5px; background: #202a3a; }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2757f5, #73c5ff); transition: width .15s; }
.upload-button { width: 100%; margin-top: 17px; }
.notice { margin-top: 14px; padding: 11px 13px; border: 1px solid #653844; border-radius: 5px; color: #ffacb4; background: rgba(75, 28, 40, .25); font-size: 11px; }
.share-result { margin-top: 16px; padding: 13px; display: flex; align-items: center; gap: 10px; border: 1px solid #2b574e; border-radius: 6px; background: rgba(25, 70, 58, .2); }
.result-icon { width: 27px; height: 27px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; color: #8ce2bd; background: #20483c; }
.result-copy { min-width: 0; display: grid; gap: 4px; }
.result-copy strong { color: #b0e8ce; font-size: 10px; }
.result-copy span { overflow: hidden; color: #98a9ae; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.share-result .button { min-height: 34px; margin-left: auto; padding: 0 10px; white-space: nowrap; font-size: 9px; }
.aside-card { padding: 20px; border: 1px solid #222e43; border-radius: 7px; background: linear-gradient(150deg, rgba(21, 30, 48, .85), rgba(14, 19, 30, .8)); }
.aside-icon { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid #344d8a; border-radius: 7px; color: #8ba8ff; background: rgba(39, 87, 245, .14); font-size: 17px; }
.aside-card h3 { margin: 17px 0 8px; font-family: "Space Grotesk", sans-serif; font-size: 15px; }
.aside-card > p { margin: 0; color: #8591a5; font-size: 10px; line-height: 1.8; }
.aside-rule { height: 1px; margin: 18px 0 14px; background: #293448; }
.aside-foot { display: flex; align-items: flex-start; color: #9ba8bb; font-size: 9px; line-height: 1.6; }
.aside-foot strong { color: #ced7e5; font-weight: 500; }
.format-note { margin-top: 14px; display: flex; gap: 8px; color: #78869c; font-size: 9px; line-height: 1.7; }
.format-note > span { color: #829eff; }
.format-note p { margin: 0; }
.delivery-label { display: flex; align-items: center; gap: 8px; color: #a4b0c2; font-size: 9px; letter-spacing: .13em; }
.delivery-label .pulse { width: 6px; height: 6px; }
.download-shell { width: min(100% - 48px, 850px); margin: 0 auto; padding: 66px 0 70px; }
.download-shell h1 { margin-top: 17px; }
.download-intro { max-width: 570px; line-height: 1.7; }
.pack-toolbar { margin: 31px 0 12px; padding-bottom: 13px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #202a3a; color: #8491a6; font-size: 10px; }
.pack-toolbar .button { min-height: 39px; gap: 9px; font-size: 10px; }
.download-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.download-card { min-width: 0; padding: 10px; display: flex; align-items: center; gap: 12px; border: 1px solid #222d40; border-radius: 6px; background: rgba(16, 21, 33, .7); }
.download-preview { width: 56px; height: 52px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; border: 1px solid #28354b; border-radius: 4px; background: #121a2a; }
.download-preview img { width: 100%; height: 100%; object-fit: cover; }
.large-file-type { min-width: 35px; min-height: 26px; padding: 0 4px; }
.download-details { flex: 1; }
.download-one { width: 29px; height: 29px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid #2f4574; border-radius: 5px; color: #88a5ff; background: rgba(39, 87, 245, .12); font-size: 16px; transition: background .2s; }
.download-one:hover { background: rgba(39, 87, 245, .3); }
.delivery-foot { margin-top: 34px; display: flex; align-items: center; justify-content: center; color: #738096; font-size: 9px; gap: 4px; }
.delivery-foot strong { margin-left: 3px; color: #aab6c8; font-weight: 500; }
.not-found { min-height: calc(100vh - 79px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.not-found h1 { font-size: 40px; }
.not-found p { margin-bottom: 20px; color: #8995a8; }
[hidden] { display: none !important; }

@media (max-width: 820px) {
  .hero-shell { grid-template-columns: 1fr; gap: 10px; padding-top: 65px; }
  .hero-art { min-height: 400px; margin-top: 4px; }
  .hero-copy { max-width: 590px; margin: 0 auto; }
  .hero-art { width: min(100%, 560px); margin-right: auto; margin-left: auto; }
  .upload-layout { grid-template-columns: minmax(0, 1fr) 220px; gap: 17px; }
  .feature-row { margin-top: 39px; }
}
@media (max-width: 620px) {
  .topbar { height: 66px; padding: 0 20px; }
  .brand { font-size: 11px; }
  .brand-logo { width: 30px; height: 30px; }
  .user-area { gap: 6px; font-size: 9px; }
  .user-area .top-link { font-size: 9px; white-space: nowrap; }
  .user-area .user-avatar, .user-area #username { display: none; }
  .user-area .text-button { margin-left: 2px; padding-left: 8px; font-size: 9px; white-space: nowrap; }
  .hero-shell { min-height: auto; padding: 60px 23px 42px; }
  .hero-copy h1 { font-size: 46px; }
  .hero-description { font-size: 13px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .feature-row { gap: 13px; justify-content: space-between; }
  .feature-row > div { grid-template-columns: 20px auto; column-gap: 5px; }
  .feature-row strong { font-size: 9px; }
  .feature-row small { font-size: 8px; white-space: normal; }
  .hero-art { min-height: 355px; }
  .preview-card { width: min(300px, 80%); }
  .preview-image { height: 215px; }
  .tag-top { right: -3px; top: 24px; }
  .tag-bottom { left: -4px; bottom: 20px; min-width: 210px; }
  .site-footer { padding: 12px 20px; gap: 9px; flex-wrap: wrap; font-size: 7px; }
  .site-footer span:nth-child(2) { display: none; }
  .dashboard, .download-shell { width: calc(100% - 38px); padding-top: 39px; }
  .page-heading { align-items: flex-start; gap: 12px; }
  .page-heading h1, .download-shell h1 { font-size: 34px; }
  .page-heading p { max-width: 340px; font-size: 11px; line-height: 1.6; }
  .secure-badge { margin-top: 10px; padding: 7px; }
  .secure-badge span { display: none; }
  .upload-layout { grid-template-columns: 1fr; }
  .pack-card { padding: 13px; }
  .pack-details { gap: 7px 11px; }
  .pack-actions .button { flex: 1 1 auto; }
  .upload-aside { display: grid; grid-template-columns: 1fr; }
  .aside-card { padding: 16px; }
  .share-result { flex-wrap: wrap; }
  .share-result .button { margin-left: auto; }
  .download-list { grid-template-columns: 1fr; }
  .pack-toolbar { gap: 10px; }
  .pack-toolbar .button { padding: 0 10px; font-size: 9px; }
  .download-intro { font-size: 11px; }
}
