/*
Theme Name: Tenlin 娛樂資料室
Theme URI: https://tenlin.com.tw/
Author: Tenlin Editorial
Description: Tenlin 娛樂資料室 2.4.0，使用暖色編輯雜誌與可排序分頁圖鑑呈現平台、遊戲與安全資料。
Version: 2.4.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: tenlin-knowledge
*/

:root {
  --tn-plum: #3d2436;
  --tn-plum-soft: #684457;
  --tn-terracotta: #c86647;
  --tn-orange: #e58c4e;
  --tn-mustard: #e2b650;
  --tn-sage: #78927b;
  --tn-sage-soft: #dce7d9;
  --tn-cream: #fff9f0;
  --tn-paper: #f7eee3;
  --tn-white: #ffffff;
  --tn-rose: #f3ddd2;
  --tn-muted: #806e70;
  --tn-shadow: 0 14px 32px rgba(61,36,54,.10);
  --tn-shadow-small: 0 7px 18px rgba(61,36,54,.09);
  --tn-serif: Georgia, 'Noto Serif TC', 'PingFang TC', 'Microsoft JhengHei', serif;
  --tn-sans: 'Noto Sans TC', 'PingFang TC', 'Microsoft JhengHei', Arial, sans-serif;
  --tn-max: 1220px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; color: var(--tn-plum); background: var(--tn-cream); font-family: var(--tn-sans); font-size: 16px; line-height: 1.75; }
main { min-width: 0; }
a { color: var(--tn-terracotta); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--tn-plum); }
button, input, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; height: auto; vertical-align: middle; }
[hidden] { display: none !important; }
.tenlin-shell { width: min(calc(100% - 48px), var(--tn-max)); margin: 0 auto; }
.tenlin-skip-link { position: absolute; left: -9999px; top: 10px; z-index: 99; padding: 8px 14px; border-radius: 8px; background: var(--tn-plum); color: #fff; }
.tenlin-skip-link:focus { left: 10px; }

.tenlin-site-meta { background: var(--tn-plum); color: #f8e9dc; font-size: .76rem; }
.tenlin-site-meta-inner { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; }
.tenlin-header { position: relative; z-index: 20; background: var(--tn-cream); }
.tenlin-header-inner { display: flex; align-items: center; min-height: 88px; gap: 28px; }
.tenlin-brand { display: flex; align-items: center; gap: 13px; min-width: 270px; }
.tenlin-brand-mark-link, .tenlin-brand-mark { display: block; width: 52px; height: 52px; line-height: 0; }
.tenlin-brand-mark { border-radius: 50%; object-fit: contain; background: var(--tn-rose); }
.tenlin-brand-logo, .tenlin-brand-logo .custom-logo-link { display: block; width: 52px; height: 52px; line-height: 0; }
.tenlin-brand-logo .custom-logo { display: block; width: 52px; height: 52px; border-radius: 50%; object-fit: contain; }
.tenlin-brand-copy { color: var(--tn-plum); text-decoration: none; }
.tenlin-brand-copy strong { display: block; font-family: var(--tn-serif); font-size: 1.22rem; letter-spacing: .02em; }
.tenlin-brand-copy small { display: block; color: var(--tn-muted); font-size: .68rem; letter-spacing: .1em; }
.tenlin-brand-copy:hover { color: var(--tn-terracotta); }
.tenlin-nav { display: flex; align-items: center; justify-content: flex-end; flex: 1; }
.tenlin-menu-list { display: flex; align-items: center; gap: 9px; margin: 0; padding: 0; list-style: none; }
.tenlin-menu-list li { margin: 0; padding: 0; }
.tenlin-nav a { display: inline-block; padding: 8px 13px; border-radius: 999px; color: var(--tn-plum); font-size: .88rem; font-weight: 700; text-decoration: none; }
.tenlin-nav > a + a { margin-left: 5px; }
.tenlin-nav a:hover, .tenlin-nav .current-menu-item > a { background: var(--tn-sage-soft); color: var(--tn-plum); }
.tenlin-menu-toggle { display: none; border: 0; border-radius: 999px; background: var(--tn-plum); color: #fff; padding: 8px 14px; }
.tenlin-header-code { display: none; }

.tenlin-front-lead { position: relative; overflow: hidden; background: var(--tn-paper); }
.tenlin-front-lead::before { position: absolute; right: -110px; top: -150px; width: 430px; height: 430px; border-radius: 50%; background: var(--tn-mustard); opacity: .45; content: ''; }
.tenlin-front-lead::after { position: absolute; left: -110px; bottom: -180px; width: 380px; height: 380px; border-radius: 48% 52% 42% 58%; background: var(--tn-sage-soft); transform: rotate(-22deg); content: ''; }
.tenlin-front-lead-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr); gap: 70px; align-items: center; min-height: 630px; padding: 85px 0 100px; }
.tenlin-file-label { display: inline-flex; gap: 8px; align-items: center; color: var(--tn-terracotta); font-size: .8rem; font-weight: 800; }
.tenlin-file-label::before { width: 28px; height: 4px; border-radius: 999px; background: var(--tn-terracotta); content: ''; }
.tenlin-file-label span:last-child { display: none; }
.tenlin-front-title h1 { max-width: 740px; margin: 24px 0 23px; font-family: var(--tn-serif); font-size: clamp(3.3rem, 7vw, 7.1rem); font-weight: 700; line-height: 1.02; letter-spacing: -.08em; }
.tenlin-front-title h1 em { display: inline-block; padding: 0 .08em; border-radius: 15px; background: var(--tn-terracotta); color: #fff7ef; font-style: normal; transform: rotate(-2deg); }
.tenlin-front-title > p { max-width: 650px; margin: 0; color: var(--tn-muted); font-size: 1.08rem; }
.tenlin-front-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 35px; }
.tenlin-button { display: inline-flex; align-items: center; min-height: 48px; padding: 10px 20px; border: 0; border-radius: 999px; background: var(--tn-plum); color: #fff; font-weight: 800; text-decoration: none; box-shadow: var(--tn-shadow-small); transition: transform .15s ease, background .15s ease; }
.tenlin-button:hover { background: var(--tn-terracotta); color: #fff; transform: translateY(-2px); }
.tenlin-text-link { color: var(--tn-plum); font-weight: 800; text-decoration: none; }
.tenlin-text-link::after { display: inline-block; width: 30px; height: 2px; margin-left: 7px; background: var(--tn-mustard); vertical-align: middle; content: ''; }
.tenlin-index-board { position: relative; border: 0; border-radius: 28px 28px 70px 28px; background: var(--tn-white); box-shadow: 18px 18px 0 var(--tn-sage); transform: rotate(2deg); }
.tenlin-board-top, .tenlin-board-bottom { display: flex; justify-content: space-between; gap: 15px; padding: 18px 24px; color: var(--tn-muted); font-size: .76rem; }
.tenlin-board-top { border-radius: 28px 28px 0 0; background: var(--tn-plum); color: #fff5ea; }
.tenlin-board-top span:last-child { color: var(--tn-mustard); }
.tenlin-board-grid { display: grid; grid-template-columns: 46px 1fr 25px; align-items: center; padding: 19px 24px; }
.tenlin-board-grid > * { padding: 17px 0; }
.tenlin-board-number { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--tn-rose); color: var(--tn-terracotta); font-weight: 800; }
.tenlin-board-grid strong { display: block; font-family: var(--tn-serif); font-size: 1.45rem; }
.tenlin-board-grid small { display: block; color: var(--tn-muted); font-size: .78rem; }
.tenlin-board-mark { color: var(--tn-terracotta); font-size: 1.5rem; text-align: right; }
.tenlin-board-bottom { border-radius: 0 0 70px 28px; background: var(--tn-sage-soft); }
.tenlin-board-bottom strong { color: var(--tn-sage); }
.tenlin-front-strip { background: var(--tn-mustard); color: var(--tn-plum); }
.tenlin-front-strip-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; align-items: center; padding: 14px 0; font-size: .88rem; }
.tenlin-front-strip-inner > span { font-weight: 800; }
.tenlin-front-strip a { color: var(--tn-plum); font-weight: 800; }

.tenlin-front-section { padding: 105px 0; }
.tenlin-front-section--blue { background: var(--tn-plum); color: #fff8f0; }
.tenlin-front-section--blue .tenlin-section-marker p, .tenlin-front-section--blue .tenlin-record-head a { color: #e8d9d4; }
.tenlin-section-marker { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(220px, .55fr); align-items: end; gap: 28px; margin-bottom: 42px; }
.tenlin-section-marker > span { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--tn-rose); color: var(--tn-terracotta); font-weight: 800; }
.tenlin-section-marker small { color: var(--tn-terracotta); font-size: .78rem; font-weight: 800; }
.tenlin-front-section--blue .tenlin-section-marker small { color: var(--tn-mustard); }
.tenlin-section-marker h2 { max-width: 720px; margin: 8px 0 0; font-family: var(--tn-serif); font-size: clamp(2.1rem, 4vw, 4.1rem); line-height: 1.08; letter-spacing: -.06em; }
.tenlin-section-marker p { margin: 0; color: var(--tn-muted); font-size: .94rem; }
.tenlin-directory-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tenlin-directory-list a { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 8px 20px; padding: 28px 30px; border-radius: 22px; background: var(--tn-white); color: var(--tn-plum); text-decoration: none; box-shadow: var(--tn-shadow-small); transition: transform .15s ease, box-shadow .15s ease; }
.tenlin-directory-list a:nth-child(2) { background: var(--tn-sage-soft); }
.tenlin-directory-list a:nth-child(3) { background: var(--tn-rose); }
.tenlin-directory-list a:nth-child(4) { background: #f9e8b6; }
.tenlin-directory-list a:hover { color: var(--tn-plum); transform: translateY(-4px) rotate(-1deg); box-shadow: var(--tn-shadow); }
.tenlin-directory-code { grid-column: 1 / -1; color: var(--tn-terracotta); font-size: .78rem; font-weight: 800; }
.tenlin-directory-list strong { font-family: var(--tn-serif); font-size: 1.65rem; }
.tenlin-directory-list p { grid-column: 1 / -1; margin: 0; color: var(--tn-muted); font-size: .91rem; }
.tenlin-directory-list b { align-self: end; color: var(--tn-terracotta); text-align: right; }
.tenlin-record-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.tenlin-record-panel { overflow: hidden; border-radius: 24px; background: rgba(255,255,255,.1); }
.tenlin-record-head { display: flex; justify-content: space-between; gap: 20px; padding: 20px 24px; background: var(--tn-terracotta); color: #fff8f0; font-weight: 800; }
.tenlin-record-head a { color: #fff8f0; text-decoration: none; }
.tenlin-record-row { display: grid; grid-template-columns: 42px 1fr 20px; gap: 12px; align-items: center; padding: 18px 24px; color: #fff8f0; text-decoration: none; }
.tenlin-record-row + .tenlin-record-row { border-top: 1px dashed rgba(255,248,240,.26); }
.tenlin-record-row:hover { background: rgba(255,255,255,.1); color: var(--tn-mustard); }
.tenlin-record-row strong, .tenlin-record-row small { display: block; }
.tenlin-record-row small { color: #e8d9d4; font-size: .78rem; }
.tenlin-record-row b { color: var(--tn-mustard); text-align: right; }
.tenlin-bulletin-list { display: grid; gap: 12px; }
.tenlin-bulletin-list > a, .tenlin-bulletin-list > article { display: grid; grid-template-columns: 100px 1fr 130px 75px; gap: 24px; align-items: center; padding: 20px 24px; border-radius: 16px; background: var(--tn-white); color: var(--tn-plum); text-decoration: none; box-shadow: var(--tn-shadow-small); }
.tenlin-bulletin-list > a:hover, .tenlin-bulletin-list > article:hover { background: var(--tn-sage-soft); color: var(--tn-plum); }
.tenlin-bulletin-list span, .tenlin-bulletin-list em { color: var(--tn-muted); font-size: .78rem; font-style: normal; }
.tenlin-bulletin-list strong { font-family: var(--tn-serif); font-size: 1.08rem; }
.tenlin-bulletin-list b { color: var(--tn-terracotta); text-align: right; }
.tenlin-front-note { padding: 66px 0; background: var(--tn-terracotta); color: #fff8f0; }
.tenlin-front-note-grid { display: grid; grid-template-columns: 90px 1fr 180px; gap: 28px; align-items: start; }
.tenlin-note-stamp { display: grid; place-items: center; width: 76px; height: 76px; border: 3px solid rgba(255,255,255,.65); border-radius: 50%; font-size: .72rem; font-weight: 800; transform: rotate(-8deg); }
.tenlin-front-note h2 { margin: 0 0 6px; font-family: var(--tn-serif); font-size: 2rem; }
.tenlin-front-note p { max-width: 730px; margin: 0; color: #fff0ea; }
.tenlin-front-note a { color: #fff; font-weight: 800; }

.tenlin-file-head { position: relative; overflow: hidden; background: var(--tn-paper); border-radius: 0 0 70px 0; }
.tenlin-file-head::after { position: absolute; right: -90px; bottom: -150px; width: 300px; height: 300px; border-radius: 50%; background: var(--tn-mustard); opacity: .45; content: ''; }
.tenlin-file-head--safety { background: var(--tn-sage-soft); }
.tenlin-file-head .tenlin-shell { position: relative; z-index: 1; padding-top: 25px; padding-bottom: 85px; }
.tenlin-breadcrumbs { color: var(--tn-muted); font-size: .8rem; }
.tenlin-breadcrumbs a { color: var(--tn-terracotta); font-weight: 700; }
.tenlin-file-head-line { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 55px; padding: 0; border: 0; color: var(--tn-terracotta); font-size: .78rem; font-weight: 800; }
.tenlin-file-head-line span { padding: 7px 12px; border-radius: 999px; background: var(--tn-white); }
.tenlin-file-head-line span:last-child { color: var(--tn-sage); }
.tenlin-file-head h1 { max-width: 900px; margin: 22px 0 16px; font-family: var(--tn-serif); font-size: clamp(3rem, 7vw, 6.3rem); line-height: 1.03; letter-spacing: -.07em; }
.tenlin-file-head p { max-width: 760px; margin: 0; color: var(--tn-muted); font-size: 1.08rem; }
.tenlin-data-section { padding: 84px 0 108px; }
.tenlin-index-toolbar { display: grid; grid-template-columns: minmax(0, 1fr) 260px auto; gap: 14px; align-items: end; padding: 20px; border: 0; border-radius: 22px; background: var(--tn-white); box-shadow: var(--tn-shadow-small); }
.tenlin-index-toolbar--games { grid-template-columns: minmax(0, 1fr) 240px 240px auto; }
.tenlin-index-toolbar--platforms { grid-template-columns: minmax(0, 1fr) 220px 240px auto; }
.tenlin-index-toolbar label { display: block; }
.tenlin-index-toolbar label span { display: block; margin-bottom: 7px; color: var(--tn-muted); font-size: .76rem; font-weight: 800; }
.tenlin-index-toolbar input, .tenlin-index-toolbar select { width: 100%; min-height: 45px; padding: 8px 13px; border: 2px solid var(--tn-paper); border-radius: 12px; outline: 0; background: var(--tn-cream); color: var(--tn-plum); }
.tenlin-index-toolbar input:focus, .tenlin-index-toolbar select:focus { border-color: var(--tn-mustard); }
.tenlin-index-toolbar button { min-height: 45px; padding: 8px 16px; border: 0; border-radius: 999px; background: var(--tn-plum); color: #fff; font-weight: 700; }
.tenlin-index-status-line { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 18px 0; color: var(--tn-muted); font-size: .84rem; }
.tenlin-index-status-line strong { padding: 5px 11px; border-radius: 999px; background: var(--tn-sage-soft); color: var(--tn-sage); font-size: .82rem; }
.tenlin-platform-directory { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tenlin-platform-record { display: grid; grid-template-columns: 48px 86px minmax(160px, 1fr) 180px 60px; gap: 16px; align-items: center; padding: 19px; border-radius: 20px; background: var(--tn-white); box-shadow: var(--tn-shadow-small); }
.tenlin-platform-record:hover { transform: translateY(-3px); box-shadow: var(--tn-shadow); }
.tenlin-record-index { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--tn-rose); color: var(--tn-terracotta); font-size: .77rem; font-weight: 800; }
.tenlin-platform-thumb { width: 76px; height: 58px; overflow: hidden; border-radius: 12px; background: var(--tn-paper); }
.tenlin-platform-thumb img { width: 100%; height: 100%; object-fit: contain; }
.tenlin-platform-record-main > span, .tenlin-game-record-top > span { color: var(--tn-terracotta); font-size: .76rem; font-weight: 800; }
.tenlin-platform-record-main h2, .tenlin-game-record-body h2 { margin: 3px 0 0; font-family: var(--tn-serif); font-size: 1.22rem; line-height: 1.25; }
.tenlin-platform-record-main p, .tenlin-game-record-body > p { margin: 3px 0 0; color: var(--tn-muted); font-size: .86rem; }
.tenlin-platform-record dl, .tenlin-game-record dl { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.tenlin-platform-record dl div, .tenlin-game-record dl div { min-width: 0; }
.tenlin-platform-record dt, .tenlin-game-record dt { color: var(--tn-muted); font-size: .7rem; }
.tenlin-platform-record dd, .tenlin-game-record dd { margin: 2px 0 0; font-size: .82rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tenlin-record-open { color: var(--tn-terracotta); font-weight: 800; text-align: right; text-decoration: none; }
.tenlin-record-open span { display: inline-block; font-size: 1.4rem; }
.tenlin-empty-line { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; padding: 28px 0; color: var(--tn-muted); }
.tenlin-empty-line span { color: var(--tn-terracotta); font-weight: 800; }
.tenlin-empty-line strong { color: var(--tn-plum); }
.tenlin-empty-line button { border: 0; border-radius: 999px; background: var(--tn-sage-soft); color: var(--tn-sage); font-weight: 800; }

.tenlin-detail-intro { max-width: 980px; margin: 0 auto 42px; padding: 24px 28px 26px; border-left: 5px solid var(--tn-terracotta); border-radius: 0 22px 22px 0; background: var(--tn-white); box-shadow: var(--tn-shadow-small); }
.tenlin-detail-intro span { display: block; margin-bottom: 9px; color: var(--tn-terracotta); font-size: .78rem; font-weight: 800; letter-spacing: .08em; }
.tenlin-detail-intro p { max-width: 860px; margin: 0; color: var(--tn-muted); font-size: 1rem; line-height: 1.9; }

.tenlin-profile-layout { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 55px; align-items: start; }
.tenlin-data-profile { overflow: hidden; border: 0; border-radius: 24px; background: var(--tn-white); box-shadow: var(--tn-shadow); }
.tenlin-profile-top { display: flex; justify-content: space-between; gap: 15px; padding: 15px 19px; background: var(--tn-plum); color: #fff8f0; font-size: .75rem; font-weight: 800; }
.tenlin-profile-top span:last-child { color: var(--tn-mustard); }
.tenlin-profile-image { display: grid; place-items: center; height: 230px; padding: 18px; background: var(--tn-sage-soft); }
.tenlin-profile-image img { width: 100%; height: 100%; object-fit: contain; }
.tenlin-data-profile h2, .tenlin-data-profile > p { margin-left: 19px; margin-right: 19px; }
.tenlin-data-profile h2 { margin-top: 20px; margin-bottom: 0; font-family: var(--tn-serif); font-size: 1.75rem; }
.tenlin-data-profile > p { color: var(--tn-muted); font-size: .9rem; }
.tenlin-profile-links { display: flex; flex-wrap: wrap; gap: 10px; padding: 17px 19px; }
.tenlin-profile-links a { padding: 7px 11px; border-radius: 999px; background: var(--tn-rose); color: var(--tn-terracotta); font-size: .78rem; font-weight: 800; text-decoration: none; }
.tenlin-data-heading { margin-bottom: 20px; }
.tenlin-data-heading > span, .tenlin-profile-tag { color: var(--tn-terracotta); font-size: .78rem; font-weight: 800; }
.tenlin-data-heading h2 { margin: 10px 0 7px; font-family: var(--tn-serif); font-size: 2.6rem; line-height: 1.06; }
.tenlin-data-heading p { max-width: 600px; margin: 0; color: var(--tn-muted); }
.tenlin-field-table { margin: 0; }
.tenlin-field-table > div { display: grid; grid-template-columns: 190px 1fr; gap: 20px; margin-bottom: 8px; padding: 14px 16px; border-radius: 12px; background: var(--tn-white); box-shadow: 0 3px 12px rgba(61,36,54,.05); }
.tenlin-field-table > div:nth-child(even) { background: var(--tn-paper); }
.tenlin-field-table dt { color: var(--tn-muted); font-size: .78rem; }
.tenlin-field-table dd { margin: 0; font-weight: 700; }
.tenlin-field-table mark { padding: 3px 8px; border-radius: 999px; background: #f9e8b6; color: var(--tn-plum); font-size: .75rem; }
.tenlin-data-warning { margin-top: 26px; padding: 21px; border-radius: 18px; background: var(--tn-rose); }
.tenlin-data-warning strong { display: block; font-family: var(--tn-serif); font-size: 1.16rem; }
.tenlin-data-warning p { margin: 5px 0 9px; color: #725951; font-size: .9rem; }
.tenlin-data-warning a { font-weight: 800; }
.tenlin-external-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 18px; padding: 19px 21px; border-radius: 18px; background: var(--tn-sage-soft); }
.tenlin-external-cta span { display: block; color: var(--tn-sage); font-size: .76rem; font-weight: 800; }
.tenlin-external-cta strong { display: block; margin-top: 3px; color: var(--tn-plum); font-family: var(--tn-serif); font-size: 1.15rem; }
.tenlin-external-cta p { margin: 4px 0 0; color: var(--tn-muted); font-size: .82rem; }
.tenlin-external-cta a { flex: 0 0 auto; padding: 10px 15px; border-radius: 999px; background: var(--tn-plum); color: #fff8f0; font-size: .82rem; font-weight: 800; text-decoration: none; }
.tenlin-button--accent { background: var(--tn-terracotta) !important; color: #fff8f0 !important; }
.tenlin-front-entry { padding: 0 0 76px; background: var(--tn-cream); }
.tenlin-front-entry-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 28px 32px; border-radius: 24px; background: var(--tn-sage-soft); }
.tenlin-front-entry-inner span { color: var(--tn-sage); font-size: .78rem; font-weight: 800; }
.tenlin-front-entry-inner h2 { margin: 6px 0 4px; color: var(--tn-plum); font-family: var(--tn-serif); font-size: 1.65rem; }
.tenlin-front-entry-inner p { max-width: 650px; margin: 0; color: var(--tn-muted); font-size: .9rem; }
.tenlin-game-profile { display: grid; grid-template-columns: minmax(220px, 360px) 1fr; gap: 55px; align-items: start; }
.tenlin-game-cover { position: relative; display: grid; place-items: center; min-height: 370px; overflow: hidden; border-radius: 25px; background: var(--tn-sage-soft); box-shadow: var(--tn-shadow); }
.tenlin-game-cover img { max-width: 86%; max-height: 330px; object-fit: contain; }
.tenlin-game-copy h2 { margin: 11px 0 4px; font-family: var(--tn-serif); font-size: clamp(2.5rem, 5vw, 5.2rem); line-height: 1; letter-spacing: -.08em; }
.tenlin-game-subline { margin: 0 0 27px; color: var(--tn-muted); font-size: .85rem; }
.tenlin-field-table--game > div { grid-template-columns: 170px 1fr; }
.tenlin-game-profile + .tenlin-data-warning { max-width: 800px; }
.tenlin-game-directory { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; gap: 22px; }
.tenlin-game-record { display: flex; min-width: 0; min-height: 0; flex-direction: column; overflow: hidden; border: 0; border-radius: 23px; background: var(--tn-white); box-shadow: var(--tn-shadow-small); transition: transform .15s ease, box-shadow .15s ease; }
.tenlin-game-record:hover { transform: translateY(-4px); box-shadow: var(--tn-shadow); }
.tenlin-game-record-image { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; min-height: 0; padding: 13px; overflow: hidden; background: var(--tn-paper); }
.tenlin-game-record-image img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.tenlin-game-record-body { min-width: 0; padding: 16px 17px 19px; background: var(--tn-white); }
.tenlin-game-record-top { display: flex; justify-content: space-between; gap: 8px; }
.tenlin-game-record-top small { color: var(--tn-muted); font-size: .7rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tenlin-game-record h2 { min-width: 0; margin: 5px 0 0; overflow-wrap: anywhere; }
.tenlin-game-record h2 a { color: var(--tn-plum); text-decoration: none; }
.tenlin-game-record dl { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 13px; }

.tenlin-dictionary-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.tenlin-dictionary-entry { display: grid; grid-template-columns: 60px 1fr 24px; gap: 15px; align-items: start; padding: 22px; border-radius: 18px; background: var(--tn-white); box-shadow: var(--tn-shadow-small); }
.tenlin-dictionary-code { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--tn-rose); color: var(--tn-terracotta); font-weight: 800; }
.tenlin-dictionary-entry span { color: var(--tn-sage); font-size: .76rem; font-weight: 800; }
.tenlin-dictionary-entry h2 { margin: 5px 0 4px; font-family: var(--tn-serif); font-size: 1.25rem; }
.tenlin-dictionary-entry p { margin: 0; color: var(--tn-muted); font-size: .88rem; }
.tenlin-dictionary-entry > a { color: var(--tn-terracotta); font-size: 1.4rem; text-decoration: none; }
.tenlin-cross-links { margin-top: 0; background: var(--tn-sage-soft); }
.tenlin-cross-links .tenlin-shell { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; padding: 22px 0; }
.tenlin-cross-links span { color: var(--tn-sage); font-size: .78rem; font-weight: 800; }
.tenlin-cross-links a { padding: 7px 12px; border-radius: 999px; background: var(--tn-white); color: var(--tn-plum); font-size: .85rem; font-weight: 800; text-decoration: none; }
.tenlin-cross-links a:hover { background: var(--tn-mustard); }

.tenlin-safety-flow { padding: 90px 0 105px; background: var(--tn-sage-soft); }
.tenlin-safety-intro { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: 45px; }
.tenlin-safety-intro > span { color: var(--tn-sage); font-weight: 800; }
.tenlin-safety-intro h2 { margin: 0; font-family: var(--tn-serif); font-size: clamp(2.4rem, 5vw, 5.2rem); line-height: 1; }
.tenlin-safety-intro p { margin: 0; color: var(--tn-muted); }
.tenlin-safety-list { display: grid; gap: 13px; }
.tenlin-safety-list article { display: grid; grid-template-columns: 70px 1fr 80px; gap: 26px; align-items: center; padding: 23px 26px; border-radius: 18px; background: var(--tn-white); box-shadow: var(--tn-shadow-small); }
.tenlin-safety-number { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--tn-rose); color: var(--tn-terracotta); font-weight: 800; }
.tenlin-safety-list article span { color: var(--tn-sage); font-size: .78rem; font-weight: 800; }
.tenlin-safety-list h2 { margin: 4px 0; font-family: var(--tn-serif); font-size: 1.55rem; }
.tenlin-safety-list p { margin: 0; color: var(--tn-muted); font-size: .9rem; }
.tenlin-safety-list b { color: var(--tn-terracotta); text-align: right; }
.tenlin-safety-record { padding: 80px 0; background: var(--tn-plum); color: #f3e8df; }
.tenlin-safety-record .tenlin-shell { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.tenlin-safety-record span { color: var(--tn-mustard); font-weight: 800; }
.tenlin-safety-record h2 { margin: 12px 0 8px; font-family: var(--tn-serif); font-size: 3rem; line-height: 1; }
.tenlin-safety-record p { max-width: 620px; margin: 0; color: #e8d9d4; }
.tenlin-record-checklist { display: grid; gap: 14px; padding: 25px; border-radius: 20px; background: rgba(255,255,255,.1); color: #f3e8df; }

.tenlin-method-sheet { padding: 95px 0; }
.tenlin-method-intro { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 40px; align-items: end; margin-bottom: 52px; }
.tenlin-method-intro > span { color: var(--tn-terracotta); font-weight: 800; }
.tenlin-method-intro h2 { margin: 0; font-family: var(--tn-serif); font-size: clamp(2.4rem, 5vw, 5rem); line-height: 1; }
.tenlin-method-intro p { margin: 0; color: var(--tn-muted); }
.tenlin-method-table { display: grid; gap: 12px; }
.tenlin-method-row { display: grid; grid-template-columns: 80px 1.2fr 1fr; gap: 25px; padding: 22px 24px; border-radius: 17px; background: var(--tn-white); box-shadow: var(--tn-shadow-small); }
.tenlin-method-row--head { padding: 0 5px 5px; background: transparent; box-shadow: none; color: var(--tn-muted); font-size: .78rem; font-weight: 800; }
.tenlin-method-row strong { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--tn-rose); color: var(--tn-terracotta); }
.tenlin-method-row b, .tenlin-method-row small { display: block; }
.tenlin-method-row small, .tenlin-method-row > span { color: var(--tn-muted); font-size: .9rem; }
.tenlin-method-limits { padding: 60px 0; background: var(--tn-paper); }
.tenlin-method-limits .tenlin-shell { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.tenlin-method-limits h2 { margin: 8px 0 0; font-family: var(--tn-serif); font-size: 2.6rem; line-height: 1; }
.tenlin-method-limits p { margin: 0; color: var(--tn-muted); }

.tenlin-bulletin-section { padding: 80px 0 105px; }
.tenlin-bulletin-head { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 18px; color: var(--tn-plum); }
.tenlin-bulletin-head strong { color: var(--tn-muted); font-weight: 400; }
.tenlin-bulletin-list--archive { display: grid; gap: 12px; }
.tenlin-bulletin-list--archive > article { grid-template-columns: 110px 1fr 76px; }
.tenlin-bulletin-list--archive article > div > span { color: var(--tn-terracotta); }
.tenlin-bulletin-list--archive h2 { margin: 5px 0; font-family: var(--tn-serif); font-size: 1.4rem; }
.tenlin-bulletin-list--archive h2 a { color: var(--tn-plum); text-decoration: none; }
.tenlin-bulletin-list--archive p { margin: 0; color: var(--tn-muted); font-size: .9rem; }
.tenlin-bulletin-open { color: var(--tn-terracotta); font-weight: 800; text-align: right; text-decoration: none; }
.tenlin-pagination, .pagination { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 0; padding: 0; list-style: none; }
.tenlin-pagination { align-items: center; justify-content: center; width: 100%; }
.tenlin-pagination > ul.page-numbers, .pagination > ul.page-numbers { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px; width: 100%; margin: 0; padding: 0; list-style: none; }
.pagination .nav-links { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px; width: 100%; }
.tenlin-pagination ul.page-numbers > li, .pagination ul.page-numbers > li { display: inline-flex; flex: 0 0 auto; margin: 0; padding: 0; list-style: none; }
.tenlin-pagination a.page-numbers, .tenlin-pagination span.page-numbers, .pagination a.page-numbers, .pagination span.page-numbers { display: inline-grid; place-items: center; min-width: 40px; height: 38px; border: 0; border-radius: 999px; background: var(--tn-white); box-shadow: var(--tn-shadow-small); text-decoration: none; }
.tenlin-pagination span.current, .pagination span.current { background: var(--tn-plum); color: #fff; }
.tenlin-games-pagination { justify-content: center; margin-top: 42px; }
.tenlin-games-pagination .page-numbers { min-width: 44px; height: 42px; }
.tenlin-games-pagination .prev, .tenlin-games-pagination .next { padding: 0 16px; }
.tenlin-platform-pagination { justify-content: center; margin-top: 42px; }

.tenlin-back-to-top { position: fixed; right: 22px; bottom: 22px; z-index: 25; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 9px 14px; border-radius: 999px; background: var(--tn-plum); color: #fff9f0; box-shadow: var(--tn-shadow); font-size: .8rem; font-weight: 800; text-decoration: none; opacity: .92; transition: transform .15s ease, background .15s ease; }
.tenlin-back-to-top:hover { background: var(--tn-terracotta); color: #fff9f0; transform: translateY(-3px); }

.tenlin-page-hero { padding: 70px 0; background: var(--tn-paper); border-radius: 0 0 60px 0; }
.tenlin-page-hero h1 { margin: 18px 0; font-family: var(--tn-serif); font-size: 4rem; line-height: 1.05; }
.tenlin-page-hero p { max-width: 720px; margin: 0; color: var(--tn-muted); }
.tenlin-content { padding: 80px 0; }
.tenlin-content-narrow { max-width: 820px; margin: 0 auto; }
.tenlin-reading-copy { padding: 0; }
.tenlin-reading-copy h2 { margin: 2em 0 .5em; font-family: var(--tn-serif); font-size: 2rem; line-height: 1.12; }
.tenlin-reading-copy p, .tenlin-reading-copy li { color: var(--tn-muted); }
.tenlin-reading-copy table { width: 100%; border-collapse: separate; border-spacing: 0 8px; }
.tenlin-reading-copy th, .tenlin-reading-copy td { padding: 10px; background: var(--tn-white); text-align: left; }
.tenlin-card { overflow: hidden; border-radius: 20px; background: var(--tn-white); box-shadow: var(--tn-shadow-small); }
.tenlin-card-image, .tenlin-card-art { display: block; width: 100%; height: 190px; object-fit: cover; background: var(--tn-paper); }
.tenlin-card-art { display: grid; place-items: end start; padding: 17px; background: var(--tn-sage-soft); }
.tenlin-card-art span { color: var(--tn-plum); font-family: var(--tn-serif); font-size: 1.2rem; }
.tenlin-card-body { padding: 20px; }
.tenlin-card-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--tn-muted); font-size: .74rem; }
.tenlin-card h3 { margin: 10px 0 5px; font-family: var(--tn-serif); font-size: 1.25rem; }
.tenlin-card h3 a { color: var(--tn-plum); text-decoration: none; }
.tenlin-card-excerpt { color: var(--tn-muted); font-size: .9rem; }
.tenlin-card-link { font-weight: 800; text-decoration: none; }
.tenlin-article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tenlin-archive-head { margin-bottom: 30px; }
.tenlin-archive-head h1 { margin: 10px 0; font-family: var(--tn-serif); font-size: 3.5rem; line-height: 1.05; }
.tenlin-archive-head p { color: var(--tn-muted); }
.tenlin-featured-image { margin: 0 0 30px; }
.tenlin-featured-image img { display: block; width: 100%; height: auto; border-radius: 22px; }
.tenlin-article-byline { margin: 0 0 22px; color: var(--tn-muted); font-size: .82rem; }
.tenlin-post-navigation { margin-top: 40px; padding-top: 20px; }

.tenlin-footer { padding: 58px 0 25px; background: var(--tn-plum); color: #f3e8df; }
.tenlin-footer-rule { display: flex; justify-content: space-between; gap: 20px; padding-bottom: 17px; color: #e8d9d4; font-size: .78rem; }
.tenlin-footer-grid { display: grid; grid-template-columns: 1.5fr .8fr .8fr 1.3fr; gap: 45px; padding: 35px 0 50px; }
.tenlin-footer h2, .tenlin-footer h3 { margin: 0 0 10px; color: #fff8f0; font-family: var(--tn-serif); }
.tenlin-footer h2 { font-size: 1.55rem; }
.tenlin-footer h3 { font-size: 1rem; }
.tenlin-footer p { margin: 0; color: #e8d9d4; font-size: .88rem; }
.tenlin-footer-small { max-width: 360px; margin-top: 22px !important; }
.tenlin-footer ul { margin: 0; padding: 0; list-style: none; }
.tenlin-footer li + li { margin-top: 7px; }
.tenlin-footer a { color: #fff8f0; text-decoration: none; }
.tenlin-footer a:hover { color: var(--tn-mustard); }
.tenlin-footer-notice { padding: 20px; border-radius: 18px; background: rgba(255,255,255,.1); }
.tenlin-footer-notice span { color: var(--tn-mustard); font-size: .78rem; font-weight: 800; }
.tenlin-footer-notice p { margin-top: 9px; }
.tenlin-footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 17px; color: #cdb9b7; font-size: .75rem; }

@media (max-width: 1100px) {
  .tenlin-game-directory { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tenlin-platform-directory { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .tenlin-front-lead-grid { grid-template-columns: 1fr; gap: 55px; }
  .tenlin-index-board { max-width: 520px; }
  .tenlin-record-columns, .tenlin-profile-layout, .tenlin-game-profile, .tenlin-safety-record .tenlin-shell, .tenlin-method-limits .tenlin-shell { grid-template-columns: 1fr; gap: 35px; }
  .tenlin-footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .tenlin-shell { width: min(calc(100% - 30px), var(--tn-max)); }
  .tenlin-site-meta-inner { display: block; }
  .tenlin-site-meta-inner span:last-child { display: none; }
  .tenlin-header-inner { min-height: 72px; gap: 12px; }
  .tenlin-brand { min-width: 0; flex: 1; }
  .tenlin-brand-mark-link, .tenlin-brand-mark, .tenlin-brand-logo, .tenlin-brand-logo .custom-logo-link, .tenlin-brand-logo .custom-logo { width: 43px; height: 43px; }
  .tenlin-brand-copy strong { font-size: 1rem; }
  .tenlin-brand-copy small { font-size: .63rem; }
  .tenlin-menu-toggle { display: block; }
  .tenlin-nav { position: absolute; top: 78px; right: 15px; left: 15px; z-index: 30; display: none; align-items: stretch; padding: 10px; border-radius: 18px; background: var(--tn-white); box-shadow: var(--tn-shadow); }
  .tenlin-nav.is-open { display: flex; }
  .tenlin-menu-list { display: flex; flex-direction: column; align-items: stretch; gap: 3px; width: 100%; }
  .tenlin-nav > a + a { margin-left: 0; }
  .tenlin-nav a { display: block; padding: 11px 14px; }
  .tenlin-front-lead-grid { min-height: 0; padding: 64px 0 82px; }
  .tenlin-front-title h1 { font-size: clamp(3rem, 16vw, 5.8rem); }
  .tenlin-front-title > p { font-size: 1rem; }
  .tenlin-index-board { transform: rotate(1deg); box-shadow: 10px 10px 0 var(--tn-sage); }
  .tenlin-front-strip-inner { display: block; padding: 13px 0; }
  .tenlin-front-strip-inner strong, .tenlin-front-strip-inner a { display: inline-block; margin-top: 5px; margin-right: 15px; }
  .tenlin-front-section { padding: 72px 0; }
  .tenlin-section-marker, .tenlin-safety-intro, .tenlin-method-intro { display: block; }
  .tenlin-section-marker > span { margin-bottom: 12px; }
  .tenlin-section-marker p, .tenlin-safety-intro p, .tenlin-method-intro p { margin-top: 18px; }
  .tenlin-directory-list, .tenlin-dictionary-grid { grid-template-columns: 1fr; }
  .tenlin-record-columns { gap: 22px; }
  .tenlin-front-note-grid { grid-template-columns: 68px 1fr; gap: 18px; }
  .tenlin-front-note-grid > a { grid-column: 2; }
  .tenlin-note-stamp { width: 60px; height: 60px; }
  .tenlin-file-head { border-radius: 0 0 40px 0; }
  .tenlin-file-head .tenlin-shell { padding-bottom: 58px; }
  .tenlin-file-head-line { margin-top: 40px; }
  .tenlin-file-head h1 { font-size: clamp(2.8rem, 15vw, 5.2rem); }
  .tenlin-data-section { padding: 55px 0 75px; }
  .tenlin-index-toolbar, .tenlin-index-toolbar--games, .tenlin-index-toolbar--platforms { grid-template-columns: 1fr; }
  .tenlin-platform-record { grid-template-columns: 38px 62px 1fr 24px; gap: 12px; }
  .tenlin-platform-record dl { display: none; }
  .tenlin-platform-thumb { width: 60px; height: 52px; }
  .tenlin-record-open { font-size: 0; }
  .tenlin-record-open span { font-size: 1.25rem; }
  .tenlin-game-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
  .tenlin-game-record-image { aspect-ratio: 1 / 1; }
  .tenlin-back-to-top { right: 13px; bottom: 13px; min-height: 40px; padding: 8px 12px; }
  .tenlin-game-profile { gap: 30px; }
  .tenlin-external-cta, .tenlin-front-entry-inner { display: block; }
  .tenlin-external-cta a, .tenlin-front-entry-inner .tenlin-button { display: inline-block; margin-top: 14px; }
  .tenlin-game-cover { min-height: 270px; }
  .tenlin-game-cover img { max-height: 240px; }
  .tenlin-field-table > div, .tenlin-field-table--game > div { grid-template-columns: 115px 1fr; }
  .tenlin-safety-list article { grid-template-columns: 55px 1fr; gap: 16px; }
  .tenlin-safety-list b { grid-column: 2; text-align: left; }
  .tenlin-method-row { grid-template-columns: 48px 1fr; gap: 14px; }
  .tenlin-method-row--head { display: none; }
  .tenlin-method-row > span { grid-column: 2; }
  .tenlin-bulletin-list > a, .tenlin-bulletin-list > article, .tenlin-bulletin-list--archive > article { grid-template-columns: 1fr 65px; gap: 8px 18px; }
  .tenlin-bulletin-list > a > span, .tenlin-bulletin-list > article > span { grid-column: 1 / -1; }
  .tenlin-bulletin-list em { display: none; }
  .tenlin-bulletin-list b, .tenlin-bulletin-open { grid-column: 2; grid-row: 2; }
  .tenlin-article-grid { grid-template-columns: 1fr; }
  .tenlin-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .tenlin-footer-bottom { display: block; }
  .tenlin-footer-bottom span + span { display: block; margin-top: 8px; }
}
@media (max-width: 430px) {
  .tenlin-game-directory { grid-template-columns: 1fr; }
  .tenlin-site-meta { font-size: .68rem; }
  .tenlin-back-to-top span { display: none; }
  .tenlin-back-to-top { width: 42px; height: 42px; justify-content: center; padding: 0; font-size: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
