上传文件至 /
This commit is contained in:
+188
@@ -0,0 +1,188 @@
|
|||||||
|
<!doctype html>
|
||||||
|
<html lang="zh-CN">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
|
||||||
|
<meta name="theme-color" content="#080b1b" />
|
||||||
|
<title>无声 SEKAI · 朝比奈真冬 Demo</title>
|
||||||
|
<link rel="stylesheet" href="styles.css?v=gamefeel-3" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<main class="game-shell">
|
||||||
|
<canvas id="game" width="1280" height="720" aria-label="无声 SEKAI 游戏画面"></canvas>
|
||||||
|
|
||||||
|
<section id="titleScreen" class="overlay title-screen menu-screen">
|
||||||
|
<div class="title-atmosphere" aria-hidden="true"><span class="title-rain"></span><span class="title-glow g1"></span><span class="title-glow g2"></span><span class="title-glow g3"></span><span class="title-glow g4"></span><span class="title-glow g5"></span></div>
|
||||||
|
<div class="title-copy">
|
||||||
|
<p class="eyebrow">25:00 · NIGHTCORD CONNECTED</p>
|
||||||
|
<h1>无声<br /><i>SEKAI</i></h1>
|
||||||
|
<p class="subtitle">朝比奈まふゆ / ASAHINA MAFUYU</p>
|
||||||
|
<p class="intro">「我必须找到才行——真正的声音。」<br />跨越空白 SEKAI,拾回散落的歌词。</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<nav class="menu-panel" aria-label="主菜单">
|
||||||
|
<span class="menu-index">MAIN MENU</span>
|
||||||
|
<button type="button" id="newGameButton" class="menu-button primary"><b>01</b><span>新游戏<small>NEW GAME</small></span></button>
|
||||||
|
<button type="button" id="continueButton" class="menu-button" disabled><b>02</b><span>继续游戏<small>CONTINUE</small></span></button>
|
||||||
|
<button type="button" id="controlsButton" class="menu-button"><b>03</b><span>操作说明<small>HOW TO PLAY</small></span></button>
|
||||||
|
<button type="button" id="settingsButton" class="menu-button"><b>04</b><span>游戏设置<small>SETTINGS</small></span></button>
|
||||||
|
<button type="button" id="muteButton" class="menu-button"><b>05</b><span>声音:开启<small>SOUND ON</small></span></button>
|
||||||
|
<p id="saveSummary" class="save-summary">尚无 SEKAI 记忆</p>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<div class="unit-mark" aria-hidden="true"><b>25</b><span>時、ナイトコードで。</span></div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section id="journalScreen" class="overlay hidden journal-screen menu-modal">
|
||||||
|
<div class="modal-card journal-card">
|
||||||
|
<div class="journal-heading"><div><p class="eyebrow">NIGHTCORD FIELD LOG</p><h2>声音日志</h2></div><p id="journalPlaytime">00:00</p></div>
|
||||||
|
<div class="journal-grid">
|
||||||
|
<section><h3>当前目标</h3><strong id="journalObjective"></strong><p id="journalRoute"></p></section>
|
||||||
|
<section><h3>SEKAI 共鸣</h3><div id="journalAbilities" class="journal-list"></div></section>
|
||||||
|
<section><h3>支线记录</h3><div id="journalQuests" class="journal-list"></div></section>
|
||||||
|
<section><h3>完成度</h3><div id="journalCompletion" class="journal-completion"></div></section>
|
||||||
|
</div>
|
||||||
|
<button type="button" id="journalCloseButton" class="dialog-button primary">关闭日志 <small>Q</small></button>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section id="introScreen" class="overlay hidden cinematic-screen" aria-live="polite">
|
||||||
|
<img id="introCg" class="cinematic-cg" src="assets/cg-prologue-nightcord.png" alt="序章场景" />
|
||||||
|
<div class="cinematic-noise" aria-hidden="true"></div>
|
||||||
|
<div class="cinematic-copy">
|
||||||
|
<p id="introChapter" class="eyebrow">25:00 · NIGHTCORD</p>
|
||||||
|
<p id="introSpeaker" class="cinematic-speaker">SYSTEM</p>
|
||||||
|
<p id="introText" class="cinematic-text"></p>
|
||||||
|
<div class="cinematic-progress" id="introProgress" aria-hidden="true"></div>
|
||||||
|
<div class="cinematic-actions">
|
||||||
|
<button type="button" id="introNextButton" class="dialog-button primary">继续 <small>SPACE</small></button>
|
||||||
|
<button type="button" id="introSkipButton" class="dialog-button">跳过序章</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="cinematic-signal" aria-hidden="true"><span>VOICE SIGNAL</span><i></i><i></i><i></i><i></i><i></i></div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section id="mapScreen" class="overlay hidden map-screen">
|
||||||
|
<div class="map-card">
|
||||||
|
<div class="map-heading">
|
||||||
|
<div><p class="eyebrow">SEKAI CARTOGRAPHY</p><h2>记忆地图</h2></div>
|
||||||
|
<p id="mapSummary" class="map-summary"></p>
|
||||||
|
</div>
|
||||||
|
<div id="mapRooms" class="map-rooms" aria-label="已探索的 SEKAI 地图"></div>
|
||||||
|
<div class="map-legend"><span class="legend-player">◆ 真冬</span><span class="legend-bench">▰ 记忆长椅</span><span class="legend-shrine">◇ 共鸣水晶</span><span class="legend-gate">║ 能力封印</span><span class="legend-relay">⇄ 回声捷径</span><span class="legend-terminal">▣ 记忆终端</span></div>
|
||||||
|
<button type="button" id="mapCloseButton" class="dialog-button primary">关闭地图 <small>M / TAB</small></button>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section id="controlsScreen" class="overlay hidden compact menu-modal">
|
||||||
|
<div class="modal-card">
|
||||||
|
<p class="eyebrow">HOW TO PLAY</p>
|
||||||
|
<h2>操作说明</h2>
|
||||||
|
<div class="key-grid">
|
||||||
|
<div><kbd>A D</kbd><span>移动</span></div>
|
||||||
|
<div><kbd>SPACE</kbd><span>跳跃 / 轻按短跳</span></div>
|
||||||
|
<div><kbd>↓ + SPACE</kbd><span>从薄平台向下穿越</span></div>
|
||||||
|
<div><kbd>J / X</kbd><span>轻点节拍音刃;长按凝聚冰之剑,完成后松开重斩</span></div>
|
||||||
|
<div><kbd>L / C</kbd><span>凝聚音符生成冰弓并射出冰箭(消耗 25 共鸣能量,概率冻结)</span></div>
|
||||||
|
<div><kbd>K</kbd><span>静音冲刺</span></div>
|
||||||
|
<div><kbd>↓</kbd><span>互动 / 坐下 / 读取终端</span></div>
|
||||||
|
<div><kbd>M / TAB</kbd><span>记忆地图</span></div>
|
||||||
|
<div><kbd>Q</kbd><span>声音日志 / 当前目标</span></div>
|
||||||
|
<div><kbd>ESC</kbd><span>暂停</span></div>
|
||||||
|
</div>
|
||||||
|
<p class="modal-tip">菱形音符进入屏幕下方中央判定框时按 J,可获得 PERFECT 与双倍伤害。</p>
|
||||||
|
<p class="mobile-control-tip"><b>移动端:</b>左侧摇杆移动;轻点“冰剑”普通攻击,按住可移动凝聚,完成后松开重斩;“冰弓”消耗能量射出冰箭。按住“互动/↓”再点跳跃可穿过薄平台。</p>
|
||||||
|
<button id="closeControlsButton" class="dialog-button primary">返回主菜单</button>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section id="settingsScreen" class="overlay hidden compact menu-modal settings-screen">
|
||||||
|
<div class="modal-card settings-card">
|
||||||
|
<div class="settings-heading"><div><p class="eyebrow">SYSTEM CONFIGURATION</p><h2>游戏设置</h2></div><span id="settingsContext">MAIN MENU</span></div>
|
||||||
|
<div class="settings-grid">
|
||||||
|
<section class="setting-group">
|
||||||
|
<h3>画面</h3>
|
||||||
|
<div class="setting-row"><div><b>全屏显示</b><small id="fullscreenStatus">当前为窗口模式</small></div><button type="button" id="fullscreenButton">进入全屏</button></div>
|
||||||
|
</section>
|
||||||
|
<section class="setting-group">
|
||||||
|
<h3>操作</h3>
|
||||||
|
<label class="setting-row" for="controlMode"><div><b>操作模式</b><small>自动模式会在触屏设备显示虚拟按键</small></div><select id="controlMode"><option value="auto">自动识别</option><option value="keyboard">键鼠 / PC</option><option value="touch">触控 / 移动端</option></select></label>
|
||||||
|
<p id="controlModeStatus" class="setting-note">正在检测输入设备…</p>
|
||||||
|
</section>
|
||||||
|
<section class="setting-group audio-mix" aria-label="音频设置">
|
||||||
|
<h3>声音</h3>
|
||||||
|
<label for="musicVolume"><span>BGM</span><input id="musicVolume" type="range" min="0" max="100" step="5" value="55" /><output id="musicVolumeValue">55%</output></label>
|
||||||
|
<label for="sfxVolume"><span>SFX</span><input id="sfxVolume" type="range" min="0" max="100" step="5" value="70" /><output id="sfxVolumeValue">70%</output></label>
|
||||||
|
<div class="audio-test-row"><span id="audioStatus" aria-live="polite">点击试听以启用音频</span><button type="button" id="audioTestButton">试听音频</button></div>
|
||||||
|
</section>
|
||||||
|
</div>
|
||||||
|
<button id="closeSettingsButton" class="dialog-button primary">保存并返回</button>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section id="pauseScreen" class="overlay hidden compact menu-modal">
|
||||||
|
<div class="modal-card pause-card">
|
||||||
|
<p class="eyebrow">25:00 · SUSPENDED</p>
|
||||||
|
<h2>暂停</h2>
|
||||||
|
<p class="pause-quote">世界停止了呼吸,Nightcord 仍保持连接。</p>
|
||||||
|
<div class="dialog-actions">
|
||||||
|
<button id="resumeButton" class="dialog-button primary">继续游戏 <small>ESC</small></button>
|
||||||
|
<button id="retryButton" class="dialog-button">从检查点重来</button>
|
||||||
|
<button id="pauseJournalButton" class="dialog-button">声音日志 <small>Q</small></button>
|
||||||
|
<button id="pauseSettingsButton" class="dialog-button">游戏设置</button>
|
||||||
|
<button id="pauseMuteButton" class="dialog-button">声音:开启</button>
|
||||||
|
<button id="mainMenuButton" class="dialog-button danger">返回主菜单</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<section id="endingScreen" class="overlay hidden ending menu-modal">
|
||||||
|
<img id="endingCg" class="ending-cg" src="assets/cg-ending-return.png" alt="结局场景" />
|
||||||
|
<div class="modal-card ending-card">
|
||||||
|
<p class="eyebrow">DEMO CLEAR</p>
|
||||||
|
<h2>微弱的声音,抵达了这里。</h2>
|
||||||
|
<p class="ending-copy">真冬的旅程仍将继续。</p>
|
||||||
|
<div class="dialog-actions horizontal">
|
||||||
|
<button id="restartButton" class="dialog-button primary">再次探索</button>
|
||||||
|
<button id="endingMenuButton" class="dialog-button">返回主菜单</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
|
<aside id="characterPortrait" class="character-portrait hidden" aria-hidden="true">
|
||||||
|
<div id="portraitSprite" class="portrait-sprite" aria-hidden="true"></div>
|
||||||
|
<div class="portrait-tag"><small>OWN VOICE</small><b>朝比奈 まふゆ</b></div>
|
||||||
|
</aside>
|
||||||
|
<div id="tutorialGuide" class="tutorial-guide hidden" aria-live="polite">
|
||||||
|
<span id="tutorialIndex">LESSON 01</span>
|
||||||
|
<strong id="tutorialTitle">移动</strong>
|
||||||
|
<em id="tutorialInput">A / D</em>
|
||||||
|
<div id="tutorialProgress" class="tutorial-progress" aria-hidden="true"></div>
|
||||||
|
</div>
|
||||||
|
<div id="toast" class="toast hidden"></div>
|
||||||
|
<aside id="nightcord" class="nightcord hidden" aria-live="polite">
|
||||||
|
<div class="nc-head"><span class="nc-dot"></span> Nightcord <b>25:00</b></div>
|
||||||
|
<div id="nightcordMessages" class="nc-messages"></div>
|
||||||
|
</aside>
|
||||||
|
<div id="areaTitle" class="area-title hidden"><small>AREA</small><strong></strong><span></span></div>
|
||||||
|
<div id="mobileControls" class="mobile-controls" aria-hidden="true">
|
||||||
|
<div class="orientation-hint">建议旋转至横屏游玩</div>
|
||||||
|
<div class="mobile-utility-controls">
|
||||||
|
<button type="button" data-touch-action="map" aria-label="打开地图">MAP</button>
|
||||||
|
<button type="button" data-touch-action="journal" aria-label="打开声音日志">LOG</button>
|
||||||
|
<button type="button" data-touch-action="pause" aria-label="暂停游戏">Ⅱ</button>
|
||||||
|
</div>
|
||||||
|
<div id="touchJoystick" class="touch-joystick" aria-label="移动摇杆"><span class="joystick-ring"></span><i id="joystickKnob"></i></div>
|
||||||
|
<div class="mobile-action-controls">
|
||||||
|
<button type="button" class="touch-button interact" data-touch-action="interact"><small>互动</small><b>↓</b></button>
|
||||||
|
<button type="button" class="touch-button dash" data-touch-action="dash"><small>冲刺</small><b>K</b></button>
|
||||||
|
<button type="button" class="touch-button ranged" data-touch-action="ranged"><small>冰弓</small><b>L</b></button>
|
||||||
|
<button type="button" class="touch-button attack" data-touch-action="attack"><small>冰剑</small><b>J</b></button>
|
||||||
|
<button type="button" class="touch-button jump" data-touch-action="jump"><small>跳跃</small><b>↑</b></button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="credit">私人同人 Demo · 角色归属其原作权利方 · 原创程序与场景</div>
|
||||||
|
</main>
|
||||||
|
<script src="game.js?v=campaign-expansion-1"></script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
+231
@@ -0,0 +1,231 @@
|
|||||||
|
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&family=Shippori+Mincho:wght@500;700&display=swap');
|
||||||
|
|
||||||
|
:root { color-scheme: dark; --cyan:#8ee6ff; --violet:#a693ff; --ink:#070a18; }
|
||||||
|
* { box-sizing: border-box; }
|
||||||
|
html, body { margin:0; width:100%; height:100%; overflow:hidden; background:#050711; font-family:'Noto Sans SC',sans-serif; }
|
||||||
|
body { display:grid; place-items:center; }
|
||||||
|
.game-shell { position:relative; width:100vw; height:100vh; overflow:hidden; background:#080b1b; }
|
||||||
|
canvas { width:100%; height:100%; display:block; object-fit:contain; background:#080b1b; image-rendering:auto; }
|
||||||
|
.overlay { position:absolute; inset:0; display:flex; align-items:center; justify-content:space-between; padding:clamp(32px,7vw,120px); background:linear-gradient(90deg,rgba(4,7,20,.98) 0%,rgba(7,11,29,.74) 47%,rgba(6,9,24,.08)); backdrop-filter:blur(2px); transition:opacity .5s ease,visibility .5s; }
|
||||||
|
.title-screen::before { content:""; position:absolute; inset:0; z-index:0; pointer-events:none; background:url('assets/mafuyu-key-visual.png') center/cover no-repeat; filter:saturate(.88) contrast(1.03); }
|
||||||
|
.title-screen::after { content:"25:00"; position:absolute; right:4vw; top:4vh; z-index:1; pointer-events:none; color:#fff; opacity:.16; font:700 clamp(70px,14vw,220px)/1 sans-serif; letter-spacing:-.08em; }
|
||||||
|
.title-screen > :not(.title-atmosphere) { position:relative; z-index:3; }
|
||||||
|
.title-atmosphere { position:absolute; inset:0; z-index:2; overflow:hidden; pointer-events:none; }
|
||||||
|
.title-rain { position:absolute; inset:-35%; opacity:.18; background:repeating-linear-gradient(104deg,transparent 0 30px,rgba(180,230,255,.4) 31px,transparent 32px 58px); transform:translateY(-18%); animation:titleRain 7s linear infinite; }
|
||||||
|
.title-glow { position:absolute; width:7px; height:7px; border-radius:50%; background:#b9f4ff; box-shadow:0 0 12px 4px #84ddff88,0 0 36px 12px #a687ff44; animation:titleOrb 6s ease-in-out infinite alternate; }
|
||||||
|
.title-glow.g1{left:12%;top:76%}.title-glow.g2{left:39%;top:19%;animation-delay:-2s}.title-glow.g3{left:63%;top:72%;animation-delay:-4s}.title-glow.g4{left:82%;top:28%;animation-delay:-1s}.title-glow.g5{left:52%;top:48%;animation-delay:-3s}
|
||||||
|
@keyframes titleRain { to { transform:translate(8%,18%); } }
|
||||||
|
@keyframes titleOrb { to { transform:translate(18px,-38px) scale(1.65); opacity:.3; } }
|
||||||
|
.overlay.hidden { opacity:0; visibility:hidden; pointer-events:none; }
|
||||||
|
|
||||||
|
/* Opening sequence */
|
||||||
|
.cinematic-screen { z-index:7; justify-content:flex-start; padding:clamp(36px,8vw,130px); overflow:hidden; background:radial-gradient(circle at 75% 45%,rgba(89,72,135,.2),transparent 38%),linear-gradient(105deg,#03050d 0%,#090d20 58%,#050711 100%); }
|
||||||
|
.cinematic-screen::before { content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(90deg,rgba(2,4,12,.94) 0%,rgba(4,7,17,.68) 42%,rgba(4,7,17,.08) 74%),linear-gradient(0deg,rgba(3,5,14,.58),transparent 55%); pointer-events:none; }
|
||||||
|
.cinematic-screen::after { content:"25:00:00"; position:absolute; right:5vw; top:5vh; color:#d9f7ff; opacity:.09; font:300 clamp(72px,14vw,210px)/1 sans-serif; letter-spacing:-.07em; }
|
||||||
|
.cinematic-cg { position:absolute; inset:-2%; width:104%; height:104%; object-fit:cover; z-index:0; filter:saturate(.9) contrast(1.04) brightness(.8); transform:scale(1.02); transition:opacity .28s ease,transform 8s ease; animation:cinematicDrift 12s ease-in-out infinite alternate; }
|
||||||
|
.cinematic-cg.changing { opacity:.18; transform:scale(1.06); }
|
||||||
|
.cinematic-noise { position:absolute; z-index:1; inset:0; opacity:.16; pointer-events:none; background:repeating-linear-gradient(0deg,transparent 0 3px,rgba(161,226,244,.08) 4px); mix-blend-mode:screen; }
|
||||||
|
.cinematic-copy { position:relative; z-index:2; width:min(640px,65vw); padding-left:25px; border-left:2px solid rgba(142,230,255,.52); }
|
||||||
|
.cinematic-speaker { margin:38px 0 12px; color:#a895d7; font-size:11px; font-weight:700; letter-spacing:.34em; }
|
||||||
|
.cinematic-text { min-height:132px; margin:0; color:#eef6fb; font:400 clamp(22px,3vw,38px)/1.75 'Shippori Mincho','Noto Serif SC',serif; letter-spacing:.08em; text-shadow:0 4px 30px #000; transition:opacity .22s,transform .22s; }
|
||||||
|
.cinematic-text.changing { opacity:0; transform:translateY(8px); }
|
||||||
|
.cinematic-progress { display:flex; gap:8px; margin:24px 0 8px; }
|
||||||
|
.cinematic-progress i { width:34px; height:2px; background:#485066; transition:.3s; }
|
||||||
|
.cinematic-progress i.active { background:#8ee6ff; box-shadow:0 0 10px #8ee6ff; }
|
||||||
|
.cinematic-actions { display:flex; width:min(440px,100%); gap:10px; }
|
||||||
|
.cinematic-actions button { margin:12px 0 0; }
|
||||||
|
.cinematic-actions .primary { flex:1; }
|
||||||
|
.cinematic-signal { position:absolute; z-index:2; right:6vw; bottom:7vh; display:flex; align-items:flex-end; gap:6px; color:#7d879d; font-size:8px; letter-spacing:.2em; }
|
||||||
|
.cinematic-signal span { margin-right:8px; }
|
||||||
|
.cinematic-signal i { display:block; width:3px; height:12px; background:#8ee6ff; box-shadow:0 0 9px #8ee6ff; animation:signal 1s ease-in-out infinite alternate; }
|
||||||
|
.cinematic-signal i:nth-child(3){animation-delay:.15s;height:22px}.cinematic-signal i:nth-child(4){animation-delay:.3s;height:34px}.cinematic-signal i:nth-child(5){animation-delay:.45s;height:18px}.cinematic-signal i:nth-child(6){animation-delay:.6s;height:27px}
|
||||||
|
@keyframes signal { to { height:5px; opacity:.35; } }
|
||||||
|
@keyframes cinematicDrift { to { transform:scale(1.08) translateX(-1.2%); } }
|
||||||
|
|
||||||
|
/* Metroidvania map */
|
||||||
|
.map-screen { z-index:6; justify-content:center; padding:clamp(24px,5vw,70px); background:radial-gradient(circle at 50% 30%,rgba(40,32,70,.72),rgba(3,5,14,.96)); backdrop-filter:blur(12px); }
|
||||||
|
.map-card { width:min(1040px,94vw); padding:28px 34px 24px; border:1px solid rgba(167,224,239,.28); background:linear-gradient(145deg,rgba(7,10,25,.97),rgba(17,13,35,.96)); box-shadow:0 28px 100px #000b; }
|
||||||
|
.map-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:24px; }
|
||||||
|
.map-heading h2 { font-size:clamp(30px,4vw,52px); }
|
||||||
|
.map-summary { margin:0 0 7px; color:#8d96ac; font-size:11px; letter-spacing:.12em; text-align:right; }
|
||||||
|
.map-rooms { position:relative; height:min(46vh,390px); margin:24px 0 18px; border:1px solid rgba(142,230,255,.1); background:radial-gradient(circle at 50% 50%,rgba(109,84,169,.1),transparent 50%),repeating-linear-gradient(0deg,transparent 0 39px,rgba(142,230,255,.035) 40px),repeating-linear-gradient(90deg,transparent 0 39px,rgba(142,230,255,.035) 40px); overflow:hidden; }
|
||||||
|
.map-room { position:absolute; display:flex; align-items:center; justify-content:center; min-width:46px; min-height:35px; padding:5px; border:1px solid rgba(139,153,180,.24); color:#596176; background:rgba(15,18,35,.78); font-size:8px; letter-spacing:.08em; text-align:center; transition:.3s; }
|
||||||
|
.map-room.discovered { border-color:color-mix(in srgb,var(--room-tone) 65%,transparent); color:#cbdce4; background:color-mix(in srgb,var(--room-tone) 12%,rgba(10,12,27,.92)); box-shadow:inset 0 0 18px color-mix(in srgb,var(--room-tone) 12%,transparent); }
|
||||||
|
.map-room.current { border-color:#eefcff; box-shadow:0 0 18px rgba(142,230,255,.35),inset 0 0 20px rgba(142,230,255,.13); }
|
||||||
|
.map-room .room-player { position:absolute; left:50%; top:50%; color:#fff; font-size:13px; transform:translate(-50%,-50%) rotate(45deg); text-shadow:0 0 10px #8ee6ff; }
|
||||||
|
.map-room.current em { opacity:.25; }
|
||||||
|
.map-room em { font-style:normal; }
|
||||||
|
.map-marker { position:absolute; z-index:2; font-size:12px; text-shadow:0 0 8px currentColor; transform:translate(-50%,-50%); }
|
||||||
|
.map-marker.bench{color:#9ae8ef}.map-marker.shrine{color:#c2a9ff}.map-marker.gate{color:#ee9dcc}.map-marker.relay{color:#8bded1}.map-marker.terminal{color:#7fdbea}
|
||||||
|
.map-legend { display:flex; flex-wrap:wrap; gap:12px 22px; color:#7f899e; font-size:9px; letter-spacing:.08em; }
|
||||||
|
.map-legend .legend-player{color:#e9fbff}.map-legend .legend-bench{color:#9ae8ef}.map-legend .legend-shrine{color:#c2a9ff}.map-legend .legend-gate{color:#ee9dcc}.map-legend .legend-relay{color:#8bded1}.map-legend .legend-terminal{color:#7fdbea}
|
||||||
|
.map-card > button { width:260px; margin:20px 0 0 auto; display:block; }
|
||||||
|
.journal-screen { z-index:5; background:radial-gradient(circle at 50% 32%,rgba(35,27,65,.58),rgba(3,5,15,.95)); backdrop-filter:blur(10px); }
|
||||||
|
.journal-card { width:min(860px,92vw); max-height:90vh; overflow:auto; text-align:left; }
|
||||||
|
.journal-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:22px; }
|
||||||
|
.journal-heading h2 { font-size:48px; }
|
||||||
|
.journal-heading > p { color:#8ee6ff; font:700 13px sans-serif; letter-spacing:.18em; }
|
||||||
|
.journal-grid { display:grid; grid-template-columns:1.1fr .9fr; gap:12px; }
|
||||||
|
.journal-grid > section { min-height:132px; padding:17px 18px; border:1px solid rgba(150,205,236,.16); background:linear-gradient(135deg,rgba(10,15,34,.84),rgba(28,18,45,.72)); }
|
||||||
|
.journal-grid h3 { margin:0 0 12px; color:#8f9db4; font:700 9px sans-serif; letter-spacing:.24em; text-transform:uppercase; }
|
||||||
|
.journal-grid strong { color:#ecfaff; font-size:15px; letter-spacing:.08em; }
|
||||||
|
.journal-grid p { margin:9px 0 0; color:#8794a9; font-size:11px; line-height:1.7; }
|
||||||
|
.journal-list { display:grid; gap:7px; }
|
||||||
|
.journal-list span { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:7px 9px; color:#b7c4d5; border-left:2px solid #59657a; background:#080c1d99; font-size:10px; }
|
||||||
|
.journal-list span.done { color:#dffbff; border-left-color:#83e2ec; }
|
||||||
|
.journal-list b { color:#7d889d; font:700 8px sans-serif; letter-spacing:.12em; }
|
||||||
|
.journal-list .done b { color:#8ceadf; }
|
||||||
|
.journal-completion { height:10px; margin-top:18px; background:#252a3d; box-shadow:inset 0 0 0 1px #ffffff0d; }
|
||||||
|
.journal-completion i { display:block; height:100%; background:linear-gradient(90deg,#73dfe9,#be91f2); box-shadow:0 0 18px #8ee6ff66; }
|
||||||
|
.journal-completion + p { color:#c1cada; }
|
||||||
|
.title-copy { width:min(650px,60vw); }
|
||||||
|
.eyebrow { margin:0 0 14px; color:var(--cyan); letter-spacing:.32em; font-size:12px; font-weight:700; }
|
||||||
|
h1,h2 { font-family:'Shippori Mincho','Noto Serif SC',serif; margin:0; font-weight:500; text-shadow:0 0 32px rgba(142,230,255,.23); }
|
||||||
|
h1 { font-size:clamp(64px,8.7vw,128px); letter-spacing:.05em; line-height:.82; background:linear-gradient(135deg,#fff 20%,#a7def3 55%,#a796e5); -webkit-background-clip:text; color:transparent; }
|
||||||
|
h1 i { font-style:normal; font-family:'Noto Sans SC',sans-serif; font-weight:700; font-size:.42em; letter-spacing:.38em; }
|
||||||
|
h2 { font-size:clamp(36px,5vw,72px); }
|
||||||
|
.subtitle { color:#b8aad8; letter-spacing:.28em; font-size:13px; margin:18px 0 38px; }
|
||||||
|
.intro { color:#c6cbdb; font-weight:300; line-height:2; letter-spacing:.08em; }
|
||||||
|
button { margin-top:28px; border:1px solid rgba(142,230,255,.7); color:#eafaff; background:linear-gradient(120deg,rgba(76,124,168,.38),rgba(102,75,154,.32)); padding:15px 28px; letter-spacing:.15em; cursor:pointer; transition:.25s; font:500 14px inherit; clip-path:polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px); }
|
||||||
|
button span { color:#8ce9ff; margin-right:8px; }
|
||||||
|
button:hover { background:rgba(142,230,255,.2); box-shadow:0 0 28px rgba(142,230,255,.22); transform:translateY(-2px); }
|
||||||
|
.controls { display:flex; flex-wrap:wrap; gap:12px 22px; margin-top:46px; color:#8b91a9; font-size:12px; }
|
||||||
|
.controls b { color:#dce9f4; margin-right:5px; }
|
||||||
|
.unit-mark { align-self:flex-end; display:flex; align-items:flex-end; gap:12px; color:#fff; text-shadow:0 2px 18px #000; }
|
||||||
|
.unit-mark b { font-size:72px; line-height:.8; font-weight:300; color:#c0a8ff; }
|
||||||
|
.unit-mark span { border-left:1px solid #c0a8ff; padding-left:12px; letter-spacing:.15em; font-size:12px; }
|
||||||
|
.compact,.ending { flex-direction:column; justify-content:center; text-align:center; background:rgba(3,5,15,.78); }
|
||||||
|
.ending { align-items:flex-start; overflow:hidden; text-align:left; background:rgba(3,5,15,.32); }
|
||||||
|
.ending::before { content:""; position:absolute; inset:0; z-index:1; background:linear-gradient(90deg,rgba(3,5,15,.94),rgba(3,5,15,.72) 42%,rgba(3,5,15,.05) 75%); pointer-events:none; }
|
||||||
|
.ending-cg { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; animation:endingDrift 14s ease-in-out infinite alternate; }
|
||||||
|
.ending-card { position:relative; z-index:2; margin-right:auto; text-align:left; }
|
||||||
|
@keyframes endingDrift { to { transform:scale(1.035) translateX(-.8%); } }
|
||||||
|
.compact p,.ending p { color:#b9c2d2; line-height:2; }
|
||||||
|
.toast { position:absolute; left:50%; bottom:17%; transform:translateX(-50%); padding:14px 26px; background:rgba(5,9,24,.88); border-left:2px solid var(--cyan); color:#e5f7ff; letter-spacing:.1em; font-size:14px; transition:.35s; pointer-events:none; white-space:nowrap; }
|
||||||
|
.toast.hidden { opacity:0; transform:translate(-50%,12px); }
|
||||||
|
.character-portrait { position:absolute; z-index:3; left:8px; bottom:0; width:270px; height:310px; pointer-events:none; opacity:.9; transition:opacity .28s ease,transform .32s ease; filter:drop-shadow(0 18px 30px #02040dcc); }
|
||||||
|
.character-portrait.hidden { opacity:0; transform:translate(-24px,10px); }
|
||||||
|
.portrait-sprite { position:absolute; left:0; bottom:0; width:270px; height:270px; background:url('assets/mafuyu-portrait-normalized.png') 0 0/400% 200% no-repeat; transform-origin:50% 92%; animation:portraitBreath 2.8s ease-in-out infinite; -webkit-mask-image:linear-gradient(to bottom,#000 0 75%,transparent 100%); mask-image:linear-gradient(to bottom,#000 0 75%,transparent 100%); }
|
||||||
|
.portrait-tag { position:absolute; left:28px; bottom:17px; padding:8px 14px 9px; border-left:2px solid #b49ae9; color:#edf8ff; background:linear-gradient(90deg,rgba(7,9,23,.86),rgba(7,9,23,0)); text-shadow:0 2px 10px #000; }
|
||||||
|
.portrait-tag small { display:block; color:#9d8ac8; font:700 7px sans-serif; letter-spacing:.24em; }
|
||||||
|
.portrait-tag b { display:block; margin-top:3px; font:500 11px 'Noto Sans SC',sans-serif; letter-spacing:.12em; }
|
||||||
|
@keyframes portraitBreath { 50% { transform:translateY(2px) scale(1.004); } }
|
||||||
|
.tutorial-guide { position:absolute; z-index:4; left:50%; top:22px; min-width:310px; max-width:42vw; padding:10px 72px 11px 16px; color:#eafaff; background:linear-gradient(105deg,rgba(7,10,25,.91),rgba(24,17,43,.86)); border:1px solid rgba(142,230,255,.3); border-left:3px solid #8ee6ff; box-shadow:0 12px 35px #0008; pointer-events:none; transform:translateX(-50%); transition:opacity .25s ease,transform .25s ease; clip-path:polygon(0 0,100% 0,calc(100% - 10px) 100%,0 100%); }
|
||||||
|
.tutorial-guide.hidden { opacity:0; transform:translate(-50%,-10px); }
|
||||||
|
.tutorial-guide > span { display:block; color:#7f8aa2; font:700 7px sans-serif; letter-spacing:.24em; }
|
||||||
|
.tutorial-guide strong { display:block; margin-top:3px; font-size:12px; letter-spacing:.12em; }
|
||||||
|
.tutorial-guide em { position:absolute; right:18px; top:50%; min-width:44px; padding:5px 8px; border:1px solid rgba(142,230,255,.28); color:#baf4ff; background:#0b1123; font:700 9px sans-serif; text-align:center; letter-spacing:.08em; transform:translateY(-50%); }
|
||||||
|
.tutorial-progress { display:flex; gap:5px; margin-top:7px; }
|
||||||
|
.tutorial-progress i { width:19px; height:2px; background:#34394e; }
|
||||||
|
.tutorial-progress i.done { background:#8ee6ff; box-shadow:0 0 7px #8ee6ff; }
|
||||||
|
.nightcord { position:absolute; right:28px; top:28px; width:310px; color:#e9edf8; background:rgba(9,9,22,.91); border:1px solid rgba(178,149,255,.38); box-shadow:0 15px 55px #0009; transition:.35s; pointer-events:none; clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px); }
|
||||||
|
.nightcord.hidden { opacity:0; transform:translateX(30px); }
|
||||||
|
.nc-head { padding:10px 14px; border-bottom:1px solid #ffffff1c; color:#a999c8; font-size:11px; letter-spacing:.12em; }
|
||||||
|
.nc-head b { float:right; color:#85def5; }.nc-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#7ee2d2;box-shadow:0 0 8px #7ee2d2;margin-right:7px}
|
||||||
|
.nc-messages { padding:12px 14px 15px; font-size:13px; line-height:1.65; }.nc-name{color:#b9a5ff;margin-right:8px;font-size:11px}.nc-msg{animation:messageIn .25s ease}
|
||||||
|
@keyframes messageIn{from{opacity:0;transform:translateY(5px)}}
|
||||||
|
.area-title { position:absolute; left:50%; top:18%; transform:translateX(-50%); text-align:center; color:#fff; text-shadow:0 3px 22px #000; transition:.5s; pointer-events:none; }
|
||||||
|
.area-title.hidden{opacity:0;transform:translate(-50%,-10px)}.area-title small{display:block;color:#8ce8ff;letter-spacing:.6em;font-size:9px}.area-title strong{display:block;font:500 34px 'Shippori Mincho',serif;letter-spacing:.18em;margin:7px}.area-title span{color:#aaaec4;font-size:10px;letter-spacing:.25em}
|
||||||
|
.credit { position:absolute; right:14px; bottom:10px; color:#7b8194; font-size:10px; letter-spacing:.08em; pointer-events:none; }
|
||||||
|
|
||||||
|
/* Menu system */
|
||||||
|
.menu-screen .title-copy { position:relative; z-index:2; flex:1; pointer-events:none; }
|
||||||
|
.menu-screen .unit-mark { position:absolute; right:4vw; bottom:4vh; }
|
||||||
|
.menu-panel { position:relative; z-index:3; pointer-events:auto; width:min(370px,34vw); padding:22px; margin-right:3vw; background:linear-gradient(150deg,rgba(8,9,24,.9),rgba(22,15,39,.78)); border:1px solid rgba(180,157,238,.28); box-shadow:0 22px 80px rgba(0,0,0,.45); backdrop-filter:blur(14px); clip-path:polygon(14px 0,100% 0,100% calc(100% - 14px),calc(100% - 14px) 100%,0 100%,0 14px); }
|
||||||
|
.menu-index { display:block; margin:0 0 14px 4px; color:#8ee6ff; font-size:9px; font-weight:700; letter-spacing:.34em; }
|
||||||
|
.menu-button { position:relative; z-index:4; width:100%; margin:7px 0 0; padding:13px 16px; display:flex; align-items:center; gap:15px; text-align:left; clip-path:none; border:1px solid rgba(255,255,255,.1); background:rgba(255,255,255,.035); }
|
||||||
|
.menu-button b { width:27px; color:#716b87; font:500 10px sans-serif; letter-spacing:.1em; }
|
||||||
|
.menu-button > span { color:#edf6fb; font-size:14px; letter-spacing:.12em; }
|
||||||
|
.menu-button small { display:block; margin-top:3px; color:#72798f; font-size:8px; letter-spacing:.22em; }
|
||||||
|
.menu-button.primary { border-color:rgba(121,224,242,.5); background:linear-gradient(90deg,rgba(91,196,219,.18),rgba(150,104,209,.1)); }
|
||||||
|
.menu-button.primary b { color:#8ee6ff; }
|
||||||
|
.menu-button:hover:not(:disabled),.dialog-button:hover:not(:disabled) { border-color:rgba(142,230,255,.62); transform:translateX(4px); }
|
||||||
|
.menu-button:disabled { opacity:.34; cursor:not-allowed; filter:grayscale(.7); }
|
||||||
|
.save-summary { margin:16px 4px 2px; color:#777e94; font-size:10px; letter-spacing:.08em; }
|
||||||
|
|
||||||
|
.menu-modal { background:radial-gradient(circle at 50% 35%,rgba(46,34,76,.55),rgba(3,5,15,.94)); backdrop-filter:blur(10px); z-index:5; }
|
||||||
|
.modal-card { width:min(600px,88vw); padding:38px 42px; border:1px solid rgba(183,161,240,.3); background:linear-gradient(150deg,rgba(10,12,29,.96),rgba(19,15,35,.94)); box-shadow:0 28px 100px #000a; clip-path:polygon(16px 0,100% 0,100% calc(100% - 16px),calc(100% - 16px) 100%,0 100%,0 16px); }
|
||||||
|
.modal-card h2 { font-size:44px; }
|
||||||
|
.pause-quote,.modal-tip,.ending-copy { color:#aeb7c9; line-height:1.8; letter-spacing:.06em; }
|
||||||
|
.dialog-actions { display:grid; gap:9px; margin-top:24px; }
|
||||||
|
.dialog-actions.horizontal { grid-template-columns:1fr 1fr; }
|
||||||
|
.dialog-button { width:100%; margin:0; padding:13px 18px; text-align:left; clip-path:none; border:1px solid rgba(255,255,255,.13); background:rgba(255,255,255,.035); }
|
||||||
|
.dialog-button small { float:right; color:#747b91; }
|
||||||
|
.dialog-button.primary { border-color:rgba(117,224,243,.55); background:linear-gradient(90deg,rgba(88,193,217,.2),rgba(144,101,205,.1)); }
|
||||||
|
.dialog-button.danger { color:#c9aebb; border-color:rgba(193,113,151,.25); }
|
||||||
|
.key-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px 24px; margin:28px 0; }
|
||||||
|
.key-grid > div { display:flex; align-items:center; gap:13px; padding:9px 0; border-bottom:1px solid rgba(255,255,255,.08); color:#b9c2d2; font-size:12px; }
|
||||||
|
kbd { min-width:70px; padding:6px 8px; color:#d9f8ff; text-align:center; font:600 10px sans-serif; letter-spacing:.08em; border:1px solid rgba(142,230,255,.35); background:#101526; box-shadow:inset 0 -2px rgba(255,255,255,.05); }
|
||||||
|
.audio-mix { display:grid; gap:10px; margin:20px 0; padding:15px 16px; border:1px solid rgba(142,230,255,.16); background:rgba(7,10,24,.55); }
|
||||||
|
.audio-mix label { display:grid; grid-template-columns:45px 1fr 42px; align-items:center; gap:12px; color:#aeb8ca; font:600 9px sans-serif; letter-spacing:.16em; }
|
||||||
|
.audio-mix input[type="range"] { width:100%; accent-color:#91e7f5; cursor:pointer; }
|
||||||
|
.audio-mix output { color:#8f97aa; text-align:right; font:9px sans-serif; letter-spacing:0; }
|
||||||
|
.audio-test-row { display:flex; align-items:center; justify-content:space-between; gap:16px; padding-top:9px; border-top:1px solid rgba(255,255,255,.07); color:#7f899e; font-size:10px; letter-spacing:.04em; }
|
||||||
|
.audio-test-row span[data-state="ready"] { color:#83dccc; }
|
||||||
|
.audio-test-row span[data-state="error"] { color:#e3a0bd; }
|
||||||
|
.audio-test-row button { flex:none; width:auto; margin:0; padding:7px 12px; clip-path:none; font-size:10px; letter-spacing:.08em; }
|
||||||
|
@media(max-width:780px){ .unit-mark{display:none}.title-copy{width:100%}.overlay{padding:28px}.controls{gap:8px 12px}.credit{display:none}.nightcord{width:260px;right:12px;top:12px}.character-portrait{display:none}.tutorial-guide{top:12px;min-width:250px;max-width:55vw;padding:8px 60px 8px 12px}.tutorial-guide strong{font-size:10px}.tutorial-guide>span{display:none}.menu-screen{align-items:flex-end}.menu-screen .title-copy{position:absolute;left:28px;top:42px}.menu-screen h1{font-size:58px}.menu-screen .intro{display:none}.menu-panel{width:100%;margin:0;padding:14px}.modal-card{padding:28px 24px}.key-grid{grid-template-columns:1fr}.dialog-actions.horizontal{grid-template-columns:1fr}.cinematic-copy{width:100%;padding-left:16px}.cinematic-screen::before{background-position:64% center;opacity:.12}.cinematic-actions{flex-direction:column}.cinematic-actions button{width:100%}.cinematic-signal{display:none}.map-card{padding:20px 16px}.map-heading{align-items:flex-start;flex-direction:column}.map-summary{text-align:left}.map-rooms{height:43vh}.map-legend{gap:8px 12px}.map-card>button{width:100%} }
|
||||||
|
@media(max-width:780px){.journal-card{padding:22px 18px}.journal-heading{align-items:flex-start}.journal-heading h2{font-size:36px}.journal-grid{grid-template-columns:1fr}.journal-grid>section{min-height:0}.journal-screen{padding:12px}}
|
||||||
|
|
||||||
|
/* Settings */
|
||||||
|
.settings-card { width:min(760px,92vw); max-height:92vh; overflow:auto; text-align:left; scrollbar-color:#74679b #111426; }
|
||||||
|
.settings-heading { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:22px; }
|
||||||
|
.settings-heading h2 { font-size:44px; }
|
||||||
|
.settings-heading > span { margin-bottom:6px; color:#737d92; font-size:9px; letter-spacing:.22em; }
|
||||||
|
.settings-grid { display:grid; gap:12px; }
|
||||||
|
.setting-group { padding:15px 17px; border:1px solid rgba(142,230,255,.13); background:linear-gradient(120deg,rgba(10,15,34,.78),rgba(23,16,38,.66)); }
|
||||||
|
.setting-group h3 { margin:0 0 12px; color:#9ee9f7; font-size:10px; letter-spacing:.24em; text-transform:uppercase; }
|
||||||
|
.setting-row { display:flex; align-items:center; justify-content:space-between; gap:24px; color:#e1e9f2; }
|
||||||
|
.setting-row > div { min-width:0; }
|
||||||
|
.setting-row b { display:block; font-size:13px; letter-spacing:.08em; }
|
||||||
|
.setting-row small { display:block; margin-top:5px; color:#798399; font-size:9px; line-height:1.5; letter-spacing:.04em; }
|
||||||
|
.setting-row button,.setting-row select { flex:none; min-width:160px; margin:0; padding:10px 14px; border:1px solid rgba(142,230,255,.32); color:#dff8ff; background:#11162a; clip-path:none; font:500 11px 'Noto Sans SC',sans-serif; letter-spacing:.08em; }
|
||||||
|
.setting-row select { cursor:pointer; color-scheme:dark; }
|
||||||
|
.setting-note { margin:10px 0 0!important; color:#8390a7!important; font-size:10px; line-height:1.6!important; }
|
||||||
|
.settings-card .audio-mix { margin:0; padding:15px 17px; }
|
||||||
|
.settings-card > .dialog-button { margin-top:16px; }
|
||||||
|
.mobile-control-tip { margin:0 0 22px; padding:12px 14px; border-left:2px solid #8ee6ff66; background:#0b1123aa; color:#8e99ae!important; font-size:11px; text-align:left; }
|
||||||
|
|
||||||
|
/* Touch controls stay outside the canvas so text-heavy UI remains DOM based. */
|
||||||
|
.mobile-controls { position:absolute; inset:0; z-index:4; display:none; pointer-events:none; touch-action:none; user-select:none; -webkit-user-select:none; }
|
||||||
|
body.touch-controls-active .mobile-controls { display:block; }
|
||||||
|
.orientation-hint { display:none; position:absolute; left:50%; top:max(18px,env(safe-area-inset-top)); transform:translateX(-50%); padding:7px 12px; border:1px solid rgba(142,230,255,.2); color:#92a3b8; background:#080c1dbb; font-size:9px; letter-spacing:.1em; white-space:nowrap; }
|
||||||
|
.touch-joystick { position:absolute; left:max(24px,env(safe-area-inset-left)); bottom:max(26px,env(safe-area-inset-bottom)); width:clamp(118px,16vw,170px); aspect-ratio:1; border-radius:50%; pointer-events:auto; touch-action:none; background:radial-gradient(circle,rgba(126,224,238,.1) 0 34%,rgba(10,14,31,.55) 35% 64%,rgba(142,230,255,.08) 65%); border:1px solid rgba(142,230,255,.28); box-shadow:inset 0 0 30px #060912aa,0 8px 30px #0007; }
|
||||||
|
.joystick-ring { position:absolute; inset:20%; border:1px dashed rgba(176,159,240,.28); border-radius:50%; }
|
||||||
|
.touch-joystick i { position:absolute; left:50%; top:50%; width:42%; aspect-ratio:1; border-radius:50%; transform:translate(-50%,-50%); background:radial-gradient(circle at 36% 30%,#baf5ffcc,#7566a9cc 70%); border:1px solid #d9f9ff88; box-shadow:0 0 24px #7bddeb55; transition:transform .06s linear; }
|
||||||
|
.mobile-action-controls { position:absolute; right:max(22px,env(safe-area-inset-right)); bottom:max(22px,env(safe-area-inset-bottom)); width:clamp(225px,31vw,330px); height:clamp(145px,20vw,205px); pointer-events:none; }
|
||||||
|
.touch-button { position:absolute; width:clamp(64px,8vw,88px); aspect-ratio:1; margin:0; padding:0; border-radius:50%; clip-path:none; pointer-events:auto; touch-action:none; display:grid; place-content:center; gap:1px; text-align:center; background:radial-gradient(circle at 35% 28%,rgba(155,235,247,.3),rgba(42,31,70,.82) 72%); border:1px solid rgba(167,231,244,.52); box-shadow:inset 0 0 18px #a98cf522,0 8px 24px #0008; }
|
||||||
|
.touch-button b { color:#f0fbff; font-size:18px; line-height:1; }
|
||||||
|
.touch-button small { color:#9fb1c8; font-size:8px; letter-spacing:.08em; }
|
||||||
|
.touch-button.jump { right:0; bottom:42%; border-color:#8ee6ff99; }
|
||||||
|
.touch-button.attack { right:28%; bottom:0; border-color:#d0a5ff99; }
|
||||||
|
.touch-button.ranged { right:57%; bottom:0; border-color:#81e9e099; }
|
||||||
|
.touch-button.dash { right:58%; bottom:49%; border-color:#e896cf99; }
|
||||||
|
.touch-button.interact { right:29%; bottom:62%; width:clamp(55px,7vw,76px); opacity:.82; }
|
||||||
|
.touch-button.is-active,.mobile-utility-controls button.is-active { transform:scale(.91); filter:brightness(1.3); box-shadow:0 0 26px #8ee6ff66,inset 0 0 22px #fff2; }
|
||||||
|
.mobile-utility-controls { position:absolute; top:max(18px,env(safe-area-inset-top)); right:max(20px,env(safe-area-inset-right)); display:flex; gap:9px; pointer-events:auto; }
|
||||||
|
.mobile-utility-controls button { width:auto; min-width:50px; margin:0; padding:9px 12px; clip-path:none; border-color:#ffffff30; background:#080c1dcc; color:#b9c7d8; font-size:9px; letter-spacing:.12em; touch-action:none; }
|
||||||
|
|
||||||
|
@media(max-width:780px){
|
||||||
|
.settings-screen { padding:14px; }
|
||||||
|
.settings-card { width:100%; max-height:96vh; padding:23px 18px; }
|
||||||
|
.settings-heading { align-items:flex-start; }
|
||||||
|
.settings-heading h2 { font-size:36px; }
|
||||||
|
.setting-row { align-items:flex-start; gap:14px; }
|
||||||
|
.setting-row button,.setting-row select { min-width:132px; }
|
||||||
|
.audio-test-row { align-items:flex-start; flex-direction:column; }
|
||||||
|
.audio-test-row button { width:100%; }
|
||||||
|
}
|
||||||
|
@media(max-width:560px) and (orientation:portrait){
|
||||||
|
.orientation-hint { display:block; }
|
||||||
|
.touch-joystick { left:16px; bottom:28px; width:112px; }
|
||||||
|
.mobile-action-controls { right:12px; bottom:24px; width:220px; height:146px; }
|
||||||
|
.touch-button { width:62px; }
|
||||||
|
.touch-button.interact { width:54px; }
|
||||||
|
.nightcord { top:64px; }
|
||||||
|
.toast { bottom:27%; max-width:88vw; white-space:normal; text-align:center; }
|
||||||
|
}
|
||||||
|
@media(prefers-reduced-motion:reduce){
|
||||||
|
.touch-joystick i,.touch-button,.mobile-utility-controls button { transition:none; }
|
||||||
|
.title-rain,.title-glow,.cinematic-cg,.ending-cg,.portrait-sprite { animation:none; }
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user