/* 관리자페이지에서 보기 */
#admin { height:100vh; min-height:0; padding:0; overflow:hidden; }
#admin > .content { min-height:0; margin:0; overflow:hidden; }

.main-header { --bg:rgba(8,14,15,.78); --color:#edf4ec; --scrollbg:#0b1213; --scrollcolor:#edf4ec; }
body.rain-walk-active .main-header { display:none; }

/* 사용자페이지에서 보기 */
#sub01 ~ #pHelpButton { display:none; }

main#sub01, main#sub02 { min-height:0; padding:0; }
#sub01 + footer, #sub02 + footer, #p-check { display:none; }
#admin > .content > .rain-forest { height:100%; min-height:500px; }

/* ##### .rain-forest */
.rain-forest { position:relative; width:100%; height:100dvh; min-height:480px; overflow:hidden; isolation:isolate; background:#73817d; color:#edf0e7; }
.rain-forest * { box-sizing:border-box; }
.rain-forest [hidden] { display:none; }
.rain-forest::after { position:absolute; inset:0; z-index:1; background:linear-gradient(180deg,rgba(10,20,18,.35),transparent 25%,transparent 65%,rgba(8,16,13,.42)); content:""; pointer-events:none; }
.rain-forest #rain-canvas { display:block; width:100%; height:100%; outline:none; touch-action:none; }
.rain-forest .rain-mark { display:grid; place-items:center; width:38px; height:38px; border:1px solid #dbe3d347; border-radius:50%; font-size:24px; }
.rain-forest .rain-actions { position:absolute; top:32px; right:36px; z-index:5; display:flex; gap:8px; }
.rain-forest .jw-button { display:inline-flex; align-items:center; justify-content:center; min-width:0; min-height:38px; margin:0; padding:10px 16px; border:1px solid #dbe3d344; border-radius:4px; background:#14231e66; color:#edf0e7; font-size:12px; font-weight:400; cursor:pointer; transition:background .2s,border-color .2s; -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px); }
.rain-forest .jw-button:hover { border-color:#e0e9d6a3; background:#33453c99; }
.rain-forest .jw-button:focus-visible, .rain-forest input:focus-visible { outline:2px solid #e1efd4; outline-offset:5px; }
.rain-forest .jw-button:disabled { opacity:.55; cursor:wait; }
.rain-forest .rain-entry { position:absolute; inset:0; z-index:2; display:grid; place-items:center; background:radial-gradient(ellipse at center,#14241a24,#101d164d); }
.rain-forest .rain-entry[hidden] { display:none; }
.rain-forest .rain-entry-content { display:flex; align-items:center; flex-direction:column; padding:30px 20px; text-align:center; text-shadow:0 2px 24px #102117a6; }
.rain-forest .rain-eyebrow { color:#cbd8c7; font-size:12px; }
.rain-forest .rain-entry h2 { margin:20px 0; font-size:clamp(40px,5vw,66px); font-weight:300; }
.rain-forest .rain-entry p { display:grid; gap:10px; margin:0 0 30px; color:#d2ddcf; font-size:16px; }
.rain-forest #rain-start { min-width:208px; min-height:50px; border-color:#d9e6c880; background:#d9e6c817; font-size:14px; }
.rain-forest #rain-start:hover { background:#d9e6c833; }
.rain-forest .rain-entry-note { max-width:350px; margin-top:20px; color:#c3d0bd; font-size:12px; }
.rain-forest .rain-panel { position:absolute; top:84px; right:36px; z-index:6; width:290px; max-height:calc(100% - 110px); overflow:auto; padding:23px; border:1px solid #c2d2b533; border-radius:8px; background:#17251de8; box-shadow:0 18px 60px #07130d40; -webkit-backdrop-filter:blur(18px); backdrop-filter:blur(18px); }
.rain-forest .rain-panel-title { display:flex; align-items:center; justify-content:space-between; margin-bottom:20px; }
.rain-forest .rain-panel-title strong { font-size:16px; font-weight:500; }
.rain-forest .rain-panel-title .jw-button { width:28px; min-height:28px; padding:0; border:0; background:transparent; font-size:24px; }
.rain-forest .rain-panel label { display:flex; justify-content:space-between; margin:20px 0 10px; font-size:12px; }
.rain-forest .rain-panel output { color:#bccdb1; }
.rain-forest .rain-panel input { display:block; width:100%; height:16px; margin:0; accent-color:#b4c7a5; cursor:pointer; }
.rain-forest .rain-panel p { margin:23px 0 0; color:#acbca5; font-size:12px; }
.rain-forest .rain-crosshair { position:absolute; top:50%; left:50%; z-index:2; display:none; width:3px; height:3px; border-radius:50%; background:#e9efdf99; pointer-events:none; }
.rain-forest[data-state="active"] .rain-crosshair { display:block; }
.rain-forest .rain-footer { position:absolute; right:36px; bottom:26px; left:36px; z-index:3; display:flex; align-items:center; justify-content:space-between; gap:16px; color:#d2ddc9; pointer-events:none; }
.rain-forest .rain-desktop-help { display:flex; flex-wrap:wrap; gap:16px; margin:0; font-size:12px; }
.rain-forest .rain-desktop-help span { display:flex; align-items:center; gap:6px; }
.rain-forest kbd { padding:3px 5px; border:1px solid #d6e2cb40; border-radius:3px; font-size:12px; }
.rain-forest .rain-touch-help { display:none; margin:0; font-size:12px; }
.rain-forest .rain-touch { position:absolute; inset:0; z-index:4; pointer-events:none; }
.rain-forest .rain-stick { position:absolute; bottom:70px; left:30px; width:112px; height:112px; border:1px solid #e5ecd84d; border-radius:50%; background:#18231c3b; touch-action:none; pointer-events:auto; }
.rain-forest .rain-stick span { position:absolute; top:35px; left:35px; width:40px; height:40px; border:1px solid #e2edd873; border-radius:50%; background:#d8e6cb55; pointer-events:none; }
.rain-forest .rain-touch-menu { position:absolute; right:24px; bottom:80px; pointer-events:auto; }
.rain-forest .rain-noscript { position:absolute; top:45%; left:10%; z-index:8; width:80%; padding:20px; background:#17251d; text-align:center; }
.rain-forest[data-state="error"] .rain-entry-note { color:#f0cbb7; }
:is(#sub01, #sub02) .rain-forest:not([data-state="active"]) .rain-heading, :is(#sub01, #sub02) .rain-forest:not([data-state="active"]) .rain-actions { top:116px; }
:is(#sub01, #sub02) .rain-forest:not([data-state="active"]) .rain-panel { top:168px; max-height:calc(100% - 190px); }
@media (max-width:1280px) {
	:is(#sub01, #sub02) .rain-forest:not([data-state="active"]) .rain-heading, :is(#sub01, #sub02) .rain-forest:not([data-state="active"]) .rain-actions { top:76px; }
	:is(#sub01, #sub02) .rain-forest:not([data-state="active"]) .rain-panel { top:128px; max-height:calc(100% - 150px); }
}
@media (pointer:coarse) {
	.rain-forest .rain-desktop-help { display:none; }
	.rain-forest .rain-touch-help { display:block; }
}
@media (max-width:768px) {
	.rain-forest .rain-heading { top:22px; left:20px; }
	.rain-forest .rain-mark { display:none; }
	.rain-forest .rain-actions { top:22px; right:20px; }
	.rain-forest .rain-actions .jw-button { padding:8px 11px; }
	.rain-forest .rain-panel { top:74px; right:20px; width:min(290px,calc(100% - 40px)); }
	.rain-forest .rain-footer { right:20px; bottom:24px; left:20px; }
	.rain-forest .rain-desktop-help { gap:10px; }
}
@media (max-height:550px) {
	.rain-forest { min-height:340px; }
	.rain-forest .rain-entry h2 { margin:10px 0; font-size:36px; }
	.rain-forest .rain-entry p { margin-bottom:16px; font-size:12px; }
	.rain-forest .rain-entry-note { margin-top:12px; }
	.rain-forest .rain-footer { bottom:14px; }
}
@media (prefers-reduced-motion:reduce) {
	.rain-forest .jw-button { transition:none; }
}

