4373 lines
79 KiB
CSS
4373 lines
79 KiB
CSS
:root {
|
|
font-family:
|
|
-apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "PingFang SC",
|
|
"Hiragino Sans GB", "Microsoft YaHei", sans-serif;
|
|
color: #342019;
|
|
background: transparent;
|
|
font-synthesis: none;
|
|
text-rendering: optimizeLegibility;
|
|
-webkit-font-smoothing: antialiased;
|
|
--ink: #342019;
|
|
--muted: #7d6256;
|
|
--orange: #f26a33;
|
|
--orange-deep: #d94f1f;
|
|
--cream: #fff6ee;
|
|
--paper: #fbf7f2;
|
|
--line: rgba(89, 51, 34, 0.1);
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html,
|
|
body,
|
|
#root {
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0;
|
|
}
|
|
|
|
body {
|
|
overflow: hidden;
|
|
}
|
|
|
|
body[data-view="main"] {
|
|
background: #f5eee7;
|
|
}
|
|
|
|
body[data-view="radial"],
|
|
body[data-view="capture"],
|
|
body[data-view="recorder"],
|
|
body[data-view="pin"],
|
|
body[data-view="share-notice"] {
|
|
background: transparent;
|
|
}
|
|
|
|
/* Windows pins use an opaque native surface; a matching page background
|
|
prevents WebView2 from painting white before the image is decoded. */
|
|
html:has(body[data-view="pin"]),
|
|
html:has(body[data-view="pin"]) body,
|
|
html:has(body[data-view="pin"]) #root {
|
|
background: #201b18;
|
|
}
|
|
|
|
body[data-view="pin"] {
|
|
background: #201b18;
|
|
}
|
|
|
|
body[data-view="editor"] {
|
|
background: #f4efe9;
|
|
}
|
|
|
|
button,
|
|
input,
|
|
textarea {
|
|
font: inherit;
|
|
}
|
|
|
|
button {
|
|
color: inherit;
|
|
}
|
|
|
|
button:focus-visible,
|
|
textarea:focus-visible,
|
|
a:focus-visible {
|
|
outline: 2px solid rgba(242, 106, 51, 0.58);
|
|
outline-offset: 2px;
|
|
}
|
|
|
|
[data-tauri-drag-region] {
|
|
-webkit-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
.spin {
|
|
animation: spin 0.9s linear infinite;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------- */
|
|
/* Main window */
|
|
/* ------------------------------------------------------------------------- */
|
|
|
|
.main-shell {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: auto;
|
|
background:
|
|
radial-gradient(circle at 8% 2%, rgba(255, 212, 177, 0.55), transparent 26%),
|
|
radial-gradient(circle at 96% 4%, rgba(209, 163, 255, 0.28), transparent 30%),
|
|
linear-gradient(180deg, #fbf7f2 0%, #f4eee8 100%);
|
|
}
|
|
|
|
.main-glow {
|
|
position: fixed;
|
|
border-radius: 999px;
|
|
filter: blur(100px);
|
|
pointer-events: none;
|
|
z-index: 0;
|
|
}
|
|
|
|
.main-glow-a {
|
|
width: 330px;
|
|
height: 330px;
|
|
left: -120px;
|
|
top: 280px;
|
|
background: rgba(255, 167, 108, 0.26);
|
|
}
|
|
|
|
.main-glow-b {
|
|
width: 300px;
|
|
height: 300px;
|
|
right: -120px;
|
|
top: 520px;
|
|
background: rgba(184, 123, 255, 0.2);
|
|
}
|
|
|
|
.main-header {
|
|
position: relative;
|
|
z-index: 3;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 28px;
|
|
height: 82px;
|
|
padding: 0 42px;
|
|
}
|
|
|
|
.main-brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
min-width: 225px;
|
|
}
|
|
|
|
.main-logo {
|
|
position: relative;
|
|
width: 38px;
|
|
height: 38px;
|
|
border-radius: 12px;
|
|
background: linear-gradient(145deg, #ffb45f, #ff6636 52%, #c66dff);
|
|
box-shadow: 0 8px 22px rgba(226, 91, 39, 0.28);
|
|
display: grid;
|
|
place-items: center;
|
|
}
|
|
|
|
.main-logo::before {
|
|
content: "";
|
|
width: 20px;
|
|
height: 20px;
|
|
border-radius: 50%;
|
|
background: #fff7ef;
|
|
}
|
|
|
|
.main-logo span {
|
|
position: absolute;
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: var(--orange);
|
|
}
|
|
|
|
.main-brand > div:last-child {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1px;
|
|
}
|
|
|
|
.main-brand strong {
|
|
font-size: 17px;
|
|
letter-spacing: -0.025em;
|
|
}
|
|
|
|
.main-brand span {
|
|
font-size: 10.5px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.main-nav {
|
|
display: flex;
|
|
gap: 4px;
|
|
padding: 4px;
|
|
border: 1px solid rgba(81, 49, 31, 0.08);
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.5);
|
|
backdrop-filter: blur(18px);
|
|
}
|
|
|
|
.main-nav a {
|
|
padding: 7px 14px;
|
|
border-radius: 999px;
|
|
color: #75594b;
|
|
font-size: 12px;
|
|
font-weight: 600;
|
|
text-decoration: none;
|
|
transition:
|
|
background 0.16s ease,
|
|
color 0.16s ease;
|
|
}
|
|
|
|
.main-nav a:hover {
|
|
color: var(--ink);
|
|
background: rgba(255, 255, 255, 0.82);
|
|
}
|
|
|
|
.main-status {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-width: 90px;
|
|
justify-content: flex-end;
|
|
color: #73584b;
|
|
font-size: 11px;
|
|
font-weight: 600;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.status-dot {
|
|
width: 7px;
|
|
height: 7px;
|
|
border-radius: 50%;
|
|
background: #58b57a;
|
|
box-shadow: 0 0 0 4px rgba(88, 181, 122, 0.12);
|
|
}
|
|
|
|
.main-content {
|
|
position: relative;
|
|
z-index: 2;
|
|
max-width: 1190px;
|
|
margin: 0 auto;
|
|
padding: 4px 42px 46px;
|
|
}
|
|
|
|
.hero-panel {
|
|
position: relative;
|
|
min-height: 306px;
|
|
display: flex;
|
|
align-items: center;
|
|
overflow: hidden;
|
|
padding: 48px 54px;
|
|
border-radius: 34px;
|
|
background:
|
|
radial-gradient(circle at 81% 30%, rgba(255, 255, 255, 0.46), transparent 27%),
|
|
linear-gradient(118deg, #ffd6a8 0%, #ffab67 29%, #f87648 57%, #d971d8 100%);
|
|
box-shadow:
|
|
0 24px 70px rgba(196, 102, 54, 0.2),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.5);
|
|
}
|
|
|
|
.hero-panel::after {
|
|
content: "";
|
|
position: absolute;
|
|
width: 490px;
|
|
height: 490px;
|
|
right: -100px;
|
|
bottom: -250px;
|
|
border-radius: 50%;
|
|
border: 1px solid rgba(255, 255, 255, 0.28);
|
|
}
|
|
|
|
.hero-copy {
|
|
position: relative;
|
|
z-index: 2;
|
|
max-width: 570px;
|
|
}
|
|
|
|
.eyebrow {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
color: rgba(71, 37, 21, 0.72);
|
|
font-size: 9.5px;
|
|
font-weight: 750;
|
|
letter-spacing: 0.13em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.hero-copy h1 {
|
|
max-width: 540px;
|
|
margin: 13px 0 14px;
|
|
color: #2f190f;
|
|
font-size: clamp(38px, 4.2vw, 57px);
|
|
font-weight: 720;
|
|
line-height: 0.98;
|
|
letter-spacing: -0.055em;
|
|
}
|
|
|
|
.hero-copy p {
|
|
max-width: 510px;
|
|
margin: 0;
|
|
color: rgba(53, 28, 16, 0.76);
|
|
font-size: 14px;
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.hero-orbit {
|
|
position: absolute;
|
|
right: 62px;
|
|
top: 50%;
|
|
width: 310px;
|
|
height: 310px;
|
|
transform: translateY(-50%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.orbit-ring {
|
|
position: absolute;
|
|
inset: 0;
|
|
border-radius: 50%;
|
|
border: 1px solid rgba(255, 255, 255, 0.42);
|
|
}
|
|
|
|
.orbit-ring-b {
|
|
inset: 38px;
|
|
border-color: rgba(255, 255, 255, 0.32);
|
|
}
|
|
|
|
.orbit-ring-c {
|
|
inset: 88px;
|
|
border-color: rgba(255, 255, 255, 0.25);
|
|
}
|
|
|
|
.orbit-core {
|
|
position: absolute;
|
|
inset: 112px;
|
|
border-radius: 50%;
|
|
background: rgba(255, 252, 248, 0.88);
|
|
box-shadow:
|
|
0 20px 50px rgba(138, 52, 23, 0.22),
|
|
inset 0 1px 0 white;
|
|
}
|
|
|
|
.orbit-core::before,
|
|
.orbit-core::after {
|
|
content: "";
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
border-radius: 99px;
|
|
background: var(--orange);
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
|
|
.orbit-core::before {
|
|
width: 34px;
|
|
height: 5px;
|
|
}
|
|
|
|
.orbit-core::after {
|
|
width: 5px;
|
|
height: 34px;
|
|
}
|
|
|
|
.orbit-chip {
|
|
position: absolute;
|
|
display: grid;
|
|
place-items: center;
|
|
min-width: 46px;
|
|
height: 30px;
|
|
padding: 0 12px;
|
|
border-radius: 10px;
|
|
color: #60301e;
|
|
background: rgba(255, 250, 245, 0.82);
|
|
box-shadow: 0 8px 22px rgba(104, 42, 20, 0.16);
|
|
font-size: 9px;
|
|
font-weight: 800;
|
|
letter-spacing: 0.05em;
|
|
backdrop-filter: blur(10px);
|
|
}
|
|
|
|
.orbit-chip-a {
|
|
top: 30px;
|
|
left: 34px;
|
|
transform: rotate(-9deg);
|
|
}
|
|
|
|
.orbit-chip-b {
|
|
top: 104px;
|
|
right: -8px;
|
|
transform: rotate(8deg);
|
|
}
|
|
|
|
.orbit-chip-c {
|
|
bottom: 30px;
|
|
left: 42px;
|
|
transform: rotate(5deg);
|
|
}
|
|
|
|
.quick-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
gap: 14px;
|
|
margin: 18px 0;
|
|
}
|
|
|
|
.quick-card {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
min-height: 82px;
|
|
padding: 14px;
|
|
border: 1px solid rgba(88, 52, 32, 0.08);
|
|
border-radius: 20px;
|
|
background: rgba(255, 255, 255, 0.64);
|
|
box-shadow: 0 7px 25px rgba(86, 52, 34, 0.05);
|
|
text-align: left;
|
|
cursor: pointer;
|
|
backdrop-filter: blur(16px);
|
|
transition:
|
|
transform 0.18s ease,
|
|
box-shadow 0.18s ease,
|
|
background 0.18s ease;
|
|
}
|
|
|
|
.quick-card:hover {
|
|
transform: translateY(-3px);
|
|
background: rgba(255, 255, 255, 0.86);
|
|
box-shadow: 0 14px 34px rgba(104, 57, 34, 0.11);
|
|
}
|
|
|
|
.quick-card:active {
|
|
transform: translateY(-1px) scale(0.99);
|
|
}
|
|
|
|
.quick-icon {
|
|
width: 42px;
|
|
height: 42px;
|
|
flex: none;
|
|
display: grid;
|
|
place-items: center;
|
|
border-radius: 13px;
|
|
}
|
|
|
|
.quick-icon svg {
|
|
width: 19px;
|
|
height: 19px;
|
|
stroke-width: 1.8;
|
|
}
|
|
|
|
.quick-capture .quick-icon {
|
|
color: #cb542b;
|
|
background: #ffeadc;
|
|
}
|
|
|
|
.quick-record .quick-icon {
|
|
color: #d34855;
|
|
background: #ffe5e8;
|
|
}
|
|
|
|
.quick-ocr .quick-icon {
|
|
color: #8b54c6;
|
|
background: #f0e5ff;
|
|
}
|
|
|
|
.quick-radial .quick-icon {
|
|
color: #32739a;
|
|
background: #e1f1fb;
|
|
}
|
|
|
|
.quick-card > span:nth-child(2) {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.quick-card strong {
|
|
color: #42261a;
|
|
font-size: 12.5px;
|
|
font-weight: 680;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
|
|
.quick-card small {
|
|
color: #9a7d6e;
|
|
font-size: 9.5px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.quick-arrow {
|
|
position: absolute;
|
|
top: 14px;
|
|
right: 14px;
|
|
color: #b49d90;
|
|
transition: transform 0.18s ease;
|
|
}
|
|
|
|
.quick-card:hover .quick-arrow {
|
|
color: var(--orange);
|
|
transform: translate(1px, -1px);
|
|
}
|
|
|
|
.content-columns {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1.32fr) minmax(290px, 0.68fr);
|
|
gap: 18px;
|
|
}
|
|
|
|
.drop-zone {
|
|
position: relative;
|
|
min-height: 292px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
padding: 32px;
|
|
border: 1.5px dashed rgba(143, 94, 66, 0.28);
|
|
border-radius: 26px;
|
|
background: rgba(255, 255, 255, 0.48);
|
|
text-align: center;
|
|
transition:
|
|
border-color 0.2s ease,
|
|
background 0.2s ease,
|
|
transform 0.2s ease;
|
|
}
|
|
|
|
.drop-zone::before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: auto -80px -140px;
|
|
height: 260px;
|
|
border-radius: 50%;
|
|
background: radial-gradient(circle, rgba(255, 179, 119, 0.22), transparent 70%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.drop-zone.is-dragging {
|
|
transform: scale(0.995);
|
|
border-color: var(--orange);
|
|
background: rgba(255, 247, 238, 0.88);
|
|
}
|
|
|
|
.drop-visual {
|
|
position: relative;
|
|
width: 94px;
|
|
height: 90px;
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
.drop-sheet {
|
|
position: absolute;
|
|
display: grid;
|
|
place-items: center;
|
|
width: 58px;
|
|
height: 68px;
|
|
border: 1px solid rgba(114, 70, 45, 0.12);
|
|
border-radius: 13px;
|
|
background: #fffaf5;
|
|
box-shadow: 0 9px 24px rgba(94, 54, 31, 0.11);
|
|
}
|
|
|
|
.drop-sheet-back {
|
|
left: 14px;
|
|
top: 14px;
|
|
transform: rotate(-12deg);
|
|
background: #ffe0c9;
|
|
}
|
|
|
|
.drop-sheet-mid {
|
|
left: 23px;
|
|
top: 10px;
|
|
transform: rotate(7deg);
|
|
background: #ffe9dc;
|
|
}
|
|
|
|
.drop-sheet-front {
|
|
left: 18px;
|
|
top: 6px;
|
|
color: var(--orange);
|
|
}
|
|
|
|
.drop-zone h2 {
|
|
position: relative;
|
|
margin: 6px 0 7px;
|
|
font-size: 20px;
|
|
font-weight: 700;
|
|
letter-spacing: -0.035em;
|
|
}
|
|
|
|
.drop-zone p {
|
|
position: relative;
|
|
max-width: 470px;
|
|
margin: 0;
|
|
color: #846a5d;
|
|
font-size: 11.5px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.drop-formats {
|
|
position: relative;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
margin-top: 17px;
|
|
}
|
|
|
|
.drop-formats span {
|
|
padding: 5px 9px;
|
|
border: 1px solid rgba(109, 67, 43, 0.08);
|
|
border-radius: 7px;
|
|
color: #8c7062;
|
|
background: rgba(255, 255, 255, 0.68);
|
|
font-size: 8.5px;
|
|
font-weight: 750;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
|
|
.recent-panel {
|
|
min-height: 292px;
|
|
padding: 22px;
|
|
border: 1px solid rgba(88, 52, 32, 0.08);
|
|
border-radius: 26px;
|
|
background: rgba(255, 255, 255, 0.58);
|
|
backdrop-filter: blur(16px);
|
|
}
|
|
|
|
.panel-heading {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
color: #8c7062;
|
|
}
|
|
|
|
.panel-heading h2 {
|
|
margin: 4px 0 0;
|
|
color: var(--ink);
|
|
font-size: 19px;
|
|
letter-spacing: -0.035em;
|
|
}
|
|
|
|
.recent-empty {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 175px;
|
|
gap: 12px;
|
|
text-align: center;
|
|
}
|
|
|
|
.recent-empty-icon {
|
|
width: 52px;
|
|
height: 52px;
|
|
display: grid;
|
|
place-items: center;
|
|
border-radius: 16px;
|
|
color: #bd7655;
|
|
background: #fff4ea;
|
|
}
|
|
|
|
.recent-empty p {
|
|
max-width: 190px;
|
|
margin: 0;
|
|
color: #9a8174;
|
|
font-size: 11px;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.recent-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 7px;
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.recent-item {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
width: 100%;
|
|
padding: 8px;
|
|
border: 0;
|
|
border-radius: 12px;
|
|
background: transparent;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.recent-item:hover {
|
|
background: rgba(255, 255, 255, 0.7);
|
|
}
|
|
|
|
.recent-kind {
|
|
width: 34px;
|
|
height: 34px;
|
|
flex: none;
|
|
display: grid;
|
|
place-items: center;
|
|
border-radius: 10px;
|
|
color: var(--orange);
|
|
background: #ffeadc;
|
|
}
|
|
|
|
.recent-kind.video {
|
|
color: #cb4b5b;
|
|
background: #ffe6e9;
|
|
}
|
|
|
|
.recent-kind.file {
|
|
color: #6c65b3;
|
|
background: #ecebff;
|
|
}
|
|
|
|
.recent-copy {
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.recent-copy strong {
|
|
overflow: hidden;
|
|
color: #4f352a;
|
|
font-size: 10.5px;
|
|
font-weight: 650;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.recent-copy small {
|
|
color: #a1897d;
|
|
font-size: 8.5px;
|
|
}
|
|
|
|
.settings-strip {
|
|
display: grid;
|
|
grid-template-columns: 1.25fr 0.8fr 0.9fr;
|
|
gap: 14px;
|
|
margin-top: 18px;
|
|
}
|
|
|
|
.privacy-card,
|
|
.shortcut-card,
|
|
.language-card {
|
|
min-height: 152px;
|
|
padding: 20px;
|
|
border: 1px solid rgba(88, 52, 32, 0.08);
|
|
border-radius: 22px;
|
|
background: rgba(255, 255, 255, 0.52);
|
|
}
|
|
|
|
.privacy-card {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 13px;
|
|
}
|
|
|
|
.privacy-icon {
|
|
width: 40px;
|
|
height: 40px;
|
|
flex: none;
|
|
display: grid;
|
|
place-items: center;
|
|
border-radius: 12px;
|
|
color: #47845f;
|
|
background: #e8f5ec;
|
|
}
|
|
|
|
.privacy-card strong {
|
|
font-size: 13px;
|
|
}
|
|
|
|
.privacy-card p,
|
|
.language-card p {
|
|
margin: 8px 0 0;
|
|
color: #8e7568;
|
|
font-size: 10.5px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.permission-button {
|
|
margin-top: 9px;
|
|
padding: 6px 9px;
|
|
border: 1px solid rgba(91, 55, 35, 0.1);
|
|
border-radius: 8px;
|
|
color: #715444;
|
|
background: rgba(255, 255, 255, 0.72);
|
|
font-size: 9px;
|
|
font-weight: 620;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.permission-button:hover {
|
|
color: #4b2d1f;
|
|
background: white;
|
|
}
|
|
|
|
.shortcut-card .eyebrow,
|
|
.language-card .eyebrow {
|
|
margin-bottom: 13px;
|
|
}
|
|
|
|
.shortcut-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
margin-top: 7px;
|
|
}
|
|
|
|
.shortcut-row span {
|
|
flex: 1;
|
|
color: #73584b;
|
|
font-size: 9.5px;
|
|
}
|
|
|
|
kbd {
|
|
min-width: 22px;
|
|
height: 22px;
|
|
display: inline-grid;
|
|
place-items: center;
|
|
padding: 0 6px;
|
|
border: 1px solid rgba(80, 47, 29, 0.12);
|
|
border-bottom-width: 2px;
|
|
border-radius: 6px;
|
|
color: #5e4337;
|
|
background: rgba(255, 255, 255, 0.86);
|
|
font-family: inherit;
|
|
font-size: 9px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.language-switch {
|
|
display: flex;
|
|
padding: 3px;
|
|
border-radius: 10px;
|
|
background: #efe6de;
|
|
}
|
|
|
|
.language-switch button {
|
|
flex: 1;
|
|
padding: 7px 10px;
|
|
border: 0;
|
|
border-radius: 8px;
|
|
color: #8a7063;
|
|
background: transparent;
|
|
font-size: 10px;
|
|
font-weight: 650;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.language-switch button.is-active {
|
|
color: #4d2d1f;
|
|
background: #fffaf5;
|
|
box-shadow: 0 3px 10px rgba(74, 43, 25, 0.08);
|
|
}
|
|
|
|
.main-toast {
|
|
position: fixed;
|
|
left: 50%;
|
|
bottom: 26px;
|
|
z-index: 20;
|
|
max-width: min(620px, 80vw);
|
|
transform: translateX(-50%);
|
|
padding: 12px 18px;
|
|
border: 1px solid rgba(255, 255, 255, 0.25);
|
|
border-radius: 14px;
|
|
color: white;
|
|
background: rgba(44, 28, 22, 0.88);
|
|
box-shadow: 0 16px 46px rgba(42, 22, 14, 0.25);
|
|
font-size: 12px;
|
|
backdrop-filter: blur(18px);
|
|
animation: toast-in 0.22s ease-out;
|
|
}
|
|
|
|
@keyframes toast-in {
|
|
from {
|
|
opacity: 0;
|
|
transform: translate(-50%, 8px);
|
|
}
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------- */
|
|
/* Radial menu */
|
|
/* ------------------------------------------------------------------------- */
|
|
|
|
.radial-stage {
|
|
position: relative;
|
|
width: 760px;
|
|
height: 760px;
|
|
overflow: hidden;
|
|
user-select: none;
|
|
-webkit-user-select: none;
|
|
animation: radial-enter 0.16s cubic-bezier(0.2, 0.9, 0.2, 1);
|
|
}
|
|
|
|
.radial-waiting {
|
|
background: transparent;
|
|
animation: none;
|
|
}
|
|
|
|
@keyframes radial-enter {
|
|
from {
|
|
opacity: 0;
|
|
transform: scale(0.96);
|
|
}
|
|
}
|
|
|
|
.radial-ambient {
|
|
position: absolute;
|
|
inset: 34px;
|
|
border-radius: 50%;
|
|
background:
|
|
radial-gradient(circle at 48% 42%, rgba(255, 252, 248, 0.44), transparent 52%),
|
|
radial-gradient(circle at 58% 62%, rgba(255, 175, 116, 0.16), transparent 60%);
|
|
filter: blur(6px);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.radial-glass {
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
width: 636px;
|
|
height: 636px;
|
|
transform: translate(-50%, -50%);
|
|
border-radius: 50%;
|
|
background: radial-gradient(
|
|
circle,
|
|
transparent 0 127px,
|
|
rgba(255, 247, 239, 0.42) 128px 100%
|
|
);
|
|
-webkit-mask: radial-gradient(circle at 50% 50%, transparent 0 127px, #000 128px);
|
|
mask: radial-gradient(circle at 50% 50%, transparent 0 127px, #000 128px);
|
|
backdrop-filter: blur(24px) saturate(1.08);
|
|
-webkit-backdrop-filter: blur(24px) saturate(1.08);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.radial-svg {
|
|
position: absolute;
|
|
inset: 0;
|
|
overflow: visible;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.radial-wedge {
|
|
pointer-events: all;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.radial-wedge path {
|
|
transition:
|
|
fill 0.14s ease,
|
|
stroke 0.14s ease,
|
|
filter 0.14s ease;
|
|
}
|
|
|
|
.radial-wedge:hover path,
|
|
.radial-wedge.is-active path {
|
|
fill: url("#radialHot");
|
|
stroke: rgba(255, 255, 255, 0.88);
|
|
filter: drop-shadow(0 8px 11px rgba(161, 76, 38, 0.14));
|
|
}
|
|
|
|
.radial-label {
|
|
position: absolute;
|
|
z-index: 5;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 7px;
|
|
width: 104px;
|
|
min-height: 54px;
|
|
padding: 2px;
|
|
border: 0;
|
|
color: #2d1a11;
|
|
background: transparent;
|
|
transform: translate(-50%, -50%);
|
|
cursor: pointer;
|
|
transition:
|
|
color 0.14s ease,
|
|
transform 0.14s ease;
|
|
}
|
|
|
|
.radial-label svg {
|
|
color: #3f2a1e;
|
|
transition: transform 0.16s ease;
|
|
}
|
|
|
|
.radial-label span {
|
|
max-width: 100px;
|
|
overflow: hidden;
|
|
font-size: 11.5px;
|
|
font-weight: 720;
|
|
line-height: 1.02;
|
|
letter-spacing: -0.01em;
|
|
text-align: center;
|
|
text-transform: uppercase;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.radial-label.is-active {
|
|
color: #24120a;
|
|
transform: translate(-50%, -50%) scale(1.08);
|
|
}
|
|
|
|
.radial-label.is-active svg {
|
|
color: #1c0d06;
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.radial-label.is-format {
|
|
gap: 0;
|
|
}
|
|
|
|
.radial-label.is-format span {
|
|
font-size: 14px;
|
|
font-weight: 780;
|
|
letter-spacing: 0.08em;
|
|
}
|
|
|
|
.radial-center {
|
|
position: absolute;
|
|
left: 380px;
|
|
top: 380px;
|
|
z-index: 6;
|
|
width: 244px;
|
|
height: 244px;
|
|
display: block;
|
|
padding: 0;
|
|
transform: translate(-50%, -50%);
|
|
overflow: hidden;
|
|
border: 1px solid rgba(255, 255, 255, 0.5);
|
|
border-radius: 50%;
|
|
background: radial-gradient(
|
|
circle at 42% 22%,
|
|
rgba(255, 255, 255, 0.72),
|
|
rgba(255, 247, 240, 0.38) 62%,
|
|
rgba(255, 247, 240, 0.12)
|
|
);
|
|
box-shadow:
|
|
0 16px 36px rgba(92, 46, 25, 0.12),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.7);
|
|
backdrop-filter: blur(12px);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.radial-center::after {
|
|
display: none;
|
|
}
|
|
|
|
.radial-progress,
|
|
.radial-error {
|
|
position: absolute;
|
|
inset: 0;
|
|
z-index: 9;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.radial-progress {
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 38px;
|
|
background: radial-gradient(
|
|
circle at 45% 32%,
|
|
rgba(255, 252, 248, 0.94),
|
|
rgba(255, 241, 230, 0.84)
|
|
);
|
|
box-shadow: inset 0 0 36px rgba(242, 106, 51, 0.08);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.radial-progress-ring {
|
|
position: absolute;
|
|
inset: 8px;
|
|
border-radius: 50%;
|
|
background: conic-gradient(
|
|
from 0deg,
|
|
rgba(242, 106, 51, 0) 0deg,
|
|
rgba(242, 106, 51, 0.08) 100deg,
|
|
var(--orange) 290deg,
|
|
#ffd3b9 350deg,
|
|
rgba(242, 106, 51, 0) 360deg
|
|
);
|
|
-webkit-mask: radial-gradient(circle, transparent calc(100% - 7px), #000 calc(100% - 6px));
|
|
mask: radial-gradient(circle, transparent calc(100% - 7px), #000 calc(100% - 6px));
|
|
animation: radial-progress-spin 1.05s linear infinite;
|
|
}
|
|
|
|
.radial-progress-content {
|
|
position: relative;
|
|
z-index: 1;
|
|
width: 150px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
color: #6b402f;
|
|
text-align: center;
|
|
}
|
|
|
|
.radial-progress-content svg {
|
|
flex: none;
|
|
color: var(--orange-deep);
|
|
}
|
|
|
|
.radial-progress-content strong {
|
|
display: -webkit-box;
|
|
overflow: hidden;
|
|
color: #4b2c20;
|
|
font-size: 11px;
|
|
font-weight: 720;
|
|
line-height: 1.4;
|
|
overflow-wrap: anywhere;
|
|
-webkit-box-orient: vertical;
|
|
-webkit-line-clamp: 3;
|
|
}
|
|
|
|
@keyframes radial-progress-spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
.radial-error {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 5px;
|
|
padding: 34px 30px 27px;
|
|
color: #593728;
|
|
text-align: center;
|
|
background: radial-gradient(
|
|
circle at 45% 30%,
|
|
rgba(255, 252, 248, 0.99),
|
|
rgba(255, 237, 225, 0.96)
|
|
);
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.radial-error > svg {
|
|
flex: none;
|
|
color: var(--orange-deep);
|
|
}
|
|
|
|
.radial-error strong {
|
|
font-size: 12.5px;
|
|
font-weight: 760;
|
|
}
|
|
|
|
.radial-error-message {
|
|
max-height: 78px;
|
|
overflow: auto;
|
|
padding: 0 5px;
|
|
color: #7a5544;
|
|
font-size: 10px;
|
|
font-weight: 550;
|
|
line-height: 1.4;
|
|
overflow-wrap: anywhere;
|
|
scrollbar-width: none;
|
|
}
|
|
|
|
.radial-error-message::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
.radial-error button {
|
|
position: absolute;
|
|
top: 36px;
|
|
right: 36px;
|
|
width: 24px;
|
|
height: 24px;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 0;
|
|
border: 1px solid rgba(126, 75, 48, 0.14);
|
|
border-radius: 50%;
|
|
color: #805a48;
|
|
background: rgba(255, 255, 255, 0.74);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.radial-error button:hover {
|
|
color: #3e2419;
|
|
background: white;
|
|
}
|
|
|
|
.radial-preview {
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
z-index: 2;
|
|
width: 104px;
|
|
height: 104px;
|
|
object-fit: cover;
|
|
border: 3px solid rgba(255, 255, 255, 0.8);
|
|
border-radius: 20px;
|
|
box-shadow: 0 12px 26px rgba(92, 46, 25, 0.18);
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
|
|
.radial-stage.is-formats .radial-preview {
|
|
width: 112px;
|
|
height: 112px;
|
|
border-radius: 22px;
|
|
}
|
|
|
|
.radial-file-stack {
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
width: 120px;
|
|
height: 100px;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
|
|
.radial-stack-card {
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
width: 82px;
|
|
height: 82px;
|
|
display: grid;
|
|
place-items: center;
|
|
border: 2px solid rgba(255, 255, 255, 0.9);
|
|
border-radius: 20px;
|
|
color: #d25b2a;
|
|
background: linear-gradient(145deg, #fff9f4, #ffe4d0);
|
|
box-shadow: 0 10px 22px rgba(92, 46, 25, 0.16);
|
|
}
|
|
|
|
.radial-stack-card.card-0 {
|
|
z-index: 1;
|
|
background: #ffe4cd;
|
|
transform: translate(-50%, -50%) translate(-22px, -12px) rotate(-9deg);
|
|
}
|
|
|
|
.radial-stack-card.card-1 {
|
|
z-index: 2;
|
|
background: #fffdfa;
|
|
transform: translate(-50%, -50%) translate(22px, 12px) rotate(9deg);
|
|
}
|
|
|
|
.radial-stack-card.card-2 {
|
|
z-index: 3;
|
|
background: #fff;
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
|
|
.radial-fallback {
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 50%;
|
|
z-index: 2;
|
|
width: 104px;
|
|
height: 104px;
|
|
display: grid;
|
|
place-items: center;
|
|
border-radius: 20px;
|
|
color: #d25b2a;
|
|
background: linear-gradient(145deg, #fff5ec, #ffe2cd);
|
|
box-shadow: 0 12px 26px rgba(92, 46, 25, 0.12);
|
|
transform: translate(-50%, -50%);
|
|
}
|
|
|
|
.radial-stage.is-formats .radial-fallback {
|
|
width: 112px;
|
|
height: 112px;
|
|
border-radius: 22px;
|
|
}
|
|
|
|
.radial-center-info {
|
|
position: absolute;
|
|
left: 50%;
|
|
bottom: 10px;
|
|
z-index: 3;
|
|
width: 190px;
|
|
max-width: 84%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 4px;
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.radial-size-pill {
|
|
position: static;
|
|
padding: 3px 10px;
|
|
border: 1px solid rgba(255, 255, 255, 0.6);
|
|
border-radius: 999px;
|
|
color: #5b3a2b;
|
|
background: rgba(255, 255, 255, 0.72);
|
|
box-shadow: none;
|
|
font-size: 9.5px;
|
|
font-weight: 650;
|
|
backdrop-filter: blur(8px);
|
|
}
|
|
|
|
.radial-file-pill {
|
|
position: static;
|
|
max-width: 168px;
|
|
overflow: hidden;
|
|
padding: 5px 9px;
|
|
border: 1px solid rgba(255, 255, 255, 0.28);
|
|
border-radius: 7px;
|
|
color: white;
|
|
background: #1677ff;
|
|
box-shadow: 0 6px 16px rgba(18, 88, 191, 0.2);
|
|
font-size: 10.5px;
|
|
font-weight: 690;
|
|
letter-spacing: -0.01em;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.radial-drag-file {
|
|
position: absolute;
|
|
z-index: 20;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 6px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.radial-drag-file img {
|
|
width: 104px;
|
|
height: 104px;
|
|
object-fit: cover;
|
|
border: 3px solid rgba(255, 255, 255, 0.9);
|
|
border-radius: 18px;
|
|
box-shadow: 0 16px 34px rgba(54, 28, 16, 0.28);
|
|
}
|
|
|
|
.radial-drag-file span {
|
|
max-width: 170px;
|
|
overflow: hidden;
|
|
padding: 5px 9px;
|
|
border-radius: 7px;
|
|
color: white;
|
|
background: #1677ff;
|
|
box-shadow: 0 8px 20px rgba(18, 88, 191, 0.25);
|
|
font-size: 10.5px;
|
|
font-weight: 690;
|
|
letter-spacing: -0.01em;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.radial-hint {
|
|
position: absolute;
|
|
left: 50%;
|
|
bottom: 22px;
|
|
z-index: 15;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
max-width: 490px;
|
|
transform: translateX(-50%);
|
|
padding: 9px 16px;
|
|
border: 1px solid rgba(255, 255, 255, 0.46);
|
|
border-radius: 999px;
|
|
color: #604032;
|
|
background: rgba(255, 248, 241, 0.76);
|
|
box-shadow: 0 9px 28px rgba(74, 37, 20, 0.12);
|
|
font-size: 10.5px;
|
|
font-weight: 560;
|
|
white-space: nowrap;
|
|
backdrop-filter: blur(16px);
|
|
}
|
|
|
|
.radial-hint b {
|
|
margin-left: 2px;
|
|
color: var(--orange-deep);
|
|
font-weight: 760;
|
|
}
|
|
|
|
.radial-hint span {
|
|
color: #ae9385;
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------- */
|
|
/* Capture overlay */
|
|
/* ------------------------------------------------------------------------- */
|
|
|
|
.capture-loading {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: #171313;
|
|
}
|
|
|
|
.capture-stage {
|
|
position: fixed;
|
|
inset: 0;
|
|
overflow: hidden;
|
|
cursor: crosshair;
|
|
touch-action: none;
|
|
user-select: none;
|
|
-webkit-user-select: none;
|
|
}
|
|
|
|
.capture-stage.is-dragging {
|
|
cursor: crosshair;
|
|
}
|
|
|
|
.capture-screen {
|
|
position: absolute;
|
|
inset: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: fill;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.capture-dim {
|
|
position: absolute;
|
|
inset: 0;
|
|
pointer-events: none;
|
|
background: rgba(20, 15, 17, 0.28);
|
|
}
|
|
|
|
.capture-selection {
|
|
position: absolute;
|
|
z-index: 2;
|
|
border: 1.5px solid rgba(255, 255, 255, 0.96);
|
|
background: transparent;
|
|
box-shadow:
|
|
0 0 0 100vmax rgba(16, 12, 14, 0.56),
|
|
0 0 0 1px rgba(0, 0, 0, 0.16),
|
|
inset 0 0 0 1px rgba(255, 255, 255, 0.2);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.capture-corner {
|
|
position: absolute;
|
|
width: 13px;
|
|
height: 13px;
|
|
border-color: white;
|
|
border-style: solid;
|
|
}
|
|
|
|
.capture-corner-tl {
|
|
left: -2px;
|
|
top: -2px;
|
|
border-width: 3px 0 0 3px;
|
|
border-radius: 4px 0 0;
|
|
}
|
|
|
|
.capture-corner-tr {
|
|
right: -2px;
|
|
top: -2px;
|
|
border-width: 3px 3px 0 0;
|
|
border-radius: 0 4px 0 0;
|
|
}
|
|
|
|
.capture-corner-bl {
|
|
left: -2px;
|
|
bottom: -2px;
|
|
border-width: 0 0 3px 3px;
|
|
border-radius: 0 0 0 4px;
|
|
}
|
|
|
|
.capture-corner-br {
|
|
right: -2px;
|
|
bottom: -2px;
|
|
border-width: 0 3px 3px 0;
|
|
border-radius: 0 0 4px;
|
|
}
|
|
|
|
.capture-size-chip {
|
|
position: absolute;
|
|
top: -31px;
|
|
left: 0;
|
|
padding: 5px 8px;
|
|
border-radius: 7px;
|
|
color: white;
|
|
background: rgba(26, 22, 23, 0.78);
|
|
box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
|
|
font-size: 10px;
|
|
font-variant-numeric: tabular-nums;
|
|
font-weight: 620;
|
|
backdrop-filter: blur(12px);
|
|
}
|
|
|
|
.capture-toolbar {
|
|
position: absolute;
|
|
z-index: 10;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 6px;
|
|
border: 1px solid rgba(255, 255, 255, 0.18);
|
|
border-radius: 13px;
|
|
background: rgba(31, 25, 26, 0.82);
|
|
box-shadow: 0 14px 40px rgba(0, 0, 0, 0.26);
|
|
cursor: default;
|
|
backdrop-filter: blur(16px);
|
|
}
|
|
|
|
.capture-tool {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
height: 32px;
|
|
padding: 0 10px;
|
|
border: 0;
|
|
border-radius: 8px;
|
|
color: rgba(255, 255, 255, 0.85);
|
|
background: rgba(255, 255, 255, 0.08);
|
|
font-size: 10px;
|
|
font-weight: 650;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.capture-tool:hover {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
}
|
|
|
|
.capture-tool.is-selected {
|
|
color: #ffc9ae;
|
|
background: rgba(242, 106, 51, 0.2);
|
|
}
|
|
|
|
.capture-confirm {
|
|
color: #28140d;
|
|
background: #fff5ec;
|
|
}
|
|
|
|
.capture-confirm:hover {
|
|
background: white;
|
|
}
|
|
|
|
.capture-record {
|
|
color: white;
|
|
background: #e64f52;
|
|
}
|
|
|
|
.capture-record:hover {
|
|
background: #f15b5e;
|
|
}
|
|
|
|
.capture-start-hint {
|
|
position: absolute;
|
|
left: 50%;
|
|
bottom: 54px;
|
|
z-index: 8;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
transform: translateX(-50%);
|
|
padding: 11px 12px 11px 11px;
|
|
border: 1px solid rgba(255, 255, 255, 0.16);
|
|
border-radius: 17px;
|
|
color: white;
|
|
background: rgba(28, 23, 24, 0.78);
|
|
box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
|
|
backdrop-filter: blur(18px);
|
|
}
|
|
|
|
.capture-icon {
|
|
width: 38px;
|
|
height: 38px;
|
|
display: grid;
|
|
place-items: center;
|
|
border-radius: 11px;
|
|
color: #ffb88f;
|
|
background: rgba(242, 106, 51, 0.15);
|
|
}
|
|
|
|
.capture-start-hint > div {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
padding-right: 10px;
|
|
}
|
|
|
|
.capture-start-hint strong {
|
|
font-size: 11.5px;
|
|
font-weight: 680;
|
|
}
|
|
|
|
.capture-start-hint span {
|
|
color: rgba(255, 255, 255, 0.56);
|
|
font-size: 9.5px;
|
|
}
|
|
|
|
.capture-start-hint kbd {
|
|
border-color: rgba(255, 255, 255, 0.12);
|
|
color: rgba(255, 255, 255, 0.65);
|
|
background: rgba(255, 255, 255, 0.08);
|
|
}
|
|
|
|
.capture-processing,
|
|
.capture-status {
|
|
position: absolute;
|
|
left: 50%;
|
|
bottom: 30px;
|
|
z-index: 12;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
transform: translateX(-50%);
|
|
padding: 9px 14px;
|
|
border: 1px solid rgba(255, 255, 255, 0.14);
|
|
border-radius: 11px;
|
|
color: white;
|
|
background: rgba(27, 22, 23, 0.82);
|
|
font-size: 10.5px;
|
|
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
|
|
backdrop-filter: blur(14px);
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------- */
|
|
/* Recorder HUD */
|
|
/* ------------------------------------------------------------------------- */
|
|
|
|
.recorder-hud {
|
|
width: 300px;
|
|
height: 88px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 11px;
|
|
padding: 13px;
|
|
border: 1px solid rgba(255, 255, 255, 0.13);
|
|
border-radius: 22px;
|
|
color: white;
|
|
background:
|
|
linear-gradient(135deg, rgba(50, 35, 32, 0.94), rgba(28, 22, 24, 0.92));
|
|
box-shadow:
|
|
0 18px 50px rgba(18, 10, 8, 0.3),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.08);
|
|
backdrop-filter: blur(24px);
|
|
}
|
|
|
|
.recorder-pulse {
|
|
width: 38px;
|
|
height: 38px;
|
|
flex: none;
|
|
display: grid;
|
|
place-items: center;
|
|
border-radius: 12px;
|
|
color: #ff5c62;
|
|
background: rgba(255, 80, 90, 0.14);
|
|
animation: recorder-pulse 1.35s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes recorder-pulse {
|
|
50% {
|
|
box-shadow: 0 0 0 5px rgba(255, 86, 95, 0.08);
|
|
}
|
|
}
|
|
|
|
.recorder-copy {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.recorder-copy strong {
|
|
font-size: 18px;
|
|
font-variant-numeric: tabular-nums;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
.recorder-copy span {
|
|
color: rgba(255, 255, 255, 0.48);
|
|
font-size: 8.5px;
|
|
font-weight: 650;
|
|
letter-spacing: 0.06em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.recorder-copy .recorder-error {
|
|
max-width: 130px;
|
|
overflow: hidden;
|
|
color: #ff9a9e;
|
|
text-transform: none;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.recorder-stop {
|
|
height: 38px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 0 12px;
|
|
border: 0;
|
|
border-radius: 11px;
|
|
color: white;
|
|
background: #e45155;
|
|
font-size: 9.5px;
|
|
font-weight: 680;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.recorder-stop:hover {
|
|
background: #f05b5f;
|
|
}
|
|
|
|
.recorder-stop:disabled {
|
|
opacity: 0.7;
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------- */
|
|
/* Editor */
|
|
/* ------------------------------------------------------------------------- */
|
|
|
|
.editor-loading {
|
|
width: 100%;
|
|
height: 100%;
|
|
background: #f4efe9;
|
|
}
|
|
|
|
.editor-shell {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
background: #f4efe9;
|
|
}
|
|
|
|
.editor-titlebar {
|
|
position: relative;
|
|
z-index: 5;
|
|
flex: none;
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
|
|
align-items: center;
|
|
gap: 20px;
|
|
height: 58px;
|
|
padding: 0 22px;
|
|
}
|
|
|
|
.editor-shell.is-mac .editor-titlebar {
|
|
padding-left: 86px;
|
|
}
|
|
|
|
.editor-title {
|
|
overflow: hidden;
|
|
color: #9c7e6d;
|
|
font-size: 13px;
|
|
font-weight: 540;
|
|
letter-spacing: -0.02em;
|
|
text-align: center;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.editor-close {
|
|
justify-self: end;
|
|
}
|
|
|
|
.editor-toolbar {
|
|
flex: none;
|
|
height: 56px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 20px;
|
|
border-bottom: 1px solid rgba(86, 52, 34, 0.08);
|
|
background: rgba(255, 255, 255, 0.56);
|
|
}
|
|
|
|
.editor-tool-group {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
}
|
|
|
|
.editor-button,
|
|
.editor-secondary,
|
|
.editor-primary {
|
|
height: 32px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
padding: 0 11px;
|
|
border: 1px solid rgba(89, 51, 34, 0.1);
|
|
border-radius: 9px;
|
|
color: #6c5041;
|
|
background: rgba(255, 255, 255, 0.65);
|
|
font-size: 10px;
|
|
font-weight: 620;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.editor-button:hover,
|
|
.editor-secondary:hover {
|
|
color: #44281b;
|
|
background: white;
|
|
}
|
|
|
|
.editor-button.is-active {
|
|
border-color: rgba(242, 106, 51, 0.28);
|
|
color: #c84c20;
|
|
background: #fff0e5;
|
|
}
|
|
|
|
.editor-primary {
|
|
border-color: transparent;
|
|
color: white;
|
|
background: #e85e2b;
|
|
}
|
|
|
|
.editor-primary:hover {
|
|
background: #f06a35;
|
|
}
|
|
|
|
.editor-icon {
|
|
width: 32px;
|
|
height: 32px;
|
|
display: grid;
|
|
place-items: center;
|
|
border: 0;
|
|
border-radius: 9px;
|
|
color: #8d7466;
|
|
background: transparent;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.editor-icon:hover {
|
|
color: #4e3022;
|
|
background: rgba(105, 65, 43, 0.07);
|
|
}
|
|
|
|
.editor-main {
|
|
flex: 1;
|
|
min-height: 0;
|
|
display: flex;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.editor-canvas {
|
|
position: relative;
|
|
flex: 1;
|
|
min-width: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: auto;
|
|
padding: 26px;
|
|
background:
|
|
linear-gradient(45deg, rgba(255, 255, 255, 0.03) 25%, transparent 25%) 0 0 / 20px 20px,
|
|
linear-gradient(-45deg, rgba(255, 255, 255, 0.03) 25%, transparent 25%) 0 0 / 20px 20px,
|
|
linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.03) 75%) 0 0 / 20px 20px,
|
|
linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.03) 75%) 0 0 / 20px 20px,
|
|
#252221;
|
|
}
|
|
|
|
.editor-canvas img,
|
|
.editor-canvas video {
|
|
display: block;
|
|
max-width: 100%;
|
|
max-height: calc(100vh - 170px);
|
|
border-radius: 10px;
|
|
box-shadow: 0 24px 65px rgba(0, 0, 0, 0.34);
|
|
}
|
|
|
|
.annotator-shell {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
min-height: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 66px 26px 26px;
|
|
}
|
|
|
|
.annotator-toolbar {
|
|
position: absolute;
|
|
top: 18px;
|
|
left: 50%;
|
|
z-index: 5;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
transform: translateX(-50%);
|
|
padding: 6px;
|
|
border: 1px solid rgba(255, 255, 255, 0.14);
|
|
border-radius: 12px;
|
|
background: rgba(34, 29, 28, 0.9);
|
|
box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
|
|
backdrop-filter: blur(18px);
|
|
}
|
|
|
|
.annotator-tool {
|
|
flex: none;
|
|
height: 30px;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
padding: 0 9px;
|
|
border: 0;
|
|
border-radius: 8px;
|
|
color: rgba(255, 255, 255, 0.75);
|
|
background: transparent;
|
|
font-size: 9px;
|
|
font-weight: 620;
|
|
white-space: nowrap;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.annotator-tool:hover {
|
|
color: white;
|
|
background: rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.annotator-tool.is-active {
|
|
color: white;
|
|
background: rgba(255, 103, 52, 0.25);
|
|
}
|
|
|
|
.annotator-tool.is-primary {
|
|
color: #2b160e;
|
|
background: #fff1e5;
|
|
}
|
|
|
|
.annotator-tool:disabled {
|
|
opacity: 0.35;
|
|
cursor: default;
|
|
}
|
|
|
|
.annotator-separator {
|
|
width: 1px;
|
|
height: 20px;
|
|
margin: 0 3px;
|
|
background: rgba(255, 255, 255, 0.13);
|
|
}
|
|
|
|
.annotator-canvas-wrap {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: auto;
|
|
}
|
|
|
|
.annotator-canvas-wrap canvas {
|
|
display: block;
|
|
max-width: 100%;
|
|
max-height: calc(100vh - 190px);
|
|
border-radius: 10px;
|
|
box-shadow: 0 24px 65px rgba(0, 0, 0, 0.34);
|
|
cursor: crosshair;
|
|
touch-action: none;
|
|
}
|
|
|
|
.annotator-error {
|
|
position: absolute;
|
|
left: 50%;
|
|
bottom: 18px;
|
|
max-width: 80%;
|
|
transform: translateX(-50%);
|
|
padding: 8px 12px;
|
|
border-radius: 9px;
|
|
color: white;
|
|
background: rgba(154, 46, 35, 0.9);
|
|
font-size: 9.5px;
|
|
}
|
|
|
|
.annotator-text-entry {
|
|
position: absolute;
|
|
left: 50%;
|
|
bottom: 18px;
|
|
z-index: 6;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
width: min(420px, 80%);
|
|
transform: translateX(-50%);
|
|
padding: 6px;
|
|
border: 1px solid rgba(255, 255, 255, 0.14);
|
|
border-radius: 11px;
|
|
background: rgba(34, 29, 28, 0.92);
|
|
box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
|
|
backdrop-filter: blur(18px);
|
|
}
|
|
|
|
.annotator-text-entry input {
|
|
flex: 1;
|
|
min-width: 0;
|
|
height: 30px;
|
|
padding: 0 9px;
|
|
border: 0;
|
|
border-radius: 7px;
|
|
color: white;
|
|
background: rgba(255, 255, 255, 0.08);
|
|
font-size: 11px;
|
|
outline: none;
|
|
}
|
|
|
|
.annotator-text-entry button {
|
|
width: 30px;
|
|
height: 30px;
|
|
display: grid;
|
|
place-items: center;
|
|
border: 0;
|
|
border-radius: 7px;
|
|
color: #2b160e;
|
|
background: #fff1e5;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.editor-canvas video {
|
|
width: min(100%, 1000px);
|
|
background: black;
|
|
}
|
|
|
|
.editor-file-fallback {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 14px;
|
|
color: rgba(255, 255, 255, 0.75);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.editor-text-preview {
|
|
width: min(860px, 100%);
|
|
max-height: calc(100vh - 190px);
|
|
margin: 0;
|
|
overflow: auto;
|
|
padding: 24px;
|
|
border: 1px solid rgba(255, 255, 255, 0.08);
|
|
border-radius: 12px;
|
|
color: #f3ece7;
|
|
background: rgba(31, 28, 27, 0.92);
|
|
font-family: "SF Mono", "Cascadia Code", ui-monospace, monospace;
|
|
font-size: 12px;
|
|
line-height: 1.7;
|
|
white-space: pre-wrap;
|
|
word-break: break-word;
|
|
box-shadow: 0 24px 65px rgba(0, 0, 0, 0.28);
|
|
}
|
|
|
|
.editor-file-fallback svg {
|
|
color: #ffa474;
|
|
}
|
|
|
|
.editor-file-fallback button {
|
|
padding: 8px 14px;
|
|
border: 0;
|
|
border-radius: 9px;
|
|
color: white;
|
|
background: rgba(255, 255, 255, 0.14);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.ocr-panel {
|
|
flex: none;
|
|
width: 375px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 20px;
|
|
border-left: 1px solid rgba(87, 52, 33, 0.1);
|
|
background: #fbf8f4;
|
|
}
|
|
|
|
.ocr-panel-head {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
}
|
|
|
|
.ocr-eyebrow {
|
|
color: #c46b43;
|
|
font-size: 8px;
|
|
font-weight: 800;
|
|
letter-spacing: 0.13em;
|
|
}
|
|
|
|
.ocr-panel h2 {
|
|
margin: 5px 0 4px;
|
|
font-size: 20px;
|
|
letter-spacing: -0.04em;
|
|
}
|
|
|
|
.ocr-panel p {
|
|
margin: 0;
|
|
color: #91796c;
|
|
font-size: 10px;
|
|
line-height: 1.45;
|
|
}
|
|
|
|
.ocr-progress {
|
|
margin: 18px 0 4px;
|
|
}
|
|
|
|
.ocr-progress-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
color: #7a5e50;
|
|
font-size: 9.5px;
|
|
}
|
|
|
|
.ocr-progress-row span {
|
|
flex: 1;
|
|
}
|
|
|
|
.ocr-progress-row b {
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.ocr-progress-bar {
|
|
height: 4px;
|
|
margin-top: 8px;
|
|
overflow: hidden;
|
|
border-radius: 99px;
|
|
background: #ece1d9;
|
|
}
|
|
|
|
.ocr-progress-bar span {
|
|
display: block;
|
|
height: 100%;
|
|
border-radius: inherit;
|
|
background: linear-gradient(90deg, #ffad73, #ee6432);
|
|
transition: width 0.25s ease;
|
|
}
|
|
|
|
.ocr-output {
|
|
flex: 1;
|
|
width: 100%;
|
|
min-height: 0;
|
|
margin-top: 15px;
|
|
padding: 13px;
|
|
resize: none;
|
|
border: 1px solid rgba(90, 53, 34, 0.11);
|
|
border-radius: 13px;
|
|
color: #453025;
|
|
background: white;
|
|
font-family: "SF Mono", "Cascadia Code", ui-monospace, monospace;
|
|
font-size: 10.5px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.ocr-output:focus {
|
|
outline: none;
|
|
border-color: rgba(235, 104, 51, 0.42);
|
|
box-shadow: 0 0 0 3px rgba(235, 104, 51, 0.08);
|
|
}
|
|
|
|
.ocr-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.editor-toast {
|
|
position: absolute;
|
|
left: 50%;
|
|
bottom: 28px;
|
|
z-index: 20;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
transform: translateX(-50%);
|
|
padding: 9px 14px;
|
|
border-radius: 11px;
|
|
color: white;
|
|
background: rgba(41, 27, 21, 0.88);
|
|
box-shadow: 0 12px 32px rgba(42, 22, 14, 0.23);
|
|
font-size: 10.5px;
|
|
backdrop-filter: blur(14px);
|
|
animation: toast-in 0.2s ease-out;
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------- */
|
|
/* Narrow windows */
|
|
/* ------------------------------------------------------------------------- */
|
|
|
|
@media (max-width: 980px) {
|
|
.main-header {
|
|
padding: 0 26px;
|
|
}
|
|
|
|
.main-content {
|
|
padding-inline: 26px;
|
|
}
|
|
|
|
.hero-panel {
|
|
padding: 38px;
|
|
}
|
|
|
|
.hero-orbit {
|
|
right: 8px;
|
|
opacity: 0.64;
|
|
transform: translateY(-50%) scale(0.86);
|
|
}
|
|
|
|
.hero-copy {
|
|
max-width: 520px;
|
|
}
|
|
|
|
.quick-grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
|
|
.content-columns {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.settings-strip {
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
|
|
.privacy-card {
|
|
grid-column: span 2;
|
|
min-height: auto;
|
|
}
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------- */
|
|
/* Home (redesigned) */
|
|
/* ------------------------------------------------------------------------- */
|
|
|
|
.home {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
background:
|
|
radial-gradient(circle at 12% -8%, rgba(255, 204, 168, 0.38), transparent 34%),
|
|
radial-gradient(circle at 92% 6%, rgba(218, 190, 255, 0.22), transparent 30%),
|
|
linear-gradient(180deg, #fbf7f2 0%, #f2ece6 100%);
|
|
}
|
|
|
|
.home-bar {
|
|
position: relative;
|
|
z-index: 5;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 20px;
|
|
height: 58px;
|
|
padding: 0 22px;
|
|
}
|
|
|
|
.home.is-mac .home-bar {
|
|
padding-left: 86px;
|
|
}
|
|
|
|
.home-brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 9px;
|
|
min-width: 150px;
|
|
}
|
|
|
|
.home-mark {
|
|
width: 23px;
|
|
height: 23px;
|
|
object-fit: contain;
|
|
filter: drop-shadow(0 5px 12px rgba(215, 84, 39, 0.2));
|
|
}
|
|
|
|
.home-brand strong {
|
|
color: #3a241b;
|
|
font-size: 14px;
|
|
font-weight: 690;
|
|
letter-spacing: -0.025em;
|
|
}
|
|
|
|
.home-brand-sub {
|
|
color: #9c7e6d;
|
|
font-size: 13px;
|
|
font-weight: 540;
|
|
letter-spacing: -0.02em;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.home-bar-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
}
|
|
|
|
.home-quick,
|
|
.home-icon-button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
height: 32px;
|
|
padding: 0 11px;
|
|
white-space: nowrap;
|
|
border: 1px solid rgba(91, 57, 38, 0.09);
|
|
border-radius: 10px;
|
|
color: #5c4135;
|
|
background: rgba(255, 255, 255, 0.62);
|
|
box-shadow: 0 4px 14px rgba(75, 45, 29, 0.04);
|
|
font-size: 10.5px;
|
|
font-weight: 620;
|
|
cursor: pointer;
|
|
backdrop-filter: blur(14px);
|
|
transition:
|
|
background 0.16s ease,
|
|
border-color 0.16s ease;
|
|
}
|
|
|
|
.home-quick:hover,
|
|
.home-icon-button:hover {
|
|
border-color: rgba(242, 106, 51, 0.22);
|
|
background: rgba(255, 255, 255, 0.9);
|
|
}
|
|
|
|
.home-quick kbd {
|
|
margin-left: 2px;
|
|
padding: 2px 5px;
|
|
border-radius: 5px;
|
|
color: #967565;
|
|
background: rgba(104, 68, 48, 0.07);
|
|
font-family: inherit;
|
|
font-size: 8.5px;
|
|
font-weight: 650;
|
|
}
|
|
|
|
.home-icon-button {
|
|
width: 32px;
|
|
padding: 0;
|
|
justify-content: center;
|
|
}
|
|
|
|
.home-icon-button.is-active {
|
|
color: #d45729;
|
|
border-color: rgba(242, 106, 51, 0.28);
|
|
background: #fff;
|
|
}
|
|
|
|
.home-main {
|
|
position: relative;
|
|
z-index: 2;
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1fr) 338px;
|
|
gap: 16px;
|
|
height: calc(100% - 58px);
|
|
padding: 8px 24px 24px;
|
|
}
|
|
|
|
.home-drop {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
padding: 36px;
|
|
border: 1px solid rgba(96, 60, 39, 0.08);
|
|
border-radius: 28px;
|
|
background: rgba(255, 252, 248, 0.72);
|
|
box-shadow:
|
|
0 20px 60px rgba(96, 56, 33, 0.06),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.8);
|
|
text-align: center;
|
|
backdrop-filter: blur(18px);
|
|
transition:
|
|
border-color 0.18s ease,
|
|
background 0.18s ease,
|
|
transform 0.18s ease;
|
|
}
|
|
|
|
.permission-banner {
|
|
position: absolute;
|
|
top: 16px;
|
|
left: 50%;
|
|
z-index: 3;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
max-width: min(92%, 560px);
|
|
transform: translateX(-50%);
|
|
padding: 8px 9px 8px 12px;
|
|
border: 1px solid rgba(217, 79, 31, 0.18);
|
|
border-radius: 10px;
|
|
color: #7a3a20;
|
|
background: rgba(255, 241, 232, 0.92);
|
|
box-shadow: 0 8px 24px rgba(121, 55, 26, 0.1);
|
|
font-size: 10px;
|
|
font-weight: 620;
|
|
line-height: 1.3;
|
|
backdrop-filter: blur(12px);
|
|
}
|
|
|
|
.permission-banner svg {
|
|
flex: none;
|
|
color: #d94f1f;
|
|
}
|
|
|
|
.permission-banner button {
|
|
flex: none;
|
|
padding: 5px 9px;
|
|
border: 0;
|
|
border-radius: 7px;
|
|
color: #fff8f3;
|
|
background: #e45c2a;
|
|
font-size: 9px;
|
|
font-weight: 680;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.permission-banner button:hover {
|
|
background: #d94f1f;
|
|
}
|
|
|
|
.home-drop::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 50%;
|
|
bottom: -190px;
|
|
width: 620px;
|
|
height: 360px;
|
|
transform: translateX(-50%);
|
|
border-radius: 50%;
|
|
background: radial-gradient(circle, rgba(255, 173, 117, 0.2), transparent 68%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
.home-drop::after {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 18px;
|
|
border: 1.5px dashed rgba(150, 99, 70, 0.19);
|
|
border-radius: 20px;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.home-drop.is-dragging {
|
|
border-color: rgba(242, 106, 51, 0.38);
|
|
background: rgba(255, 245, 235, 0.94);
|
|
transform: scale(0.995);
|
|
}
|
|
|
|
.home-drop.is-dragging::after {
|
|
border-color: rgba(242, 106, 51, 0.58);
|
|
}
|
|
|
|
.home-drop-art {
|
|
position: relative;
|
|
z-index: 1;
|
|
width: 250px;
|
|
height: 100px;
|
|
margin-bottom: 22px;
|
|
}
|
|
|
|
.home-drop-card {
|
|
position: absolute;
|
|
left: calc(50% + var(--x));
|
|
bottom: var(--y);
|
|
display: grid;
|
|
place-items: center;
|
|
width: 54px;
|
|
height: 58px;
|
|
border: 2px solid rgba(255, 255, 255, 0.92);
|
|
border-radius: 15px;
|
|
box-shadow: 0 12px 26px rgba(91, 52, 31, 0.14);
|
|
transform: translateX(-50%) rotate(var(--angle));
|
|
transform-origin: 50% 130%;
|
|
}
|
|
|
|
.home-drop-card.tone-image {
|
|
color: #d25b2a;
|
|
background: #ffe2cc;
|
|
}
|
|
|
|
.home-drop-card.tone-pdf {
|
|
color: #7661c7;
|
|
background: #eee9ff;
|
|
}
|
|
|
|
.home-drop-card.tone-document {
|
|
color: #c08b2e;
|
|
background: #fff7e4;
|
|
}
|
|
|
|
.home-drop-card.tone-video {
|
|
color: #5c8fc8;
|
|
background: #e6f2ff;
|
|
}
|
|
|
|
.home-drop-card.tone-audio {
|
|
color: #cc6897;
|
|
background: #ffe8f2;
|
|
}
|
|
|
|
.home-drop-card.tone-sheet {
|
|
color: #5a9d75;
|
|
background: #e8f6ee;
|
|
}
|
|
|
|
.home-drop-card.tone-presentation {
|
|
color: #9763c5;
|
|
background: #f3e9ff;
|
|
}
|
|
|
|
.home-drop h1 {
|
|
position: relative;
|
|
z-index: 1;
|
|
margin: 0;
|
|
animation: home-rise 0.42s cubic-bezier(0.22, 0.68, 0.32, 1) both;
|
|
color: #322016;
|
|
font-size: clamp(27px, 3vw, 36px);
|
|
font-weight: 700;
|
|
letter-spacing: -0.05em;
|
|
}
|
|
|
|
.home-drop p {
|
|
position: relative;
|
|
z-index: 1;
|
|
max-width: 460px;
|
|
margin: 11px 0 0;
|
|
animation: home-rise 0.42s cubic-bezier(0.22, 0.68, 0.32, 1) 0.05s both;
|
|
color: #84695c;
|
|
font-size: 12px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.home-primary-actions {
|
|
position: relative;
|
|
z-index: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 9px;
|
|
margin-top: 26px;
|
|
animation: home-rise 0.42s cubic-bezier(0.22, 0.68, 0.32, 1) 0.1s both;
|
|
}
|
|
|
|
.home-primary,
|
|
.home-secondary {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
height: 40px;
|
|
padding: 0 16px;
|
|
border-radius: 12px;
|
|
font-size: 11.5px;
|
|
font-weight: 660;
|
|
cursor: pointer;
|
|
transition:
|
|
transform 0.16s ease,
|
|
box-shadow 0.16s ease,
|
|
background 0.16s ease;
|
|
}
|
|
|
|
.home-primary {
|
|
border: 0;
|
|
color: #fff8f2;
|
|
background: linear-gradient(135deg, #ff8248, #eb5427);
|
|
box-shadow: 0 10px 24px rgba(228, 83, 39, 0.26);
|
|
}
|
|
|
|
.home-primary:hover {
|
|
transform: translateY(-1px);
|
|
box-shadow: 0 14px 28px rgba(228, 83, 39, 0.32);
|
|
}
|
|
|
|
.home-secondary {
|
|
border: 1px solid rgba(101, 64, 43, 0.11);
|
|
color: #5f4437;
|
|
background: rgba(255, 255, 255, 0.72);
|
|
}
|
|
|
|
.home-secondary:hover {
|
|
transform: translateY(-1px);
|
|
border-color: rgba(242, 106, 51, 0.22);
|
|
background: #fff;
|
|
box-shadow: 0 12px 24px rgba(96, 56, 33, 0.12);
|
|
}
|
|
|
|
/* Drop targets: the primary buttons double as "drop here for this action". */
|
|
.home-primary-actions.has-drop-target .home-primary,
|
|
.home-primary-actions.has-drop-target .home-secondary {
|
|
border-style: dashed;
|
|
border-color: rgba(242, 106, 51, 0.34);
|
|
}
|
|
|
|
/* The primary button has no border of its own, so the dashed hint needs one. */
|
|
.home-primary-actions.has-drop-target .home-primary {
|
|
border: 1px dashed rgba(242, 106, 51, 0.34);
|
|
}
|
|
|
|
.home-primary.is-drop-target,
|
|
.home-secondary.is-drop-target {
|
|
transform: translateY(-3px) scale(1.04);
|
|
border-color: rgba(242, 106, 51, 0.7);
|
|
box-shadow:
|
|
0 0 0 4px rgba(242, 106, 51, 0.16),
|
|
0 16px 30px rgba(228, 83, 39, 0.26);
|
|
}
|
|
|
|
.home-primary.is-drop-target {
|
|
background: linear-gradient(135deg, #ff9459, #f2602d);
|
|
}
|
|
|
|
.home-secondary.is-drop-target {
|
|
color: #c84c20;
|
|
background: #fff1e7;
|
|
}
|
|
|
|
.home-shortcut-row {
|
|
position: relative;
|
|
z-index: 1;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 7px;
|
|
margin-top: 26px;
|
|
color: #9a7f70;
|
|
font-size: 9.5px;
|
|
}
|
|
|
|
.home-shortcut-group {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
padding: 2px 7px 2px 4px;
|
|
border-radius: 999px;
|
|
background: rgba(255, 255, 255, 0.62);
|
|
font-weight: 620;
|
|
}
|
|
|
|
.home-shortcut-group + .home-shortcut-group {
|
|
margin-left: 2px;
|
|
}
|
|
|
|
.home-shortcut-row kbd {
|
|
padding: 3px 7px;
|
|
border: 1px solid rgba(104, 68, 47, 0.1);
|
|
border-radius: 6px;
|
|
color: #7c5d4d;
|
|
background: rgba(255, 255, 255, 0.8);
|
|
font-family: inherit;
|
|
font-size: 9px;
|
|
font-weight: 650;
|
|
}
|
|
|
|
.home-side {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
min-height: 0;
|
|
}
|
|
|
|
.home-card-recent {
|
|
flex: 1 1 auto;
|
|
min-height: 180px;
|
|
}
|
|
|
|
.home-card {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
padding: 20px;
|
|
border: 1px solid rgba(92, 56, 35, 0.08);
|
|
border-radius: 22px;
|
|
background: rgba(255, 252, 249, 0.68);
|
|
box-shadow: 0 12px 36px rgba(86, 51, 31, 0.045);
|
|
backdrop-filter: blur(16px);
|
|
}
|
|
|
|
.home-card-head {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
color: #a08272;
|
|
}
|
|
|
|
.home-card-head > svg {
|
|
flex: none;
|
|
}
|
|
|
|
.home-card-head h1 {
|
|
flex: 1;
|
|
min-width: 0;
|
|
margin: 0;
|
|
overflow: hidden;
|
|
color: #3a251b;
|
|
font-size: 15px;
|
|
font-weight: 670;
|
|
letter-spacing: -0.025em;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.home-card-count {
|
|
flex: none;
|
|
padding: 3px 9px;
|
|
border-radius: 999px;
|
|
color: #a0705a;
|
|
background: rgba(242, 106, 51, 0.09);
|
|
font-size: 9.5px;
|
|
font-weight: 660;
|
|
letter-spacing: 0.01em;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.home-empty {
|
|
display: flex;
|
|
flex: 1;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 10px;
|
|
margin: 0;
|
|
color: #a68b7c;
|
|
font-size: 10.5px;
|
|
line-height: 1.5;
|
|
text-align: center;
|
|
}
|
|
|
|
.home-empty p {
|
|
margin: 0;
|
|
max-width: 210px;
|
|
}
|
|
|
|
.home-empty-glyph {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 40px;
|
|
height: 40px;
|
|
border: 1px dashed rgba(150, 99, 70, 0.28);
|
|
border-radius: 13px;
|
|
color: #c07a54;
|
|
background: rgba(255, 255, 255, 0.6);
|
|
}
|
|
|
|
.home-recent-list {
|
|
display: flex;
|
|
flex: 1;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
min-height: 0;
|
|
margin-top: 12px;
|
|
/* Extra bottom room so the last row can scroll clear of the fade mask. */
|
|
padding-bottom: 22px;
|
|
overflow-y: auto;
|
|
scrollbar-width: thin;
|
|
scrollbar-color: rgba(120, 80, 58, 0.24) transparent;
|
|
|
|
/* Fade the last row so a clipped list reads as scrollable. */
|
|
mask-image: linear-gradient(180deg, #000 calc(100% - 18px), transparent);
|
|
}
|
|
|
|
.home-recent-list::-webkit-scrollbar {
|
|
width: 6px;
|
|
}
|
|
|
|
.home-recent-list::-webkit-scrollbar-thumb {
|
|
border-radius: 999px;
|
|
background: rgba(120, 80, 58, 0.22);
|
|
}
|
|
|
|
.home-recent {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
border-radius: 11px;
|
|
animation: recent-in 0.26s cubic-bezier(0.22, 0.68, 0.32, 1) both;
|
|
}
|
|
|
|
.home-recent:nth-child(2) {
|
|
animation-delay: 0.03s;
|
|
}
|
|
|
|
.home-recent:nth-child(3) {
|
|
animation-delay: 0.06s;
|
|
}
|
|
|
|
.home-recent:nth-child(4) {
|
|
animation-delay: 0.09s;
|
|
}
|
|
|
|
.home-recent:nth-child(5) {
|
|
animation-delay: 0.12s;
|
|
}
|
|
|
|
.home-recent:hover {
|
|
background: rgba(255, 255, 255, 0.86);
|
|
box-shadow: inset 0 0 0 1px rgba(96, 60, 39, 0.05);
|
|
}
|
|
|
|
.home-recent-main {
|
|
display: flex;
|
|
flex: 1;
|
|
min-width: 0;
|
|
align-items: center;
|
|
gap: 9px;
|
|
width: 100%;
|
|
/* Leaves room for the hover actions (send / reveal / pin). */
|
|
padding: 6px 86px 6px 6px;
|
|
border: 0;
|
|
background: transparent;
|
|
text-align: left;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.home-recent-actions {
|
|
position: absolute;
|
|
right: 6px;
|
|
display: flex;
|
|
gap: 3px;
|
|
opacity: 0;
|
|
transform: translateX(4px);
|
|
transition:
|
|
opacity 0.14s ease,
|
|
transform 0.14s ease;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.home-recent:hover .home-recent-actions,
|
|
.home-recent:focus-within .home-recent-actions {
|
|
opacity: 1;
|
|
transform: translateX(0);
|
|
pointer-events: auto;
|
|
}
|
|
|
|
.home-recent-actions button {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 24px;
|
|
height: 24px;
|
|
border: 1px solid rgba(96, 60, 39, 0.09);
|
|
border-radius: 7px;
|
|
color: #6d4f40;
|
|
background: rgba(255, 255, 255, 0.96);
|
|
box-shadow: 0 3px 9px rgba(75, 45, 29, 0.08);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.home-recent-actions button:hover {
|
|
color: #fff6f1;
|
|
border-color: transparent;
|
|
background: #e45c2a;
|
|
}
|
|
|
|
.home-recent-icon {
|
|
width: 38px;
|
|
height: 38px;
|
|
flex: none;
|
|
overflow: hidden;
|
|
display: grid;
|
|
place-items: center;
|
|
border-radius: 10px;
|
|
color: #d15f31;
|
|
background: #ffeadc;
|
|
box-shadow: inset 0 0 0 1px rgba(74, 43, 27, 0.05);
|
|
}
|
|
|
|
.home-recent-icon img {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.home-recent-icon.video {
|
|
color: #c94d5c;
|
|
background: #ffe5e9;
|
|
}
|
|
|
|
.home-recent-icon.file,
|
|
.home-recent-icon.text {
|
|
color: #7168b8;
|
|
background: #edebff;
|
|
}
|
|
|
|
.home-recent-main > span:last-child {
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1px;
|
|
}
|
|
|
|
.home-recent strong {
|
|
overflow: hidden;
|
|
color: #50362a;
|
|
font-size: 10px;
|
|
font-weight: 640;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.home-recent small {
|
|
overflow: hidden;
|
|
color: #a78d7f;
|
|
font-size: 8px;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.home-sheet-backdrop {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 30;
|
|
background: rgba(42, 28, 22, 0.18);
|
|
backdrop-filter: blur(2px);
|
|
animation: home-fade 0.16s ease-out;
|
|
}
|
|
|
|
.home-settings {
|
|
position: fixed;
|
|
z-index: 40;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
width: min(390px, 88vw);
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
padding: 0;
|
|
border-left: 1px solid rgba(88, 51, 31, 0.1);
|
|
background: #fffaf5;
|
|
box-shadow: -24px 0 70px rgba(66, 38, 23, 0.16);
|
|
transform: translateX(102%);
|
|
visibility: hidden;
|
|
transition:
|
|
transform 0.22s ease,
|
|
visibility 0.22s;
|
|
}
|
|
|
|
.home-settings.is-open {
|
|
transform: translateX(0);
|
|
visibility: visible;
|
|
}
|
|
|
|
.home-settings-head {
|
|
position: relative;
|
|
z-index: 2;
|
|
display: flex;
|
|
flex: none;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
gap: 11px;
|
|
padding: 17px 18px 14px;
|
|
border-bottom: 1px solid rgba(91, 55, 35, 0.08);
|
|
background: rgba(255, 250, 245, 0.96);
|
|
backdrop-filter: blur(16px);
|
|
}
|
|
|
|
.home-settings-close {
|
|
flex: none;
|
|
}
|
|
|
|
.home-settings-heading {
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.home-settings-heading h2 {
|
|
overflow: hidden;
|
|
margin: 0;
|
|
color: #38231a;
|
|
font-size: 18px;
|
|
font-weight: 700;
|
|
letter-spacing: -0.035em;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.home-settings-tabs {
|
|
display: flex;
|
|
flex: none;
|
|
gap: 22px;
|
|
padding: 0 20px;
|
|
border-bottom: 1px solid rgba(91, 55, 35, 0.08);
|
|
background: #fffaf5;
|
|
}
|
|
|
|
.home-settings-tab {
|
|
position: relative;
|
|
display: inline-flex;
|
|
flex: 0 1 auto;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
min-width: 94px;
|
|
height: 43px;
|
|
padding: 0 4px;
|
|
border: 0;
|
|
border-radius: 0;
|
|
color: #8e7162;
|
|
background: transparent;
|
|
font-size: 9.5px;
|
|
font-weight: 660;
|
|
cursor: pointer;
|
|
transition:
|
|
color 0.16s ease,
|
|
background 0.16s ease;
|
|
}
|
|
|
|
.home-settings-tab:hover {
|
|
color: #5e3d2e;
|
|
background: transparent;
|
|
}
|
|
|
|
.home-settings-tab.is-active {
|
|
color: #4c2c1e;
|
|
background: transparent;
|
|
}
|
|
|
|
.home-settings-tab.is-active::after {
|
|
content: "";
|
|
position: absolute;
|
|
right: 0;
|
|
bottom: -1px;
|
|
left: 0;
|
|
height: 2px;
|
|
border-radius: 2px 2px 0 0;
|
|
background: #e45c2a;
|
|
}
|
|
|
|
.home-settings-body {
|
|
flex: 1;
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
padding: 0 22px 34px;
|
|
}
|
|
|
|
.home-settings-panel {
|
|
min-height: 100%;
|
|
}
|
|
|
|
.home-settings-panel > .home-settings-section:first-child {
|
|
border-top: 0;
|
|
}
|
|
|
|
.home-settings-section {
|
|
padding: 17px 0;
|
|
border-top: 1px solid rgba(91, 55, 35, 0.08);
|
|
}
|
|
|
|
.home-section-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
color: #4d3327;
|
|
font-size: 11px;
|
|
font-weight: 690;
|
|
}
|
|
|
|
.home-settings-hint {
|
|
margin: 8px 0 0;
|
|
color: #9a7e6f;
|
|
font-size: 9.5px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.home-segment {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 3px;
|
|
margin-top: 10px;
|
|
padding: 3px;
|
|
border: 1px solid rgba(96, 59, 38, 0.08);
|
|
border-radius: 10px;
|
|
background: rgba(111, 73, 51, 0.055);
|
|
}
|
|
|
|
.home-segment button {
|
|
height: 28px;
|
|
border: 0;
|
|
border-radius: 7px;
|
|
color: #866a5b;
|
|
background: transparent;
|
|
font-size: 9.5px;
|
|
font-weight: 620;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.home-segment button.is-active {
|
|
color: #462d21;
|
|
background: #fff;
|
|
box-shadow: 0 2px 7px rgba(74, 43, 27, 0.09);
|
|
}
|
|
|
|
.settings-output {
|
|
margin-top: 12px;
|
|
padding: 11px;
|
|
border: 1px solid rgba(100, 61, 39, 0.08);
|
|
border-radius: 11px;
|
|
background: rgba(255, 255, 255, 0.58);
|
|
}
|
|
|
|
.settings-output-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
color: #705345;
|
|
font-size: 9.5px;
|
|
font-weight: 650;
|
|
}
|
|
|
|
.settings-link {
|
|
padding: 0;
|
|
border: 0;
|
|
color: #c45b30;
|
|
background: transparent;
|
|
font-size: 8.5px;
|
|
font-weight: 620;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.settings-path {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
margin-top: 8px;
|
|
padding: 7px 8px;
|
|
border-radius: 7px;
|
|
color: #826657;
|
|
background: rgba(106, 69, 47, 0.055);
|
|
font-size: 8.5px;
|
|
}
|
|
|
|
.settings-path svg {
|
|
flex: none;
|
|
}
|
|
|
|
.settings-path span {
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.settings-output-actions {
|
|
display: flex;
|
|
gap: 6px;
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.settings-small-button,
|
|
.settings-wide-button,
|
|
.home-permission-row button {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 5px;
|
|
height: 27px;
|
|
padding: 0 9px;
|
|
border: 1px solid rgba(99, 61, 39, 0.1);
|
|
border-radius: 7px;
|
|
color: #62483b;
|
|
background: #fff;
|
|
font-size: 8.8px;
|
|
font-weight: 620;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.settings-small-button:hover,
|
|
.settings-wide-button:hover,
|
|
.home-permission-row button:hover {
|
|
border-color: rgba(228, 92, 42, 0.22);
|
|
}
|
|
|
|
.settings-wide-button {
|
|
width: 100%;
|
|
height: 31px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.home-toggle-row {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 16px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
/* A rule between two switches that share one section. */
|
|
.home-toggle-divider {
|
|
margin-top: 15px;
|
|
padding-top: 15px;
|
|
border-top: 1px solid rgba(91, 55, 35, 0.08);
|
|
}
|
|
|
|
.home-toggle-row strong {
|
|
color: #4d3327;
|
|
font-size: 10.5px;
|
|
font-weight: 650;
|
|
}
|
|
|
|
.home-toggle {
|
|
position: relative;
|
|
width: 34px;
|
|
height: 20px;
|
|
flex: none;
|
|
padding: 0;
|
|
border: 0;
|
|
border-radius: 999px;
|
|
background: rgba(104, 69, 48, 0.18);
|
|
cursor: pointer;
|
|
transition: background 0.16s ease;
|
|
}
|
|
|
|
.home-toggle span {
|
|
position: absolute;
|
|
top: 3px;
|
|
left: 3px;
|
|
width: 14px;
|
|
height: 14px;
|
|
border-radius: 50%;
|
|
background: #fff;
|
|
box-shadow: 0 1px 3px rgba(50, 29, 18, 0.2);
|
|
transition: transform 0.16s ease;
|
|
}
|
|
|
|
.home-toggle.is-on {
|
|
background: #f06a37;
|
|
}
|
|
|
|
.home-toggle.is-on span {
|
|
transform: translateX(14px);
|
|
}
|
|
|
|
.home-checks {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 5px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.home-check {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 7px;
|
|
padding: 7px 8px;
|
|
border-radius: 8px;
|
|
font-size: 8.8px;
|
|
}
|
|
|
|
.home-check.is-ok {
|
|
color: #397653;
|
|
background: #edf8f1;
|
|
}
|
|
|
|
.home-check.is-bad {
|
|
color: #a34031;
|
|
background: #fff0ed;
|
|
}
|
|
|
|
.home-check svg {
|
|
flex: none;
|
|
margin-top: 1px;
|
|
}
|
|
|
|
.home-check span {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
}
|
|
|
|
.home-check strong {
|
|
font-weight: 680;
|
|
}
|
|
|
|
.home-check small {
|
|
font-size: 8.2px;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.runtime-section-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
}
|
|
|
|
.runtime-refresh {
|
|
display: inline-flex;
|
|
flex: none;
|
|
align-items: center;
|
|
gap: 4px;
|
|
}
|
|
|
|
.runtime-refresh:disabled {
|
|
cursor: default;
|
|
opacity: 0.62;
|
|
}
|
|
|
|
.runtime-summary {
|
|
margin: 8px 0 0;
|
|
color: #9a7e6f;
|
|
font-size: 8.8px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.runtime-loading,
|
|
.runtime-error {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
margin-top: 10px;
|
|
padding: 9px 10px;
|
|
border-radius: 8px;
|
|
font-size: 8.8px;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.runtime-loading {
|
|
color: #816354;
|
|
background: rgba(111, 73, 51, 0.055);
|
|
}
|
|
|
|
.runtime-error {
|
|
flex-wrap: wrap;
|
|
align-items: flex-start;
|
|
color: #9e3d30;
|
|
background: #fff0ed;
|
|
}
|
|
|
|
.runtime-error > span {
|
|
flex: 1;
|
|
min-width: 180px;
|
|
white-space: pre-wrap;
|
|
}
|
|
|
|
.runtime-error-link {
|
|
flex: none;
|
|
height: 24px;
|
|
padding: 0 8px;
|
|
border: 1px solid rgba(158, 61, 48, 0.18);
|
|
border-radius: 7px;
|
|
color: #8a3e32;
|
|
background: rgba(255, 255, 255, 0.72);
|
|
font-size: 8px;
|
|
font-weight: 680;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.runtime-error-link:hover {
|
|
background: #fff;
|
|
}
|
|
|
|
.runtime-group {
|
|
margin-top: 13px;
|
|
}
|
|
|
|
.runtime-group-title {
|
|
margin-bottom: 5px;
|
|
color: #9a7b69;
|
|
font-size: 8px;
|
|
font-weight: 760;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.runtime-component {
|
|
padding: 9px 10px;
|
|
border: 1px solid rgba(96, 59, 38, 0.075);
|
|
border-radius: 9px;
|
|
background: rgba(255, 255, 255, 0.58);
|
|
}
|
|
|
|
.runtime-component + .runtime-component {
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.runtime-component.is-missing {
|
|
border-color: rgba(173, 65, 49, 0.13);
|
|
background: rgba(255, 244, 241, 0.72);
|
|
}
|
|
|
|
.runtime-component-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
}
|
|
|
|
.runtime-component-head strong {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
color: #4d3327;
|
|
font-size: 9.5px;
|
|
font-weight: 680;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.runtime-source {
|
|
flex: none;
|
|
padding: 2px 5px;
|
|
border-radius: 999px;
|
|
font-size: 7px;
|
|
font-weight: 720;
|
|
letter-spacing: 0.03em;
|
|
}
|
|
|
|
.runtime-source.is-bundled {
|
|
color: #a94d28;
|
|
background: #ffeadc;
|
|
}
|
|
|
|
.runtime-source.is-system {
|
|
color: #39715b;
|
|
background: #e8f4ee;
|
|
}
|
|
|
|
.runtime-source.is-external {
|
|
color: #556da0;
|
|
background: #eaf0fb;
|
|
}
|
|
|
|
.runtime-component-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
min-width: 0;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.runtime-status {
|
|
display: inline-flex;
|
|
flex: none;
|
|
align-items: center;
|
|
gap: 3px;
|
|
color: #397653;
|
|
font-size: 7.8px;
|
|
font-weight: 680;
|
|
}
|
|
|
|
.runtime-component.is-missing .runtime-status {
|
|
color: #a34031;
|
|
}
|
|
|
|
.runtime-version {
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
color: #9a7e6f;
|
|
font-size: 7.8px;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.runtime-path {
|
|
display: block;
|
|
overflow: hidden;
|
|
margin-top: 5px;
|
|
padding: 4px 6px;
|
|
border-radius: 5px;
|
|
color: #7f6558;
|
|
background: rgba(106, 69, 47, 0.05);
|
|
font-family: "SFMono-Regular", Consolas, monospace;
|
|
font-size: 7.4px;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.runtime-install {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
height: 27px;
|
|
margin-top: 8px;
|
|
padding: 0 10px;
|
|
border: 1px solid rgba(190, 83, 42, 0.18);
|
|
border-radius: 8px;
|
|
color: #a84c29;
|
|
background: #fff1e7;
|
|
font-size: 8.5px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.runtime-install:hover:not(:disabled) {
|
|
border-color: rgba(190, 83, 42, 0.3);
|
|
background: #ffe9db;
|
|
}
|
|
|
|
.runtime-install:disabled {
|
|
cursor: default;
|
|
opacity: 0.65;
|
|
}
|
|
|
|
.runtime-bundled {
|
|
display: block;
|
|
margin-top: 5px;
|
|
color: #9a7e6f;
|
|
font-size: 7.6px;
|
|
}
|
|
|
|
.home-permission-row {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 6px;
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.home-permission-row button:nth-child(3) {
|
|
grid-column: span 2;
|
|
}
|
|
|
|
.editor-path {
|
|
max-width: 360px;
|
|
overflow: hidden;
|
|
color: #8d7568;
|
|
font-size: 9px;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
@keyframes home-fade {
|
|
from {
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
@keyframes recent-in {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(5px);
|
|
}
|
|
}
|
|
|
|
@keyframes home-rise {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(9px);
|
|
}
|
|
}
|
|
|
|
@media (max-height: 660px) {
|
|
.home-drop {
|
|
padding: 20px 30px;
|
|
}
|
|
|
|
.home-drop-art {
|
|
height: 86px;
|
|
margin-bottom: 14px;
|
|
transform: scale(0.84);
|
|
}
|
|
|
|
.home-drop h1 {
|
|
font-size: 26px;
|
|
}
|
|
|
|
.home-primary-actions {
|
|
margin-top: 18px;
|
|
}
|
|
|
|
.home-shortcut-row {
|
|
margin-top: 18px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 920px) {
|
|
.home-main {
|
|
grid-template-columns: minmax(0, 1fr);
|
|
overflow-y: auto;
|
|
}
|
|
|
|
/* Stacked: let the page scroll instead of squeezing the drop panel. */
|
|
.home-drop {
|
|
min-height: 400px;
|
|
}
|
|
|
|
.home-side {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.home-card-recent {
|
|
min-height: 260px;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.home-recent {
|
|
animation: none;
|
|
}
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------- */
|
|
/* LAN share (AirDrop-style) */
|
|
/* ------------------------------------------------------------------------- */
|
|
|
|
.share-backdrop {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 60;
|
|
background: rgba(40, 25, 18, 0.26);
|
|
backdrop-filter: blur(3px);
|
|
animation: home-fade 0.18s ease-out;
|
|
}
|
|
|
|
.share-panel {
|
|
position: fixed;
|
|
left: 50%;
|
|
top: 50%;
|
|
z-index: 61;
|
|
display: flex;
|
|
width: min(760px, 94vw);
|
|
max-height: min(760px, 90vh);
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
padding: 20px 22px 16px;
|
|
overflow: hidden;
|
|
border: 1px solid rgba(92, 56, 35, 0.1);
|
|
border-radius: 24px;
|
|
background: linear-gradient(168deg, #fffaf5, #fdf1e6 62%, #fbeadf);
|
|
box-shadow:
|
|
0 34px 90px rgba(62, 33, 18, 0.28),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.7);
|
|
transform: translate(-50%, -50%);
|
|
animation: share-in 0.24s cubic-bezier(0.22, 0.68, 0.32, 1) both;
|
|
}
|
|
|
|
.share-panel::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 50%;
|
|
top: -150px;
|
|
width: 420px;
|
|
height: 300px;
|
|
transform: translateX(-50%);
|
|
border-radius: 50%;
|
|
background: radial-gradient(circle, rgba(255, 164, 105, 0.28), transparent 70%);
|
|
pointer-events: none;
|
|
}
|
|
|
|
@keyframes share-in {
|
|
from {
|
|
opacity: 0;
|
|
transform: translate(-50%, -46%) scale(0.97);
|
|
}
|
|
}
|
|
|
|
.share-head {
|
|
position: relative;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 11px;
|
|
}
|
|
|
|
.share-head-glyph {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 34px;
|
|
height: 34px;
|
|
flex: none;
|
|
border-radius: 11px;
|
|
color: #fff6f1;
|
|
background: linear-gradient(140deg, #ff9459, #ea5423);
|
|
box-shadow: 0 8px 18px rgba(228, 83, 39, 0.28);
|
|
}
|
|
|
|
.share-head-copy {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.share-head-copy h2 {
|
|
margin: 0;
|
|
color: #35211a;
|
|
font-size: 14px;
|
|
font-weight: 690;
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
.share-head-copy p {
|
|
margin: 2px 0 0;
|
|
overflow: hidden;
|
|
color: #9a7b69;
|
|
font-size: 9.5px;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.share-files {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 7px;
|
|
min-height: 0;
|
|
padding: 10px 11px 9px;
|
|
border: 1px solid rgba(96, 60, 39, 0.09);
|
|
border-radius: 14px;
|
|
background: rgba(255, 255, 255, 0.66);
|
|
}
|
|
|
|
.share-files-head {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-height: 18px;
|
|
}
|
|
|
|
.share-files-head > strong {
|
|
color: #4a3125;
|
|
font-size: 10px;
|
|
font-weight: 680;
|
|
}
|
|
|
|
.share-files-head > span {
|
|
color: #a48778;
|
|
font-size: 8.5px;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.share-select-all {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 5px;
|
|
margin-left: auto;
|
|
color: #876b5b;
|
|
font-size: 8.5px;
|
|
font-weight: 620;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.share-file-list {
|
|
display: grid;
|
|
max-height: 118px;
|
|
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
|
|
gap: 5px;
|
|
overflow-y: auto;
|
|
padding-right: 2px;
|
|
scrollbar-width: thin;
|
|
}
|
|
|
|
.share-file-row,
|
|
.share-select-all {
|
|
position: relative;
|
|
user-select: none;
|
|
}
|
|
|
|
.share-file-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
padding: 7px 8px;
|
|
border: 1px solid rgba(96, 60, 39, 0.075);
|
|
border-radius: 9px;
|
|
color: #785b4c;
|
|
background: rgba(255, 250, 245, 0.7);
|
|
cursor: grab;
|
|
transition:
|
|
border-color 0.14s ease,
|
|
background 0.14s ease;
|
|
}
|
|
|
|
.share-file-row:hover {
|
|
border-color: rgba(228, 92, 42, 0.2);
|
|
background: #fff;
|
|
}
|
|
|
|
.share-file-row:active {
|
|
cursor: grabbing;
|
|
}
|
|
|
|
.share-file-row.is-checked {
|
|
border-color: rgba(228, 92, 42, 0.23);
|
|
background: #fff;
|
|
}
|
|
|
|
.share-file-row input,
|
|
.share-select-all input {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.share-checkmark {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 15px;
|
|
height: 15px;
|
|
flex: none;
|
|
border: 1px solid rgba(104, 68, 47, 0.24);
|
|
border-radius: 4px;
|
|
color: #fff;
|
|
background: #fff;
|
|
}
|
|
|
|
.share-file-row.is-checked .share-checkmark,
|
|
.share-select-all input:checked + .share-checkmark {
|
|
border-color: #e45c2a;
|
|
background: #e45c2a;
|
|
}
|
|
|
|
.share-file-row > svg:not(.share-file-grip) {
|
|
flex: none;
|
|
color: #b56f4c;
|
|
}
|
|
|
|
.share-file-copy {
|
|
display: flex;
|
|
min-width: 0;
|
|
flex: 1;
|
|
flex-direction: column;
|
|
gap: 1px;
|
|
}
|
|
|
|
.share-file-copy strong,
|
|
.share-file-copy small {
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.share-file-copy strong {
|
|
color: #4a3125;
|
|
font-size: 9px;
|
|
font-weight: 630;
|
|
}
|
|
|
|
.share-file-copy small {
|
|
color: #a78d7f;
|
|
font-size: 7.5px;
|
|
}
|
|
|
|
.share-file-grip {
|
|
flex: none;
|
|
color: #c0a99b;
|
|
}
|
|
|
|
.share-select-hint {
|
|
margin: 0;
|
|
color: #9e8273;
|
|
font-size: 8.3px;
|
|
}
|
|
|
|
.share-reshow {
|
|
display: inline-flex;
|
|
flex: none;
|
|
align-items: center;
|
|
gap: 5px;
|
|
padding: 4px 9px;
|
|
border: 1px solid rgba(242, 106, 51, 0.22);
|
|
border-radius: 999px;
|
|
color: #c1521f;
|
|
background: rgba(255, 240, 231, 0.8);
|
|
font-size: 9px;
|
|
font-weight: 660;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.share-reshow:hover:not(:disabled) {
|
|
color: #fff6f1;
|
|
background: #e45c2a;
|
|
}
|
|
|
|
.share-reshow:disabled {
|
|
opacity: 0.55;
|
|
cursor: default;
|
|
}
|
|
|
|
.share-grid {
|
|
position: relative;
|
|
display: grid;
|
|
flex: 1;
|
|
grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
|
|
gap: 9px;
|
|
min-height: 190px;
|
|
max-height: 390px;
|
|
overflow-y: auto;
|
|
padding: 2px;
|
|
scrollbar-width: thin;
|
|
}
|
|
|
|
.share-peer {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
gap: 7px;
|
|
padding: 14px 8px 12px;
|
|
border: 1px solid transparent;
|
|
border-radius: 16px;
|
|
color: #4a3125;
|
|
background: rgba(255, 255, 255, 0.6);
|
|
cursor: pointer;
|
|
animation: share-peer-in 0.26s cubic-bezier(0.22, 0.68, 0.32, 1) both;
|
|
transition:
|
|
transform 0.14s ease,
|
|
border-color 0.14s ease,
|
|
background 0.14s ease,
|
|
box-shadow 0.14s ease;
|
|
}
|
|
|
|
.share-peer:hover:not(:disabled) {
|
|
border-color: rgba(242, 106, 51, 0.3);
|
|
background: #fff;
|
|
box-shadow: 0 12px 26px rgba(120, 66, 34, 0.12);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.share-peer:disabled {
|
|
opacity: 0.48;
|
|
cursor: default;
|
|
}
|
|
|
|
.share-peer.is-active {
|
|
border-color: rgba(242, 106, 51, 0.55);
|
|
background: #fff;
|
|
box-shadow: 0 0 0 4px rgba(242, 106, 51, 0.14);
|
|
}
|
|
|
|
.share-peer.is-drop-target {
|
|
border-color: rgba(242, 106, 51, 0.7);
|
|
background: #fff8f2;
|
|
box-shadow:
|
|
0 0 0 4px rgba(242, 106, 51, 0.16),
|
|
0 16px 32px rgba(120, 66, 34, 0.14);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.share-peer-avatar {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 50%;
|
|
color: #cf5a28;
|
|
background: radial-gradient(circle at 32% 28%, #fff3e9, #ffd9c2);
|
|
box-shadow:
|
|
inset 0 0 0 1px rgba(120, 66, 34, 0.08),
|
|
0 6px 14px rgba(120, 66, 34, 0.1);
|
|
}
|
|
|
|
.share-peer-name {
|
|
max-width: 100%;
|
|
overflow: hidden;
|
|
font-size: 10px;
|
|
font-weight: 650;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.share-peer-meta {
|
|
margin-top: -4px;
|
|
color: #a78d7f;
|
|
font-size: 8.5px;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
|
|
@keyframes share-peer-in {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(7px) scale(0.96);
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.share-panel,
|
|
.share-peer {
|
|
animation: none;
|
|
}
|
|
}
|
|
|
|
.share-empty {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
min-height: 186px;
|
|
padding: 18px;
|
|
border: 1px dashed rgba(150, 99, 70, 0.24);
|
|
border-radius: 16px;
|
|
text-align: center;
|
|
}
|
|
|
|
.share-empty-glyph {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 42px;
|
|
height: 42px;
|
|
border-radius: 14px;
|
|
color: #c07a54;
|
|
background: rgba(255, 255, 255, 0.68);
|
|
}
|
|
|
|
.share-empty strong {
|
|
color: #4d3327;
|
|
font-size: 11px;
|
|
font-weight: 660;
|
|
}
|
|
|
|
.share-empty p {
|
|
max-width: 280px;
|
|
margin: 0;
|
|
color: #a08578;
|
|
font-size: 9.5px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.share-progress {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
padding: 10px 12px;
|
|
border: 1px solid rgba(96, 60, 39, 0.09);
|
|
border-radius: 12px;
|
|
background: rgba(255, 255, 255, 0.72);
|
|
}
|
|
|
|
.share-progress-head {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
font-size: 9.5px;
|
|
font-weight: 620;
|
|
}
|
|
|
|
.share-progress-head span {
|
|
overflow: hidden;
|
|
color: #4a3125;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.share-progress-head small {
|
|
flex: none;
|
|
color: #a78d7f;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.share-bar {
|
|
height: 5px;
|
|
overflow: hidden;
|
|
border-radius: 999px;
|
|
background: rgba(120, 74, 45, 0.12);
|
|
}
|
|
|
|
.share-bar span {
|
|
display: block;
|
|
height: 100%;
|
|
border-radius: 999px;
|
|
background: linear-gradient(90deg, #f9a05f, #e4531f);
|
|
transition: width 0.16s linear;
|
|
}
|
|
|
|
/* No byte counts exist while the peer decides, so the bar sweeps instead. */
|
|
.share-bar.is-indeterminate {
|
|
position: relative;
|
|
}
|
|
|
|
.share-bar.is-indeterminate span {
|
|
position: absolute;
|
|
inset: 0 auto 0 0;
|
|
width: 38%;
|
|
transition: none;
|
|
animation: share-sweep 1.15s cubic-bezier(0.5, 0, 0.5, 1) infinite;
|
|
}
|
|
|
|
@keyframes share-sweep {
|
|
from {
|
|
transform: translateX(-105%);
|
|
}
|
|
to {
|
|
transform: translateX(280%);
|
|
}
|
|
}
|
|
|
|
.share-progress-wait {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.share-error {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
color: #b8442a;
|
|
font-size: 9.5px;
|
|
font-weight: 620;
|
|
}
|
|
|
|
.share-foot {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
border-top: 1px solid rgba(96, 60, 39, 0.08);
|
|
padding-top: 10px;
|
|
color: #a08578;
|
|
font-size: 8.5px;
|
|
}
|
|
|
|
.share-foot kbd {
|
|
flex: none;
|
|
padding: 2px 6px;
|
|
border: 1px solid rgba(104, 68, 47, 0.12);
|
|
border-radius: 5px;
|
|
color: #7c5d4d;
|
|
background: rgba(255, 255, 255, 0.8);
|
|
font-family: inherit;
|
|
font-size: 8px;
|
|
font-weight: 640;
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------- */
|
|
/* Incoming file notice (receiver side of a LAN share) */
|
|
/* ------------------------------------------------------------------------- */
|
|
|
|
.share-notice {
|
|
position: fixed;
|
|
inset: 6px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 9px;
|
|
padding: 13px 14px 11px;
|
|
overflow: hidden;
|
|
border: 1px solid rgba(92, 56, 35, 0.12);
|
|
border-radius: 18px;
|
|
background: linear-gradient(165deg, #fffbf7, #fdf0e5 70%, #fbe6d9);
|
|
box-shadow:
|
|
0 22px 54px rgba(58, 31, 16, 0.24),
|
|
inset 0 1px 0 rgba(255, 255, 255, 0.72);
|
|
animation: share-notice-in 0.22s cubic-bezier(0.22, 0.68, 0.32, 1) both;
|
|
}
|
|
|
|
@keyframes share-notice-in {
|
|
from {
|
|
opacity: 0;
|
|
transform: translateY(10px) scale(0.98);
|
|
}
|
|
}
|
|
|
|
.share-notice-head {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
min-width: 0;
|
|
}
|
|
|
|
.share-notice-glyph {
|
|
display: grid;
|
|
place-items: center;
|
|
width: 26px;
|
|
height: 26px;
|
|
flex: none;
|
|
border-radius: 9px;
|
|
color: #fff6f1;
|
|
background: linear-gradient(140deg, #ff9459, #ea5423);
|
|
box-shadow: 0 6px 14px rgba(228, 83, 39, 0.26);
|
|
}
|
|
|
|
.share-notice-kicker {
|
|
flex: 1;
|
|
min-width: 0;
|
|
overflow: hidden;
|
|
color: #7d5c4b;
|
|
font-size: 9.5px;
|
|
font-weight: 640;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.share-notice-count {
|
|
flex: none;
|
|
padding: 2px 7px;
|
|
border-radius: 999px;
|
|
color: #9a705c;
|
|
background: rgba(242, 106, 51, 0.1);
|
|
font-size: 9px;
|
|
font-weight: 680;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.share-notice-count.is-low {
|
|
color: #b8442a;
|
|
background: rgba(228, 83, 39, 0.16);
|
|
}
|
|
|
|
.share-notice-file {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 2px;
|
|
padding: 9px 11px;
|
|
border: 1px solid rgba(96, 60, 39, 0.09);
|
|
border-radius: 12px;
|
|
background: rgba(255, 255, 255, 0.72);
|
|
}
|
|
|
|
.share-notice-file strong {
|
|
overflow: hidden;
|
|
color: #45302a;
|
|
font-size: 11.5px;
|
|
font-weight: 660;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
.share-notice-file small {
|
|
color: #a08578;
|
|
font-size: 8.5px;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
|
|
.share-notice-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.share-notice-actions button {
|
|
display: inline-flex;
|
|
flex: 1;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 6px;
|
|
padding: 8px 10px;
|
|
border-radius: 11px;
|
|
font-size: 10px;
|
|
font-weight: 670;
|
|
cursor: pointer;
|
|
transition:
|
|
transform 0.14s ease,
|
|
background 0.14s ease,
|
|
box-shadow 0.14s ease;
|
|
}
|
|
|
|
.share-notice-actions button:hover {
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.share-notice-accept {
|
|
border: 0;
|
|
color: #fff7f2;
|
|
background: linear-gradient(135deg, #ff8a4c, #e4531f);
|
|
box-shadow: 0 10px 22px rgba(228, 83, 39, 0.3);
|
|
}
|
|
|
|
.share-notice-decline {
|
|
border: 1px solid rgba(101, 64, 43, 0.14);
|
|
color: #6b4c3d;
|
|
background: rgba(255, 255, 255, 0.78);
|
|
}
|
|
|
|
.share-notice-decline:hover {
|
|
border-color: rgba(242, 106, 51, 0.3);
|
|
background: #fff;
|
|
}
|
|
|
|
/* The countdown doubles as the deadline, so it is drawn rather than only counted. */
|
|
.share-notice-bar {
|
|
height: 3px;
|
|
overflow: hidden;
|
|
border-radius: 999px;
|
|
background: rgba(120, 74, 45, 0.12);
|
|
}
|
|
|
|
.share-notice-bar span {
|
|
display: block;
|
|
height: 100%;
|
|
border-radius: 999px;
|
|
background: linear-gradient(90deg, rgba(249, 160, 95, 0.85), rgba(228, 83, 31, 0.85));
|
|
transition: width 0.25s linear;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.share-notice {
|
|
animation: none;
|
|
}
|
|
}
|
|
|
|
/* ------------------------------------------------------------------------- */
|
|
/* Pinned screenshot */
|
|
/* ------------------------------------------------------------------------- */
|
|
|
|
.pin-shell {
|
|
position: fixed;
|
|
inset: 0;
|
|
overflow: hidden;
|
|
border-radius: 12px;
|
|
background: #201b18;
|
|
}
|
|
|
|
.pin-surface {
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
border: 1px solid rgba(255, 255, 255, 0.24);
|
|
border-radius: 12px;
|
|
background: #201b18;
|
|
}
|
|
|
|
.pin-surface img {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.pin-loading {
|
|
width: 100%;
|
|
height: 100%;
|
|
background: linear-gradient(120deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
|
|
}
|
|
|
|
.pin-actions {
|
|
position: absolute;
|
|
top: 8px;
|
|
right: 8px;
|
|
display: flex;
|
|
gap: 5px;
|
|
opacity: 0;
|
|
transition: opacity 0.15s ease;
|
|
}
|
|
|
|
.pin-shell:hover .pin-actions {
|
|
opacity: 1;
|
|
}
|
|
|
|
.pin-actions button {
|
|
width: 26px;
|
|
height: 26px;
|
|
display: grid;
|
|
place-items: center;
|
|
border: 0;
|
|
border-radius: 8px;
|
|
color: white;
|
|
background: rgba(24, 20, 18, 0.72);
|
|
box-shadow: 0 6px 16px rgba(0, 0, 0, 0.24);
|
|
backdrop-filter: blur(10px);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.pin-actions button:hover {
|
|
background: rgba(240, 79, 36, 0.92);
|
|
}
|
|
|
|
.pin-error {
|
|
position: fixed;
|
|
inset: 0;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 18px;
|
|
border-radius: 12px;
|
|
color: #fff5ed;
|
|
background: rgba(32, 24, 21, 0.88);
|
|
font-size: 12px;
|
|
text-align: center;
|
|
}
|
|
|
|
/* The radial window is transparent, so a blurred backdrop composites badly there. */
|
|
body[data-view="radial"] .share-backdrop {
|
|
background: rgba(40, 25, 18, 0.16);
|
|
backdrop-filter: none;
|
|
}
|