@charset "utf-8";
/* 概率说明页（源站 #/instruction）：缩放骨架与首页 home_pc.css 同源，本文件只写本页内容 */

@font-face { font-family: "Noto Sans CJK KR"; src: url("../font/NotoSansCJKkr-Medium.otf"); font-display: swap; }

* { box-sizing: border-box; }
html { line-height: 1.15; -webkit-text-size-adjust: 100%; }
html, body { height: 100%; margin: 0; overflow: hidden; }
body { font-family: "Noto Sans CJK KR"; -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; background: #f0f0f0; }
a { text-decoration: none; color: inherit; cursor: pointer; }
::-webkit-scrollbar { width: 0 !important; }

/* Layer 0：全局根（与首页一致） */
#page-root {
  position: fixed;
  top: 0; left: 0;
  width: var(--root-w, 100vw);
  height: var(--root-h, 100vh);
  overflow: hidden;
  background: #f0f0f0;
  transform-origin: top left;
  transform: scale(var(--page-scale, 1));
}

/* Layer 1：背景 */
.slide-bg-full {
  position: absolute; inset: 0;
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
}

/* 右上「뒤로가기」（视口锚定，距右边缘与源站一致） */
.back-link { position: absolute; right: calc(var(--edge-gap, 86px) * 29 / 86); top: 10px; width: 149px; height: 46px; cursor: pointer; z-index: 2; color: #000; }
.back-link p { position: absolute; z-index: 3; height: 100%; width: 100%; margin: 30px 0; font-size: 30px; text-align: center; }

/* 正文 */
.text-container { width: 1344px; position: absolute; left: 50%; margin-left: -672px; top: 0; z-index: 1; height: 100%; overflow: auto; padding: 20px; font-size: 20px; color: #000; }
.text-container h1 { font-size: 2em; margin: .67em 0; }
.text-container h2 { font-size: 1.5em; margin: .83em 0; }
.text-container h3 { font-size: 1.17em; margin: 1em 0; }
.text-container p { margin: 1em 0; }
.text-container table { width: 100%; border-collapse: collapse; }
.text-container td,
.text-container th { width: 25%; border: 1px solid #000; padding: 8px; text-align: center; }
