/* Shared visual shell. The homepage in templates/home is the reference. */
:root{--ink:#141e2b;--ink2:#2c4459;--gold:#de9a45;--gold-dark:#916020;--paper:#f7f4ef;--snow:#eef3f6}
body{background:var(--paper);font-family:'Noto Sans TC',sans-serif}
.rl-site-nav,.rl-site-top{min-height:84px;height:84px;display:flex;align-items:center;gap:12px;padding:0 5%!important;background:#142330!important;color:var(--snow);border-bottom:1px solid #ffffff1c;box-sizing:border-box}
.rl-site-nav{position:sticky;top:0;z-index:30}
.rl-site-top{justify-content:space-between}
.rl-site-top .rl-site-brand{order:-1}
.rl-site-brand{display:inline-flex!important;align-items:center!important;gap:12px!important;flex:none!important;margin:0!important;color:var(--snow)!important;opacity:1!important;text-decoration:none!important;white-space:nowrap!important;letter-spacing:0!important;font-family:'Noto Serif TC',serif!important;line-height:1!important}
.rl-site-brand .rl-brand-zh{font-size:30px;font-weight:700;line-height:1.2}
.rl-site-brand .rl-brand-en{font-size:24px;font-weight:500;line-height:1.1;letter-spacing:.05em}
.rl-site-brand small{display:block;text-align:right;margin-top:4px;font:10px/1.2 'Noto Sans TC',sans-serif;letter-spacing:.18em}
.rl-site-nav .nav-links{display:flex;margin-left:auto;align-items:center;gap:clamp(18px,3vw,44px)}
.rl-site-nav .nav-links a{margin-left:0!important;color:var(--snow);opacity:1;font-size:16px;font-weight:400;letter-spacing:0}
.rl-site-nav .nav-links a:hover,.rl-site-nav .nav-links a.on{color:var(--gold)}
.rl-page-section .hero h1{font-family:'Noto Serif TC',serif;font-size:clamp(34px,4.5vw,40px);font-weight:700;line-height:1.45}
.rl-page-detail .hero h1{font-family:'Noto Serif TC',serif;font-size:clamp(30px,4vw,36px);font-weight:700;line-height:1.45}
.rl-site-nav .nav-toggle{color:var(--snow);background:transparent;border:1px solid #ffffff50;padding:8px 14px;font:16px/1.3 'Noto Sans TC',sans-serif;min-height:44px;min-width:64px}
/* The tool filters must remain readable in a narrow viewport. */
@media(max-width:820px){
  .panel .frow:first-child{display:flex!important;flex-wrap:nowrap!important;min-width:0;overflow-x:auto;scrollbar-width:thin;overscroll-behavior-inline:contain}
  .panel .frow:first-child>a.chip,.panel .frow:first-child>button{flex:0 0 auto!important;white-space:nowrap!important;writing-mode:horizontal-tb!important;word-break:normal!important}
  .panel .frow:first-child .flabel{flex:0 0 auto;white-space:nowrap}
}

/* 2026-09-30 全站美感收斂：內容層共用閱讀骨架、分類頁控制帶與行動版節奏。 */
.rl-detail-nav{position:sticky!important;top:0;z-index:40;justify-content:space-between;gap:24px;padding:0 5%!important}
.rl-detail-nav .nav-links{display:flex;align-items:center;gap:clamp(16px,2.4vw,34px);margin-left:auto}
.rl-detail-nav .nav-links a{margin:0!important;padding:0!important}
.rl-detail-back{order:3;color:#ecc18a!important;font-size:13px!important;white-space:nowrap;text-decoration:none}
.rl-detail-back:hover{color:#fff!important}
.rl-page-section .toolbar{max-width:1180px!important;border-radius:0 0 18px 18px;box-shadow:0 8px 22px rgba(20,30,43,.05)}
.rl-page-section .toolbar .search{order:0}
.rl-page-section .toolbar .filter-groups,.rl-page-section .toolbar .chips{order:1}
.rl-page-section .toolbar .filter-help{order:2}
.rl-page-section .filter-tabs,.rl-page-section .chips{gap:10px!important}
.rl-page-section .filter-tabs button,.rl-page-section .chips button,.rl-page-section .chips .chip{transition:background .18s,border-color .18s,transform .18s}
.rl-page-section .filter-tabs button:hover,.rl-page-section .chips button:hover,.rl-page-section .chips .chip:hover{transform:translateY(-1px);border-color:var(--gold)!important}
.rl-page-section .search input{background:#fff!important}
.rl-page-section .twoway.fourway{max-width:1120px;margin-left:auto;margin-right:auto;gap:14px}
.rl-page-section .twoway.fourway a{min-height:150px;padding:18px!important;background:#fff!important;border:1px solid var(--line)!important;border-top:3px solid var(--gold)!important;border-radius:0 0 14px 14px;box-shadow:0 10px 24px rgba(20,30,43,.05);transition:transform .18s,box-shadow .18s,border-color .18s}
.rl-page-section .twoway.fourway a:hover{transform:translateY(-4px);box-shadow:0 16px 28px rgba(20,30,43,.12);border-color:var(--gold)!important}
.rl-page-section .twoway.fourway .wt{font-size:20px}
.rl-page-section .twoway.fourway .wd{font-size:14px;line-height:1.7}
.rl-page-detail.rl-content-cases .wrap,.rl-page-detail.rl-content-tools .wrap{max-width:960px}
.rl-page-detail.rl-content-cases .hero,.rl-page-detail.rl-content-tools .hero{max-width:900px;margin:0 auto 30px;padding:34px 40px;border-left-width:5px;box-shadow:0 12px 30px rgba(20,30,43,.05)}
.rl-page-detail.rl-content-cases article,.rl-page-detail.rl-content-tools article{max-width:900px;margin:0 auto;padding:34px 42px;box-shadow:0 14px 34px rgba(20,30,43,.055)}
.rl-page-detail.rl-content-cases article h2,.rl-page-detail.rl-content-tools article h2{scroll-margin-top:100px}
.rl-page-detail.rl-content-tools .tw{overflow-x:auto;border:1px solid var(--line);border-radius:12px;background:#fff}
.rl-page-detail.rl-content-tools table{min-width:680px}
.rl-page-detail.rl-content-tools th{position:sticky;top:0;z-index:1}
.rl-page-detail.rl-content-methods .pgtoc{border:1px solid rgba(222,154,69,.35)!important;background:#fff8ee!important;border-radius:14px!important}
.rl-page-detail.rl-content-methods .pbox{box-shadow:0 10px 24px rgba(20,30,43,.12)}
.rl-page-detail.rl-content-methods .phead{gap:16px!important}
.rl-page-detail.rl-content-methods .pnav a:hover{border-color:var(--gold)!important;background:#fff8ee!important}
.rl-page-detail .rl-legal{margin-top:48px}
@media(max-width:760px){
  .rl-detail-nav{height:auto!important;min-height:72px!important;flex-wrap:wrap;padding:0 6%!important}
  .rl-detail-nav .nav-links{order:4;display:none!important;width:100%;margin:0!important}
  .rl-detail-nav .nav-links.open{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));padding:14px 0 18px}
  .rl-detail-nav .nav-links a{padding:9px 0!important}
  .rl-detail-back{margin-left:auto;order:2;font-size:12px!important}
  .rl-page-section .toolbar{border-radius:0;box-shadow:none}
  .rl-page-section .twoway.fourway{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}
  .rl-page-section .twoway.fourway a{min-height:128px;padding:14px 13px!important}
  .rl-page-section .twoway.fourway .wt{font-size:17px}
  .rl-page-section .twoway.fourway .wd{font-size:12.5px}
  .rl-page-detail.rl-content-cases .wrap,.rl-page-detail.rl-content-tools .wrap{padding-left:16px;padding-right:16px}
  .rl-page-detail.rl-content-cases .hero,.rl-page-detail.rl-content-tools .hero{padding:24px 20px;margin-bottom:18px}
  .rl-page-detail.rl-content-cases article,.rl-page-detail.rl-content-tools article{padding:24px 18px;border-radius:14px}
  .rl-page-detail.rl-content-cases h1,.rl-page-detail.rl-content-tools h1{font-size:28px}
  .rl-page-detail.rl-content-tools table{min-width:620px;font-size:13px}
  .rl-page-detail .rl-legal{margin-top:30px}
}
@media(min-width:761px) and (max-width:820px){
  .rl-site-nav .nav-links{display:flex!important;position:static!important;flex-direction:row!important;background:transparent!important;padding:0!important;gap:16px!important}
  .rl-site-nav .nav-links a{font-size:14px!important;padding:0!important}
  .rl-site-nav .nav-toggle{display:none!important}
  .rl-site-brand .rl-brand-zh{font-size:25px}
  .rl-site-brand .rl-brand-en{font-size:20px}
}
@media(max-width:760px){
  .rl-site-nav,.rl-site-top{height:72px;min-height:72px}
  .rl-site-brand .rl-brand-zh{font-size:25px}
  .rl-site-brand .rl-brand-en{font-size:20px}
  .rl-site-brand small{font-size:9px}
  .rl-site-nav .nav-links{display:none!important;margin-left:0}
  .rl-site-nav .nav-links.open{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));padding:16px 5% 24px;background:#142330}
  .rl-site-nav .nav-links a{padding:10px 0!important;font-size:16px!important}
  .rl-site-nav .nav-toggle{display:flex!important}
  .rl-page-section .hero h1{font-size:34px}
  .rl-page-detail .hero h1{font-size:32px}
}
@media(max-width:390px){
  .rl-site-brand{gap:8px!important}
  .rl-site-brand .rl-brand-zh{font-size:21px}
  .rl-site-brand .rl-brand-en{font-size:17px}
}
/* The five main entry pages keep copy and photography in separate visual zones. */
.rl-series-hero{display:grid!important;grid-template-columns:minmax(0,43%) minmax(0,57%);align-items:stretch!important;position:relative;isolation:isolate;min-height:400px!important;padding:0!important;text-align:left!important;background:#284257!important;color:#eef3f6!important;overflow:hidden}
.rl-series-hero::before,.rl-series-hero::after{content:none!important;display:none!important}
.rl-series-copy{position:relative;z-index:1;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;min-width:0;padding:44px clamp(30px,5vw,88px);background:#284257;text-align:left}
.rl-series-copy::after{content:"";position:absolute;left:100%;top:0;bottom:0;width:42px;background:linear-gradient(90deg,#284257,transparent);pointer-events:none}
.rl-series-copy .eyebrow{color:#ecc18a!important;font-size:11px!important;letter-spacing:.18em!important;line-height:1.6;text-align:left!important;opacity:1!important}
.rl-series-copy h1{margin:20px 0 0!important;color:#eef3f6!important;font:700 clamp(42px,4.2vw,62px)/1.28 'Noto Serif TC',serif!important;letter-spacing:.025em;text-align:left!important}
.rl-series-copy .gold-rule,.rl-series-copy .rule{width:46px!important;height:2px!important;margin:22px 0 0!important;border-radius:0!important;background:#de9a45!important}
.rl-series-copy p,.rl-series-copy .sub,.rl-series-copy .hero-sub{max-width:460px!important;margin:22px 0 0!important;color:#dbe3e9!important;font:400 clamp(15px,1.25vw,18px)/1.8 'Noto Sans TC',sans-serif!important;text-align:left!important}
.rl-series-copy .hero-metrics{justify-content:flex-start!important;gap:9px!important;margin:22px 0 0!important}
.rl-series-copy .hero-metrics span{background:#ffffff0d!important;border-color:#ffffff38!important;backdrop-filter:none!important}
.rl-series-copy .stat{margin:18px 0 0!important;text-align:left!important;color:#c7d4de!important;opacity:1!important}
.rl-series-visual{position:relative;overflow:hidden;min-width:0;margin:0;height:100%;min-height:400px;background:#1b3044}
.rl-series-visual img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:72% 52%;filter:none}
.rl-peak-caption{position:absolute;left:clamp(28px,4vw,66px);bottom:24px;z-index:1;display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:10px 16px 10px 14px;border-left:2px solid #de9a45;background:linear-gradient(90deg,#142330d9,#1423309c 68%,transparent);color:#eef3f6;text-shadow:0 2px 8px #071018a8}
.rl-peak-caption span{font:500 11px/1.4 'IBM Plex Mono',monospace;letter-spacing:.14em}
.rl-peak-caption span:first-child{color:#eab778}
.rl-peak-caption strong{font:600 clamp(22px,2.2vw,32px)/1.3 'Noto Serif TC',serif;letter-spacing:.015em}
@media(max-width:1000px){.rl-series-hero{grid-template-columns:minmax(0,47%) minmax(0,53%)}.rl-series-copy{padding:32px clamp(26px,4vw,45px)}.rl-series-copy h1{font-size:clamp(38px,4.8vw,48px)!important}}
@media(max-width:760px){
  .rl-series-hero{display:flex!important;flex-direction:column!important;min-height:0!important;background:#f3f0ea!important;color:#142330!important}
  .rl-series-copy{padding:28px 7% 25px;min-height:0;background:#f3f0ea;border-bottom:1px solid #ded8ce}
  .rl-series-copy::after{display:none}
  .rl-series-copy .eyebrow{color:#94632c!important;text-shadow:none!important}
  .rl-series-copy h1{font-size:38px!important;margin-top:10px!important;color:#142330!important;text-shadow:none!important}
  .rl-series-copy .gold-rule,.rl-series-copy .rule{margin-top:12px!important}
  .rl-series-copy p,.rl-series-copy .sub,.rl-series-copy .hero-sub{margin-top:13px!important;color:#394a58!important;font-size:15px!important;line-height:1.65!important;text-shadow:none!important}
  .rl-series-copy .hero-metrics{gap:0!important;margin:14px 0 0!important;text-shadow:none!important}
  .rl-series-copy .hero-metrics span{padding:0 10px!important;border:0!important;border-radius:0!important;background:none!important;color:#52606b!important;font-size:12px!important;letter-spacing:0!important}
  .rl-series-copy .hero-metrics span:first-child{padding-left:0!important}
  .rl-series-copy .hero-metrics span+span{border-left:1px solid #b9c0c4!important}
  .rl-series-copy .stat{margin-top:13px!important;color:#596978!important;font-size:12px!important}
  .rl-series-visual{height:255px;min-height:255px;flex:none}
  .rl-series-visual img{object-position:74% 50%}
  .rl-peak-caption{left:7%;bottom:15px;padding:8px 12px}
  .rl-peak-caption strong{font-size:22px}
}

/* Keep the search and category tools in the reading flow below each mountain. */
.rl-series-works-fuji ~ .toolbar,.rl-series-notes-kilimanjaro ~ .toolbar{position:static!important;top:auto!important;z-index:auto!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;background:transparent!important;border-bottom:0!important;border-radius:0!important}
.rl-series-works-fuji ~ .toolbar{margin-top:14px!important;padding-bottom:10px!important}
.rl-series-works-fuji ~ .starter{margin-top:10px}
#rl-main:has(> .rl-series-works-fuji) > .toolbar:has(#q:not(:placeholder-shown)) ~ .starter,
#rl-main:has(> .rl-series-works-fuji) > .toolbar:has(#chips button.on:not(:first-child)) ~ .starter{display:none}
.rl-series-notes-kilimanjaro ~ .toolbar{margin-top:18px!important}
.rl-series-notes-kilimanjaro ~ #results .layout-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.rl-series-notes-kilimanjaro ~ #evzone .evzone-grid{grid-template-columns:repeat(2,minmax(0,1fr))}

/* Advanced tool filters open only when requested, at every screen width. */
.rl-series-tools-aconcagua ~ .wrap .morefilter>summary,.rl-series-tools-aconcagua ~ .wrap .morefilter[open]>summary{display:inline-flex!important;align-items:center;gap:7px;cursor:pointer;list-style:none;margin:6px 0;padding:8px 14px;border:1px solid #d7c8b5;border-radius:999px;background:#fbf7ef;color:#805323;font:600 13px/1.4 'Noto Sans TC',sans-serif}
.rl-series-tools-aconcagua ~ .wrap .morefilter>summary::-webkit-details-marker{display:none}
.rl-series-tools-aconcagua ~ .wrap .morefilter>summary::after{content:'▾'}
.rl-series-tools-aconcagua ~ .wrap .morefilter[open]>summary::after{content:'▴'}
.rl-series-tools-aconcagua ~ .wrap details.intro{margin-top:14px;padding:0;border:1px solid #e2d9cb;border-left:3px solid #de9a45;border-radius:12px;background:#f5f1ea}
.rl-series-tools-aconcagua ~ .wrap details.intro>summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none;padding:12px 16px;color:#142330;font:700 17px/1.5 'Noto Serif TC',serif}
.rl-series-tools-aconcagua ~ .wrap details.intro>summary::-webkit-details-marker{display:none}
.rl-series-tools-aconcagua ~ .wrap details.intro>summary::after{content:'▾';font:14px/1 'Noto Sans TC',sans-serif;color:#805323}
.rl-series-tools-aconcagua ~ .wrap details.intro[open]>summary::after{content:'▴'}
.rl-series-tools-aconcagua ~ .wrap details.intro .intro-body{padding:0 16px 15px;color:#394a58;font:400 14.5px/1.75 'Noto Sans TC',sans-serif}

/* Editorial hierarchy across the five series lists. */
.rl-series-works-fuji ~ .starter .starter-box{background:#f5f1ea}
.rl-series-notes-kilimanjaro ~ #results .layout-grid .c-card{background:#fff}
#results .crow--concept .crow-sum{color:#52606b!important}
#results .crow--concept .crow-date{color:#667582!important}
.case-group,#search-methods,#by-scenario,#by-role,#by-recipe,#all-methods-heading,#deep-heading{scroll-margin-top:96px}

@media(max-width:760px){
  /* Search first, then three concise suggestions, then the works. */
  .rl-series-works-fuji ~ .toolbar{margin-top:8px!important;padding:12px 18px 8px!important}
  .rl-series-works-fuji ~ .starter{margin-top:8px;padding:0 18px}
  .rl-series-works-fuji ~ .starter .starter-box{padding:16px}
  .rl-series-works-fuji ~ .starter .starter-box h2{font-size:19px}
  .rl-series-works-fuji ~ .starter .starter-box p{font-size:13.5px;line-height:1.55}
  .rl-series-works-fuji ~ .starter .starter-list{gap:8px;margin-top:12px}
  .rl-series-works-fuji ~ .starter .starter-list a{min-height:0;padding:12px 14px}
  .rl-series-works-fuji ~ .starter .starter-list b{font-size:16px}
  .rl-series-works-fuji ~ .starter .starter-list span{font-size:13px;line-height:1.5}
  .rl-series-works-fuji ~ .starter .starter-go{padding-top:6px}

  /* Each note filter category occupies one scrollable line instead of the screen. */
  .rl-series-notes-kilimanjaro ~ .toolbar{padding:14px 18px!important}
  .rl-series-notes-kilimanjaro ~ .toolbar .chips{gap:12px}
  .rl-series-notes-kilimanjaro ~ .toolbar .chiprow{display:flex;flex-wrap:nowrap!important;max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;padding-bottom:6px}
  .rl-series-notes-kilimanjaro ~ .toolbar .chiprow-t,.rl-series-notes-kilimanjaro ~ .toolbar .chiprow button{flex:0 0 auto;white-space:nowrap!important}
  .rl-series-notes-kilimanjaro ~ .toolbar .chiprow-t{width:auto;font-size:12px;color:#52606b}
  .rl-series-notes-kilimanjaro ~ #results .layout-grid{grid-template-columns:minmax(0,1fr)}
  .rl-series-notes-kilimanjaro ~ #evzone .evzone-grid{grid-template-columns:minmax(0,1fr)}

  /* Make the four methods entry points and three filter axes more compact. */
  .twoway.fourway{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px}
  .twoway.fourway a{padding:12px 11px}
  .twoway.fourway .wq{font-size:10px;letter-spacing:.07em}
  .twoway.fourway .wt{font-size:17px;margin-top:5px;line-height:1.45}
  .twoway.fourway .wt::after{margin-top:6px}
  .twoway.fourway .wd{font-size:12.5px;line-height:1.5;margin-top:7px}
  #fRecipe,#fRole,#fScen{flex-wrap:nowrap!important;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;padding-bottom:7px}
  #fRecipe>*,#fRole>*,#fScen>*{flex:0 0 auto;white-space:nowrap}
  .filter-label{font-size:13px;color:#52606b}

  /* Eight chapter links form one browsable row above the concept search. */
  .cx-jump{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;padding-bottom:8px}
  .cx-jump a{flex:0 0 auto}
  .cx-start-list{gap:8px}
  .cx-start-list a{padding:11px 13px}
  .cx-start-list .k{padding-bottom:3px;margin-bottom:0}
  #results .crow--concept b{font-size:17px}
}
