/*
Theme Name: 77W Mobile Lobby
Description: Thai mobile game lobby and service information.
Version: 1.0.3
Text Domain: seventyseven
*/
:root{color-scheme:dark;--bg:#07101d;--panel:#102237;--line:#244157;--text:#eaf6fc;--muted:#a9bfcc;--cyan:#1dd8d0;--gold:#f7c648;--max:1200px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Tahoma,"Noto Sans Thai",system-ui,sans-serif;line-height:1.8}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}img{display:block;max-width:100%;height:auto}button{font:inherit;cursor:pointer}p{margin:0 0 1.15em}h1,h2,h3{line-height:1.35;letter-spacing:0}h1{font-size:clamp(2rem,3.2rem,3.2rem);margin:.3em 0}h2{font-size:1.65rem;margin:2.5rem 0 1rem;color:var(--gold)}h3{font-size:1.25rem;margin:1.6rem 0 .6rem}.wrap{width:min(calc(100% - 40px),var(--max));margin-inline:auto}.skip{position:absolute;left:-9999px;background:#fff;color:#000;padding:10px;z-index:30}.skip:focus{left:10px;top:10px}
.site-header{position:sticky;top:0;z-index:20;background:#081727f5;border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}.header-inner{display:flex;align-items:center;gap:26px;min-height:70px}.brand{display:flex;align-items:center;flex:none}.brand img{width:76px;height:auto}.nav{display:flex;gap:24px;align-items:center;flex:1;white-space:nowrap}.nav a{font-weight:700;font-size:.94rem;color:#c6dce8}.nav a[aria-current=page]{color:var(--gold)}.header-actions{display:flex;align-items:center;gap:8px}.btn{display:inline-flex;align-items:center;justify-content:center;text-align:center;min-height:42px;padding:8px 18px;border:1px solid var(--cyan);border-radius:5px;font-weight:700;line-height:1.35;white-space:nowrap}.btn-primary{background:var(--cyan);color:#04131d}.btn-secondary{background:transparent;color:var(--cyan)}.btn:focus-visible,.nav a:focus-visible,.menu-toggle:focus-visible{outline:3px solid var(--gold);outline-offset:3px}.menu-toggle{display:none;border:1px solid var(--line);background:transparent;color:#fff;border-radius:4px;width:42px;height:42px;font-size:1.25rem}
.hero{background:radial-gradient(circle at 70% 50%,#155a78 0,#102947 34%,#07101d 74%);border-bottom:1px solid var(--line)}.hero-inner{min-height:570px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:40px}.hero-copy{padding-block:60px}.eyebrow{color:var(--cyan);text-transform:uppercase;font-weight:800;font-size:.88rem}.lead{font-size:1.15rem;color:#c4deea;max-width:650px}.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px}.hero-figure{align-self:end;display:flex;justify-content:center;max-height:570px;overflow:hidden}.hero-figure img{width:min(100%,600px);max-height:555px;object-fit:contain;object-position:bottom center}.stat-strip{border-bottom:1px solid var(--line);background:#0d1e2d}.stat-strip .wrap{display:flex;justify-content:space-between;gap:20px;padding-block:15px;color:var(--muted);font-size:.9rem}.stat-strip strong{color:var(--gold)}
.section{padding-block:44px 58px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}.section-heading h2{margin:0}.section-heading a,.text-link{color:var(--cyan);font-weight:700}.game-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.game-tile{min-width:0;background:var(--panel);border:1px solid var(--line);border-radius:6px;overflow:hidden}.game-tile img{width:100%;aspect-ratio:325/250;object-fit:contain;background:#13283b}.game-tile span{display:block;padding:10px 14px;font-size:.93rem;font-weight:700}.content-band{background:#eaf4f7;color:#142639;padding-block:60px}.content-band h2{color:#123e5a;margin-top:0}.content-band p{max-width:790px}.feature-row{display:grid;grid-template-columns:1.15fr .85fr;gap:50px;align-items:center}.feature-row img{max-height:430px;width:100%;object-fit:contain}.feature-row .btn{color:#06465a}
.article-shell{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:55px;padding-block:48px 90px}.article{max-width:820px}.article p,.article li{font-size:1.04rem;color:#cfdfeb}.article ul,.article ol{padding-left:1.4rem}.article a:not(.btn){color:var(--cyan);text-decoration:underline;text-underline-offset:3px}.article figure{margin:34px 0}.article figure img{width:100%;max-height:450px;object-fit:contain;background:#102237;border:1px solid var(--line);border-radius:6px}.article figcaption{font-size:.88rem;color:var(--muted);margin-top:8px}.page-head{border-bottom:1px solid var(--line);padding-block:36px;background:#0d1d30}.page-head h1{max-width:950px}.page-head p{max-width:760px;color:var(--muted)}.sidebar{position:sticky;top:110px;align-self:start;border-left:1px solid var(--line);padding-left:20px}.sidebar h2{font-size:1rem;color:var(--text);margin:0 0 15px}.sidebar a{display:block;color:var(--muted);padding:8px 0;border-bottom:1px solid var(--line)}.notice{border-left:4px solid var(--gold);padding:17px 22px;background:#172637;margin:22px 0}.notice p:last-child{margin:0}.steps{counter-reset:step;list-style:none!important;padding:0!important}.steps li{counter-increment:step;margin:18px 0;padding-left:44px;position:relative}.steps li:before{content:counter(step);position:absolute;left:0;top:1px;width:29px;height:29px;border-radius:50%;background:var(--cyan);color:#04131d;text-align:center;font-weight:800;line-height:29px}.article table{width:100%;border-collapse:collapse;margin:24px 0;overflow-wrap:anywhere}.article th,.article td{border:1px solid var(--line);padding:10px;text-align:left;vertical-align:top}.article th{background:#173046;color:var(--gold)}
.site-footer{border-top:1px solid var(--line);padding-block:38px 80px;background:#07111c;color:var(--muted)}.footer-inner{display:flex;justify-content:space-between;gap:30px}.footer-links{display:flex;flex-wrap:wrap;gap:18px}.footer-note{max-width:680px;font-size:.87rem;margin-top:15px}.mobile-actions{display:none}
@media(max-width:980px){.header-inner{gap:12px}.nav{gap:13px}.nav a{font-size:.85rem}.brand img{width:65px}.header-actions .btn{padding:8px 10px}.game-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:740px){.wrap{width:min(calc(100% - 28px),var(--max))}.header-inner{min-height:60px;justify-content:space-between}.menu-toggle{display:block;order:3}.nav{display:none;position:absolute;top:60px;left:0;right:0;background:#0b1b2b;flex-direction:column;align-items:stretch;gap:0;padding:12px 18px 20px;border-bottom:1px solid var(--line)}.nav.is-open{display:flex}.nav a{padding:10px;border-bottom:1px solid var(--line)}.header-actions .btn{min-height:36px;padding:5px 9px;font-size:.8rem}.hero-inner{min-height:0;grid-template-columns:1fr;gap:0}.hero-copy{padding:40px 0 12px}.hero-figure{max-height:420px}.hero-figure img{max-height:415px}.stat-strip .wrap{flex-wrap:wrap;justify-content:start}.game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.feature-row{grid-template-columns:1fr;gap:25px}.feature-row img{max-height:320px}.article-shell{grid-template-columns:1fr;padding-block:25px 95px}.sidebar{position:static;border-left:0;border-top:1px solid var(--line);padding:20px 0 0}.footer-inner{display:block}.footer-links{margin-bottom:20px}.site-footer{padding-bottom:110px}.mobile-actions{position:fixed;z-index:25;bottom:0;left:0;right:0;display:flex;gap:8px;padding:9px 14px max(9px,env(safe-area-inset-bottom));background:#091a2beb;border-top:1px solid var(--line)}.mobile-actions .btn{flex:1}h1{font-size:2rem}h2{font-size:1.4rem}}
@media(max-width:370px){.header-actions .btn{font-size:.72rem;padding:5px 7px}.brand img{width:58px}.game-tile span{font-size:.83rem}.hero-actions .btn{flex:1}}

/* Layered purple and charcoal surfaces keep the lobby and long-form pages distinct. */
:root{color-scheme:dark;--bg:#17121c;--panel:#281e30;--line:#594866;--text:#f7f1f7;--muted:#d2c3d7;--cyan:#d2a9f5;--gold:#f5c76a}
body{background:var(--bg);color:var(--text)}
h1{font-size:3rem}h2{color:var(--gold)}h3{color:#f0e5f1}
.site-header{background:#211828ef;border-top:4px solid var(--gold)}
.nav a{color:#ebdff0}.nav a[aria-current=page]{color:var(--gold)}
.btn{border-color:var(--cyan)}.btn-primary{background:var(--gold);border-color:var(--gold);color:#261828}.btn-secondary{background:#33243e;color:#efd8ff}
.menu-toggle{color:var(--text);background:#382940}
.hero{background:#2a2033;border-color:var(--line)}
.hero-inner{min-height:590px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.hero-copy{padding-block:48px}.eyebrow{color:var(--gold)}.lead{color:#ebdfef}
.hero-figure{max-height:590px}.hero-figure img{max-height:575px}
.stat-strip{background:#38283d}.stat-strip .wrap{color:#e2d4e6}.stat-strip strong{color:var(--gold)}
.section-heading a,.text-link,.article a:not(.btn){color:#dfb8ff}
.game-tile{box-shadow:0 8px 22px #0003}.game-tile img{background:#362943}
.content-band{background:#3a2945;color:var(--text)}.content-band h2{color:var(--gold)}.content-band .btn{color:#efd8ff}
.article p,.article li{color:#e6dbe9}.article figure img{background:#2a2133}
.article figure img[src$="/android-guide.webp"],.article figure img[src$="/ios-guide.webp"]{max-width:748px}
.article figure img[src$="/slot-reels.webp"],.article figure img[src$="/account-lock.webp"]{max-width:786px}
.article figure img[src$="/neko.png"],.article figure img[src$="/roma.png"]{max-width:325px}
.page-head{background:#30223b}.page-head p,.sidebar a{color:#ddcde3}
.notice{background:#30253a}.article th{background:#3a2b47;color:var(--gold)}
.site-footer{background:#130f18;color:#d7c9dc}.site-footer .footer-links a{color:#f1e7f5}
@media(max-width:740px){
  .nav{background:#291e33}.hero-inner{min-height:0;grid-template-columns:minmax(0,1fr);gap:0}.hero-copy{padding-block:35px 8px}
  .hero-figure{max-height:400px}.hero-figure img{max-height:395px}
  .mobile-actions{background:#211828f5}.mobile-actions .btn-secondary{background:#33243e}
  h1{font-size:2rem}
}

.hero-carousel{min-width:0;width:100%;align-self:center;position:relative;padding-bottom:42px}
.hero-slides{height:min(46vw,535px);min-height:360px;position:relative;overflow:hidden}
.hero-slide{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:opacity .35s ease,visibility .35s ease}
.hero-slide.is-active{opacity:1;visibility:visible}
.hero-slide img{display:block;width:100%;height:100%;object-fit:contain}
.hero-carousel-controls{position:absolute;bottom:0;left:0;right:0;display:flex;align-items:center;justify-content:center;gap:18px}
.hero-carousel-arrow{width:36px;height:36px;border:1px solid #a77cb8;border-radius:4px;background:#33243e;color:#fff;font-size:26px;line-height:1;cursor:pointer}
.hero-carousel-dots{display:flex;align-items:center;gap:9px}
.hero-carousel-dots button{width:12px;height:12px;padding:0;border:1px solid #e5d4ed;border-radius:50%;background:transparent;cursor:pointer}
.hero-carousel-dots button.is-active{background:var(--gold);border-color:var(--gold)}
.hero-carousel-controls button:focus-visible{outline:3px solid var(--gold);outline-offset:3px}
@media(max-width:740px){.hero-carousel{padding-bottom:42px}.hero-slides{height:min(92vw,390px);min-height:250px}}
@media(prefers-reduced-motion:reduce){.hero-slide{transition:none}}
