/* Hostel selection (admission screen + in-game blocking picker) */
.hp{width:100%;max-width:640px;margin:0 auto;color:#fff;text-align:center}
.hp h3{margin:6px 0 6px;font-size:20px}
.hp-sub{font-size:13px;opacity:.85;margin:0 0 12px}
.hp-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px;max-height:46vh;overflow:auto;padding:2px}
.hp-h{display:flex;flex-direction:column;align-items:center;gap:3px;padding:10px 6px;border-radius:12px;border:2px solid #ffffff33;background:#ffffff14;color:#fff;cursor:pointer;font:inherit;opacity:1!important;animation:none!important;max-width:none!important}
.hp-h b{font-size:15px;letter-spacing:.5px}
.hp-h .hp-p{font-size:17px;font-weight:800;color:#f2b705}
.hp-h small{font-size:11px;opacity:.8;line-height:1.25}
.hp-h.on{border-color:#f2b705;background:#f2b70533}
.hp-h:disabled{opacity:.38!important;cursor:not-allowed}
.hp-go{margin-top:12px;width:100%;max-width:360px!important;padding:12px;border:0;border-radius:12px;background:#f2b705;color:#222;font-weight:800;font-size:15px;cursor:pointer;opacity:1!important;animation:none!important}
.hp-go:disabled{background:#999;cursor:not-allowed}
.hp-err{color:#ffb4b4;font-weight:600}
.hp-done{display:inline-block;min-width:260px;background:#fff;color:#123;border-radius:14px;padding:12px 18px;margin:8px auto;box-shadow:0 6px 20px #0005}
.hp-row{display:flex;justify-content:space-between;gap:24px;padding:6px 0;border-bottom:1px dashed #0002;font-size:15px}
.hp-row:last-child{border-bottom:0}
.hp-row span{color:#567;font-weight:700;letter-spacing:.6px}
.hp-row b{font-size:17px}
#hostelGate{position:fixed;inset:0;z-index:60;background:radial-gradient(circle,#134e2f,#041a0f);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:18px;overflow:auto}
#hostelGate .hp-cont{margin-top:14px;padding:12px 26px;border:0;border-radius:12px;background:#f2b705;color:#222;font-weight:800;font-size:15px;cursor:pointer}

/* ---- EKOSODIN (off-campus accommodation): hostel browser, in-game panels, placement mode ---- */
.hp-eko{display:flex;flex-direction:column;align-items:flex-start;width:100%;margin:10px 0;padding:12px 14px;border:2px solid #f2b705;border-radius:12px;background:rgba(242,183,5,.12);color:inherit;text-align:left;cursor:pointer}
.hp-eko b{font-size:14px;letter-spacing:.3px}.hp-eko small{opacity:.8;margin-top:3px}
.hp.eko{max-width:920px;width:100%}.eko-top{display:flex;align-items:center;gap:12px}.eko-top h3{margin:0}
.hp-back{border:0;background:transparent;color:inherit;font-size:14px;cursor:pointer;padding:4px 6px}
.eko-note{font-size:12px;opacity:.85}
.eko-filters{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.eko-filters input{flex:1 1 220px;padding:8px}.eko-filters select{padding:7px}
.eko-chk{display:flex;align-items:center;gap:6px;font-size:13px}
.eko-list{display:flex;flex-direction:column;gap:8px;max-height:52vh;overflow:auto;padding-right:4px}
.eko-h{border:1px solid rgba(255,255,255,.18);border-radius:10px;background:rgba(0,0,0,.18)}.eko-h.off{opacity:.55}
.eko-hh{width:100%;display:flex;justify-content:space-between;gap:10px;padding:10px 12px;border:0;background:transparent;color:inherit;text-align:left;cursor:pointer}
.eko-hh small{display:block;opacity:.75}.eko-hp{display:flex;flex-direction:column;align-items:flex-end;text-align:right}
.eko-hd{padding:4px 12px 12px}
.eko-t{width:100%;border-collapse:collapse;font-size:12px;margin:8px 0}.eko-t td,.eko-t th{padding:5px 6px;border-bottom:1px solid rgba(255,255,255,.12);text-align:left;vertical-align:middle}
.eko-t tr.full td{opacity:.5}.eko-t tr.yours td{color:#8bc34a}
.eko-acts{display:flex;gap:10px;justify-content:flex-end;align-items:center;margin-top:8px}
.eko-unit{margin-top:12px;border-top:2px solid #f2b705;padding-top:8px}
.hp-err{color:#ff8a80}
.eko-row{align-items:center}.eko-row select{margin:0 6px;padding:3px}
.eko-sw{width:26px;height:26px;border-radius:50%;border:2px solid #fff;margin:3px;cursor:pointer}
.cat-row .prev{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:8px;font-style:normal;margin-right:6px;vertical-align:middle}
.cat-row > span{display:flex;align-items:center}
.msg.evt{font-style:italic;opacity:.85;border-left:3px solid #e91e63;padding-left:8px;background:transparent}
.eko-pl{position:fixed;left:50%;bottom:14px;transform:translateX(-50%);z-index:60;width:min(440px,94vw);padding:12px;border-radius:14px;background:rgba(10,20,15,.92);color:#f5f5f5;box-shadow:0 8px 28px rgba(0,0,0,.45);font-size:13px}
.eko-pl-h{display:flex;flex-direction:column;margin-bottom:6px}.eko-pl-h small{opacity:.75}
.eko-pl-r{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;align-items:center;margin:6px 0}.eko-pl-r select{flex:1;padding:6px}
.eko-pl-pad{display:flex;flex-direction:column;align-items:center;gap:4px;margin:6px 0}.eko-pl-pad div{display:flex;gap:4px}
.eko-pl .b{min-width:40px;padding:6px 8px}
#ekoPlMsg{min-height:1.2em;margin:4px 0;text-align:center}#ekoPlMsg.ok{color:#8bc34a}#ekoPlMsg.bad{color:#ff8a80}
