/* 핀볼 원정대 — 화면 스타일 */
.pb-page{margin:0;background:#070a1f;color:#eef2ff;font-family:"Noto Sans KR",-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic",sans-serif;line-height:1.65;overflow-x:hidden}
html.pb-lock,html.pb-lock body{overflow:hidden;overscroll-behavior:none}
.pb-wrap,.pb-wrap *{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
.pb-wrap{position:relative;width:100%;max-width:1100px;margin:0 auto;height:100vh;height:100svh;max-height:min(1000px,232vw);min-height:460px;overflow:hidden;background:#05060f;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.pb-wrap canvas{display:block;position:absolute;left:0;top:0;width:100%;height:100%;touch-action:none;outline:none}
.pb-wrap.pb-playing{touch-action:none}
.pb-btns{position:absolute;top:7px;right:8px;display:flex;gap:6px;z-index:3}
.pb-ib{width:38px;height:38px;border:0;border-radius:12px;background:rgba(0,0,0,.5);color:#fff;font:900 16px/1 sans-serif;cursor:pointer;box-shadow:inset 0 0 0 2px rgba(255,255,255,.22);display:inline-flex;align-items:center;justify-content:center;padding:0;touch-action:manipulation}
.pb-ib:active{transform:translateY(1px)}
.pb-ui{position:absolute;inset:0;z-index:4;display:none;align-items:flex-start;justify-content:center;padding:54px 12px 16px;background:radial-gradient(ellipse at 50% 35%,rgba(12,16,52,.6),rgba(3,5,16,.9));overflow-y:auto;touch-action:pan-y;-webkit-overflow-scrolling:touch}
.pb-ui.on{display:flex}
.pb-card{width:100%;max-width:460px;margin:auto 0;text-align:center;display:flex;flex-direction:column;align-items:center;gap:10px;animation:pbIn .2s ease-out}
@keyframes pbIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.pb-card h2{margin:0;font-family:"Black Han Sans",sans-serif;font-weight:400;font-size:clamp(28px,8vw,40px);line-height:1.1;color:#fde047;text-shadow:0 3px 0 rgba(0,0,0,.5)}
.pb-logo{display:flex;flex-direction:column;align-items:center;line-height:1;font-family:"Black Han Sans",sans-serif;text-shadow:0 4px 0 rgba(0,0,0,.45)}
.pb-logo span{font-size:clamp(18px,5vw,24px);color:#a5f3fc;letter-spacing:.1em}
.pb-logo b{font-weight:400;font-size:clamp(46px,13vw,66px);background:linear-gradient(180deg,#fff7b0,#fde047 50%,#f472b6);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;filter:drop-shadow(0 4px 0 rgba(0,0,0,.45))}
.pb-sub{margin:0;font-size:14px;color:#dbe4ff}
.pb-tiny{margin:0;font-size:12px;color:#a5b0d6;line-height:1.6}
.pb-new{margin:0;font-weight:900;color:#4ade80}
.pb-big{font-weight:900;font-size:clamp(30px,9vw,42px);color:#fff;line-height:1.1}
.pb-tables{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}
.pb-tab-card{font:inherit;color:#fff;border:0;border-radius:16px;padding:12px 10px;cursor:pointer;display:flex;flex-direction:column;align-items:center;gap:3px;background:linear-gradient(160deg,rgba(255,255,255,.16),rgba(255,255,255,.05));box-shadow:inset 0 0 0 2px rgba(255,255,255,.18),0 4px 0 rgba(0,0,0,.3);min-height:44px}
.pb-tab-card.on{box-shadow:inset 0 0 0 3px #fde047,0 4px 0 rgba(0,0,0,.3);background:linear-gradient(160deg,rgba(253,224,71,.22),rgba(255,255,255,.05))}
.pb-tab-card b{font-size:17px}
.pb-tab-card small{font-size:11px;color:#c7d2fe;line-height:1.45}
.pb-tab-card em{font-style:normal;font-size:12px;color:#fde047;font-weight:800}
.pb-emo{font-size:34px;line-height:1}
.pb-row{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}
.pb-btn{font:inherit;font-weight:900;font-size:16px;border:0;border-radius:14px;padding:11px 20px;cursor:pointer;color:#1d1600;background:linear-gradient(180deg,#fff08a,#facc15);box-shadow:0 4px 0 #a16207;min-height:44px}
.pb-btn.big{font-size:19px;padding:13px 36px}
.pb-btn:active{transform:translateY(3px);box-shadow:0 1px 0 #a16207}
.pb-btn.g{background:rgba(255,255,255,.14);color:#fff;box-shadow:inset 0 0 0 2px rgba(255,255,255,.35)}
.pb-btn:disabled{opacity:.6;cursor:default}
.pb-tabs{display:flex;gap:6px;flex-wrap:wrap;justify-content:center}
.pb-tabs button{font:inherit;font-size:12px;font-weight:800;border:0;border-radius:999px;padding:6px 12px;cursor:pointer;background:rgba(255,255,255,.12);color:#fff;min-height:32px}
.pb-tabs button.on{background:#fff;color:#0b1230}
.pb-rk{width:100%;max-width:400px;font-size:13px;background:rgba(0,0,0,.32);border-radius:14px;padding:8px 10px;min-height:40px}
.pb-rk div{display:flex;justify-content:space-between;gap:8px;padding:3px 4px}
.pb-rk div:nth-child(odd){background:rgba(255,255,255,.05);border-radius:6px}
.pb-muted{justify-content:center!important;color:#a5b0d6}
.pb-reg{display:flex;gap:6px;width:100%;max-width:380px}
.pb-reg input{flex:1;min-width:0;font:inherit;font-size:16px;padding:9px 12px;border-radius:12px;border:0}
.pb-reg .pb-btn{font-size:15px;padding:9px 14px}
.pb-stat{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;font-size:12px}
.pb-stat span{background:rgba(0,0,0,.35);padding:3px 10px;border-radius:999px}
/* 아래 글 */
.pb-below{max-width:760px;margin:0 auto;padding:16px 16px 40px}
.pb-box{background:#10163a;border:1px solid #232d66;border-radius:18px;padding:16px 18px;margin-bottom:14px}
.pb-box h1{font-size:1.25rem;margin:0 0 8px;color:#fde047;line-height:1.4}
.pb-box h2{font-size:1.08rem;margin:0 0 8px;color:#a5f3fc}
.pb-box ul{margin:0;padding-left:1.2em}
.pb-box li{margin:4px 0}
.pb-box p{margin:0}
.pb-box p+p{margin-top:8px}
.pb-box details{border-top:1px solid #232d66;padding:8px 0}
.pb-box details:first-of-type{border-top:0}
.pb-box summary{cursor:pointer;font-weight:800}
.pb-box details p{margin-top:6px;color:#cdd6f4}
.pb-mt{width:100%;border-collapse:collapse;font-size:.9rem}
.pb-mt th,.pb-mt td{padding:7px 6px;text-align:left;vertical-align:top;border-top:1px solid #232d66}
.pb-mt thead th{border-top:0;color:#a5b0d6;font-size:.8rem;font-weight:700}
.pb-mt tbody th{color:#fde047;white-space:nowrap}
.pb-mt td{color:#dbe4ff}
.pb-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.pb-keys{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;font-size:.92rem}
.pb-keys b{color:#fde047;white-space:nowrap}
.pb-more{font-size:.85rem;color:#a5b0d6}
.pb-crumb{font-size:.8rem;color:#a5b0d6;margin:0 0 6px}
.pb-page a{color:#fde047}
/* 테이블 3개 · 오늘의 도전 · 공 무늬 · 결과 카드 */
.pb-tables{grid-template-columns:repeat(3,1fr);gap:6px}
.pb-tables .pb-tab-card{padding:10px 5px}
.pb-tables .pb-tab-card b{font-size:15px}
.pb-tables .pb-tab-card small{font-size:10.5px}
.pb-mode button{font-size:14px;padding:8px 14px;min-height:40px}
.pb-daily{width:100%;display:flex;flex-direction:column;gap:4px;padding:12px 14px;border-radius:16px;background:linear-gradient(160deg,rgba(94,234,212,.2),rgba(255,255,255,.05));box-shadow:inset 0 0 0 2px rgba(94,234,212,.55)}
.pb-daily b{font-size:16px;color:#fde047}
.pb-daily span{font-size:15px;font-weight:800}
.pb-daily em{font-style:normal;color:#5eead4}
.pb-daily small{font-size:12px;color:#c7d2fe;line-height:1.5}
.pb-skins{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;width:100%;max-width:420px}
.pb-skin{font:inherit;border:0;border-radius:12px;padding:5px 1px 3px;cursor:pointer;background:rgba(255,255,255,.08);color:#fff;display:flex;flex-direction:column;align-items:center;gap:2px;min-height:44px}
.pb-skin i{display:block;width:22px;height:22px;border-radius:50%;box-shadow:2px 3px 0 rgba(0,0,0,.35)}
.pb-skin small{font-size:9.5px;line-height:1.25;word-break:keep-all}
.pb-skin.on{box-shadow:inset 0 0 0 2px #fde047;background:rgba(253,224,71,.16)}
.pb-skin.lock i{filter:grayscale(1) brightness(.6)}
.pb-skin.lock small{color:#a5b0d6}
.pb-unl{background:rgba(74,222,128,.15);border-radius:14px;padding:8px 14px;font-weight:800;color:#bbf7d0;font-size:14px}
.pb-cardimg{display:block;width:100%;max-width:360px;height:auto;border-radius:16px;box-shadow:0 6px 24px rgba(0,0,0,.5)}
.pb-tabs button{min-height:36px}
