#welcomeGuide{box-sizing:border-box;width:calc(100% - 24px);max-width:550px;max-height:calc(100dvh - 24px);overflow:auto;padding:20px;border:2px solid #d9ca99;border-radius:18px;background:#173d42;color:#fff9df;font:18px/1.65 system-ui,sans-serif}#welcomeGuide::backdrop{background:#001b25cc}.welcome-head{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:16px}.welcome-head button{font-size:28px;min-width:48px;min-height:48px}#welcomeGuide canvas{display:block;width:100%;height:94px;object-fit:contain;image-rendering:pixelated;background:#245e71;border-radius:10px;margin-top:10px}#welcomeGuide h2{font-size:25px;line-height:1.4}#welcomeProgress{font-size:14px;color:#d3dcbf}#welcomeSpeech{padding:12px;background:#345444;border-left:4px solid #e5cf81;border-radius:8px}#welcomeSpeech:before{content:'チビすけ';display:block;font-size:14px;color:#ead593}#welcomeGuide ol{padding-left:28px}#welcomeGuide li{margin:8px 0}.welcome-note{font-size:16px;color:#e1e5cf}#welcomeGuide button{cursor:pointer;min-height:48px}#welcomeGuide .btn{width:100%;margin-top:10px;font-size:18px}#welcomeGuide button:focus-visible{outline:3px solid #ffe9a3;outline-offset:3px}#welcomeGuide [hidden]{display:none!important}

/* Match the game's panels; preserve meaningful Japanese words on narrow screens. */
#welcomeGuide{background:var(--panel,#12384d);color:var(--ink,#f2f6f8);border-color:#6f9a8b;font-family:var(--font,Meiryo,sans-serif);line-break:strict;word-break:normal;overflow-wrap:break-word;text-wrap:pretty;padding:18px}
#welcomeGuide .welcome-head{position:sticky;top:-18px;z-index:1;background:var(--panel,#12384d);padding:8px 0;border-bottom:1px solid #427481;display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:8px;line-height:1.5;font-size:14px}
#welcomeGuide .welcome-head button{font:inherit;background:#204958;border:1px solid #6f9a8b;border-radius:8px;color:#f2f6f8;padding:8px;flex-shrink:0;min-height:44px;white-space:nowrap}
#welcomeGuide .welcome-head [aria-label]{font-size:26px;line-height:1;min-width:44px}
#welcomeGuide .welcome-phrase{display:inline-block;white-space:nowrap}#welcomeGuide h2{font-size:clamp(21px,5.7vw,25px);text-wrap:balance}
#welcomeGuide .btn{white-space:nowrap;font-size:clamp(16px,4.5vw,18px);padding-inline:10px}#welcomeGuide p,#welcomeGuide li{word-break:keep-all;overflow-wrap:anywhere}#welcomeGuide #welcomeSpeech{background:#234b49;border-left-color:var(--acc,#ffb347)}#welcomeGuide canvas{border:1px solid #427481}#welcomeGuide .welcome-note{color:#c2d7db}
@media(max-width:360px){#welcomeGuide{padding:14px;font-size:17px}#welcomeGuide .welcome-head{top:-14px;font-size:12px;gap:6px}#welcomeGuide .welcome-head button{padding-inline:7px}#welcomeGuide canvas{height:76px}}

#welcomeGuide .welcome-head [aria-label]{display:inline-flex;align-items:center;justify-content:center;text-align:center;padding:0;width:48px;height:48px;min-width:48px;min-height:48px;line-height:1;flex-shrink:0}
