Files
s41r4j-throwit/app/globals.css
T

450 lines
24 KiB
CSS

:root {
--bg: #f4f2ed;
--paper: #fbfaf7;
--ink: #151513;
--muted: #78746d;
--line: rgba(21, 21, 19, .11);
--red: #ff626a;
--red-soft: #ffe7e8;
--green: #278c62;
--shadow: 0 28px 90px rgba(35, 30, 23, .14);
--ease: cubic-bezier(.18, .78, .16, 1);
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--bg); }
body {
margin: 0;
min-height: 100%;
color: var(--ink);
background:
radial-gradient(circle at 50% 43%, rgba(255,255,255,.97) 0, rgba(255,255,255,.52) 28rem, transparent 60rem),
var(--bg);
font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
letter-spacing: -.02em;
}
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
::selection { background: rgba(255, 98, 106, .2); }
.app { min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; }
.nav {
min-height: 76px;
padding: 12px clamp(16px, 3vw, 48px);
display: grid;
grid-template-columns: minmax(150px, 1fr) auto minmax(260px, 1fr);
align-items: center;
gap: 20px;
border-bottom: 1px solid var(--line);
background: rgba(244, 242, 237, .84);
backdrop-filter: blur(22px);
position: relative;
z-index: 30;
}
.brand {
width: max-content;
display: inline-flex;
align-items: center;
gap: 10px;
text-decoration: none;
font-size: 21px;
font-weight: 920;
letter-spacing: -.065em;
}
.brand img { object-fit: contain; filter: drop-shadow(0 8px 12px rgba(0,0,0,.12)); }
.nav-center {
max-width: 420px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 10px;
color: var(--muted);
font-size: 11px;
font-weight: 820;
white-space: nowrap;
}
.nav-center i {
width: 8px;
height: 8px;
border-radius: 50%;
background: var(--red);
box-shadow: 0 0 0 0 rgba(255,98,106,.28);
animation: status-pulse 1.8s infinite;
}
.nav-center i.online { background: var(--green); }
@keyframes status-pulse { 60% { box-shadow: 0 0 0 9px rgba(255,98,106,0); } }
.nav-actions { justify-self: end; display: flex; align-items: center; gap: 9px; }
.network-toggle,
.share-link {
min-height: 46px;
border-radius: 16px;
border: 1px solid var(--line);
background: rgba(255,255,255,.72);
box-shadow: 0 6px 18px rgba(30,27,22,.05);
font-size: 11px;
font-weight: 850;
}
.network-toggle { display: flex; align-items: center; gap: 10px; padding: 7px 14px 7px 8px; }
.toggle-track {
width: 38px;
height: 26px;
padding: 3px;
display: flex;
align-items: center;
border-radius: 999px;
background: #dedbd4;
transition: .25s var(--ease);
}
.toggle-track i {
width: 20px;
height: 20px;
border-radius: 50%;
background: white;
box-shadow: 0 3px 9px rgba(0,0,0,.18);
transition: transform .25s var(--ease);
}
.network-toggle.active { border-color: rgba(255,98,106,.35); background: #fff6f6; }
.network-toggle.active .toggle-track { background: var(--red); }
.network-toggle.active .toggle-track i { transform: translateX(12px); }
.share-link { padding: 0 18px; color: #df444d; border-color: rgba(255,98,106,.42); background: #fff7f7; }
.canvas {
position: relative;
min-height: 760px;
overflow: hidden;
padding: 32px 34px 154px;
background:
linear-gradient(rgba(21,21,19,.026) 1px, transparent 1px),
linear-gradient(90deg, rgba(21,21,19,.026) 1px, transparent 1px);
background-size: 48px 48px;
}
.intro { position: absolute; top: 34px; left: clamp(20px, 3vw, 48px); z-index: 8; max-width: 470px; }
.intro small {
display: flex;
align-items: center;
gap: 10px;
color: var(--muted);
font-size: 9px;
font-weight: 920;
letter-spacing: .16em;
}
.intro small::before { content: ""; width: 22px; height: 1px; background: var(--ink); }
h1 { margin: 15px 0 16px; font-size: clamp(48px, 5.1vw, 82px); line-height: .87; letter-spacing: -.085em; }
h1 em { color: var(--red); font-style: normal; }
.intro p { margin: 0; max-width: 380px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.radar {
position: relative;
width: min(68vw, 720px);
aspect-ratio: 1;
margin: 72px auto 0;
display: grid;
place-items: center;
isolation: isolate;
}
.orbit { position: absolute; border: 1px solid rgba(21,21,19,.105); border-radius: 50%; pointer-events: none; }
.o1 { width: 31%; height: 31%; }
.o2 { width: 64%; height: 64%; }
.o3 { width: 96%; height: 96%; }
.aim-layer { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; overflow: visible; pointer-events: none; }
.aim-layer path { fill: none; stroke: rgba(255,98,106,.48); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 5 7; filter: drop-shadow(0 0 4px rgba(255,98,106,.2)); animation: dash 8s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -100; } }
.sling-anchor { position: absolute; left: 50%; top: 50%; z-index: 3; width: 1px; height: 1px; }
.sling-tether {
position: absolute;
left: 0;
top: 0;
width: 0;
height: 2px;
transform-origin: left center;
opacity: 0;
background: linear-gradient(90deg, rgba(255,98,106,.7), rgba(255,98,106,.08));
box-shadow: 0 0 9px rgba(255,98,106,.2);
transition: opacity .15s;
}
.paper-core {
position: relative;
z-index: 5;
width: 194px;
height: 194px;
border-radius: 50%;
display: grid;
place-items: center;
touch-action: none;
user-select: none;
cursor: grab;
background: rgba(255,255,255,.54);
border: 1px solid rgba(255,255,255,.94);
box-shadow: 0 26px 80px rgba(36,31,24,.14), inset 0 0 0 1px rgba(21,21,19,.045);
backdrop-filter: blur(16px);
will-change: transform, opacity;
}
.paper-core::before { content: ""; position: absolute; inset: 13px; border: 1px dashed rgba(21,21,19,.16); border-radius: 50%; animation: spin 26s linear infinite; }
.paper-core::after { content: "pull + release"; position: absolute; bottom: 18px; padding: 5px 8px; border-radius: 999px; color: rgba(21,21,19,.48); background: rgba(255,255,255,.66); font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; opacity: 0; transform: translateY(4px); transition: .2s; }
.paper-core:hover::after { opacity: 1; transform: none; }
.paper-core.dragging { cursor: grabbing; box-shadow: 0 32px 90px rgba(36,31,24,.2), 0 0 0 10px rgba(255,98,106,.06); }
.paper-core.flying { pointer-events: none; }
.paper-core img { width: 158px; height: 158px; object-fit: contain; pointer-events: none; filter: drop-shadow(0 18px 18px rgba(0,0,0,.17)); animation: float 4s ease-in-out infinite; }
.paper-core.flying img,
.paper-core.dragging img { animation: none; }
@keyframes float { 50% { transform: translateY(-8px) rotate(2deg); } }
@keyframes spin { to { transform: rotate(360deg); } }
.core-copy { position: absolute; z-index: 6; top: calc(50% + 115px); width: 260px; text-align: center; pointer-events: none; }
.self-label { display: inline-flex; padding: 4px 7px; margin-bottom: 6px; border-radius: 999px; background: rgba(21,21,19,.06); color: var(--muted); font-size: 7px; font-weight: 920; letter-spacing: .12em; }
.core-copy strong,
.core-copy small { display: block; }
.core-copy strong { font-size: 14px; letter-spacing: -.025em; }
.core-copy small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.peers { position: absolute; inset: 0; z-index: 8; pointer-events: none; }
.peer {
position: absolute;
min-width: 172px;
display: flex;
align-items: center;
gap: 11px;
padding: 8px;
border: 0;
background: transparent;
text-align: left;
pointer-events: auto;
}
.device-icon {
width: 52px;
height: 52px;
display: grid;
place-items: center;
border: 1px solid var(--line);
border-radius: 18px;
background: rgba(255,255,255,.8);
box-shadow: 0 10px 26px rgba(0,0,0,.07);
transition: .24s var(--ease);
}
.device-icon svg { width: 24px; height: 24px; }
.peer:hover .device-icon,
.peer.active .device-icon { color: white; background: var(--ink); transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.2); }
.peer.catching .device-icon { animation: catch-pulse 1.15s var(--ease); }
@keyframes catch-pulse { 60% { transform: translateY(-2px) scale(1); } 82% { transform: translateY(-2px) scale(1.2) rotate(-4deg); box-shadow: 0 0 0 13px rgba(255,98,106,.12), 0 16px 36px rgba(0,0,0,.22); } }
.peer-copy strong,
.peer-copy small { display: block; max-width: 140px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.peer-copy strong { font-size: 12px; }
.peer-copy small { margin-top: 4px; color: var(--muted); font-size: 9px; }
.peer.active .peer-copy small { color: var(--red); font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.p1 { left: -3%; top: 20%; }
.p2 { right: -5%; top: 19%; }
.p3 { right: 0; bottom: 14%; }
.p4 { left: -1%; bottom: 13%; }
.p5 { left: 39%; top: -1%; }
.p6 { left: 39%; bottom: -2%; }
.searching { position: absolute; bottom: 8%; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 10px; font-weight: 820; white-space: nowrap; }
.searching i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: status-pulse 1.5s infinite; }
.dock {
position: absolute;
z-index: 20;
left: 50%;
bottom: 22px;
width: min(980px, calc(100% - 30px));
transform: translateX(-50%);
border: 1px solid rgba(255,255,255,.94);
border-radius: 28px;
background: rgba(250,249,246,.91);
box-shadow: var(--shadow);
backdrop-filter: blur(26px);
overflow: hidden;
}
.dock-tabs { position: absolute; left: 14px; top: 14px; z-index: 2; display: flex; gap: 3px; padding: 4px; border-radius: 15px; background: rgba(21,21,19,.06); }
.dock-tabs button { min-width: 58px; padding: 10px 14px; border: 0; border-radius: 11px; color: var(--muted); background: transparent; font-size: 11px; font-weight: 900; }
.dock-tabs button.active { color: var(--ink); background: white; box-shadow: 0 4px 14px rgba(0,0,0,.08); }
.dock-tabs b { min-width: 17px; height: 17px; margin-left: 5px; display: inline-grid; place-items: center; border-radius: 999px; color: white; background: var(--red); font-size: 8px; }
.file-panel { min-height: 92px; padding: 14px 14px 14px 164px; display: grid; grid-template-columns: minmax(260px, 1fr) auto minmax(190px, 240px); align-items: center; gap: 14px; }
.payload-card { min-width: 0; min-height: 62px; display: flex; align-items: center; gap: 12px; padding: 8px 12px; border: 1px solid transparent; border-radius: 18px; background: transparent; text-align: left; transition: .2s; }
.payload-card:hover { border-color: var(--line); background: rgba(255,255,255,.6); }
.payload-icon { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 13px; color: white; background: linear-gradient(145deg, #ff9972, var(--red)); font-size: 18px; font-weight: 900; }
.payload-card > span:last-child { min-width: 0; }
.payload-card strong,
.payload-card small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.payload-card strong { font-size: 13px; }
.payload-card small { margin-top: 5px; color: var(--muted); font-size: 9px; }
.file-hint { display: flex; flex-direction: column; gap: 5px; color: var(--muted); font-size: 9px; white-space: nowrap; }
.throw { min-height: 58px; display: flex; align-items: center; gap: 12px; padding: 5px 17px 5px 5px; border: 0; border-radius: 18px; color: white; background: var(--ink); }
.throw:disabled { opacity: .36; cursor: not-allowed; }
.throw > span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(145deg, #ff9972, var(--red)); font-size: 21px; }
.throw strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 11px; }
.chat-mode { height: min(430px, 48vh); min-height: 330px; }
.chat-mode .dock-tabs { top: 18px; }
.chat-panel { height: 100%; padding-left: 150px; display: grid; grid-template-rows: auto 1fr auto; }
.chat-header { min-height: 72px; padding: 12px 18px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; border-bottom: 1px solid var(--line); }
.chat-peer-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 14px; color: white; background: var(--ink); }
.chat-peer-icon svg { width: 21px; height: 21px; }
.chat-header strong,
.chat-header small { display: block; }
.chat-header strong { font-size: 13px; }
.chat-header small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.chat-status { padding: 5px 8px; border-radius: 999px; color: var(--green); background: rgba(39,140,98,.1); font-size: 8px; font-weight: 900; letter-spacing: .1em; }
.message-list { min-height: 0; padding: 16px 18px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; }
.empty-chat { margin: auto; max-width: 340px; display: grid; justify-items: center; gap: 5px; color: var(--muted); text-align: center; }
.empty-chat img { opacity: .68; }
.empty-chat strong { color: var(--ink); font-size: 13px; }
.empty-chat span { font-size: 10px; line-height: 1.45; }
.message { width: fit-content; max-width: min(82%, 680px); padding: 10px 12px; border-radius: 17px 17px 17px 5px; border: 1px solid rgba(21,21,19,.08); background: white; box-shadow: 0 5px 18px rgba(0,0,0,.035); }
.message.mine { align-self: flex-end; border-radius: 17px 17px 5px 17px; color: white; background: var(--ink); }
.message-meta { margin-bottom: 7px; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 8px; font-weight: 800; }
.message.mine .message-meta { color: rgba(255,255,255,.52); }
.markdown-body { display: grid; gap: 4px; font-size: 11px; line-height: 1.55; overflow-wrap: anywhere; }
.markdown-line,
.markdown-list,
.markdown-heading { display: block; }
.markdown-list { display: grid; grid-template-columns: 12px 1fr; }
.markdown-list i { font-style: normal; }
.markdown-heading { margin-top: 3px; font-size: 12px; }
.markdown-gap { height: 4px; }
.markdown-body a { text-decoration: underline; text-underline-offset: 2px; }
.inline-code { padding: 2px 4px; border-radius: 5px; background: rgba(21,21,19,.08); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; }
.message.mine .inline-code { background: rgba(255,255,255,.14); }
.code-block { min-width: min(520px, 66vw); margin: 5px 0 2px; overflow: hidden; border-radius: 12px; color: #e7e7e2; background: #0d1117; border: 1px solid rgba(255,255,255,.08); }
.code-block > div { height: 32px; padding: 0 10px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.08); color: #9ca3af; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.code-block button { padding: 4px 7px; border: 1px solid rgba(255,255,255,.14); border-radius: 7px; color: #f4f4ef; background: rgba(255,255,255,.06); font-size: 8px; }
.code-block pre { max-height: 310px; margin: 0; padding: 12px; overflow: auto; }
.code-block code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 10px; line-height: 1.55; white-space: pre; }
.copy-message { margin-top: 7px; padding: 0; border: 0; color: inherit; background: transparent; opacity: .48; font-size: 8px; }
.file-message { width: min(100%, 540px); align-self: flex-start; padding: 10px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 10px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.file-message-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; color: var(--red); background: var(--red-soft); }
.file-message strong,
.file-message small { display: block; }
.file-message strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 11px; }
.file-message small { margin-top: 4px; color: var(--muted); font-size: 8px; }
.file-message a { padding: 7px 9px; border-radius: 9px; background: var(--ink); color: white; text-decoration: none; font-size: 8px; font-weight: 850; }
.composer { margin: 0 14px 14px; padding: 8px; display: grid; grid-template-rows: 1fr auto; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: 0 8px 26px rgba(0,0,0,.04); }
.composer textarea { width: 100%; min-height: 66px; max-height: 150px; padding: 7px 8px; border: 0; resize: vertical; outline: 0; background: transparent; font-size: 11px; line-height: 1.5; }
.composer > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.composer > div span { padding-left: 8px; color: var(--muted); font-size: 8px; }
.composer button { width: 42px; height: 42px; border: 0; border-radius: 13px; color: white; background: var(--ink); font-size: 18px; }
.composer button:disabled { opacity: .32; }
footer { min-height: 62px; padding: 0 clamp(18px, 3vw, 48px); display: flex; align-items: center; justify-content: center; gap: 7px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
footer a { color: var(--ink); font-weight: 850; text-decoration: none; }
footer a:hover { text-decoration: underline; }
.drag-overlay { position: fixed; inset: 0; z-index: 80; display: grid; place-content: center; justify-items: center; gap: 6px; color: var(--ink); background: rgba(244,242,237,.88); border: 3px dashed rgba(255,98,106,.5); backdrop-filter: blur(18px); }
.drag-overlay img { filter: drop-shadow(0 20px 22px rgba(0,0,0,.15)); }
.drag-overlay strong { font-size: 22px; }
.drag-overlay span { color: var(--muted); font-size: 11px; }
.progress { position: fixed; left: 50%; bottom: 22px; z-index: 65; width: min(430px, calc(100% - 30px)); padding: 15px; transform: translateX(-50%); border: 1px solid rgba(255,255,255,.9); border-radius: 18px; background: rgba(255,255,255,.94); box-shadow: 0 22px 65px rgba(0,0,0,.17); backdrop-filter: blur(18px); }
.progress > div { display: grid; grid-template-columns: auto 1fr auto; gap: 9px; align-items: center; font-size: 10px; }
.progress > div > span { color: var(--red); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.progress > div strong { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.progress > i { height: 5px; margin-top: 11px; display: block; overflow: hidden; border-radius: 5px; background: #e8e5df; }
.progress > i span { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, var(--red), #ff9a70); transition: width .2s; }
.modal { position: fixed; inset: 0; z-index: 75; display: grid; place-items: center; padding: 20px; background: rgba(21,21,19,.3); backdrop-filter: blur(11px); }
.modal section { width: min(410px, 100%); padding: 25px; text-align: center; border: 1px solid rgba(255,255,255,.9); border-radius: 29px; background: var(--paper); box-shadow: 0 38px 110px rgba(0,0,0,.28); }
.modal img { object-fit: contain; filter: drop-shadow(0 14px 14px rgba(0,0,0,.15)); }
.modal section > small { display: block; margin-top: 2px; color: var(--muted); font-size: 8px; font-weight: 920; letter-spacing: .14em; }
.modal h2 { margin: 10px 0 12px; overflow-wrap: anywhere; font-size: 23px; line-height: 1.05; }
.file-details { margin: 0 auto 13px; padding: 12px; display: grid; gap: 4px; border: 1px solid var(--line); border-radius: 15px; background: white; }
.file-details span { color: var(--red); font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.file-details strong { font-size: 16px; }
.file-details small { color: var(--muted); font-size: 9px; }
.modal p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.modal-actions { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.modal-actions button,
.modal-actions a { padding: 12px; border: 1px solid var(--line); border-radius: 12px; color: var(--ink); background: white; text-decoration: none; font-size: 11px; font-weight: 850; }
.modal-actions .accept { color: white; background: var(--ink); border-color: var(--ink); }
.caught-modal section { border-color: rgba(39,140,98,.22); }
.toast-stack { position: fixed; right: 20px; top: 92px; z-index: 90; width: min(360px, calc(100% - 28px)); display: grid; gap: 9px; }
.toast { padding: 13px 14px; display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 10px; border: 1px solid rgba(255,255,255,.1); border-radius: 16px; color: white; background: rgba(21,21,19,.96); box-shadow: 0 16px 48px rgba(0,0,0,.22); animation: toast-in .28s var(--ease); }
.toast > i { width: 8px; height: 8px; margin-top: 4px; border-radius: 50%; background: var(--red); }
.toast.success > i { background: #40c586; }
.toast.warning > i { background: #ffae55; }
.toast strong,
.toast span { display: block; }
.toast strong { font-size: 11px; }
.toast span { margin-top: 4px; color: rgba(255,255,255,.62); font-size: 9px; line-height: 1.4; overflow-wrap: anywhere; }
@keyframes toast-in { from { opacity: 0; transform: translateX(18px) scale(.98); } }
.not-found { min-height: 100vh; padding: 30px; display: grid; place-items: center; text-align: center; }
.not-found section { max-width: 460px; }
.not-found img { filter: drop-shadow(0 18px 20px rgba(0,0,0,.16)); }
.not-found h1 { margin: 18px 0 10px; font-size: 52px; }
.not-found p { color: var(--muted); line-height: 1.55; }
.not-found a { display: inline-block; margin-top: 12px; padding: 12px 18px; border-radius: 13px; color: white; background: var(--ink); text-decoration: none; font-size: 12px; font-weight: 850; }
@media (max-width: 1050px) {
.nav { grid-template-columns: auto 1fr; }
.nav-center { grid-column: 1 / -1; grid-row: 2; justify-self: center; margin-top: -4px; }
.nav-actions { grid-column: 2; grid-row: 1; }
.canvas { padding-top: 210px; }
.radar { width: min(92vw, 680px); margin-top: 0; }
.file-panel { grid-template-columns: 1fr minmax(190px, 230px); padding-left: 150px; }
.file-hint { display: none; }
}
@media (max-width: 760px) {
.nav { min-height: 70px; padding: 10px 13px; grid-template-columns: auto 1fr; gap: 10px; }
.brand span { display: none; }
.nav-center { max-width: 100%; grid-column: 1 / -1; font-size: 9px; }
.nav-center span { max-width: calc(100vw - 52px); overflow: hidden; text-overflow: ellipsis; }
.nav-actions { gap: 6px; }
.network-toggle { min-height: 42px; padding-right: 10px; }
.network-toggle > span:last-child { display: none; }
.share-link { min-height: 42px; padding: 0 12px; }
.canvas { min-height: 850px; padding: 195px 8px 270px; overflow: hidden; }
.intro { top: 25px; left: 16px; right: 16px; }
.intro h1 { font-size: 47px; }
.intro p { max-width: 310px; font-size: 12px; }
.radar { width: 540px; max-width: none; }
.paper-core { width: 160px; height: 160px; }
.paper-core img { width: 132px; height: 132px; }
.paper-core::after { display: none; }
.core-copy { top: calc(50% + 98px); }
.peer { min-width: 106px; }
.device-icon { width: 44px; height: 44px; border-radius: 15px; }
.device-icon svg { width: 20px; height: 20px; }
.peer-copy { display: none; }
.p1 { left: 12%; top: 20%; }
.p2 { right: 11%; top: 20%; }
.p3 { right: 12%; bottom: 16%; }
.p4 { left: 12%; bottom: 16%; }
.p5 { left: 43%; top: 2%; }
.p6 { left: 43%; bottom: 2%; }
.dock { bottom: 10px; width: calc(100% - 16px); border-radius: 23px; }
.dock-tabs { position: static; width: max-content; margin: 8px 8px 0; }
.file-panel { min-height: 190px; padding: 8px; grid-template-columns: 1fr; gap: 7px; }
.payload-card { min-height: 62px; }
.throw { width: 100%; justify-content: center; }
.chat-mode { height: 480px; max-height: 58vh; min-height: 390px; }
.chat-panel { padding-left: 0; }
.chat-header { padding: 10px 12px; }
.message-list { padding: 12px; }
.message { max-width: 92%; }
.code-block { min-width: min(76vw, 440px); }
.composer { margin: 0 8px 8px; }
.composer > div span { max-width: 70%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
footer { min-height: 56px; }
.toast-stack { top: 76px; right: 14px; }
}
@media (max-width: 430px) {
.canvas { min-height: 820px; padding-top: 185px; }
.intro h1 { font-size: 43px; }
.radar { width: 500px; }
.paper-core { width: 148px; height: 148px; }
.paper-core img { width: 122px; height: 122px; }
.core-copy { top: calc(50% + 91px); }
.chat-mode { height: 500px; max-height: 60vh; }
.chat-header small { max-width: 180px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.modal { padding: 12px; }
.modal section { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}