/* 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; } .loading-bar { height: 12px; margin: 18px 0 8px; border-radius: 999px; overflow: hidden; background: rgba(90, 70, 48, 0.12); } .loading-bar-fill { width: 0%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #9ce84b, #f0d35b); transition: width 160ms ease; } .loading-percent { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; } #app { width: min(1480px, 100vw); margin: 0 auto; padding: 18px; position: relative; } .topbar { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-bottom: 16px; } .top-left { display: flex; align-items: center; gap: 12px; 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; } .subtitle { margin: 0; color: var(--muted); font-size: clamp(11px, 1.1vw, 13px); line-height: 1.35; white-space: nowrap; } .top-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; } .btn, .tool { border: 1px solid var(--line); background: rgba(255,255,255,0.76); border-radius: 999px; padding: 9px 13px; 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 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-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: 8px; } .tool { --tool-main-icon-size: 30px; --tool-watermark-size: 0px; border-radius: 12px; display: grid; grid-template-rows: 27px minmax(1.05em, auto); align-items: start; justify-items: center; gap: 0; padding: 3px 5px 4px; min-height: 36px; font-size: 12px; line-height: 1.08; letter-spacing: -0.015em; text-align: center; position: relative; overflow: hidden; background-repeat: no-repeat; background-position: center 4px, center; background-size: var(--tool-main-icon-size) var(--tool-main-icon-size), cover; } .tool::before { content: ""; position: absolute; left: 50%; top: 3px; width: var(--tool-main-icon-size); height: var(--tool-main-icon-size); transform: translateX(-50%); 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-row: 2; align-self: start; max-width: 100%; min-width: 0; overflow-wrap: anywhere; font-size: 12px; line-height: 1.12; font-weight: 700; text-shadow: 0 1px 0 rgba(255,255,255,0.62); } .tool.tool-has-canvas-icon { --tool-icon: none; grid-template-rows: 34px minmax(1.05em, auto); min-height: 44px; padding-top: 1px; } .tool.tool-has-canvas-icon::before, .tool.tool-has-canvas-icon::after { background: none !important; } .tool-sprite-preview { position: absolute; left: 50%; top: -5px; width: 48px; height: 48px; transform: translateX(-50%); pointer-events: none; z-index: 1; filter: drop-shadow(0 2px 3px rgba(52,40,26,0.12)); } .tool-sprite-watermark { display: none !important; } .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="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="water_bowl"] { --tool-icon: url("../assets/ui/tool_water_bowl.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=15.20.16"); } .tool[data-tool="protein"] { --tool-icon: url("../assets/ui/tool_protein.webp?v=15.20.16"); } .tool[data-tool="niteropu"] { --tool-icon: url("../assets/ui/tool_niteropu.webp?v=15.20.16"); } .tool[data-tool="ammo"] { --tool-icon: url("../assets/ui/tool_ammo.webp?v=15.20.16"); } .tool[data-tool="mystery_drug"] { --tool-icon: url("../assets/ui/tool_mystery_drug.webp?v=15.20.16"); } .tool[data-tool="mercury"] { --tool-icon: url("../assets/ui/tool_mercury.webp?v=15.20.16"); } .tool[data-tool="giant_drug"] { --tool-icon: url("../assets/ui/tool_giant_drug.webp?v=15.20.16"); } .tool[data-tool="dwarf_drug"] { --tool-icon: url("../assets/ui/tool_dwarf_drug.webp?v=15.20.16"); } .tool[data-tool="zunda_juice"] { --tool-icon: url("../assets/ui/tool_zunda_juice.webp?v=15.20.16"); } .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; } /* v16.07.08: right menu fixed quick tabs */ .panel-quick-tabs { position: sticky; top: 0; z-index: 12; display: grid; grid-template-columns: repeat(4, 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); }