/* CraftStrike.io INFO panel: About / News / Privacy / Terms / Contact (in-game + info.html) */
#csInfo{position:fixed;inset:0;z-index:60;display:grid;place-items:center;padding:calc(8px + var(--safe-t,0px)) 8px calc(8px + var(--safe-b,0px));background:rgba(10,12,16,.62);animation:fade .15s;pointer-events:auto}
#csInfo.hidden{display:none}
.ci-in{display:flex;flex-direction:column;width:min(1000px,96vw);height:min(640px,94vh);background:linear-gradient(#2c323d,#232831);border:3px solid #141820;box-shadow:inset 0 2px 0 rgba(255,255,255,.07),0 6px 0 rgba(0,0,0,.4);color:#e9edf3;font-family:var(--font,"Lilita One","Arial Black",sans-serif)}
.ci-h{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 10px 8px 16px;border-bottom:3px solid #141820;background:rgba(0,0,0,.18)}
.ci-h>b{font-size:28px;letter-spacing:1px;color:#f2c230}
.ci-h .sh-x{flex:none;width:44px;height:44px;font-size:32px;line-height:1;color:#e9edf3;background:#1a1e26;border:2px solid #0c0e12}
.ci-main{flex:1;min-height:0;display:flex}
.ci-tabs{flex:none;display:flex;flex-direction:column;gap:8px;width:210px;padding:12px;border-right:3px solid #141820;background:rgba(0,0,0,.12);overflow-y:auto}
.ci-tabs button{height:48px;padding:0 12px;font-size:18px;letter-spacing:.5px;text-align:left;color:#e9edf3;background:#1a1e26;border:2px solid #0c0e12;box-shadow:inset 0 2px 0 rgba(255,255,255,.05);transition:transform .08s,filter .1s}
.ci-tabs button:hover{filter:brightness(1.25)}.ci-tabs button:active{transform:scale(.97)}
.ci-tabs button.on{color:#2a1d05;background:linear-gradient(#ffd84a,#f2c230);border-color:#7a5208;box-shadow:inset 0 -4px 0 #d89a12}
.ci-body{flex:1;min-width:0;padding:14px 22px 22px;overflow-y:auto;font-family:system-ui,"Segoe UI",Roboto,sans-serif;font-size:15px;line-height:1.55;color:#cfd5df;user-select:text;-webkit-user-select:text;scrollbar-width:thin;scrollbar-color:#f2c230 #14171d}
.ci-body::-webkit-scrollbar{width:10px}.ci-body::-webkit-scrollbar-track{background:#14171d}.ci-body::-webkit-scrollbar-thumb{background:linear-gradient(#ffd84a,#d89a12);border:2px solid #14171d}
.ci-body h2{margin:4px 0 6px;font-family:var(--font,"Lilita One",sans-serif);font-weight:400;font-size:30px;letter-spacing:.6px;color:#fff}
.ci-body h3{margin:18px 0 4px;font-family:var(--font,"Lilita One",sans-serif);font-weight:400;font-size:20px;letter-spacing:.4px;color:#f2c230}
.ci-body p{margin:6px 0}.ci-body ul{margin:6px 0;padding-left:22px}.ci-body li{margin:3px 0}
.ci-body b{color:#fff}
.ci-upd{font-size:13px;color:#8a93a3}
.ci-post{margin:0 0 14px;padding:12px 16px;background:#1a1e26;border:2px solid #0c0e12;box-shadow:inset 0 2px 0 rgba(255,255,255,.05)}
.ci-post h3{margin:6px 0 4px;font-size:22px;color:#fff}
.ci-meta{display:flex;align-items:center;gap:10px;font-size:13px;color:#8a93a3}
.ci-meta em{font-style:normal;font-family:var(--font,"Lilita One",sans-serif);font-size:13px;letter-spacing:.5px;padding:2px 8px;color:#2a1d05;background:#f2c230;border:2px solid #7a5208}
.ci-card{display:flex;flex-direction:column;gap:2px;margin:0 0 10px;padding:10px 14px;background:#1a1e26;border:2px solid #0c0e12}
.ci-card small{font-family:var(--font,"Lilita One",sans-serif);font-size:13px;letter-spacing:.5px;color:#8a93a3}
.ci-card b{font-family:var(--font,"Lilita One",sans-serif);font-weight:400;font-size:22px;color:#fff}
/* lobby footer links */
#lFoot{position:absolute;left:14px;bottom:calc(6px + var(--safe-b,0px));display:flex;gap:4px;pointer-events:auto;font-family:system-ui,"Segoe UI",Roboto,sans-serif;font-size:12px;font-weight:700}
#lFoot a{padding:3px 6px;color:rgba(233,237,243,.72);text-decoration:none;background:rgba(10,12,16,.45);cursor:pointer}
#lFoot a:hover{color:#f2c230}
/* phones in landscape */
@media (max-height:520px){
  .ci-in{height:96vh}
  .ci-h{padding:4px 8px 4px 12px}.ci-h>b{font-size:22px}.ci-h .sh-x{width:36px;height:36px;font-size:26px}
  .ci-tabs{width:150px;padding:8px;gap:6px}.ci-tabs button{height:38px;font-size:14px;padding:0 8px}
  #lFoot{left:calc(min(250px,26vw) + 24px);bottom:calc(2px + var(--safe-b,0px));font-size:11px;gap:2px}#lFoot a{padding:2px 5px}
  .ci-body{padding:8px 14px 14px;font-size:13px}.ci-body h2{font-size:22px}.ci-body h3{font-size:17px;margin-top:12px}
}
@media (max-width:640px){.ci-tabs{width:128px}.ci-tabs button{font-size:13px}}
/* standalone page (info.html) */
body.ci-page{margin:0;min-height:100vh;background:#1c2129;overflow:auto;touch-action:auto}
body.ci-page #csInfo{position:fixed;background:#1c2129}
body.ci-page .ci-in{width:min(1100px,100vw);height:100vh;border-top:0;border-bottom:0}
@media (max-width:640px) and (orientation:portrait){
  body.ci-page .ci-main{flex-direction:column}
  body.ci-page .ci-tabs{width:auto;flex-direction:row;overflow-x:auto;border-right:0;border-bottom:3px solid #141820}
  body.ci-page .ci-tabs button{flex:none}
}
