/* 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-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; } #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; } .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); max-height: calc(100dvh - 36px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; } .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); max-height: calc(100dvh - 36px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; } .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; } .signal-channel-label { font-size: 13px; color: var(--ink); font-weight: 700; } .signal-channel-picker { display: grid; grid-template-columns: repeat(3, minmax(44px, 1fr)); gap: 7px; } .signal-channel-picker button { min-height: 38px; border-radius: 10px; border: 1px solid rgba(84,68,48,0.18); background: rgba(255,255,255,0.78); color: var(--ink); font: 700 14px ui-rounded, sans-serif; cursor: pointer; } .signal-channel-picker button:hover { background: rgba(255,248,232,0.98); } .signal-channel-picker button.active { background: rgba(78,179,224,0.22); border-color: rgba(42,133,184,0.58); box-shadow: inset 0 0 0 1px rgba(42,133,184,0.18); } .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, #reciprocatorCanvas { 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 { place-items: start center; padding: 8px; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; } .rotator-editor-panel { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); padding: 10px; } .rotator-editor-controls label { grid-template-columns: 1fr; align-items: stretch; } .rotator-editor-tools { max-height: 22vh; overflow-y: auto; padding-right: 2px; } #rotatorCanvas, #reciprocatorCanvas { height: min(44vh, 270px); } } .fan-editor-panel { width: min(430px, calc(100vw - 28px)); } .fan-editor-help { color: var(--muted); font-size: 12px; line-height: 1.45; margin: 0 2px 10px; } .fan-editor-controls label { grid-template-columns: 56px 1fr 72px auto; } .fan-editor-controls .fan-editor-check { 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); } .fan-editor-controls input[type="checkbox"] { accent-color: #70aee8; } @media (max-width: 560px) { .fan-editor-controls label { grid-template-columns: 1fr; align-items: stretch; } .fan-editor-panel { width: calc(100vw - 16px); } } /* v39.15.130: only in-game overlay windows scroll when they exceed the viewport. Right-panel cards and tool categories intentionally keep the older stable layout. */ .field-dialog, .signboard-editor, .rotator-editor { overflow: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; align-items: flex-start; justify-items: center; box-sizing: border-box; padding: 12px; } .field-dialog-panel, .signboard-editor-panel, .rotator-editor-panel { max-height: calc(100dvh - 24px); overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; box-sizing: border-box; } .save-confirm-dialog { z-index: 36; } .save-confirm-panel { width: min(390px, 100%); } .save-confirm-message { margin-bottom: 8px; color: var(--ink); font-size: 14px; }