720 lines
19 KiB
CSS
720 lines
19 KiB
CSS
/* CSS split file; preserve manifest load order. */
|
|
@import url("https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;700&family=M+PLUS+Rounded+1c:wght@400;500;700&family=Yomogi&display=swap");
|
|
|
|
:root {
|
|
--bg: #f7f5ec;
|
|
--panel: rgba(255,251,245,0.90);
|
|
--ink: #2a241d;
|
|
--muted: #756a5e;
|
|
--line: rgba(84, 68, 48, 0.18);
|
|
--accent: #9ce84b;
|
|
--accent-2: #f5a8b7;
|
|
--danger: #b64545;
|
|
--shadow: 0 18px 50px rgba(64, 48, 32, 0.14);
|
|
--radius: 18px;
|
|
--bubble-font: "Yomogi", "Zen Maru Gothic", "M PLUS Rounded 1c", ui-rounded, sans-serif;
|
|
}
|
|
|
|
* { box-sizing: border-box; }
|
|
|
|
body {
|
|
margin: 0;
|
|
font-family: "Zen Maru Gothic", "M PLUS Rounded 1c", ui-rounded, "Hiragino Maru Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
|
|
background:
|
|
radial-gradient(circle at 12% 0%, rgba(168, 228, 113, 0.28), transparent 33%),
|
|
radial-gradient(circle at 88% 8%, rgba(255, 222, 147, 0.24), transparent 28%),
|
|
radial-gradient(circle at 82% 90%, rgba(126, 181, 120, 0.16), transparent 34%),
|
|
linear-gradient(180deg, #dff0ff 0%, #edf8ff 12%, #f9f6eb 46%, var(--bg) 100%);
|
|
color: var(--ink);
|
|
min-height: 100vh;
|
|
overflow-x: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
button {
|
|
font: inherit;
|
|
color: inherit;
|
|
}
|
|
|
|
.loading-screen {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 9999;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 24px;
|
|
background:
|
|
radial-gradient(circle at 50% 30%, rgba(164, 225, 104, 0.22), transparent 32%),
|
|
linear-gradient(180deg, rgba(239, 248, 255, 0.98), rgba(247, 245, 236, 0.98));
|
|
transition: opacity 180ms ease, visibility 180ms ease;
|
|
}
|
|
.loading-screen.hidden {
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
pointer-events: none;
|
|
}
|
|
.loading-panel {
|
|
width: min(420px, 92vw);
|
|
padding: 24px 22px;
|
|
border-radius: 24px;
|
|
border: 1px solid rgba(84, 68, 48, 0.16);
|
|
background: rgba(255, 252, 246, 0.92);
|
|
box-shadow: 0 18px 48px rgba(64, 48, 32, 0.16);
|
|
text-align: center;
|
|
}
|
|
.loading-title {
|
|
font-weight: 700;
|
|
font-size: 18px;
|
|
letter-spacing: 0.04em;
|
|
margin-bottom: 8px;
|
|
}
|
|
.loading-text {
|
|
color: var(--muted);
|
|
font-size: 13px;
|
|
line-height: 1.55;
|
|
min-height: 1.55em;
|
|
}
|
|
|
|
#app {
|
|
width: min(1480px, 100vw);
|
|
margin: 0 auto;
|
|
padding: 18px;
|
|
position: relative;
|
|
}
|
|
|
|
.topbar {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 14px;
|
|
align-items: center;
|
|
flex-wrap: nowrap;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.top-left {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
}
|
|
|
|
.brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex-wrap: nowrap;
|
|
min-width: 0;
|
|
}
|
|
|
|
.room-link {
|
|
text-decoration: none;
|
|
white-space: nowrap;
|
|
background: rgba(255,255,255,0.86);
|
|
}
|
|
|
|
h1 {
|
|
margin: 0;
|
|
font-size: clamp(24px, 3.4vw, 42px);
|
|
letter-spacing: 0.03em;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
|
|
.top-actions {
|
|
display: flex;
|
|
gap: 6px;
|
|
flex: 0 0 auto;
|
|
flex-wrap: nowrap;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.btn, .tool {
|
|
border: 1px solid var(--line);
|
|
background: rgba(255,255,255,0.76);
|
|
border-radius: 999px;
|
|
padding: 8px 11px;
|
|
cursor: pointer;
|
|
box-shadow: 0 4px 14px rgba(80,60,40,0.06);
|
|
transition: transform 130ms ease, background 130ms ease, border-color 130ms ease;
|
|
user-select: none;
|
|
}
|
|
|
|
.btn:hover, .tool:hover { transform: translateY(-1px); background: #fff; }
|
|
.btn:active, .tool:active { transform: translateY(1px); }
|
|
|
|
.btn.primary {
|
|
background: linear-gradient(180deg, #a9ef5d, #8bdc3f);
|
|
border-color: rgba(89, 128, 47, 0.28);
|
|
}
|
|
|
|
.btn.danger {
|
|
color: #7a2828;
|
|
}
|
|
|
|
.layout {
|
|
display: grid;
|
|
grid-template-columns: minmax(520px, 1fr) 380px;
|
|
gap: 16px;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.stage-wrap {
|
|
position: relative;
|
|
background: linear-gradient(180deg, rgba(255,255,255,0.46), rgba(246, 240, 228, 0.56));
|
|
border: 1px solid rgba(84, 68, 48, 0.12);
|
|
border-radius: calc(var(--radius) + 8px);
|
|
overflow: hidden;
|
|
box-shadow: 0 16px 42px rgba(42, 45, 80, 0.12), inset 0 0 0 1px rgba(255,255,255,0.24);
|
|
min-height: var(--field-min-height, 620px);
|
|
}
|
|
|
|
#gameCanvas {
|
|
width: 100%;
|
|
height: var(--field-height, calc(100vh - 140px));
|
|
min-height: var(--field-min-height, 620px);
|
|
display: block;
|
|
cursor: crosshair;
|
|
background: linear-gradient(180deg, #cfe3d3, #d9d0ad);
|
|
}
|
|
|
|
.field-dialog {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 30;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 18px;
|
|
background: rgba(34, 29, 22, 0.38);
|
|
backdrop-filter: blur(3px);
|
|
}
|
|
.field-dialog.hidden { display: none; }
|
|
.field-dialog-panel {
|
|
width: min(440px, 100%);
|
|
max-height: calc(100vh - 36px);
|
|
overflow: auto;
|
|
border-radius: 12px;
|
|
padding: 16px;
|
|
background: rgba(255, 252, 245, 0.96);
|
|
border: 1px solid rgba(84,68,48,0.16);
|
|
box-shadow: 0 18px 46px rgba(40, 32, 24, 0.22);
|
|
}
|
|
.field-dialog-panel h2 {
|
|
margin: 0 0 12px;
|
|
font-size: 17px;
|
|
}
|
|
.field-choice-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 8px;
|
|
}
|
|
.field-choice {
|
|
min-height: 74px;
|
|
border: 1px solid rgba(84,68,48,0.16);
|
|
border-radius: 12px;
|
|
background: linear-gradient(180deg, rgba(255,255,255,0.86), rgba(241,235,221,0.72));
|
|
cursor: pointer;
|
|
color: var(--ink);
|
|
}
|
|
.field-choice:hover { border-color: rgba(112,178,66,0.45); }
|
|
.field-choice.active,
|
|
.field-choice[aria-pressed="true"] {
|
|
border-color: rgba(112,178,66,0.72);
|
|
box-shadow: 0 0 0 2px rgba(112,178,66,0.18), inset 0 0 0 1px rgba(255,255,255,0.64);
|
|
background: linear-gradient(180deg, rgba(248,255,240,0.96), rgba(231,246,210,0.82));
|
|
}
|
|
.field-choice strong, .field-choice span { display: block; }
|
|
.field-choice strong { font-size: 15px; }
|
|
.field-choice span { margin-top: 4px; color: var(--muted); font-size: 12px; }
|
|
.field-dialog-lead {
|
|
margin: -4px 0 12px;
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
}
|
|
.field-dialog-section-title {
|
|
margin: 12px 0 7px;
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
color: rgba(75,62,43,0.78);
|
|
}
|
|
.reset-dialog-panel { width: min(760px, 100%); }
|
|
.reset-preset-choice-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
|
|
.reset-preset-choice-grid .field-choice { min-height: 66px; padding: 7px 5px; }
|
|
.field-dialog-actions {
|
|
margin-top: 12px;
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
}
|
|
.archive-reset-dialog-panel {
|
|
width: min(420px, 100%);
|
|
}
|
|
.archive-reset-actions {
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
}
|
|
.archive-reset-actions .btn {
|
|
min-width: 132px;
|
|
}
|
|
|
|
|
|
.ecology-dialog-panel {
|
|
width: min(760px, 100%);
|
|
max-height: calc(100vh - 36px);
|
|
overflow-y: auto;
|
|
overscroll-behavior: auto;
|
|
}
|
|
.ecology-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 10px;
|
|
}
|
|
.ecology-card {
|
|
display: grid;
|
|
grid-template-columns: 72px minmax(0, 1fr);
|
|
gap: 10px;
|
|
align-items: center;
|
|
padding: 10px;
|
|
border-radius: 14px;
|
|
background: linear-gradient(180deg, rgba(255,255,255,0.88), rgba(243,237,225,0.76));
|
|
border: 1px solid rgba(84,68,48,0.12);
|
|
}
|
|
.ecology-card img {
|
|
width: 72px;
|
|
height: 72px;
|
|
object-fit: contain;
|
|
filter: drop-shadow(0 8px 18px rgba(56, 44, 32, 0.10));
|
|
}
|
|
.ecology-card strong {
|
|
display: block;
|
|
margin-bottom: 4px;
|
|
font-size: 15px;
|
|
}
|
|
.ecology-card p {
|
|
margin: 0;
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
line-height: 1.40;
|
|
}
|
|
|
|
.toast {
|
|
position: absolute;
|
|
left: 50%;
|
|
bottom: 22px;
|
|
transform: translateX(-50%);
|
|
background: rgba(42,36,29,0.86);
|
|
color: white;
|
|
padding: 10px 16px;
|
|
border-radius: 999px;
|
|
font-size: 12px;
|
|
pointer-events: none;
|
|
opacity: 1;
|
|
transition: opacity 200ms ease, transform 200ms ease;
|
|
}
|
|
.toast.hidden { opacity: 0; transform: translateX(-50%) translateY(8px); }
|
|
|
|
.panel {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
height: calc(100vh - 120px);
|
|
max-height: calc(100vh - 120px);
|
|
overflow-y: auto;
|
|
overflow-x: hidden;
|
|
padding-right: 3px;
|
|
}
|
|
|
|
.card {
|
|
position: relative;
|
|
background: var(--panel);
|
|
border: 1px solid var(--line);
|
|
border-radius: var(--radius);
|
|
padding: 14px;
|
|
box-shadow: 0 10px 30px rgba(64, 48, 32, 0.08);
|
|
backdrop-filter: blur(10px);
|
|
position: relative;
|
|
}
|
|
|
|
.card h2 {
|
|
margin: 0 0 12px;
|
|
font-size: 17px;
|
|
letter-spacing: 0.03em;
|
|
}
|
|
|
|
.tool-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0,1fr));
|
|
gap: 6px;
|
|
}
|
|
|
|
.tool {
|
|
--tool-main-icon-size: 28px;
|
|
--tool-icon-zoom: 1.05;
|
|
--tool-watermark-size: 0px;
|
|
border-radius: 12px;
|
|
display: grid;
|
|
grid-template-columns: 29px minmax(0,1fr);
|
|
align-items: center;
|
|
justify-items: stretch;
|
|
gap: 3px;
|
|
padding: 4px 4px 4px 2px;
|
|
min-height: 47px;
|
|
font-size: 10.2px;
|
|
line-height: 1.06;
|
|
letter-spacing: -0.015em;
|
|
text-align: left;
|
|
position: relative;
|
|
overflow: hidden;
|
|
background-repeat: no-repeat;
|
|
background-position: left 3px center, center;
|
|
background-size: var(--tool-main-icon-size) var(--tool-main-icon-size), cover;
|
|
}
|
|
.tool::before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 3px;
|
|
top: 50%;
|
|
width: var(--tool-main-icon-size);
|
|
height: var(--tool-main-icon-size);
|
|
transform: translateY(-50%) scale(var(--tool-icon-zoom, 1));
|
|
transform-origin: center;
|
|
background: var(--tool-icon) center / contain no-repeat;
|
|
opacity: 0.98;
|
|
z-index: 1;
|
|
filter: drop-shadow(0 2px 3px rgba(52,40,26,0.12));
|
|
}
|
|
.tool::after {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
background: none;
|
|
display: none;
|
|
pointer-events: none;
|
|
z-index: 0;
|
|
}
|
|
.tool-label {
|
|
position: relative;
|
|
z-index: 2;
|
|
display: block;
|
|
grid-column: 2;
|
|
align-self: center;
|
|
justify-self: start;
|
|
max-width: 100%;
|
|
min-width: 0;
|
|
overflow-wrap: anywhere;
|
|
font-size: 10.2px;
|
|
line-height: 1.10;
|
|
font-weight: 700;
|
|
max-width: 5.05em;
|
|
word-break: normal;
|
|
overflow-wrap: anywhere;
|
|
text-shadow: 0 1px 0 rgba(255,255,255,0.62);
|
|
}
|
|
|
|
.tool.tool-has-canvas-icon { --tool-icon: none; grid-template-columns: 29px minmax(0,1fr); min-height: 47px; padding-top: 4px; }
|
|
|
|
.tool.tool-has-canvas-icon::before,
|
|
.tool.tool-has-canvas-icon::after { background: none !important; }
|
|
.tool-sprite-preview {
|
|
position: absolute;
|
|
left: 1px;
|
|
top: 50%;
|
|
width: 30px;
|
|
height: 30px;
|
|
transform: translateY(-50%);
|
|
pointer-events: none;
|
|
z-index: 1;
|
|
filter: drop-shadow(0 2px 3px rgba(52,40,26,0.12));
|
|
}
|
|
.tool[data-tool="giant_drug"] .tool-sprite-preview { width: 39px; height: 39px; left: -4px; }
|
|
.tool[data-tool="dwarf_drug"] .tool-sprite-preview,
|
|
.tool[data-tool="oshibyo"] .tool-sprite-preview { width: 22px; height: 22px; left: 5px; }
|
|
.tool[data-tool="poke"], .tool[data-tool="water_hose"] { --tool-icon-zoom: 0.92; }
|
|
.tool[data-tool="observe"] { --tool-icon: url("../assets/ui/tool_observe.webp"); }
|
|
.tool[data-tool="zunchi"] { --tool-icon: url("../assets/ui/tool_zunchi.webp"); }
|
|
.tool[data-tool="sweet"] { --tool-icon: url("../assets/ui/tool_sweet.webp"); }
|
|
.tool[data-tool="grass"] { --tool-icon: url("../assets/ui/tool_grass.webp"); }
|
|
.tool[data-tool="stone"] { --tool-icon: url("../assets/ui/tool_stone.webp"); }
|
|
.tool[data-tool="genkotsu"] { --tool-icon: url("../assets/ui/tool_genkotsu.webp"); }
|
|
.tool[data-tool="firecracker"] { --tool-icon: url("../assets/ui/tool_firecracker.webp"); }
|
|
.tool[data-tool="shoot"] { --tool-icon: url("../assets/ui/tool_shoot.png"); --tool-icon-zoom: 1.48; }
|
|
.tool[data-tool="fence_v"] { --tool-icon: url("../assets/ui/tool_fence_v.webp"); }
|
|
.tool[data-tool="fence_h"] { --tool-icon: url("../assets/ui/tool_fence_h.webp"); }
|
|
.tool[data-tool="bed"] { --tool-icon: url("../assets/ui/tool_bed.webp"); }
|
|
.tool[data-tool="love_mochi"] { --tool-icon: url("../assets/ui/tool_love_mochi.webp"); }
|
|
.tool[data-tool="fight_mochi"] { --tool-icon: url("../assets/ui/tool_fight_mochi.webp"); }
|
|
|
|
.tool[data-tool="signboard"] { --tool-icon: url("../assets/ui/tool_signboard.webp"); }
|
|
.tool[data-tool="duplicator"] { --tool-icon: url("../assets/ui/tool_duplicator.webp"); }
|
|
.tool[data-tool="pushpin"] { --tool-icon: url("../assets/ui/tool_pushpin.webp"); }
|
|
.tool[data-tool="oshibyo"] { --tool-icon: url("../assets/ui/tool_oshibyo.webp"); }
|
|
|
|
/* Generated parameter item tool icons. */
|
|
.tool[data-tool="laxative"] { --tool-icon: url("../assets/ui/tool_laxative.webp?v=39.15.92"); }
|
|
.tool[data-tool="protein"] { --tool-icon: url("../assets/ui/tool_protein.webp?v=39.15.92"); }
|
|
.tool[data-tool="niteropu"] { --tool-icon: url("../assets/ui/tool_niteropu.webp?v=39.15.92"); }
|
|
.tool[data-tool="ammo"] { --tool-icon: url("../assets/ui/tool_ammo.webp?v=39.15.92"); }
|
|
.tool[data-tool="mystery_drug"] { --tool-icon: url("../assets/ui/tool_mystery_drug.webp?v=39.15.92"); }
|
|
.tool[data-tool="mercury"] { --tool-icon: url("../assets/ui/tool_mercury.webp?v=39.15.92"); }
|
|
.tool[data-tool="giant_drug"] { --tool-icon: url("../assets/ui/tool_giant_drug.webp?v=39.15.92"); }
|
|
.tool[data-tool="dwarf_drug"] { --tool-icon: url("../assets/ui/tool_dwarf_drug.webp?v=39.15.92"); }
|
|
.tool[data-tool="zunda_juice"] { --tool-icon: url("../assets/ui/tool_zunda_juice.webp?v=39.15.92"); }
|
|
|
|
|
|
.signboard-editor {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 42;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 18px;
|
|
background: rgba(34, 29, 22, 0.34);
|
|
backdrop-filter: blur(3px);
|
|
}
|
|
.signboard-editor.hidden { display: none; }
|
|
.signboard-editor-panel {
|
|
width: min(220px, calc(100vw - 28px));
|
|
border-radius: 12px;
|
|
padding: 14px;
|
|
background: linear-gradient(180deg, rgba(255,253,247,0.98), rgba(245,237,221,0.96));
|
|
border: 1px solid rgba(94, 70, 42, 0.20);
|
|
box-shadow: 0 22px 60px rgba(36, 28, 20, 0.28), inset 0 1px 0 rgba(255,255,255,0.72);
|
|
}
|
|
.signboard-editor-titlebar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
margin: 0 0 10px;
|
|
padding-bottom: 8px;
|
|
border-bottom: 1px solid rgba(94, 70, 42, 0.13);
|
|
}
|
|
.signboard-editor-titlebar h2 {
|
|
margin: 0;
|
|
font-size: 16px;
|
|
letter-spacing: .03em;
|
|
}
|
|
.signboard-editor-close {
|
|
width: 30px;
|
|
height: 30px;
|
|
border-radius: 999px;
|
|
border: 1px solid rgba(84,68,48,0.16);
|
|
background: rgba(255,255,255,0.72);
|
|
color: var(--ink);
|
|
font-size: 19px;
|
|
line-height: 1;
|
|
cursor: pointer;
|
|
}
|
|
.signboard-editor-close:hover { background: rgba(255,248,232,0.96); }
|
|
#signboardEditorText {
|
|
width: 7.4em;
|
|
max-width: 100%;
|
|
box-sizing: border-box;
|
|
display: block;
|
|
margin: 0 auto;
|
|
resize: none;
|
|
min-height: 88px;
|
|
max-height: 88px;
|
|
overflow: hidden;
|
|
white-space: pre;
|
|
border-radius: 12px;
|
|
border: 1px solid rgba(84,68,48,0.18);
|
|
background: rgba(255,255,255,0.84);
|
|
padding: 10px 11px;
|
|
color: var(--ink);
|
|
font: 15px/1.55 ui-rounded, "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
|
|
letter-spacing: 0.03em;
|
|
outline: none;
|
|
}
|
|
#signboardEditorText:focus {
|
|
border-color: rgba(112,178,66,0.54);
|
|
box-shadow: 0 0 0 3px rgba(112,178,66,0.14);
|
|
}
|
|
.signboard-editor-meta {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 2px 8px;
|
|
justify-content: space-between;
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
margin: 6px 2px 0;
|
|
}
|
|
.signboard-editor-actions {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
gap: 8px;
|
|
margin-top: 12px;
|
|
}
|
|
|
|
.robot-cleaner-editor-panel { width: min(300px, calc(100vw - 28px)); }
|
|
.robot-cleaner-editor-help {
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
line-height: 1.45;
|
|
margin: 0 2px 10px;
|
|
}
|
|
.robot-cleaner-targets {
|
|
display: grid;
|
|
gap: 8px;
|
|
margin: 8px 0 2px;
|
|
}
|
|
.robot-cleaner-targets label {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 10px;
|
|
border-radius: 10px;
|
|
background: rgba(255,255,255,0.58);
|
|
border: 1px solid rgba(84,68,48,0.11);
|
|
cursor: pointer;
|
|
user-select: none;
|
|
}
|
|
.robot-cleaner-targets input { accent-color: #70b242; }
|
|
|
|
/* v16.07.08: right menu fixed quick tabs */
|
|
.panel-quick-tabs {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 12;
|
|
display: grid;
|
|
grid-template-columns: repeat(6, minmax(0, 1fr));
|
|
gap: 6px;
|
|
padding: 8px 4px 9px;
|
|
margin: -2px 0 2px;
|
|
background: linear-gradient(180deg, rgba(244, 250, 247, 0.96), rgba(244, 250, 247, 0.78));
|
|
border-bottom: 1px solid rgba(102, 169, 215, 0.34);
|
|
box-shadow: 0 8px 16px rgba(79, 103, 121, 0.10);
|
|
backdrop-filter: blur(8px);
|
|
}
|
|
.panel-quick-tabs button {
|
|
min-width: 0;
|
|
border: 1px solid rgba(102, 169, 215, 0.34);
|
|
border-radius: 999px;
|
|
padding: 7px 5px;
|
|
background: rgba(255,255,255,0.76);
|
|
color: var(--ink);
|
|
font-size: 11px;
|
|
line-height: 1.1;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
box-shadow: 0 3px 9px rgba(68, 92, 110, 0.08);
|
|
}
|
|
.panel-quick-tabs button:hover,
|
|
.panel-quick-tabs button.active {
|
|
background: #efffde;
|
|
border-color: rgba(103,178,44,0.46);
|
|
}
|
|
|
|
.rotator-editor {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 43;
|
|
display: grid;
|
|
place-items: center;
|
|
padding: 18px;
|
|
background: rgba(34, 29, 22, 0.34);
|
|
backdrop-filter: blur(3px);
|
|
}
|
|
.rotator-editor.hidden { display: none; }
|
|
.rotator-editor-panel {
|
|
width: min(620px, calc(100vw - 28px));
|
|
border-radius: 14px;
|
|
padding: 14px;
|
|
background: linear-gradient(180deg, rgba(255,253,247,0.98), rgba(245,237,221,0.97));
|
|
border: 1px solid rgba(94, 70, 42, 0.20);
|
|
box-shadow: 0 22px 60px rgba(36, 28, 20, 0.28), inset 0 1px 0 rgba(255,255,255,0.72);
|
|
}
|
|
.rotator-editor-titlebar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
margin-bottom: 10px;
|
|
padding-bottom: 8px;
|
|
border-bottom: 1px solid rgba(94, 70, 42, 0.13);
|
|
}
|
|
.rotator-editor-titlebar h2 { margin: 0; font-size: 16px; letter-spacing: .03em; }
|
|
.rotator-editor-close {
|
|
width: 30px;
|
|
height: 30px;
|
|
border-radius: 999px;
|
|
border: 1px solid rgba(84,68,48,0.16);
|
|
background: rgba(255,255,255,0.72);
|
|
color: var(--ink);
|
|
font-size: 19px;
|
|
line-height: 1;
|
|
cursor: pointer;
|
|
}
|
|
.rotator-editor-close:hover { background: rgba(255,248,232,0.96); }
|
|
.rotator-editor-controls {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: 8px;
|
|
margin-bottom: 8px;
|
|
}
|
|
.rotator-editor-controls label {
|
|
display: grid;
|
|
grid-template-columns: auto 1fr 72px auto;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 13px;
|
|
color: var(--ink);
|
|
}
|
|
.rotator-editor-controls input[type="number"] {
|
|
width: 72px;
|
|
box-sizing: border-box;
|
|
border-radius: 8px;
|
|
border: 1px solid rgba(84,68,48,0.18);
|
|
background: rgba(255,255,255,0.84);
|
|
padding: 4px 6px;
|
|
}
|
|
.rotator-editor-tools {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px;
|
|
margin-bottom: 8px;
|
|
}
|
|
.rotator-editor-tools button {
|
|
border: 1px solid rgba(84,68,48,0.16);
|
|
background: rgba(255,255,255,0.74);
|
|
color: var(--ink);
|
|
border-radius: 999px;
|
|
padding: 5px 10px;
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
}
|
|
.rotator-editor-tools button.active {
|
|
background: rgba(137, 101, 198, 0.18);
|
|
border-color: rgba(112, 80, 170, 0.38);
|
|
font-weight: 700;
|
|
}
|
|
#rotatorCanvas {
|
|
width: 100%;
|
|
height: min(58vh, 360px);
|
|
display: block;
|
|
border-radius: 12px;
|
|
border: 1px solid rgba(84,68,48,0.20);
|
|
background: #f7f3ea;
|
|
touch-action: none;
|
|
cursor: crosshair;
|
|
}
|
|
.rotator-editor-hint {
|
|
margin: 7px 2px 0;
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
}
|
|
.rotator-editor-actions {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
gap: 8px;
|
|
margin-top: 12px;
|
|
}
|
|
@media (max-width: 560px) {
|
|
.rotator-editor-panel { padding: 10px; }
|
|
.rotator-editor-controls label { grid-template-columns: 1fr; align-items: stretch; }
|
|
#rotatorCanvas { height: 320px; }
|
|
}
|