/* CRY SPACE UI8. Scoped additions: no game geometry, timers or resource formulas. */
.cry-admin-main { padding:clamp(18px,2vw,36px); width:100%; min-width:0; }
.cry-page-title { margin-bottom:24px; padding-bottom:18px; border-bottom:1px solid #33566e; }
.cry-page-title h1 { font-size:clamp(26px,2.2vw,38px); margin:4px 0 12px; line-height:1.2; }
.cry-page-title p { max-width:850px; color:#bdd4e5; line-height:1.6; }
.cry-eyebrow { color:#8ccef1; font-size:12px; font-weight:700; letter-spacing:.15em; margin:0 0 12px; }
.cry-settings-grid { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr); gap:24px; align-items:start; }
.cry-dashboard-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.cry-stack { display:grid; gap:20px; min-width:0; }
.cry-card { min-width:0; padding:clamp(20px,2vw,30px); border:1px solid #3f647d; background:linear-gradient(135deg,#132d40,#091a28); color:#e1edf6; }
.cry-card h1,.cry-card h2,.cry-card h3 { color:#f0f8ff; line-height:1.25; margin:0 0 16px; }
.cry-card h2 { font-size:23px; }.cry-card h3 { font-size:19px; }
.cry-card p { line-height:1.65; margin:10px 0 20px; }
.cry-card a { color:#9dddff; }
.cry-action-card { display:flex; flex-direction:column; min-height:250px; text-decoration:none; transition:border-color .18s,background .18s; }
.cry-action-card:hover { background:#18364b; border-color:#80c9ee; }
.cry-action-card p { color:#b6cfde; flex:1; }.cry-action-card strong { font-size:15px; color:#92d8fe; }
.cry-card-number { font-size:13px; letter-spacing:.1em; color:#7fb8d7; margin-bottom:24px; }
.cry-field { display:block; margin:0 0 22px; line-height:1.5; color:#dcecf6; font-weight:600; }
.cry-field input,.cry-field textarea,.cry-field select { display:block; width:100%; max-width:100%; box-sizing:border-box; margin-top:8px; border:1px solid #54748a; background:#061722; color:#edf8ff; font:inherit; font-size:16px; font-weight:400; padding:12px; min-height:46px; border-radius:0; }
.cry-field textarea { resize:vertical; }
.cry-field small,.cry-hint { display:block; color:#a8c4d7; font-size:14px; font-weight:400; line-height:1.6; margin:8px 0; }
.cry-fieldset { margin:0 0 20px; padding:16px; border:1px solid #395b72; min-width:0; }
.cry-fieldset legend { padding:0 8px; font-weight:700; }
.cry-checkbox { display:flex; align-items:center; gap:10px; margin:12px 0; }
.cry-checkbox input { width:20px; height:20px; flex:0 0 20px; margin:0; }
.cry-notice { padding:16px 20px; margin:0 0 22px; border:1px solid #476a83; border-left:4px solid #8ed3f3; background:#112b3d; color:#e7f2fa; line-height:1.65; overflow-wrap:anywhere; }
.cry-notice-success { border-color:#4d957e; background:#102e2c; }.cry-notice-error { border-color:#b67d59; background:#30261f; }
.cry-kv { margin:0; }.cry-kv>div { display:flex; flex-wrap:wrap; justify-content:space-between; gap:10px; padding:12px 0; border-bottom:1px solid #2d4b5d; }.cry-kv dt { color:#b5cede; }.cry-kv dd { font-weight:700; margin:0; }
.cry-brand-footer { padding:26px 0; color:#9bb9cc; line-height:1.65; font-size:14px; }
.cry-captcha { min-height:80px; width:100%; margin:18px 0 8px; }
.cry-captcha iframe { max-width:none; }.cry-captcha-message { min-height:23px; }
.cry-actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px; }.cry-actions form { margin:0; }
.cry-user-text { overflow-wrap:anywhere; white-space:normal; }
.cry-buddy-section { margin-bottom:24px; }
.cry-buddy-row { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:20px; align-items:center; padding:20px 0; border-top:1px solid #365b73; }
.cry-buddy-row h3 { margin:0; }.cry-buddy-row summary { cursor:pointer; color:#a4dafa; }
html.cryspace-dialog { min-width:0; background:#061521; color:#e5f1fa; font:16px/1.6 Arial,Helvetica,sans-serif; }
html.cryspace-dialog body { min-width:0!important; width:100%!important; margin:0!important; padding:0; background:linear-gradient(125deg,#0a1e2e,#091622)!important; color:#e4f0f8; font:16px/1.6 Arial,Helvetica,sans-serif!important; }
.cryspace-dialog * { box-sizing:border-box; }
.cry-dialog-content { padding:clamp(16px,3vw,28px); max-width:1100px; margin:auto; }
.cryspace-dialog .ui-button,.cryspace-dialog button { font:600 16px/1.4 Arial,sans-serif; min-height:44px; padding:10px 18px; border:1px solid #6487a0; background:#183e56; color:#edf8ff; cursor:pointer; text-decoration:none; }
.cryspace-dialog a { color:#9edcff; }.cryspace-dialog input,.cryspace-dialog textarea,.cryspace-dialog select { font-size:16px!important; }
.cryspace-dialog table { max-width:100%; }.cryspace-dialog td,.cryspace-dialog th { font-size:16px!important; line-height:1.5; }
.cry-modal { max-width:calc(100vw - 24px); max-height:calc(100dvh - 24px); padding:0; margin:auto; border:1px solid #7197b0; background:#091b29; color:#e5f4ff; box-shadow:0 25px 100px #000b; overflow:hidden; }
.cry-modal::backdrop { background:#010914d9; backdrop-filter:blur(3px); }
.cry-modal-bar { display:flex; justify-content:space-between; gap:18px; align-items:center; padding:12px 18px; border-bottom:1px solid #3c6078; background:#122d41; }
.cry-modal-bar strong { font-size:20px; overflow-wrap:anywhere; }.cry-modal-bar button { flex-shrink:0; font:600 16px Arial,sans-serif; min-height:42px; padding:10px 16px; color:#e9f5ff; border:1px solid #688ba2; background:#1b4058; cursor:pointer; }
.cry-modal-frame { display:block; width:100%; height:min(74dvh,820px); border:0; background:#091a28; }
/* Existing info / private-message dialogs use jQuery UI rather than window.open. */
html.xnova-game .ui-dialog { background:#0b1e2d!important; border:1px solid #6893ad!important; color:#e5f4ff; max-width:calc(100vw - 20px)!important; font:16px/1.5 Arial,sans-serif; }
html.xnova-game .ui-dialog .ui-dialog-content { background:#0b1e2d; color:#e1edf6; max-height:72vh!important; overflow:auto!important; padding:18px; }
html.xnova-game .ui-dialog .ui-dialog-titlebar,html.xnova-game .ui-dialog .ui-dialog-buttonpane { background:#19364b!important; color:#edf8ff; border-color:#40627b!important; }
html.xnova-game .ui-dialog td,html.xnova-game .ui-dialog th,html.xnova-game .ui-dialog label { font-size:16px!important; line-height:1.6; }
html.xnova-game .ui-dialog input,html.xnova-game .ui-dialog textarea { max-width:100%; font:16px Arial,sans-serif!important; padding:12px!important; background:#071725!important; color:#e8f6ff!important; border:1px solid #5b8099!important; }
html.xnova-game .ui-dialog table { width:100%!important; min-width:0!important; }
html.xnova-game .ui-dialog .ui-button-text { font-size:16px; padding:10px 18px; }
/* Full-width public background. Actual artwork is a local asset, not an external hotlink. */
html.xnova-home body { background:linear-gradient(90deg,#020a16a8,#05142270 55%,#030c19ac),url('../images/cryspace/cosmos.jpg?v=ui8') center center/cover fixed!important; }
.xnova-home .ui-public-header { background:#07162388; padding:20px; border:1px solid #3a5b72; margin-top:20px; }
.xnova-home .ui-home-art { display:none; }.xnova-home .ui-registration-art { display:none; }
.xnova-home .ui-home-intro { padding:40px 20px; text-shadow:0 3px 20px #000; }
.xnova-home .ui-home-intro h1 { font-size:clamp(44px,5.5vw,100px); letter-spacing:.045em; }
.xnova-home .ui-home-grid { min-height:calc(100vh - 220px); grid-template-columns:minmax(0,1.25fr) minmax(350px,.75fr); }
.xnova-home .ui-home-description { max-width:760px; font-size:20px; color:#e0edf5; }
.xnova-home .ui-auth-panel { background:linear-gradient(140deg,#112b40f5,#04121ef2); backdrop-filter:blur(10px); box-shadow:0 20px 80px #0009; }
.xnova-home .ui-registration-intro { padding:24px; text-shadow:0 3px 16px #000; }
.cry-world-features { display:flex; flex-wrap:wrap; gap:12px; margin:28px 0 0; }.cry-world-features span { padding:12px 16px; background:#071a2cc9; border:1px solid #51728b; color:#d7ecfa; font-size:15px; }
.xnova-home .ui-public-footer { background:#061521b5; padding:20px; border:1px solid #345269; }
@media(max-width:1100px) { .cry-dashboard-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.cry-buddy-row { grid-template-columns:minmax(0,1fr); } }
@media(max-width:900px) { .cry-settings-grid { grid-template-columns:minmax(0,1fr); }.xnova-home .ui-home-grid { grid-template-columns:minmax(0,1fr); }.xnova-home .ui-home-intro { padding:20px 0; } }
@media(max-width:600px) { .cry-dashboard-grid { grid-template-columns:minmax(0,1fr); }.cry-admin-main{padding:14px;}.cry-card { padding:18px; }.cry-card h2{font-size:21px;}.cry-modal{max-width:calc(100vw - 12px);}.cry-modal-bar{padding:9px 12px;}.cry-modal-frame{height:78dvh;}.cry-modal-bar strong{font-size:17px;}.xnova-home .ui-public-header{padding:16px;margin-top:12px;}.xnova-home .ui-home-intro h1{font-size:42px;}.cry-actions .ui-button{min-height:44px;} }
@media(prefers-reduced-motion:reduce) { .cry-action-card { transition:none; } }
