:root {
  --ink: #253233;
  --muted: #758284;
  --line: rgba(71, 94, 94, 0.16);
  --glass: rgba(248, 252, 250, 0.68);
  --glass-strong: rgba(255, 255, 255, 0.82);
  --mint: #80c7af;
  --mint-dark: #4d987f;
  --coral: #e99b78;
  --shadow: 0 22px 70px rgba(61, 87, 82, 0.13);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #dfeceb url("https://images.unsplash.com/photo-1532274402911-5a369e4c4bb5?auto=format&fit=crop&w=2200&q=82") center/cover fixed; min-height: 100vh; }
body::before { content: ""; position: fixed; inset: 0; background: rgba(232, 243, 239, .55); backdrop-filter: blur(18px); pointer-events: none; z-index: -1; }
.ambient { position: fixed; border-radius: 50%; filter: blur(2px); opacity: .42; pointer-events: none; z-index: -1; }
.ambient-one { width: 290px; height: 290px; right: 8%; top: 5%; background: rgba(237, 179, 144, .23); }
.ambient-two { width: 360px; height: 360px; left: -8%; bottom: 8%; background: rgba(117, 202, 181, .22); }
button { font: inherit; color: inherit; cursor: pointer; border: 0; }
.app-shell { width: min(1180px, calc(100% - 56px)); margin: 0 auto; padding: 28px 0 32px; }
.topbar, .topbar-actions, .brand, .hero, .network-pill, .mode-switch, .panel-head, .side-heading, .code-card-head, .code-actions, .setting-row, .connected-device, .section-heading, .recent-item, footer { display: flex; align-items: center; }
.topbar { justify-content: space-between; min-height: 42px; }
.brand { gap: 10px; font-size: 17px; font-weight: 700; letter-spacing: 0; color: var(--ink); }.brand-name { line-height: 1; }.brand-mark { position: relative; display: flex; gap: 2px; align-items: end; width: 30px; height: 28px; padding: 5px; overflow: hidden; border-radius: 10px 10px 10px 4px; background: var(--ink); box-shadow: 0 6px 14px rgba(37,50,51,.16); transform: rotate(-4deg); }.brand-mark i { display: block; width: 4px; border-radius: 4px; background: #9de0c6; height: 10px; }.brand-mark i:nth-child(2) { height: 16px; background: #eaa47f; }.brand-mark i:nth-child(3) { height: 13px; background: #fff; }.brand-mark b { position: absolute; right: 4px; top: 4px; width: 5px; height: 5px; border-radius: 50%; background: #9de0c6; }.topbar-actions { gap: 15px; }.secure-status { color: var(--muted); font-family: "DM Mono", monospace; font-size: 10px; }.status-dot, .device-dot, .network-pulse { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: #5eb08d; margin-right: 7px; box-shadow: 0 0 0 4px rgba(94,176,141,.13); }.icon-button { background: rgba(255,255,255,.34); border: 1px solid rgba(255,255,255,.5); width: 32px; height: 32px; border-radius: 50%; font-size: 18px; }
.hero { justify-content: space-between; padding: 72px 0 38px; align-items: flex-end; }.eyebrow { margin: 0 0 10px; color: var(--mint-dark); font: 500 10px/1 "DM Mono", monospace; letter-spacing: 1.2px; }.hero h1 { margin: 0; font-size: clamp(40px, 5vw, 66px); line-height: .98; letter-spacing: -2.4px; font-weight: 600; }.hero-copy { margin: 19px 0 0; color: var(--muted); font-size: 14px; }.network-pill { padding: 10px 13px; border: 1px solid rgba(255,255,255,.65); background: rgba(255,255,255,.36); border-radius: 20px; color: #57706d; font-size: 11px; box-shadow: 0 8px 25px rgba(85,109,105,.07); }.network-pulse { margin: 0 8px 0 0; }.network-arrow { margin-left: 9px; font-size: 15px; color: var(--mint-dark); }
.workspace { margin-top: 4px; }.mode-switch { gap: 3px; border-bottom: 1px solid var(--line); padding: 0 4px; }.mode-button { display: inline-flex; align-items: center; gap: 8px; padding: 14px 14px 13px; background: transparent; color: var(--muted); font-size: 13px; border-bottom: 2px solid transparent; }.mode-button.active { color: var(--ink); border-color: var(--mint-dark); font-weight: 600; }.mode-icon { font-size: 17px; color: var(--mint-dark); }.mode-note { margin-left: auto; padding-right: 5px; color: var(--muted); font-size: 11px; }
.transfer-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: 18px; margin-top: 18px; }.glass-panel { border: 1px solid rgba(255,255,255,.7); background: var(--glass); box-shadow: var(--shadow); backdrop-filter: blur(24px); }.transfer-panel { min-height: 520px; padding: 22px; border-radius: 18px; }.panel-head { justify-content: space-between; margin-bottom: 20px; }.segmented { display: flex; gap: 3px; padding: 3px; border-radius: 9px; background: rgba(213,227,223,.65); }.segment { padding: 8px 13px; background: transparent; color: var(--muted); border-radius: 7px; font-size: 12px; }.segment.active { background: rgba(255,255,255,.84); color: var(--ink); box-shadow: 0 3px 10px rgba(72,97,91,.09); font-weight: 600; }.device-label { color: var(--muted); font-size: 10px; }.device-dot { background: #9aa9a6; box-shadow: none; width: 5px; height: 5px; }
.drop-zone { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 376px; border: 1px dashed rgba(79,132,113,.38); background: rgba(228,243,237,.42); border-radius: 13px; transition: background .2s, border .2s, transform .2s; }.drop-zone.dragging { background: rgba(201,234,221,.72); border-color: var(--mint-dark); transform: scale(.99); }.drop-orbit { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 18px; border-radius: 50%; background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.88); color: var(--mint-dark); box-shadow: 0 12px 22px rgba(74,128,107,.12); }.upload-arrow { font-size: 30px; line-height: 1; font-weight: 300; }.drop-zone h2 { margin: 0; font-size: 18px; font-weight: 600; }.drop-zone p { margin: 8px 0 19px; color: var(--muted); font-size: 12px; }.choose-button { padding: 10px 16px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 12px; box-shadow: 0 8px 14px rgba(37,50,51,.14); }.choose-button span { color: #a5e0ca; margin-right: 4px; font-size: 15px; }.drop-hint { margin-top: 25px; color: #8d9b99; font: 10px "DM Mono", monospace; }.drop-hint span { color: var(--mint-dark); }.drop-hint i { display: inline-block; width: 3px; height: 3px; margin: 0 10px; border-radius: 50%; vertical-align: middle; background: #a9b5b2; }
.side-panel { padding: 23px; border-radius: 18px; }.side-heading { justify-content: space-between; align-items: flex-start; }.side-heading h2, .section-heading h2 { margin: 0; font-size: 19px; font-weight: 600; }.more-button { background: transparent; color: var(--muted); font-size: 17px; letter-spacing: 2px; }.code-card { margin-top: 25px; padding: 16px; border: 1px solid rgba(255,255,255,.86); border-radius: 12px; background: var(--glass-strong); }.code-card-head { justify-content: space-between; color: var(--muted); font-size: 11px; }.text-button { padding: 0; background: transparent; color: var(--mint-dark); font-size: 11px; }.code-display { margin: 15px 0 13px; letter-spacing: 11px; padding-left: 10px; font: 500 34px "DM Mono", monospace; color: var(--ink); }.code-actions { gap: 8px; }.copy-button { flex: 1; padding: 9px; border-radius: 7px; background: #edf5f1; color: var(--mint-dark); font-size: 11px; }.copy-button span { margin-right: 6px; }.qr-button { width: 34px; border-radius: 7px; background: #edf5f1; color: var(--mint-dark); font-size: 20px; }.setting-row { justify-content: space-between; padding: 20px 1px 16px; }.setting-row strong { display: block; margin-bottom: 5px; font-size: 12px; font-weight: 600; }.setting-row span, .connected-device span { display: block; color: var(--muted); font-size: 10px; }.switch input { display: none; }.switch span { display: block; width: 35px; height: 20px; padding: 2px; border-radius: 20px; background: #b5c1bd; transition: background .2s; }.switch span::after { content: ""; display: block; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 3px rgba(0,0,0,.16); }.switch input:checked + span { background: var(--mint-dark); }.switch input:checked + span::after { transform: translateX(15px); }.chevron-button { width: 26px; height: 26px; border-radius: 50%; background: rgba(225,237,232,.7); color: var(--mint-dark); font-size: 22px; line-height: 20px; }.divider { height: 1px; background: var(--line); }.connected-device { gap: 11px; padding: 19px 0 18px; }.device-avatar { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 9px; background: rgba(205,224,217,.75); color: var(--mint-dark); font-size: 23px; }.connected-device strong { display: block; margin-bottom: 5px; font-size: 12px; }.privacy-note { display: flex; gap: 9px; padding: 12px; border-radius: 8px; background: rgba(237,220,202,.36); color: #9f755f; }.privacy-note span { font-size: 14px; }.privacy-note p { margin: 0; font-size: 10px; line-height: 1.5; }
.share-card { margin-top: 12px; padding: 13px; border: 1px solid rgba(133, 190, 169, .42); border-radius: 10px; background: rgba(224, 244, 235, .5); }.share-card[hidden] { display: none; }.share-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }.share-card-head strong { display: block; font-size: 11px; }.share-card-head span:not(.share-link-icon) { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }.share-link-icon { color: var(--mint-dark); font-size: 17px; }.share-link { overflow: hidden; margin: 11px 0 9px; padding: 8px; border-radius: 6px; background: rgba(255,255,255,.68); color: #607572; font: 9px "DM Mono", monospace; text-overflow: ellipsis; white-space: nowrap; }.copy-share-button { width: 100%; padding: 8px; border-radius: 6px; background: var(--mint-dark); color: #fff; font-size: 10px; }.copy-share-button span { margin-right: 5px; color: #b8ead5; }.qr-frame { width: 220px; height: 220px; margin: 0 auto 14px; padding: 8px; border-radius: 8px; background: #fff; }.qr-frame canvas { display: block; width: 204px; height: 204px; }.qr-modal strong { display: block; font: 500 22px "DM Mono", monospace; letter-spacing: 6px; }.modal-copy { margin-top: 15px; }.qr-modal > p:last-of-type { margin: 15px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.receive-code-panel { padding: 17px 1px 18px; }.receive-code-panel strong { display: block; margin-bottom: 5px; font-size: 12px; font-weight: 600; }.receive-code-panel span { display: block; color: var(--muted); font-size: 10px; }.receive-code-form { display: flex; gap: 7px; margin-top: 11px; }.receive-code-form input { min-width: 0; flex: 1; padding: 10px 11px; border: 1px solid rgba(120, 161, 148, .28); border-radius: 7px; outline: none; background: rgba(255,255,255,.62); color: var(--ink); font: 12px "DM Mono", monospace; }.receive-code-form input:focus { border-color: var(--mint-dark); box-shadow: 0 0 0 3px rgba(77,152,127,.12); }.receive-code-form button { padding: 0 15px; border-radius: 7px; background: var(--mint-dark); color: #fff; font-size: 11px; }
.queue { padding-top: 20px; }.queue-header { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 10px; }.queue-header strong { color: var(--mint-dark); }.file-row { display: flex; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }.file-row .file-icon { width: 30px; height: 30px; }.file-info { flex: 1; min-width: 0; }.file-info strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }.file-info span { color: var(--muted); font: 10px "DM Mono", monospace; }.remove-file { background: transparent; color: var(--muted); font-size: 17px; }.primary-button { width: 100%; margin-top: 17px; padding: 12px; border-radius: 8px; background: var(--ink); color: white; font-size: 12px; }.primary-button span { color: #9de0c6; margin-right: 5px; }.progress-line { height: 3px; margin-top: 5px; overflow: hidden; border-radius: 3px; background: #dae6e1; }.progress-line span { display: block; width: 0; height: 100%; background: var(--mint-dark); transition: width .4s; }
.recent-section { padding: 51px 0 26px; }.section-heading { justify-content: space-between; align-items: flex-end; margin-bottom: 17px; }.recent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }.recent-item { gap: 11px; min-width: 0; padding: 15px; border: 1px solid rgba(255,255,255,.62); border-radius: 11px; background: rgba(255,255,255,.3); }.file-icon { display: grid; place-items: center; flex: 0 0 auto; width: 34px; height: 34px; border-radius: 8px; font-size: 16px; }.file-icon.image { background: #d9e9de; color: #568d71; }.file-icon.doc { background: #e7dfd0; color: #ad805b; }.file-icon.video { background: #dedcef; color: #756da3; }.recent-meta { min-width: 0; flex: 1; }.recent-meta strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }.recent-meta span { display: block; margin-top: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 9px; }.complete-mark { color: var(--mint-dark); font-size: 13px; }footer { justify-content: center; gap: 12px; padding-top: 18px; color: #81918e; font: 10px "DM Mono", monospace; }.footer-separator { color: var(--coral); }
.toast { position: fixed; left: 50%; bottom: 27px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 11px 16px; border-radius: 8px; background: var(--ink); color: white; font-size: 12px; transition: .25s; z-index: 5; }.toast.show { opacity: 1; transform: translate(-50%, 0); }.modal-backdrop { position: fixed; inset: 0; display: grid; place-items: center; background: rgba(36,49,49,.23); backdrop-filter: blur(8px); z-index: 4; }.modal-backdrop[hidden] { display: none; }.qr-modal { position: relative; width: min(340px, calc(100% - 40px)); padding: 28px; text-align: center; border-radius: 16px; }.qr-modal h2 { margin: 0 0 18px; font-size: 20px; }.modal-close { position: absolute; top: 12px; right: 15px; background: transparent; color: var(--muted); font-size: 22px; }
body.warm::before { background: rgba(247, 234, 225, .52); } body.warm .ambient-one { background: rgba(234, 149, 112, .28); }
.modal-backdrop { padding: 20px; }
.qr-modal { width: min(340px, 100%); max-height: calc(100dvh - 40px); overflow-y: auto; }
.qr-frame { width: min(100%, 244px); height: auto; aspect-ratio: 1; flex: 0 0 auto; }
.qr-frame canvas { width: 100%; height: 100%; image-rendering: pixelated; }
@media (max-width: 820px) { .app-shell { width: min(100% - 30px, 620px); padding-top: 18px; }.secure-status { display: none; }.hero { display: block; padding: 55px 0 30px; }.network-pill { width: fit-content; margin-top: 22px; }.transfer-layout { grid-template-columns: 1fr; }.side-panel { order: -1; }.transfer-panel { min-height: 0; }.drop-zone { min-height: 300px; }.recent-grid { grid-template-columns: 1fr; }.recent-item { padding: 12px; }.mode-note { display: none; }.mode-switch { justify-content: center; }.mode-button { padding-left: 10px; padding-right: 10px; } }
@media (max-width: 460px) { .app-shell { width: calc(100% - 24px); }.brand { font-size: 12px; gap: 7px; }.panel-head { align-items: flex-start; gap: 10px; flex-direction: column; }.hero h1 { letter-spacing: -1.7px; }.hero-copy { line-height: 1.6; }.transfer-panel, .side-panel { padding: 16px; }.drop-zone { min-height: 274px; }.drop-hint { font-size: 9px; }.drop-hint i { margin: 0 5px; }.code-display { font-size: 29px; }.footer-separator { display: none; }footer { flex-wrap: wrap; gap: 7px; }.modal-backdrop { padding: 12px; }.qr-modal { max-height: calc(100dvh - 24px); padding: 24px 18px 20px; }.qr-modal h2 { margin-bottom: 14px; }.qr-modal > p:last-of-type { margin-top: 12px; } }
