/*
Theme Name: 95up Conservatory
Theme URI: https://95up.shop/
Author: 95up.shop
Description: คาสิโนใต้โดมกระจก โทนเขียวหยกและทองแชมเปญ พร้อมคู่มือภาษาไทยสำหรับมือถือ
Version: 1.0.1
Text Domain: up95-conservatory
Requires at least: 6.3
Requires PHP: 7.4
*/
:root{color-scheme:dark;--bg:#0b221b;--panel:#153b2d;--light:#2f5745;--fg:#f9f4e7;--sub:#dcebe0;--gold:#f1ca8c;--line:#668677;--gap:clamp(16px,4vw,70px);--sans:"Leelawadee UI","Noto Sans Thai",Tahoma,Arial,sans-serif}
*,*:before,*:after{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:var(--bg);color:var(--fg);font:1rem/1.7 var(--sans);overflow-wrap:break-word}h1,h2,h3,p,figure{margin:0}h1,h2,h3{line-height:1.35;text-wrap:balance}img,picture,svg{display:block;max-width:100%}a{color:inherit;text-decoration:none}a:hover{color:var(--gold)}:focus-visible{outline:3px solid #ffdf91;outline-offset:3px}select,input,button{font:inherit;color:inherit}select,input{border:1px solid var(--line);border-radius:6px;padding:8px 12px;min-width:0;background:#153b2f}button,select{cursor:pointer}.frame{width:min(1360px,calc(100% - 2 * var(--gap)));margin-inline:auto}.skip{position:absolute;z-index:15;left:12px;top:-100px;background:var(--fg);color:var(--bg);padding:6px 12px}.skip:focus{top:6px}
.mast{position:relative;z-index:8;background:#16382d;border-bottom:1px solid var(--line)}.mast-inner,.wordmark,.main-menu ul,.mast-actions,.action,.text-link,.hero-actions,.section-head,.journal-heading,.spot-controls,.read-meta,.article-byline,.crumb{display:flex;align-items:center}.mast-inner{min-height:66px;justify-content:space-between;gap:16px}.wordmark{gap:8px}.wordmark span{font:700 clamp(18px,1.9vw,28px)/1 Georgia,serif;letter-spacing:-.04em}.wordmark b,.hero-brand b,.text-link{color:var(--gold)}.wordmark img{width:34px;height:34px}.main-menu ul,.closing ul{list-style:none;padding:0;margin:0}.main-menu ul,.mast-actions{gap:clamp(12px,2vw,33px)}.main-menu a,.desk-login,.text-link,.closing nav a{display:inline-flex;align-items:center;min-height:42px}.main-menu a[aria-current=page]{color:var(--gold);text-decoration:underline}.action{min-height:46px;justify-content:center;gap:6px;padding:8px 18px;border:1px solid var(--gold);border-radius:6px;font-weight:700;line-height:1.4}.primary-action,.ink-action{background:var(--gold);color:#102324}.primary-action:hover,.ink-action:hover{background:#ffe0a7;color:#14282a}.outline-action{background:#305642;color:#fff3dd}.nav-toggle,.main-menu .drawer-login{display:none}.ui-icon{flex:none}.text-link{gap:6px;font-weight:650}
.hero{position:relative;isolation:isolate;display:grid;min-height:clamp(430px,37vw,620px);background:var(--panel)}.cover-art,.cover-art img,.hero:after{position:absolute;inset:0;width:100%;height:100%}.cover-art{z-index:-2}.cover-art img{object-fit:cover;object-position:50% 44%}.hero:after{content:"";z-index:-1;background:linear-gradient(90deg,#102b20f7 0%,#102b20df 19%,#132f2499 41%,transparent 71%),linear-gradient(0deg,#0b221b66,transparent 22%)}.hero-frame{display:flex;align-items:center}.hero-copy{max-width:min(53%,680px);padding:24px 0}.deck-kicker,.lesson-copy small,.spot-copy small{color:var(--gold);font:650 .73rem/1.5 Arial,var(--sans);letter-spacing:.17em}.hero-brand{display:block;font:700 clamp(3.2rem,6.6vw,7rem)/1.03 Georgia,serif;letter-spacing:-.065em;margin:9px 0}.hero-heading{display:block;font-size:clamp(1.1rem,2vw,2rem)}.hero-intro{color:#f0eadd;margin:10px 0 20px}.hero-actions{gap:10px}
.spotlight{margin-top:24px;position:relative;background:var(--panel);border:1px solid var(--line);border-radius:9px;overflow:hidden}.spot-link{display:flex;align-items:center;min-height:126px;position:relative;isolation:isolate}.spot-link img{position:absolute;inset:0 0 0 auto;width:44%;height:100%;object-fit:cover;object-position:center 36%;z-index:-2}.spot-link:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,var(--panel) 50%,transparent 78%)}.spot-link[href*="/slots/"] img{object-fit:contain}.spot-copy{padding:14px 4% 26px;max-width:62%;display:grid;gap:3px}.spot-copy strong{font-size:clamp(1rem,2.2vw,1.75rem);line-height:1.35}.spot-controls{position:absolute;right:8px;bottom:7px;gap:4px;background:#20333dea;border-radius:20px}.spot-controls button{width:38px;height:37px;border:0;background:transparent;color:white;font-size:1.45rem;line-height:1}.spot-count{font-size:.75rem}
.directory,.journal,.archive-body,.reading{padding-block:clamp(28px,4vw,64px)}.section-head,.journal-heading{justify-content:space-between;gap:12px;margin-bottom:15px}.section-head h2,.journal-heading h2,.member-panel h2,.lesson-copy h2{font-size:clamp(1.3rem,2.4vw,2.1rem)}.topic-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(10px,1.5vw,22px)}.topic,.game-cover,.read-card,.member-panel,.feature-copy,.lesson,.court-demo,.lotto-example{background:var(--panel);border:1px solid var(--line);border-radius:8px}.topic,.read-card{overflow:hidden}.topic-photo{aspect-ratio:3/4;background:#182e37}.topic-photo img,.read-cover img{width:100%;height:100%;object-fit:cover}.topic-slots .topic-photo img,.read-card[data-subject=slots] img,.reading-side img[src*="-slots"]{object-fit:contain}.topic-caption{padding:12px;display:flex;justify-content:space-between;gap:5px;align-items:center;border-top:2px solid #cfa66a}.topic-caption p,.read-body p,.member-panel p{color:var(--sub);font-size:.88rem}.topic-caption h3{font-size:1.18rem}.topic-arrow{color:var(--gold)}
.member-guides,.reading{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(0,.85fr);gap:clamp(18px,3vw,48px);align-items:start}.feature-copy,.member-panel,.lesson,.court-demo,.lotto-example{padding:clamp(16px,2.8vw,38px)}.member-panel{display:grid;gap:9px;border-top:3px solid var(--gold)}.member-panel a{display:flex;align-items:center;justify-content:space-between;min-height:45px;border-bottom:1px solid var(--line);color:var(--gold)}.poster-shelf,.lesson{margin-block:clamp(28px,4vw,58px)}.cover-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(8px,1.6vw,20px)}.game-cover{min-width:0;padding:10px;text-align:center}.game-cover img{width:100%;height:auto;aspect-ratio:2/3;object-fit:contain}.game-cover figcaption{display:grid;line-height:1.35;padding-top:8px}.game-cover small,.read-meta,.article-byline,.crumb{color:var(--sub);font-size:.8rem}.poster-shelf .game-cover{display:grid;grid-template-columns:minmax(0,.65fr) minmax(0,1fr);align-items:center;gap:8px}
.lesson{display:grid;grid-template-columns:1.35fr 1fr;gap:20px;align-items:center;background:linear-gradient(120deg,#3c5c45,#183d2a)}.lesson-copy p,.lesson-copy h2{margin-top:9px}.court-demo,.lotto-lab,.catalog-controls{display:grid;gap:8px}.court-demo{background:#153b2f}.court-demo output,.lotto-lab output,.catalog-controls output{color:#ffe1a2}.journal-list,.read-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.read-cover{display:block;aspect-ratio:1.85;background:#203d30}.read-body{padding:14px}.read-meta,.article-byline,.crumb{gap:9px;flex-wrap:wrap}.read-body h2,.read-body h3{font-size:1.13rem;margin:7px 0}.journal-controls{display:flex;gap:8px;align-items:center;font-size:.85rem}
.inner-head{padding:clamp(28px,5vw,76px) 0;background:linear-gradient(110deg,#31563f,#183a2c);border-bottom:1px solid var(--line)}.inner-head h1{font-size:clamp(1.65rem,4vw,3.4rem);max-width:32ch;margin:14px 0}.inner-head p{max-width:72ch;color:var(--sub)}.prose{min-width:0}.prose h2{margin:1.55em 0 .4em;font-size:clamp(1.22rem,1.9vw,1.65rem)}.prose h2:first-child{margin-top:0}.prose p,.prose table{margin:.65rem 0 1.15rem}.prose a,.post-links a{color:#ffdc99;text-decoration:underline;text-underline-offset:.2em}.prose .action{display:inline-flex;text-decoration:none;color:#102324}.prose table{width:100%;border-collapse:collapse}.prose td,.prose th{border:1px solid var(--line);padding:8px;text-align:left}.prose th{background:var(--light)}.reading-side img,.table-gallery img,.deck-reels img{height:auto;width:100%;border-radius:8px}.deck-reels img{max-width:460px}.reading-side{min-width:0}.reading-side img{max-height:530px;object-fit:contain}.table-gallery,.reel-screen,.lotto-example,.catalog-controls{margin-block:20px}.table-gallery figcaption,.reel-screen figcaption{color:var(--sub);font-size:.9rem;margin:.6rem 0}.lotto-lab{max-width:340px}.catalog-controls{grid-template-columns:auto minmax(0,1fr);align-items:center}.catalog-controls output{grid-column:1/-1}.post-links{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}.outbound{border-left:3px solid var(--gold);padding-left:14px;margin-bottom:22px}.closing{border-top:1px solid var(--line);padding:38px 0 16px;background:#142730}.closing-grid,.colophon{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:20px}.closing h2{font-size:1.05rem}.closing-brand p,.colophon{color:var(--sub);font-size:.86rem;margin-top:12px}.colophon{border-top:1px solid var(--line);padding-top:16px;display:flex;justify-content:space-between;flex-wrap:wrap}.archive-intro{margin-bottom:28px}.missing{padding-block:70px}
@media(max-width:860px){.main-menu,.mast-actions .desk-login{display:none}.mast-inner{min-height:54px}.nav-toggle{display:grid;align-content:center;justify-items:center;gap:5px;width:44px;height:43px;border:1px solid var(--line);background:var(--panel);border-radius:5px}.nav-toggle span{width:19px;height:2px;background:var(--fg)}.menu-open .main-menu{display:block;position:absolute;top:100%;left:0;right:0;background:#153b2f;padding:10px var(--gap) 18px;box-shadow:0 12px 25px #0005}.main-menu ul{display:grid;grid-template-columns:1fr 1fr;gap:0}.main-menu .drawer-login{display:flex}.mast-actions .action{min-height:39px;font-size:.83rem}.topic-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.member-guides,.reading{grid-template-columns:minmax(0,1fr)}.reading-side img{max-width:420px}.journal-list,.read-grid{grid-template-columns:1fr 1fr}.cover-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:660px){.frame{width:calc(100% - 28px)}.hero{min-height:clamp(338px,61svh,548px)}.hero-frame{align-items:flex-end;justify-content:center;text-align:center}.hero-copy{max-width:100%;width:100%;padding:14px 0 18px}.cover-art img{object-position:50% 37%}.hero:after{background:linear-gradient(0deg,#0b221b 1%,#0b221bfc 21%,#0b221be0 32%,#0b221b42 52%,transparent 68%)}.hero-brand{font-size:clamp(2.65rem,12.5vw,4.5rem);margin:3px 0}.hero-heading{font-size:1.12rem}.hero-intro{font-size:.87rem;margin:6px 0 12px}.deck-kicker{font-size:.59rem}.hero-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin:auto;max-width:390px}.hero-actions .action{padding:6px 2px;gap:2px;font-size:clamp(.74rem,3.18vw,.92rem)}.hero-actions .ui-icon{width:13px}.mast-actions{gap:8px}.mast .wordmark span{font-size:1rem}.mast .wordmark img{width:27px;height:27px}.spotlight{margin-top:13px}.spot-copy{max-width:65%;padding:12px}.spot-copy small{font-size:.65rem}.spot-link{min-height:108px}.topic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.topic-photo{aspect-ratio:1}.topic-slots .topic-photo,.topic-sports .topic-photo{aspect-ratio:2/3}.topic-lottery{grid-column:1/-1}.topic-lottery .topic-photo{aspect-ratio:1.65}.topic-lottery img{object-position:50% 38%}.topic-caption{padding:9px}.topic-caption p{font-size:.76rem}.cover-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.poster-shelf .game-cover{display:block}.lesson,.closing-grid{grid-template-columns:1fr}.journal-list,.read-grid{grid-template-columns:1fr}.journal-heading{align-items:flex-start;flex-wrap:wrap}.section-head{gap:5px}.section-head .text-link{font-size:.8rem}.prose td,.prose th{padding:5px;font-size:.88rem}.colophon{display:grid;grid-template-columns:1fr;gap:4px}}


.hero-brand,.wordmark span{font-family:Baskervville,Georgia,serif;letter-spacing:-.045em}
.hero-brand b,.wordmark b{color:#ffbf83}.hero-actions .primary-action,.mast .primary-action,.ink-action{background:#ffe5ae}
.topic,.game-cover,.spotlight,.read-card,.member-panel,.lesson,.court-demo,.lotto-example{border-radius:14px 3px 14px 3px}
.topic-photo,.spot-link[href*="/lottery/"]{background:#13262f}.topic-lottery .topic-photo img,.spot-link[href*="/lottery/"] img,.read-card[data-subject=lottery] img,.reading-side img[src*="-lottery"]{object-fit:contain}
.spot-link[href*="/lottery/"] img{object-position:right center}.spot-link[href*="/lottery/"]:after{background:linear-gradient(90deg,#153b2d 49%,transparent 65%)}
.rate-table{max-width:100%;overflow-x:auto}.rate-table table{min-width:540px}.rate-table th,.rate-table td{font-variant-numeric:tabular-nums}
.topic-caption{border-top:2px solid #c68f58}.hero-copy{max-width:min(58%,700px)}.mast-actions .action{white-space:nowrap}
@media(min-width:861px){.topic-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.topic-photo{aspect-ratio:4/5}.topic-lottery .topic-photo{display:grid;align-items:center}}
@media(max-width:660px){.hero-copy{max-width:100%}.topic-lottery .topic-photo{aspect-ratio:1.65}.spot-copy{max-width:64%}.topic-lottery .topic-photo img{object-position:50% 50%}.hero-actions .action{font-size:clamp(.74rem,3.18vw,.92rem)}}
@media(max-width:420px){
    .mast-inner{gap:5px}
    .mast .wordmark{gap:5px}
    .mast-actions{gap:4px}
    .mast-actions .primary-action{padding-inline:8px}
    .mast-actions .primary-action .ui-icon{display:none}
}

:root{--gold:#ffcb91;--panel:#153a2b;--sub:#d9e9df;--line:#557762}
.hero-brand,.wordmark span{font-family:Georgia,serif}.hero-brand{font-style:italic}
.hero-copy{padding-bottom:4px}.topic,.game-cover,.read-card,.member-panel,.lesson,.lotto-example,.spotlight{border-radius:3px 15px 3px 15px}
.section-head h2,.journal-heading h2,.member-panel h2,.lesson-copy h2{border-inline-start:3px solid #eda568;padding-inline-start:.55em}
.hero-brand b{color:#f3cd89}.topic-arrow{color:#fbc799}.member-panel{border-top-color:#cf9563}
.topic-lottery .topic-photo,.topic-slots .topic-photo{background:#0c2f23}
.reel-screen img,.reading-side img[src*="slots"],.reading-side img[src*="lottery"]{object-fit:contain}
.spot-link[href*="/lottery/"]:after{background:linear-gradient(90deg,#153b2d 43%,transparent 68%)}
@media(max-width:660px){.hero-frame{align-items:flex-end}.topic-lottery .topic-photo{aspect-ratio:1.45}.topic-lottery .topic-photo img{object-fit:contain}.hero-copy{max-width:100%}}

.hero-brand,.wordmark span{letter-spacing:-.05em}.hero-brand b,.wordmark b{color:#f1cc87}.hero .primary-action{background:#f2cf94;color:#102c20}.hero .outline-action{background:#112d22e8;border-color:#cee1cf;color:#fffaf0}.topic-caption{border-top:2px solid #b9a473}.lotto-example .court-demo{display:grid;gap:.8rem;max-width:34rem}.court-demo output{color:#ffe1a9}.topic-lottery .topic-photo,.topic-slots .topic-photo{background:#122f23}.topic-lottery img,.topic-slots img,.spot-link[href*="/lottery/"] img,.spot-link[href*="/slots/"] img{object-fit:contain!important}.reading-side img[src*="lottery"],.reading-side img[src*="slots"]{max-height:34rem;object-fit:contain}.hero-actions a{min-height:44px}@media(max-width:660px){.hero .hero-brand{font-size:clamp(2.7rem,12vw,4.4rem)}.hero .cover-art img{object-position:50% 34%}.hero-actions a{white-space:nowrap;min-width:0;padding-inline:8px}.hero-actions{gap:8px}.topic-lottery .topic-photo{aspect-ratio:1.3}}

.court-demo svg{width:100%;max-width:22rem;height:auto;margin-bottom:12px}.hero-brand,.wordmark span{font-style:normal}@media(max-width:380px){.wordmark span{font-size:1.08rem}.hero .hero-intro{line-height:1.5}.hero-actions a{font-size:12px}}