/*
Theme Name: BOSTON326 Mobile
Description: Mobile-first black and gold WordPress theme with editable promo images and SEO fields.
Version: 2.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: boston326-mobile
License: GPL-2.0-or-later
*/
:root{--se-gold:#e8bd56;--se-green:#25bd5d;--se-black:#090806;--se-white:#f8f3e8;--se-muted:#c9bfa9;--se-hero-bg:none}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:#080706}
body{margin:0;min-height:100vh;background:#080706;color:var(--se-white);font:500 15px/1.55 'Kanit','Noto Sans Thai',Arial,sans-serif;overflow-x:hidden}
body:has(.bm-shell){display:flex;justify-content:center}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}
a:focus-visible,button:focus-visible{outline:3px solid var(--se-gold);outline-offset:3px}
.bm-shell{position:relative;isolation:isolate;display:flex;flex-direction:column;width:min(100%,430px);min-height:100svh;margin:0 auto;overflow:hidden;background:#110e09 var(--se-hero-bg) center top/cover;box-shadow:0 0 60px #0009}
.bm-shell:before{position:absolute;content:"";inset:0;z-index:-1;background:linear-gradient(180deg,#100c06a8 0%,#0c0905a8 34%,#08070636 68%,#090806a8 100%),radial-gradient(ellipse at 50% 10%,#f2cc7040,transparent 40%);pointer-events:none}
.bm-header{width:100%;padding:34px 12px 0;text-align:center}
.bm-brand{min-height:92px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;margin:auto;color:#f9d878;text-shadow:0 2px 5px #000,0 0 16px #d9a63766}
.bm-brand img{display:block;width:auto;max-width:235px;max-height:87px;object-fit:contain}
.bm-brand-name{font-size:clamp(36px,11vw,52px);font-weight:900;font-style:italic;line-height:.95;letter-spacing:-.06em;color:var(--se-gold);-webkit-text-stroke:.5px #70480b;text-shadow:0 2px 0 #77500c,0 4px 5px #000,0 0 18px #e9b94499}
.bm-brand-url{font:700 10px/1.2 Arial,sans-serif;color:#fff4d2;text-shadow:0 1px 4px #000}
.bm-auth{display:flex;flex-direction:column;gap:8px;margin-top:16px}
.bm-auth a,.bm-login-card>a{display:flex;align-items:center;justify-content:center;width:100%;min-height:46px;border:1px solid #ffffff08;border-radius:12px;background:linear-gradient(115deg,#29251fdf,#39332bea,#211d18e8);box-shadow:0 5px 16px #0005,inset 0 1px #ffffff0a;color:#f6efe0;font-size:14px;font-weight:700;transition:transform .18s,border-color .18s,filter .18s}
.bm-auth a:hover,.bm-login-card>a:hover{transform:translateY(-1px);filter:brightness(1.1)}
.bm-auth .bm-auth-register,.bm-login-card>a.bm-auth-register{border-color:color-mix(in srgb,var(--se-gold) 65%,transparent);background:linear-gradient(110deg,color-mix(in srgb,var(--se-green) 78%,#090806),#241c10,color-mix(in srgb,var(--se-green) 78%,#090806));color:var(--se-gold)}
.bm-notice{display:flex;align-items:center;gap:8px;height:29px;margin-top:11px;padding:0 9px;border:1px solid color-mix(in srgb,var(--se-gold) 45%,transparent);border-radius:7px;background:#080705bf;color:var(--se-gold);font-size:11px;overflow:hidden}
.bm-notice>span{flex:none;font-weight:800}
.bm-notice-track{overflow:hidden;white-space:nowrap}
.bm-notice-track b{display:inline-block;min-width:max-content;animation:bm-marquee 22s linear infinite}
@keyframes bm-marquee{to{transform:translateX(-100%)}}
.bm-main{width:100%;flex:1}
.bm-promo{display:block;width:76%;max-width:340px;margin:28px auto 0;padding:0 0 12px;border:1px solid var(--se-gold);border-radius:12px;background:linear-gradient(180deg,#17120a,#060504 94%);box-shadow:0 0 0 3px #090806bd,0 10px 32px #000b,0 0 22px #d19f3c38;overflow:hidden}
.bm-promo-image{position:relative;width:100%;aspect-ratio:1/1.02;overflow:hidden;background:#16100a}
.bm-promo-image:after{position:absolute;content:"";inset:35% 0 0;background:linear-gradient(180deg,transparent,#100b05df 90%);pointer-events:none}
.bm-promo-image img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .55s}
.bm-promo:hover .bm-promo-image img{transform:scale(1.035)}
.bm-promo-copy{position:absolute;z-index:1;left:12px;right:12px;bottom:12px;text-align:left;text-shadow:0 2px 4px #000}
.bm-promo-copy>span{display:inline-block;margin-bottom:3px;color:#ffe18c;font-size:10px;font-weight:800;letter-spacing:.03em}
.bm-promo-copy h1{margin:0;color:#fff1be;font-size:clamp(18px,5.5vw,25px);font-weight:900;line-height:1.12;text-shadow:0 2px 3px #000,0 0 13px #d99f31aa}
.bm-promo-copy p{margin:4px 0 0;color:#fff;font-size:10px;line-height:1.35}
.bm-services{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:9px 7px 7px}
.bm-service{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:3px;min-width:0;text-align:center;color:#ead39a}
.bm-service>span{display:grid;place-items:center;width:24px;height:24px;border:1px solid #dcb854a8;border-radius:50%;background:linear-gradient(145deg,#fff1bb,#8b6222);color:#211807;font-size:15px;font-weight:900;line-height:1}
.bm-service b{font-size:8px;line-height:1.2;font-weight:700;overflow-wrap:anywhere}
.bm-join{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;width:calc(100% - 24px);min-height:42px;margin:0 auto 2px;padding:4px 36px;border:1px solid #fff0b5;border-radius:999px;background:linear-gradient(180deg,#ffe9a0,#bd8627 45%,#ffe294 67%,#96631b);box-shadow:0 0 14px #efc55c72;color:#251806;text-align:center;line-height:1.12}
.bm-join span{font-size:15px;font-weight:900}
.bm-join small{font-size:8px;font-weight:700}
.bm-join>b{position:absolute;right:12px;top:50%;transform:translateY(-50%);font:900 25px/1 Arial,sans-serif}
.bm-seo-content{width:calc(100% - 30px);margin:32px auto 18px;padding:15px 16px;border:1px solid #b98932a1;border-radius:12px;background:#090805b8;box-shadow:0 8px 24px #0006}
.bm-seo-content:empty{display:none}
.bm-seo-content h2,.bm-seo-content h3,.bm-seo-content h4,.bm-seo-content h5,.bm-seo-content h6{margin:8px 0;color:#f0cd70;line-height:1.35}
.bm-seo-content h2{font-size:19px}.bm-seo-content h3{font-size:16px}.bm-seo-content h4{font-size:14px}.bm-seo-content h5{font-size:13px}.bm-seo-content h6{font-size:12px}
.bm-seo-content p,.bm-seo-content li{margin:5px 0;color:#ddd5c3;font-size:12px}
.bm-seo-content a{color:#f3d16f;text-decoration:underline}
.bm-footer{display:flex;justify-content:center;gap:12px;padding:14px 12px 18px;color:#c7b993;font-size:10px;text-align:center}
.bm-footer a{color:#f4d47b}
.bm-login-shell .bm-header{padding-top:34px}
.bm-login-main{width:100%;padding:22px 18px 36px}
.bm-login-card{width:100%;padding:20px 16px;border:1px solid #d3a746;border-radius:15px;background:#080705d9;box-shadow:0 14px 40px #0009}
.bm-login-card h1{margin:0 0 7px;color:#f6d77d;text-align:center;font-size:24px;line-height:1.2}
.bm-login-card>p{margin:0 0 16px;color:#d0c5ad;text-align:center;font-size:12px}
.bm-login-display{display:flex;align-items:center;min-height:43px;margin:8px 0;padding:0 13px;border:1px solid #ffffff24;border-radius:9px;background:#171511;color:#aaa18f;font-size:12px}
.bm-login-card>a{margin-top:9px}
.bm-login-card h2,.bm-login-card h3,.bm-login-card h4,.bm-login-card h5,.bm-login-card h6{margin:11px 0 0;color:#f2d17a;font-size:12px}
.bm-page{width:100%;max-width:430px;min-height:80vh;margin:auto;padding:25px 18px;color:#eee}
.bm-page h1{color:#f2cf70}
.bm-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
@media(max-width:370px){.bm-header{padding-top:22px}.bm-brand{min-height:80px}.bm-promo{width:82%;margin-top:22px}.bm-service b{font-size:7px}.bm-auth a{min-height:43px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
