/* 1.3.0: website palette, full navigation, stream cards, persistent history */
body.theme-thai{background:linear-gradient(color-mix(in srgb,var(--page-bg) 42%,transparent),color-mix(in srgb,var(--page-bg) 62%,transparent)),url('thailand-background.png') center/cover fixed;color:var(--ink);--cream:var(--page-bg)}
.theme-thai .site-header{height:auto;position:relative;background:color-mix(in srgb,var(--header-bg) 94%,transparent)}
.theme-thai .header-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;height:auto;padding:23px 4.5% 16px;gap:18px;max-width:1530px;margin:auto}
.theme-thai .brand{max-width:100%;overflow-wrap:anywhere}.theme-thai .brand small{max-width:none;color:var(--muted)}
.theme-thai #site-nav{display:flex;position:static;order:3;width:100%;flex-wrap:wrap;align-items:center;justify-content:flex-start;gap:6px 18px;padding:14px 0 0;border-top:1px solid var(--line);border-bottom:0;background:transparent;color:var(--muted);font-size:13px}
.theme-thai #site-nav a{display:block;padding:7px 0;white-space:normal;text-decoration:none;line-height:1.4}
.theme-thai #site-nav a:hover,.theme-thai #site-nav a[aria-current=page]{color:var(--gold)}
.theme-thai .header-cta{display:block;background:var(--twitch);margin-left:auto;white-space:nowrap}
.theme-thai .thailand-ribbon,.theme-thai footer{background:var(--header-bg);color:var(--muted)}
.theme-thai main>.section{background:color-mix(in srgb,var(--panel-bg) 95%,transparent);border:1px solid #ffffff25;border-radius:20px;margin-top:28px;margin-bottom:28px;padding-left:4%;padding-right:4%;backdrop-filter:blur(7px)}
.theme-thai main>.text-section{background:var(--block-bg);color:var(--block-color)}
.theme-thai .hero{background:linear-gradient(90deg,#09091dcc,#09091d22),url('thailand-background.png') center/cover;min-height:650px;width:calc(100% - 40px)}
.theme-thai .hero-photo{display:none}.theme-thai .hero-shade{background:linear-gradient(0deg,#09091d77,transparent 70%)}
.theme-thai .hero-content{position:relative;z-index:1}.theme-thai .hero h1,.theme-thai .hero-description{color:#fff}.theme-thai .hero h1{text-shadow:0 3px 25px #0009}
.theme-thai .hero .eyebrow,.theme-thai .hero-caption,.theme-thai .hero-secondary{color:var(--gold)}
.theme-thai .stream-card{background:color-mix(in srgb,var(--panel-bg) 92%,transparent)}
.theme-thai .stream-card p,.theme-thai .stream-card-note,.theme-thai .stream-card-top{color:var(--muted)}
.theme-thai .intro-strip{background:color-mix(in srgb,var(--panel-bg) 90%,transparent);border-radius:0 0 16px 16px;color:var(--muted)}
.theme-thai .story-card,.theme-thai .contact-form,.theme-thai .embed-placeholder{background:var(--panel-bg);color:var(--ink)}
.theme-thai .story-content h3,.theme-thai .embed-placeholder h2,.theme-thai .footer-brand{color:var(--ink)}
.theme-thai .story-content p,.theme-thai .split .prose,.theme-thai .connect .prose,.theme-thai .section-number,.theme-thai .footer-top>p,.theme-thai .footer-bottom{color:var(--muted)}
.theme-thai .btn,.theme-thai .btn.cream,.theme-thai .header-cta:hover{background:var(--twitch);color:#fff}
.theme-thai .prose a,.theme-thai .text-link,.theme-thai .embed-fallback a,.theme-thai .contact-form a{color:var(--mint)}
.theme-thai .text-section .prose a{color:inherit;text-decoration:underline}
.theme-thai input:not([type=checkbox]),.theme-thai textarea,.theme-thai select{background:var(--page-bg);color:var(--ink)}
.stream-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-top:28px}.channel-card{border:1px solid #ffffff33;border-radius:15px;padding:28px;background:color-mix(in srgb,var(--twitch) 9%,var(--panel-bg));min-width:0}
.channel-card h3{font-size:28px;margin:22px 0 12px;overflow-wrap:anywhere}.channel-card p{color:var(--muted)}.channel-card .stream-detail{font-size:13px;min-height:42px}.live-badge{display:inline-flex;align-items:center;gap:8px;background:#ffffff14;border:1px solid #ffffff2e;border-radius:999px;padding:7px 12px;font-size:11px;font-weight:800;letter-spacing:.06em;color:var(--ink)}
.live-badge:before{content:'';width:8px;height:8px;border-radius:50%;background:#b1a6c2}.live-badge[data-state=live]{background:#174031;color:#aff3cd;border-color:#3b9c68}.live-badge[data-state=live]:before{background:#71e2a1}.live-badge[data-state=offline]{color:#e2ddec;background:#393244}.live-badge[data-state=offline]:before{background:#b5acbf}
.auto-embed iframe{display:block;width:100%;max-width:100%;border:1px solid #ffffff33;border-radius:12px;background:#fff}.embed-fallback{padding:14px 0}.auto-embed>.muted{font-size:12px;margin-top:14px}.auto-embed h2{overflow-wrap:anywhere}
.release-history{position:fixed;right:16px;bottom:14px;z-index:90;font-size:12px;max-width:calc(100vw - 28px);color:#f5f1ff}.release-history>summary{list-style:none;cursor:pointer;background:#211a30;box-shadow:0 4px 20px #0005;border:1px solid #baa0dc80;border-radius:10px;padding:10px 14px;font-weight:650}.release-history>summary::-webkit-details-marker{display:none}.release-history>summary:before{content:'◷ ';color:#f5c46b}.release-content{position:absolute;bottom:48px;right:0;width:440px;max-width:calc(100vw - 28px);max-height:min(560px,70vh);overflow:auto;overscroll-behavior:contain;padding:24px;background:#171221;border:1px solid #78618b;border-radius:15px;box-shadow:0 16px 55px #0008}.release-content h2{font-size:23px}.release-content h3{font-size:17px;margin:0 0 8px}.release-content article{padding:20px 0;border-top:1px solid #ffffff25}.release-content>p,.release-date{color:#c7b8da;font-size:12px}.release-content ul{padding-left:20px;margin:12px 0 0}.release-content li{margin:8px 0;line-height:1.6}.theme-thai footer{padding-bottom:86px}
.theme-color-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 22px}.theme-color-grid input[type=color]{width:100%;height:46px;padding:5px;cursor:pointer}.admin-theme .pagination{flex-wrap:wrap;align-items:center}.admin-theme .pagination>span{font-size:13px;color:var(--muted);margin-right:12px}.admin-main{padding-bottom:80px}.admin-theme table{width:100%}
@media(max-width:900px){.theme-thai .hero{min-height:590px}.theme-thai #site-nav{gap:5px 16px}.theme-thai .hero-content{width:100%}}
@media(max-width:640px){.theme-thai .header-inner{padding:18px 18px 12px;gap:14px}.theme-thai .brand{font-size:20px}.theme-thai .brand small{font-size:9px;max-width:210px}.theme-thai .header-cta{padding:9px 12px;font-size:11px}.theme-thai #site-nav{font-size:12px;gap:3px 16px}.theme-thai .hero{width:calc(100% - 24px);min-height:570px}.theme-thai main>.section{width:calc(100% - 28px);padding:32px 22px;margin:20px 14px}.stream-grid{grid-template-columns:1fr;gap:15px}.channel-card{padding:22px}.channel-card h3{font-size:25px}.theme-thai .streams-section h2{font-size:30px}.theme-thai .intro-strip{margin:0 14px}.release-history{right:12px;bottom:10px}.release-content{padding:20px}.theme-color-grid{grid-template-columns:1fr}.auto-embed iframe{height:75vh;min-height:460px}}
/* Keep all navigation items in compact wrapping rows, including on phones. */
.theme-thai #site-nav{flex-direction:row}
body.theme-thai{background-color:var(--page-bg)}
.theme-thai main>.section{backdrop-filter:none}

/* 1.3.1: Versionsanzeige als Bestandteil der Fußleiste. */
.theme-thai footer{padding-bottom:26px}
.theme-thai .footer-bottom{align-items:center;flex-wrap:wrap;gap:16px 24px}
.theme-thai .footer-bottom>div{flex-wrap:wrap;gap:12px 20px}
.theme-thai .footer-bottom>.release-history{position:relative;inset:auto;z-index:90;flex:0 1 auto;min-width:0;max-width:100%;margin-left:auto}
.theme-thai .footer-bottom>.release-history>summary{background:transparent;box-shadow:none;padding:8px 12px;font-size:12px}
.theme-thai .footer-bottom .release-content{bottom:calc(100% + 12px);right:0;width:440px;max-width:min(440px,calc(100vw - 50px));text-align:left}
@media(max-width:900px){.theme-thai .footer-bottom{align-items:stretch}.theme-thai .footer-bottom>.release-history{align-self:flex-end}}
@media(max-width:640px){.theme-thai footer{padding-bottom:25px}}
