/* Component spacing and readable forms across public/player/staff workspaces. */
body[data-page]{--ui-space:24px;--ui-control:48px}
body[data-page] :is(main,.lug-footer) .container:not(.hero-game-inner){width:calc(100% - 48px);max-width:1440px;margin-inline:auto;padding-inline:0}
body[data-page] .page-hero{padding-block:clamp(32px,4vw,52px) 28px}
body[data-page] .page-hero h1{font-size:clamp(30px,3.8vw,52px);line-height:1.25;max-width:22ch;margin-block:12px 16px}
body[data-page] .page-hero .lead{max-width:65ch;margin:0;line-height:1.75}
body[data-page] .lug-section{padding-block:clamp(36px,4vw,64px)}
body[data-page] .lug-section.tight{padding-block:24px 48px}
body[data-page] .section-head{gap:20px;align-items:center;flex-wrap:wrap}
body[data-page] .section-title{font-size:clamp(25px,2.7vw,36px);line-height:1.35}
body[data-page] :is(.form-panel,.pc-panel,.lug-card){min-width:0}
body[data-page] :is(.form-control,.form-select){min-height:48px;padding-block:11px;font-size:16px;line-height:1.5}
body[data-page] textarea.form-control{min-height:140px}
body[data-page] .form-label{display:block;margin-bottom:8px;line-height:1.5;font-weight:600}
body[data-page] .accordion-button{min-height:52px;padding:16px 20px;line-height:1.5;font-size:16px}
body[data-page] .accordion-body{padding:16px 20px;line-height:1.8}
body[data-page] :is(.legal-content,.prose){max-width:78ch;line-height:1.85}
body[data-page] .lug-footer a{overflow-wrap:anywhere}
/* Account choices retain three distinct, equally weighted entry points. */
body[data-page=account] .acct-card{padding:28px;gap:18px;transform:none;box-shadow:0 8px 24px rgba(8,20,40,.06)}
body[data-page=account] .acct-card:hover{transform:none}
body[data-page=account] .acct-top{align-items:flex-start}
body[data-page=account] .acct-card h2{font-size:25px;line-height:1.35}
body[data-page=account] .acct-benefits{gap:12px;line-height:1.6}
@media(min-width:1100px){body[data-page=account] .acct-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body[data-page=account] .acct-actions{grid-template-columns:1fr}}
@media(min-width:768px) and (max-width:1099px){body[data-page=account] .acct-card.admin{grid-column:1/-1}}
/* The authentication form starts near the heading, with no oversized promo gap. */
body[data-page=player] .auth-hero{padding-block:32px 22px}
body[data-page=player] .auth-hero h1{font-size:clamp(28px,3vw,42px);max-width:none;margin:10px 0}
body[data-page=player] .auth-hero p{max-width:62ch;color:var(--lug-muted);margin:0;line-height:1.7}
body[data-page=player] .auth-card{padding:28px;backdrop-filter:none;box-shadow:0 8px 28px rgba(8,20,40,.08);border-radius:18px}
body[data-page=player] .auth-tabs{gap:6px;padding:5px;margin-bottom:24px}
body[data-page=player] .auth-tabs a{font-size:14px;font-weight:600;line-height:1.5;min-height:48px;white-space:normal}
body[data-page=player] .auth-tabs a[aria-current=page]{background:#1d4ed8;color:white;box-shadow:none}
body[data-page=player] .auth-head{gap:12px;align-items:flex-start;margin-bottom:24px}
body[data-page=player] .auth-head h2{font-family:var(--lug-font-body);font-size:24px;font-weight:700;line-height:1.35}
body[data-page=player] .auth-head p{margin-top:6px!important;font-size:14px;line-height:1.6}
body[data-page=player] .auth-form .pf-field{margin-bottom:20px!important}
body[data-page=player] .auth-form :is(.form-control,.form-select){height:auto;min-height:50px;padding:12px 14px;border-radius:10px;font-weight:400}
body[data-page=player] .pw-wrap .form-control{padding-right:58px}
body[data-page=player] .pw-toggle{width:44px;height:44px;min-height:44px;right:4px}
body[data-page=player] .pw-strength{flex-wrap:wrap;line-height:1.5}
body[data-page=player] .auth-submit{margin-top:4px;box-shadow:none;min-height:50px;font-size:16px}
body[data-page=player] .auth-switch{line-height:1.8}
body[data-page=player] .auth-switch a{display:inline-flex;align-items:center;min-height:44px;padding-inline:4px}
body[data-page=player] .perk-grid{gap:14px}
body[data-page=player] .perk{font-size:14px;line-height:1.6;padding:18px;font-weight:500}
body[data-page=player] .mc-cell small,body[data-page=player] .mc-bottom small{font-size:12px;letter-spacing:.02em}
body[data-page=player] .mc-cell b{white-space:normal;overflow-wrap:anywhere}
body[data-page=player] .stat-tile small{font-size:12px;line-height:1.6}
body[data-page=player] .pc-panel{padding:24px;border-radius:18px}
body[data-page=player] .pc-panel-head{gap:12px;flex-wrap:wrap}
/* Keep translated headings and labels readable without synthetic italics. */
html[lang=bn] body[data-page] :is(.auth-head,.auth-tabs,.acct-card,.pc-panel) *{letter-spacing:0}
html[lang=bn] body[data-page] :is(.page-hero h1,.section-title) em{font-style:normal!important}
/* Staff action rows and short panels wrap deliberately. */
html body.app-page .card-head{flex-wrap:wrap;gap:16px}
html body.app-page .card-head>div{min-width:0}
html body.app-page .card-head h3{font-size:18px;line-height:1.4}
html body.app-page :is(.view-actionbar,.toolbar-actions,.filters){gap:12px;min-width:0}
html body.app-page .table-wrap :is(th,td){font-size:14px;line-height:1.6}
html body.app-page .view-actionbar .btn,html body.app-page .card-head .btn{min-height:44px;white-space:normal}
@media(max-width:767px){body[data-page] :is(main,.lug-footer) .container:not(.hero-game-inner){width:calc(100% - 32px)}body[data-page] .lug-section{padding-block:32px}body[data-page] .lug-section.tight{padding-block:20px 36px}body[data-page=player] .auth-card{padding:20px}body[data-page=player] .auth-hero{padding-block:24px 12px}body[data-page=player] .pc-panel{padding:18px}body[data-page=account] .acct-card{padding:22px}body[data-page] .page-hero{padding-block:28px 20px}}
@media(max-width:359px){body[data-page] :is(main,.lug-footer) .container:not(.hero-game-inner){width:calc(100% - 32px)}body[data-page=player] .auth-card{padding:16px}body[data-page=player] .auth-tabs a{font-size:13px}body[data-page=player] .perk-grid{grid-template-columns:1fr}}
/* Keep the compact brand and four controls on one mobile header row. */
@media(max-width:575px){body[data-page] .lug-nav .navbar{flex-wrap:nowrap;gap:8px}body[data-page] .lug-nav .navbar>.lug-brand{flex:1 1 0!important;min-width:34px;max-width:none!important}body[data-page] .lug-nav .navbar>.d-flex{flex:0 0 auto;gap:6px!important}}
/* Four lounge stations use balanced rows, rather than a three-plus-one layout. */
@media(min-width:1101px) and (max-width:1599px){html body.app-page #ps5Grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(min-width:1280px){html body.app-page #kpiGrid{grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:12px!important}html body.app-page #kpiGrid .kpi-card{padding:18px 16px}html body.app-page #kpiGrid .kpi-label{line-height:1.5}}

/* Courtesy extensions remain distinct from paid extensions. */
html body.app-page .free-time-badge{display:inline-flex;align-items:center;flex-wrap:wrap;max-width:100%;padding:6px 10px;margin:8px 0;border-radius:8px;background:var(--a-ok-bg);color:var(--a-ok);border:1px solid var(--a-line);font-size:12px;line-height:1.6}
html body.app-page .free-time{border:1px solid var(--a-ok)!important;color:var(--a-ok)!important;min-height:44px!important}
#operationModal .free-time-explainer{padding:16px;border-radius:12px;background:var(--a-info-bg);border:1px solid var(--a-line)}
#operationModal .free-time-explainer p{font-size:14px;line-height:1.7;margin:10px 0 0}

/* v6.3.1: accessible preset and custom courtesy-minute picker. */
#operationModal .free-minute-picker{border:0;padding:0;margin:20px 0;min-width:0}
#operationModal .free-minute-picker legend{font-size:16px;font-weight:600;margin-bottom:12px}
#operationModal .free-minute-presets{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:16px}
#operationModal .free-minute-presets button{flex:1;min-width:80px;min-height:44px}
#operationModal .free-minute-presets [aria-pressed=true]{outline:2px solid #168eea;outline-offset:2px}
#operationModal .free-minute-picker input{width:100%;box-sizing:border-box;min-height:48px;font-size:16px}
#operationModal .free-minute-picker small{display:block;font-size:13px;line-height:1.5;margin-top:8px}

/* v6.3.2: fit mobile drawers inside the usable viewport, above booking bars. */
@media(max-width:1399.98px){body[data-page] .lug-nav .lug-offcanvas{width:min(360px,100%)!important;max-width:100%!important}}
body[data-page]:has(.lug-offcanvas:is(.show,.showing)) :is(.mobile-cta,.book-bar,.to-top){visibility:hidden!important;pointer-events:none!important}
