@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');
:root { color-scheme: light dark; --bg: #eef3f6; --surface: rgba(255,255,255,.74); --surface-strong: #fff; --ink: #10252d; --muted: #6c7d83; --line: rgba(16,37,45,.12); --accent: #0c7c78; --accent-bright: #19b7a5; --accent-soft: rgba(25,183,165,.12); --danger: #bd5c66; --shadow: 0 26px 80px rgba(19,44,54,.12); font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'PingFang SC', sans-serif; }
@media (prefers-color-scheme: dark) { :root { --bg: #0b151c; --surface: rgba(19,32,41,.8); --surface-strong: #13232c; --ink: #e7f1f1; --muted: #91a6ac; --line: rgba(219,242,242,.14); --accent: #52d6c2; --accent-bright: #8aefe0; --accent-soft: rgba(82,214,194,.13); --danger: #f08a94; --shadow: 0 26px 90px rgba(0,0,0,.28); } }
* { box-sizing: border-box; } body { min-height: 100vh; margin: 0; overflow-x: hidden; background: var(--bg); color: var(--ink); } body::before { content: ''; position: fixed; inset: 0; pointer-events: none; opacity: .26; background-image: linear-gradient(rgba(100,140,150,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(100,140,150,.07) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, black, transparent 72%); }.ambient { position: fixed; width: 42vw; height: 42vw; border-radius: 50%; filter: blur(70px); opacity: .22; pointer-events: none; }.ambient-a { top: -20vw; left: -12vw; background: #4fd7c5; }.ambient-b { right: -18vw; bottom: -22vw; background: #7798ff; }
main { width: min(1120px, calc(100% - 40px)); margin: auto; padding: 28px 0 24px; position: relative; }.site-header { display: flex; justify-content: space-between; align-items: center; gap: 24px; }.brand { display: inline-flex; align-items: center; gap: 11px; color: inherit; text-decoration: none; }.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 12px; background: linear-gradient(135deg, var(--accent), #356aa7); color: #fff; font: 700 19px/1 'DM Mono', monospace; box-shadow: 0 8px 20px rgba(12,124,120,.22); }.brand strong { display: block; font-size: 19px; letter-spacing: -.04em; }.brand small { display: block; color: var(--muted); font-size: 10px; letter-spacing: .14em; margin-top: 2px; }.storage { width: 235px; color: var(--muted); font: 10px 'DM Mono', monospace; }.storage meter { display: block; width: 100%; height: 6px; margin-top: 8px; accent-color: var(--accent); }
.hero { display: flex; align-items: end; justify-content: space-between; gap: 32px; padding: clamp(58px, 9vw, 105px) 4px 52px; }.eyebrow, .kicker { color: var(--accent); font: 500 10px 'DM Mono', monospace; letter-spacing: .16em; }.hero h1 { max-width: 680px; margin: 15px 0 0; font-size: clamp(42px, 7vw, 78px); letter-spacing: -.075em; line-height: .98; }.hero h1 em { color: var(--accent); font-style: normal; }.hero-copy { margin: 0 0 6px; color: var(--muted); font-size: 14px; line-height: 1.8; text-align: right; }.workspace { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: stretch; }.panel { min-height: 510px; padding: 28px; border: 1px solid var(--line); border-radius: 25px; background: var(--surface); box-shadow: var(--shadow); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); animation: rise .65s ease both; }.pickup-panel { animation-delay: .08s; }.panel-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 24px; }.panel h2 { margin: 8px 0 0; font-size: 24px; letter-spacing: -.055em; }.status-dot, .code-badge { color: var(--accent); font: 10px 'DM Mono', monospace; border: 1px solid var(--line); border-radius: 999px; padding: 7px 10px; }.status-dot::before { content: ''; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--accent-bright); box-shadow: 0 0 12px var(--accent-bright); }.composer { min-height: 245px; position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: var(--surface-strong); transition: border-color .2s, box-shadow .2s; }.composer:focus-within, .composer.dragging { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }.composer textarea { width: 100%; min-height: 190px; padding: 19px 19px 45px; border: 0; outline: 0; resize: none; background: transparent; color: var(--ink); font: 15px/1.7 inherit; }.composer textarea::placeholder { color: var(--muted); }.composer-meta { position: absolute; bottom: 14px; left: 18px; color: var(--muted); font: 10px 'DM Mono', monospace; }.file-picker { position: absolute; right: 14px; bottom: 12px; display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 9px; color: var(--accent); cursor: pointer; font-size: 11px; transition: background .2s; }.file-picker:hover { background: var(--accent-soft); }.file-picker input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }.file-glyph { font-size: 19px; line-height: 1; }.file-limit { display: none; }.clear-file { position: absolute; right: 10px; top: 10px; padding: 0 6px; background: var(--accent-soft); color: var(--accent); font-size: 20px; line-height: 25px; }.send-options { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; color: var(--muted); font-size: 12px; }.send-options select { width: auto; padding: 8px 26px 8px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-strong); color: var(--ink); font: inherit; }.action-button { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 18px; padding: 15px 17px; border: 0; border-radius: 12px; background: var(--accent); color: #fff; font: 700 13px inherit; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }.action-button:hover { background: var(--accent-bright); transform: translateY(-2px); box-shadow: 0 10px 24px var(--accent-soft); }.action-button span:last-child { font-size: 19px; }.action-button:disabled { opacity: .6; cursor: wait; transform: none; }.pickup-intro { display: flex; align-items: center; gap: 16px; min-height: 135px; margin: 10px 0 18px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(135deg, var(--accent-soft), transparent 70%); }.pickup-intro p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }.orb { display: grid; flex: 0 0 52px; place-items: center; width: 52px; height: 52px; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); font-size: 27px; animation: float 3s ease-in-out infinite; }#code { width: 100%; padding: 20px 14px; border: 1px solid var(--line); border-radius: 14px; outline: 0; background: var(--surface-strong); color: var(--ink); text-align: center; font: 500 34px 'DM Mono', monospace; letter-spacing: .28em; }#code:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }.notice { min-height: 22px; margin: 14px 0 0; color: var(--accent); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }.error { color: var(--danger); }progress { width: 100%; height: 6px; accent-color: var(--accent); }.receipt, .received { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }.code { margin: 9px 0 3px; color: var(--accent); font: 500 48px 'DM Mono', monospace; letter-spacing: .18em; }.detail, footer { color: var(--muted); font-size: 12px; line-height: 1.7; }.small-input { width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface-strong); color: var(--ink); font: 11px 'DM Mono', monospace; }.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }.actions button { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--muted); font: 11px inherit; cursor: pointer; }.actions button:hover { border-color: var(--accent); color: var(--accent); }details { margin-top: 18px; color: var(--muted); font-size: 11px; }summary { cursor: pointer; }.danger { color: var(--danger) !important; }pre { max-height: 270px; margin: 12px 0; padding: 15px; overflow: auto; border-radius: 12px; background: var(--accent-soft); color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; font: 13px/1.7 inherit; }#received-name { margin: 0; overflow-wrap: anywhere; }footer { display: flex; justify-content: space-between; gap: 20px; padding: 22px 4px 0; font: 10px 'DM Mono', monospace; }footer span:last-child { text-align: right; }.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }[hidden] { display: none !important; }@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }@media (max-width: 780px) { main { width: min(100% - 28px, 580px); padding-top: 18px; }.storage { width: 170px; }.hero { display: block; padding: 66px 0 34px; }.hero h1 { font-size: clamp(40px, 12vw, 62px); }.hero-copy { margin-top: 20px; text-align: left; }.workspace { grid-template-columns: 1fr; }.panel { min-height: auto; padding: 22px; }footer { display: block; }footer span { display: block; margin-top: 5px; }footer span:last-child { text-align: left; }}@media (max-width: 460px) { .site-header { align-items: flex-start; }.storage { width: 145px; font-size: 9px; }.brand-mark { width: 34px; height: 34px; }.brand strong { font-size: 17px; }.hero h1 { font-size: 40px; }.panel { padding: 18px; }.composer { min-height: 225px; }.file-picker { left: 14px; right: auto; }.file-limit { display: none; }}

/* Final compact layout */
.hero { padding: 54px 4px 38px; }
.hero h1 { max-width: none; margin: 0; font-size: clamp(32px, 5vw, 58px); line-height: 1.08; white-space: nowrap; }
.workspace { align-items: stretch; }
.panel { min-height: 500px; }
.composer { min-height: 0; display: flex; flex-direction: column; gap: 10px; padding: 0; overflow: visible; border: 0; background: transparent; box-shadow: none; }
.composer:focus-within, .composer.dragging { border-color: transparent; box-shadow: none; }
.text-box { border: 1px solid var(--line); border-radius: 16px; background: var(--surface-strong); transition: border-color .2s, box-shadow .2s; }
.text-box:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.composer textarea { min-height: 142px; padding: 17px; }
.composer-meta { display: none; }
.file-picker { position: relative; right: auto; bottom: auto; min-height: 78px; justify-content: center; border: 1px dashed color-mix(in srgb, var(--accent) 55%, var(--line)); border-radius: 16px; background: var(--accent-soft); font-size: 12px; }
.file-picker:hover, .file-picker.selected { background: color-mix(in srgb, var(--accent) 18%, transparent); }
.file-limit { display: inline; color: var(--muted); }
.clear-file { top: 10px; right: 10px; z-index: 2; }
.pickup-panel { display: flex; flex-direction: column; }
.pickup-center { display: grid; place-items: center; flex: 1; width: min(100%, 310px); margin: 0 auto; }
.pickup-center form { width: 100%; }
#code { padding: 23px 14px; }
footer { justify-content: center; text-align: center; }
footer span:last-child { text-align: center; }
@media (max-width: 780px) { .hero { padding: 52px 0 30px; } .hero h1 { white-space: normal; font-size: clamp(34px, 10vw, 52px); } .panel { min-height: auto; } .pickup-center { padding: 26px 0 18px; } }

/* Refined compact composition */
.site-header { justify-content: center; }
.hero { display: block; padding: 42px 0 30px; text-align: center; }
.hero h1 { max-width: none; margin: 0; color: var(--muted); font-size: clamp(16px, 1.8vw, 21px); font-weight: 500; letter-spacing: -.025em; line-height: 1.5; white-space: normal; }
.hero h1 em { color: var(--ink); font-style: normal; }
.workspace { gap: 20px; }
.panel { min-height: 470px; padding: 30px; border-radius: 22px; }
.panel-top { margin-bottom: 22px; }
.panel h2 { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -.045em; }
.send-panel form { display: flex; flex-direction: column; }
.composer { gap: 12px; }
.text-box { min-height: 154px; }
.composer textarea { min-height: 152px; padding: 18px; font-size: 14px; line-height: 1.7; }
.file-picker { min-height: 82px; }
.send-options { margin-top: 18px; }
.action-button { min-height: 48px; }
.send-panel .action-button { margin-top: 18px; }
.pickup-center { width: min(100%, 290px); padding: 12px 0 20px; }
.pickup-center form { display: grid; gap: 12px; }
#code { padding: 19px 14px; font-size: 28px; }
.pickup-center .action-button { width: 100%; }
footer { padding-top: 18px; }
@media (max-width: 780px) {
  .hero { padding: 36px 0 25px; }
  .hero h1 { font-size: 16px; }
  .panel { min-height: auto; padding: 24px; }
  .pickup-center { padding: 24px 0 16px; }
}

/* Small-screen polish */
.text-box,
.file-picker { width: 100%; }
.file-picker { box-sizing: border-box; }
.received-text-wrap { position: relative; }
.received-text-wrap pre { padding-right: 72px; }
#copy-text { position: absolute; top: 10px; right: 10px; padding: 7px 11px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface-strong); color: var(--accent); font: 600 12px inherit; cursor: pointer; }
#copy-text:hover { border-color: var(--accent); background: var(--accent-soft); }
@media (max-width: 780px) {
  .hero { padding-top: 30px; padding-bottom: 22px; }
  .workspace { gap: 14px; }
  .panel { padding: 22px; }
  .panel-top { margin-bottom: 18px; }
  .composer { gap: 10px; }
  .text-box { min-height: 140px; }
  .composer textarea { min-height: 138px; }
  .file-picker { min-height: 74px; }
  .send-options { margin-top: 14px; }
  .send-panel .action-button { margin-top: 14px; }
  .pickup-center { flex: none; padding: 12px 0 10px; }
  .pickup-center form { gap: 10px; }
  .pickup-panel .notice { margin-top: 8px; }
  footer { padding-top: 14px; }
}
