html {
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

/* mozilla.org css
by dave shea, http://www.mezzoblue.com/ */
/* Modified L. David Baron. */
/* vim:ts=8:noet:
*/
/* see bug 225032 for css validation issues */


/* mozilla.org Base Styles
 * maintained by fantasai
 * (classes defined in the Markup Guide - http://fantasai.inkedblade.net/mozilla/web/guide/markup)
 */
/* Suggested order:
 * display
 * position
 * float
 * clear
 * width
 * height
 * margin
 * padding
 * border
 * background
 * color
 * font-size
 * font-style
 * font-weight
 * font-family
 * other font
 * text-decoration
 * text-align
 * vertical-align
 * white-space
 * other text
 * content
 *
 */

/* TOC:
   Random HTML Styles
   General Structure
   Navigation
   Comments and Other Asides
   Emphasis
   Computers - General
   Code
   Examples and Figures
   Q and A (FAQ)
   Tables
   Meta
*/
/* Random HTML Styles */

	dt {
		font-weight: bold;
	}

	form {
		margin: 0;
		display: inline;
	}

/* General Structure */

	.subtitle {
		font-style: italic;
	}

	p {
		text-indent: 0;
	}
	div.para {
		margin: 1em 0;
	}
	div.para > * {
		margin-top: 0.2em;
		margin-bottom: 0.2em;
	}

	div.section {
		display: block;
		padding-left: 3%;
	}

	div.section > h2,
	div.section > h3,
	div.section > h4,
	div.section > h5,
	div.section > h6 {
		margin-left: -1.3%;
	}

	blockquote address:before {
		content: "\2015";
	}

/* Navigation */

	.ex-ref {
		font-style: italic;
	}

	dl.toc dt {
		margin-top: 1em;
		font-size: 110%;
	}
	dl.toc p {
		margin: 0;
		text-indent: 1em;
	}
	dl.toc p:first-child {
		text-indent: 0;
	}
	dl.toc > dd {
		margin-left: 1em;
	}

	ol.toc ol {
		list-style-type: circle;
	}
	ol.toc > li > ol {
		font-size: 90%;
	}

	ul.snav {/* section navigation or short navigation, whichever you prefer */
		margin: 0.7em 10%;
		padding: .2em;
		text-align: center;
	}
	ul.snav li {
		list-style-type: none;
	}
	ul.snav > li {
		display: inline;
	}
	ul.snav > li:before {
		content: " | ";
	}
	ul.snav > li:first-child:before {
		content: "";
	}

	a.cont {
		display: block;
		margin-right: 0;
		text-align: right;
	}

/* Comments and other Asides */

	.note {
		font-style: italic;
	}
	.note:before {
		content: "Note: ";
	}

	.remark {
		font-size: smaller;
	}
	.remark:before {
		content: "[";
	}
	.remark:after {
		content: "]";
	}

	.sidebar {
		clear: both;
		margin: .75em .5em;
		padding: .2em;
		border: 1px solid;

		/* Block NS4 from floating */ /*/*/
		float: right;
		width: 30%;
		min-width: 15em;
		/* */
	}
	/* Reduce main header sizes */
	.sidebar h1 {font-size: 1.40em;}
	.sidebar h2 {font-size: 1.25em;}
	.sidebar h3 {font-size: 1.10em;}

/* Emphasis */

	/* em, strong */

	strong.stronger {
		font-style: italic;
		font-weight: bold;
	}

	strong.very-strong {
		font-weight: bold;
		text-transform: uppercase;
	}

	*.important,
	div.important,
	p.important {
		margin: 1em;
		padding: 0.1em;
		border: solid #F00;
	}

	span.important,
	em.important,
	strong.important {
		font-size: large;
	}

/* Computers - General */

	span.application {
		font-style: italic;
	}

	kbd.command,
	code.command {
		white-space: pre;
	}

	code.filename {
		font-style: italic;
		white-space: nowrap;
	}

/* Code */

	code {
		white-space: nowrap;
	}

	pre.code,
	pre.incorrect-code {
		overflow: auto;
		margin: 1em .5em;
		padding: .2em;
		border: solid 1px;
	}

	pre.code .remark,
	pre.incorrect-code .remark  {
		font-size: 1em;
		font-style: italic;
	}

	/* turn off content generation */
	pre.code .remark:before,
	pre.incorrect-code .remark:before,
	pre.code .remark:after,
	pre.incorrect-code .remark:after,
	pre.code .note:before,
	pre.incorrect-code .note:before {
		content: "";
	}


/* Examples and Figures */

	/* turn off borders so we don't need border=0 on image links */
	:link img, :visited img {
		border: 0;
	}
	.deepLevel #mainContent :link img, .deepLevel #mainContent :visited img {
		border: medium solid;
	}

	.example,
	.incorrect-example {
		margin: 1em 3%;
		padding: .25em;
		border: solid;
	}
	.example:before,
	.incorrect-example:before {
		display: block;
		font-weight: bold;
		content: "Example";
	}
	.incorrect-example:before {
		content: "Incorrect Example";
	}
	.example[title]:before,
	.incorrect-example[title]:before {
		content: attr(title);
	}

	.figure,
	.screenshot {
		display: block;
		margin: .75em auto;
	}
	.screenshot[title]:after,
	.figure[title]:after {
		display: block;
		margin: 0 8% .05em;
		font-style: italic;
		font-size: small;
		text-align: right;
		content: attr(title);
	}

	pre.screen {
		overflow: auto;
		margin: 1em .5em;
		padding: .2em;
		border: solid 1px;
		font-family: monospace;
		white-space: pre;
	}

	.co,
	.callout {
		text-decoration: underline;
	}

	.incorrect.incorrect,
	.incorrect-example,
	.incorrect-code {
		border: solid red;
	}

/* Q and A (FAQ) */

	.qandaset .question {
		font-size: large;
		font-weight: bold;
	}

	.qandaset .answer {
		margin-top: 1em;
	}

/* Tables */

	table.data {
		border-collapse: collapse;
		margin: 0.5em auto;
		border: 1px solid;
	}

	table.data caption {
		margin: 1em auto 0.2em;
		font-size: small;
		font-style: italic;
		text-align: center;
	}

	table.data th,
	table.data td {
		padding: 0.2em;
		border: 1px solid;
	}

/* Meta */

	address {
		text-align: right;
	}
	.author {
		margin-bottom: 1em;
		text-align: left;
	}
/* end Base styles */

/*html elements*/
html {
	padding: 0;
	margin: 0;
}
body {
	padding: 0;
	margin: 0;
	background: #fff;
	color: #000;
	font-family: Verdana,Sans-serif;
	font-size: 90%;
}

label, input {
	font-weight: bold;
	color: #A57B46;
}
h1, h2, h3, h4, h5, h6 {
	margin: 1em 0 0.5em 0;
}
.homepage h1, .secondLevel h1 { font-size: 120%; }
.homepage h2, .secondLevel h2 { font-size: 110%; }
.homepage h3, .secondLevel h3 { font-size: 100%; }
.homepage h4, .secondLevel h4 { font-size: 100%; }
.homepage h5, .secondLevel h5 { font-size: 90%; }
.homepage h6, .secondLevel h6 { font-size: 90%; }
h1 { color: #955322; }
h2 { color: #EC361D; }
h3 { color: #B26C38; }
h4 { color: #666; }
h5 { color: #955322; }
h6 { color: #EC361D; }

sup {
	font-size: 70%;
}
:link {
	color: #554FA0;
	font-weight: bold;
}
:visited {
	color: #090051;
	font-weight: bold;
}
:link:hover, :visited:hover {
	color: #5B52CB;
}
hr {
	padding: 0;
	height: 4px;
	border: 0;
	background: url(/bg11.gif) repeat;
	margin: 2em 0;
}

/*structure*/
#container {
	margin: 0;
	padding: 0;
}
#mBody {
	background: #EEEAE4;
	position: absolute;
	top: 100px;
	left: 0;
	margin: 0;
	padding: 0;
}
.nomenu #mBody {
	background: #fff;
}
#side {
	background: #EEEAE4 url(/bg6.gif) top left repeat-x;
	position: absolute;
	left: 0;
	top: 0;
	padding: 10px 15px;
	width: 206px;
	voice-family: "\"}\""; voice-family:inherit; /* Tantek's hack */
	width: 176px;
} #ignored {}
.nomenu #side {
	display: none;
	}
#side h2 {
	margin-top: 1em;
	}

.flLeft {
	float: left;
	margin: 5px 10px 5px 0;
}
.flRight {
	float: right;
	margin: 5px 0 5px 10px;
}



/*header*/
#header {
	background: #F1D496 url(/bg1.gif) top left repeat-x;
}
#header img {
	float: left;
	margin: 0;
}
#mainNav {
	margin: 0 3px 0 212px;
	padding: 9px 0 0 0;
	width: auto;
	height: 31px;
	text-align: right;
	background: #D9B87F url(/bg3.gif) top left repeat-x;
}
#mainNav li, #fc li {
	white-space: nowrap;
	list-style-type: none;
	display: inline;
	padding-right: 0.6em;
}
#mainNav :link, #mainNav :visited {
	font-size: 90%;
	text-transform: lowercase;
	text-decoration: none;
	font-weight: bold;
	color: #fff;
}
#mainNav :link:hover, #mainNav :visited:hover {
	padding-bottom: 4px;
	border-bottom: solid 3px #B77723;
}

#sf {
	border: solid 1px #F1DAA8;
	background: #F1D79E url(/bg2.gif) top left repeat-x;
	margin: 0 3px 0 212px;
	position: relative;
	top: -6px;
	text-align: right;
	padding: 15px 15px 0 0;
	height: 57px;
	voice-family: "\"}\""; voice-family:inherit; /* Tantek's hack */
	height: 42px;
} #ignored {}
#sf label {
	font-size: 80%;
}
#q {
	font-size: 70%;
	font-weight: normal;
	background: #FAE8BA;
	border: solid 1px #E3C690;
	border-bottom-color: #F1D79E;
	border-right-color: #F1D79E;
	padding: 2px;
}
#q:hover, #q:focus {
	background: white;
}
#submit {
	background-color: #DCC085;
	border: solid 1px #C5A46C;
	border-top-color: #E6D098;
	border-left-color: #E6D098;
}
#submit:hover, #submit:focus {
	background: #FAE8BA;
}

/*sidebar*/
#getcd {
	margin: 1em 0 0 45px;
}
#side h2 {
	color: #B26C38;
}
#side h3 {
	color: #333;
	margin: 2em 0 0 0;
}
#side h4 {
	color: #999;
	font-size: 90%;
	margin-top: 0;
	margin-bottom: 0.5em;
}
#side p {
	margin: 0 0 2em 0;
	font-size: 87%;
}
#side dl {
	margin-top: 0;
}
#side dt {
	font-weight: bold;
	display: inline;
	font-size: 87%;
}
#side dd {
	padding: 0 0 5px 5px;
	margin: 0 0 1em 0;
	border-left: solid 3px #E3DDD3;
	font-size: 87%;
}
#side ul {
	padding: 0;
	margin: 0;
}
#side li {
	list-style: none;
	background: transparent url(/w6.gif) top left no-repeat;
	padding: 0 0 0.3em 11px;
}

#oN {
	background-color: #F5F2EF;
	border: solid 1px #fff;
	padding: 10px;
	margin: 1em 0 0 0;
}
#oN:hover {
	background-color: #F8F7F4;
}
#oN li {
	list-style-type: none;
	margin-bottom: 0.5em;
	padding-left: 15px;
	background: transparent url(/w5.gif) top left no-repeat;
}

/*body*/
#mainContent {
	background: #fff;
	line-height: 1.3; /* value other than 'normal' needed for WinIE */
	margin-left: 206px;
	voice-family: "\"}\""; voice-family:inherit; /* Tantek's hack */
	border-bottom: solid 1px #fff;
} #ignored {}
.homepage #mainContent {
	padding: 20px 30px;
}
.nomenu #mainContent {
	margin-left: 0;
	background: #fff url(/bg10.gif) top left repeat-x
}
.secondLevel #mainContent, .deepLevel #mainContent {
	padding: 20px 50px;
}
.deepLevel #mainContent {
	line-height: 1.4;
}


/*what's new*/
#whatsNew p {
	margin: 0.2em 0.5em;
}

#finds p {
	color: #896834;
	margin-top: 0;
}

#ftr {
	margin-left: 0;
	padding-left: 1.5em;
}
#ftr li {
	list-style-type: circle;
	margin-bottom: 0.1em;
}

/* product list panel */
#prodlist {
	margin: 2em 0 0 0;
}

#prodlist :link {
	color: #977F56;
}
#prodlist :visited {
	color: #6B5839;
	font-weight: bold;
}
#prodlist :link:hover, #prodlist :visited:hover {
	color: #B08A48;
}
#prodlist h2 {
	color: #554FA0;
	background-color: #EEECF6;
	background-position: center left;
	padding: 7px;
	border: dotted 1px #D6CCBD;
	border-right: 0;
	border-left: 0;
	margin-bottom: 0;
}
#prodlist h2 :link, #prodlist h2 :visited {
	color: #554FA0;
}
#prodlist dl {
	margin: 0;
}
#prodlist dt {
	margin: 0 0 0 60px;
	padding: 0.4em 0 0 0.7em;
	border-left: dotted 1px #D6CCBD;
}
#prodlist .im {
	clear: left;
	float: left;
	width: 60px;
	text-align: center;
	border: 0;
	margin: 0;
	padding: 1em 0 0.5em 0;
	}
#prodlist dd {
	margin: 0 0 0 60px;
	padding: 1px 0 0.4em 0.7em;
	border-bottom: dotted 1px #D6CCBD;
	border-left: dotted 1px #D6CCBD;
}
#prodlist dd p, #prodlist dd ul {
	margin-top: 0.2em;
	margin-bottom: 0.2em;
}
#prodlist .dl {
	color: #666;
}

#prodlist dd #quotes {
	color: #896834;
}

#prodlist dd #quotes p {
	float: left;
	width: 40%;
	margin: 1em 5%;
}


/* ad */
#ad, #rhs2 {
	width: 157px;
}
#rhs2 {
	position: absolute;
	right: 10px;
	margin: 2em 0 0 0;
}
#ad {
	margin: 2em 1em;
}
#ad :link, #ad :visited, #rhs2 :link, #rhs2 :visited {
	clear: both;
}
#ad .bl img, #rhs2 .bl img {
	background: #554FA0;
}
#ad .bl img:hover, #ad .bl img:focus, #rhs2 .bl img:hover, #rhs2 .bl img:focus {
	background: #5C56AF;
}
#ad .br img, #rhs2 .br img {
	background: #A0714F;
}
#ad .br img:hover, #ad .br img:focus, #rhs2 .br img:hover, #rhs2 .br img:focus {
	background: #B17F5A;
}
#ad .bu img, #rhs2 .bu img {
	background: #6B8381;
}
#ad .bu img:hover, #ad .bu img:focus, #rhs2 .bu img:hover, #rhs2 .bu img:focus {
	background: #729390;
}
#ad .bd img, #rhs2 .bd img {
	background: #BC6055;
}
#ad .bd img:hover, #ad .bd img:focus, #rhs2 .bd img:hover, #rhs2 .bd img:focus {
	background: #DE6354;
}


/* secondlevel */
#brd {
	margin: 0 0 0.5em 0;
	position: relative;
	top: -1.5em;
	text-align: right;
	font-size: 87%;
	color: #999;
}
#brd :link, #brd :visited {
	padding: 5px;
}
#brd :link:hover, #brd :visited:hover {
	color: #fff;
	background-color: #DCC085;
}
#brd em {
	font-style: normal;
	font-weight: bold;
	color: #666;
}

#nav {
	margin: 0 0 4em 0;
	padding: 0;
	line-height: 0;
}
#nav li {
	list-style: none;
	margin: 0;

	background-image: none;
	padding: 0 0 1px 0;
	line-height: 1.0;
}
#nav :link, #nav :visited {
	font-weight: normal;
	line-height: 1.0;
	color: #955322;
	display: block;
	text-decoration: none;
	background: transparent url(/bg9b.gif) top right repeat-y;
	border: solid 1px #EEEAE4;
	margin: 0;
	padding: 5px 10px 5px 0.5em;
}
#nav :link:hover, #nav :visited:hover {
	color: #EC361D;
	border: solid 1px #DDD9D4;
	border-top-color: #F5F3F0;
	border-left-color: #F5F3F0;
	background: #F3F0EC;
}
#nav :link:active, #nav :visited:active {
	background: #fff;
}
#nav ul {
	margin: 0;
	padding: 0;
	background-color: #F5F2EF;
	border: solid 1px #fff;
}
#nav ul :link, #nav ul :visited {
	background-image: none;
	padding: 4px 10px 4px 1.5em;
	border: 0;
}
#nav ul :link:hover, #nav ul :visited:hover {
	background-image: none;
	border: 0;
}


/* generic reusable style */

.feature {
	width: 200px;
	float: left;
	margin: 0 10px 10px 10px;
	padding: 15px;
	background: #EEEAE4;
	border: double 3px #fff;
	text-align: center;
}
.feature img {
	border: solid 1px #E8E3DB;
	border-right: solid 1px #D6CBBD;
	border-bottom: solid 1px #D6CBBD;
}
.feature p {
	font-size: 80%;
	line-height: normal;
	margin: 5px 0 0 0;
	padding: 3px;
	background: #F3F0EC;
	border: solid 1px #E6E0D7;
	border-right: solid 1px #FCFBFA;
	border-bottom: solid 1px #FCFBFA;
}
.highlight {
	display: block;
	border-top: double 3px #ccc;
	border-bottom: double 3px #ccc;
	padding: 8px;
	margin: 20px 40px;
}
.highlight img {
	float: right;
	margin: 0 20px 0 20px;
}
.highlight dl {
	padding: 1em;
}
.highlight dd {
	white-space: nowrap;
}
.mice {
	font-size: 70%;
	line-height: 1.1;
	color: #999;
	margin-top: 2em;
}
.mice :link, .mice :visited {
	color: #666;
}
.linkset {
	padding: 10px;
	margin: 0 0 0.5em 0;
	background: #eee;
	border-top: double 3px #ccc;
	border-bottom: double 3px #ccc;
}
.linkset li {
	list-style-type: none;
	padding-left: 20px;
	margin: 12px;
}
.linkset .dlwin {
	background: url(/ico-win.png) top left no-repeat;
}
.linkset .dlosx {
	background: url(/ico-osx.png) top left no-repeat;
}
.linkset .dllinux {
	background: url(/ico-tux.png) top left no-repeat;
}
#main {
	width: 350px;
	margin-right: 170px;
}
#main img {
	margin-bottom: -1em;
}
#rhs, #rhs2 {
	position: absolute;
	left: 650px;
	top: 160px;
	width: 160px;
}
#rhs2 {
	top: 0;
}
#rhs img {
	padding-left: 35px;
	margin-bottom: -20px;
}


/*footer*/
#bn {
	clear: both;
	border-top: solid 1px #EAE6DE;
	padding: 0 0 0 0.5em;
	margin: 3em 0 0.5em 0;
	background: transparent url(/bg8.gif) top left repeat-y;
}
#bn li {
	list-style: none;
	display: inline;
	white-space: nowrap;
}
#bn :link, #bn :visited {
	padding: 0 1em 0 0.5em;
	background: transparent url(/bg8.gif) top right repeat-y;
}
#bn :visited {
	font-weight: bold;
}
#footer p {
	font-size: 73%;
	line-height: normal;
	margin: 0 0 0 1em;
}
#int {
	padding: 0 0 0 1em;
	margin: 0;
}
#int li {
	font-size: 73%;
	list-style: none;
	display: inline;
	white-space: nowrap;
}
.copyright {
	padding-bottom: 0.5em;
}


/*accessibility tweaks*/
.skipLink {
	position: absolute;
	left: -999px;
	width: 990px;
}
hr.hide {
	display: none;
}

/* box for stuff :) */
.key-point  {
  border: 1px solid rgb(204, 204, 204);
  padding:0 1em;
  background-color:
  rgb(248, 248, 248);
}

#banner {
    background: transparent none;
    display: inline-block;
    float: left;
    width: 209px;
    height: 99px;
}

center img {
    max-width: 800px;
}

.user-agreement p, .user-agreement li {
    white-space: pre-line;
}
.user-agreement ul {
    list-style-type: none;
}

/* ==========================================================================
   PTT Dark Vibe Modern Redesign (黑底白字, 藍底一排, 高亮黃標題, 大方塊)
   ========================================================================== */

body.dark-theme, body {
    background-color: #0c0d12 !important;
    color: #e2e4ed !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang TC", "Microsoft JhengHei", sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

#container {
    margin: 0 auto;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Site Banner (藍底一排) */
#header {
    background: #002b80 !important;
    border-bottom: 2px solid #0044cc;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.5);
    margin: 0;
    padding: 0;
    width: 100%;
}

.banner-bar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.85rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

/* 高亮黃 [批踢踢實業坊] (https://www.ptt.cc/bbs/) */
#banner-title {
    color: #ffff00 !important;
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none !important;
    font-family: "Courier New", Courier, monospace, sans-serif;
    letter-spacing: 1px;
    display: inline-block;
    transition: all 0.2s ease;
}

#banner-title:hover {
    color: #ffffff !important;
    text-shadow: 0 0 10px #ffff00;
}

#tools {
    position: static;
    border: none;
    background: transparent;
    margin: 0;
    padding: 0;
    height: auto;
}

#mainNav {
    display: flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 0.35rem !important;
    flex-wrap: wrap !important;
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    float: none !important;
}

#mainNav li {
    display: inline-block !important;
    padding: 0 !important;
    margin: 0 !important;
}

#mainNav a {
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 0.45rem 0.85rem !important;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    display: inline-block;
    border-bottom: none !important;
}

#mainNav a:hover {
    color: #ffff00 !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border-bottom: none !important;
    padding-bottom: 0.45rem !important;
}

/* Main Content Area */
#mainContent {
    max-width: 1100px;
    margin: 0 auto !important;
    padding: 2.5rem 1.5rem !important;
    background: transparent !important;
    border: none !important;
    width: auto !important;
    box-sizing: border-box;
}

/* Intro Paragraph Box */
.intro-box {
    background: #141722;
    border-left: 4px solid #ffff00;
    border-top: 1px solid #232736;
    border-right: 1px solid #232736;
    border-bottom: 1px solid #232736;
    border-radius: 8px;
    padding: 1.75rem 2rem;
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.intro-text {
    font-size: 1.12rem;
    line-height: 1.85;
    color: #f0f2fb;
    margin: 0;
    letter-spacing: 0.2px;
}

/* Feature Cards Grid (大方塊) */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.75rem;
    margin-bottom: 3rem;
}

.card {
    background: #161824;
    border: 1px solid #282b3d;
    border-radius: 12px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    box-sizing: border-box;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #ffff00;
    box-shadow: 0 10px 28px rgba(255, 255, 0, 0.15);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #232636;
    padding-bottom: 0.75rem;
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #1a1d2e;
    border: 1px solid #2e3450;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    flex-shrink: 0;
}

.icon-terminal, .icon-bbs {
    background: rgba(255, 255, 0, 0.1);
    border-color: rgba(255, 255, 0, 0.35);
    box-shadow: 0 0 15px rgba(255, 255, 0, 0.18);
}

.icon-web, .icon-code {
    background: rgba(51, 153, 255, 0.1);
    border-color: rgba(51, 153, 255, 0.35);
    box-shadow: 0 0 15px rgba(51, 153, 255, 0.18);
}

.icon-conn, .icon-partners {
    background: rgba(51, 255, 153, 0.1);
    border-color: rgba(51, 255, 153, 0.35);
    box-shadow: 0 0 15px rgba(51, 255, 153, 0.18);
}

.icon-contact {
    background: rgba(255, 153, 51, 0.1);
    border-color: rgba(255, 153, 51, 0.35);
    box-shadow: 0 0 15px rgba(255, 153, 51, 0.18);
}

.icon-thanks {
    background: rgba(255, 51, 153, 0.1);
    border-color: rgba(255, 51, 153, 0.35);
    box-shadow: 0 0 15px rgba(255, 51, 153, 0.18);
}

.card-header h2 {
    color: #ffffff !important;
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
}

.card-body {
    color: #b0b4c8;
    font-size: 0.98rem;
    line-height: 1.6;
    flex-grow: 1;
}

.card-footer {
    margin-top: 1.5rem;
    padding-top: 0.5rem;
}

.card-btn {
    display: inline-block;
    width: 100%;
    text-align: center;
    font-weight: 700;
    padding: 0.8rem 1.25rem;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    font-size: 1rem;
    box-sizing: border-box;
    cursor: pointer;
}

.btn-primary {
    background: #ffff00;
    color: #000000 !important;
    box-shadow: 0 2px 10px rgba(255, 255, 0, 0.2);
}

.btn-primary:hover {
    background: #ffe600;
    box-shadow: 0 4px 18px rgba(255, 255, 0, 0.4);
    transform: scale(1.02);
}

.btn-secondary {
    background: #0055ff;
    color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 85, 255, 0.3);
}

.btn-secondary:hover {
    background: #1a66ff;
    box-shadow: 0 4px 18px rgba(0, 85, 255, 0.5);
    transform: scale(1.02);
}

.conn-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0.75rem 0 0 0 !important;
}

.conn-list li {
    margin-bottom: 0.6rem;
    color: #d0d4e4;
    font-size: 0.92rem;
}

.conn-list code {
    background: #090a10;
    color: #33ff99;
    font-family: "Courier New", Courier, monospace;
    padding: 0.25rem 0.55rem;
    border-radius: 4px;
    border: 1px solid #1c2030;
    font-size: 0.9rem;
    word-break: break-all;
}

/* Footer Styling */
#footer, #site-footer {
    padding: 2rem 1.5rem;
    border-top: 1px solid #202230;
    text-align: center;
    color: #808498;
    font-size: 0.9rem;
    margin-top: auto;
    background: #090a0f;
}

#footer p, .copyright {
    color: #808498 !important;
    margin: 0;
}

#footer a {
    color: #ffff00 !important;
}

/* General Link Styling for Subpages */
:link {
    color: #ffff00;
}
:visited {
    color: #ffd700;
}

/* Sidebar & General Subpage Compatibility */
#mBody {
    background: transparent !important;
    position: static !important;
    display: flex;
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem;
    gap: 2rem;
}

#side {
    background: #141620 !important;
    border: 1px solid #232736 !important;
    border-radius: 8px;
    padding: 1.25rem !important;
    width: 220px !important;
    position: static !important;
    float: none !important;
}

#side h2 {
    color: #ffff00 !important;
}

#side a {
    color: #e2e4ed !important;
    text-decoration: none;
}

#side a:hover {
    color: #ffff00 !important;
}

#prodlist h2 {
    color: #ffff00 !important;
    background-color: #141622 !important;
    border: 1px solid #232736 !important;
    border-radius: 6px;
    padding: 10px 14px;
}

#prodlist dt, #prodlist dd {
    border-color: #232736 !important;
    color: #d0d4e4 !important;
}

/* Station Selector Tabs (PTT / PTT2) */
.station-selector {
    background: #141620;
    border: 1px solid #232736;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.tab-buttons {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.tab-btn {
    background: #1c1f2e;
    color: #a0a5ba;
    border: 1px solid #2c3044;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
    text-align: center;
}

.tab-btn:hover {
    background: #25293d;
    color: #ffffff;
    border-color: #3b405c;
}

.tab-btn.active {
    background: #002b80;
    color: #ffff00;
    border-color: #0055ff;
    box-shadow: 0 2px 10px rgba(0, 85, 255, 0.3);
}

.station-desc {
    color: #c4c8d8;
    font-size: 0.98rem;
    line-height: 1.6;
    padding: 0.75rem 1rem;
    background: #0d0e14;
    border-radius: 6px;
    border-left: 3px solid #0055ff;
}

.conn-details {
    display: none;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px dashed #282c3f;
    animation: fadeIn 0.25s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Subpage Template System (白底黑字, 深藍 2x 標題, 側邊 Drawer 目錄選單)
   ========================================================================== */

.subpage-wrapper {
    max-width: 1000px;
    margin: 0 auto !important;
    padding: 1.5rem !important;
    position: relative;
}

/* Drawer Toggle Button (三條線 ☰ 章節目錄) */
.drawer-header-bar {
    margin-bottom: 1.25rem;
}

.drawer-toggle-btn {
    background: #181a26;
    color: #ffff00;
    border: 1px solid #323854;
    padding: 0.6rem 1.25rem;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.drawer-toggle-btn:hover {
    background: #002b80;
    color: #ffffff;
    border-color: #0055ff;
    box-shadow: 0 0 14px rgba(0, 85, 255, 0.4);
}

/* Off-canvas Subpage Sidebar Drawer */
.subpage-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: #12141d;
    border-right: 1px solid #282c40;
    box-shadow: 4px 0 24px rgba(0,0,0,0.6);
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 1.5rem;
    box-sizing: border-box;
    overflow-y: auto;
}

.subpage-sidebar.open {
    transform: translateX(0);
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #25293d;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}

.sidebar-header h3 {
    color: #ffff00 !important;
    font-size: 1.2rem !important;
    margin: 0 !important;
}

.close-sidebar-btn {
    background: none;
    border: none;
    color: #a0a5ba;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 0.4rem;
}

.close-sidebar-btn:hover {
    color: #ffffff;
}

.sidebar-nav a {
    display: block;
    padding: 0.7rem 1rem;
    color: #d0d4e8 !important;
    text-decoration: none !important;
    border-radius: 6px;
    font-weight: 600;
    margin-bottom: 0.35rem;
    transition: all 0.2s ease;
}

.sidebar-nav a:hover {
    background: #002b80 !important;
    color: #ffff00 !important;
    padding-left: 1.25rem;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.sidebar-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

/* Content Paper Area (#e8e8e8底黑字, 2x 深藍標題) */
.subpage-content {
    background: #e8e8e8 !important;
    color: #1a1a1a !important;
    padding: 2.5rem 3rem !important;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    font-size: 1.05rem;
    line-height: 1.85;
    margin-bottom: 3rem;
    box-sizing: border-box;
}

.article-title {
    font-size: 2.4rem;
    color: #0f2b5c;
    border-bottom: 3px solid #0055ff;
    padding-bottom: 0.75rem;
    margin: 0 0 2rem 0;
    font-weight: 800;
}

.subpage-section {
    margin-bottom: 2.5rem;
}

.subpage-content h2.section-title {
    font-size: 2.1em !important; /* 2x body font size */
    color: #1b365d !important;   /* Deep sapphire blue */
    font-weight: 700 !important;
    margin: 2.5rem 0 1rem 0 !important;
    padding-bottom: 0.5rem !important;
    border-bottom: 2px solid #e8eeff !important;
    background: none !important;
    border-top: none !important;
}

.subpage-content p {
    color: #2a2a2a;
    margin-bottom: 1.2rem;
}

.subpage-content a:link, .subpage-content a:visited {
    color: #0055ff !important;
    text-decoration: underline;
    font-weight: 600;
}

.subpage-content a:hover {
    color: #0033aa !important;
}

.service-block h3 {
    color: #0f2b5c !important;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.subpage-content a.inline-btn:link,
.subpage-content a.inline-btn:visited,
.subpage-content a.inline-btn,
.inline-btn {
    display: inline-block;
    background: #0055ff !important;
    color: #ffffff !important;
    padding: 0.55rem 1.2rem;
    border-radius: 6px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.2s ease;
}

.subpage-content a.inline-btn:hover,
.inline-btn:hover {
    background: #0033aa !important;
    color: #ffffff !important;
}

.recommended-list {
    padding-left: 1.25rem;
}

.recommended-list li {
    margin-bottom: 1rem;
}

/* Inc List styling for included team member bios (Modern Bounding Box) */
.inc-list {
    margin: 1rem 0 2rem 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    width: 100%;
    box-sizing: border-box;
}

.inc-box {
    margin: 0;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: block;
}

.inc-box:hover {
    border-color: #0055ff;
    box-shadow: 0 4px 12px rgba(0, 85, 255, 0.12);
}

details[open].inc-box {
    border-color: #0055ff;
    box-shadow: 0 4px 14px rgba(0, 85, 255, 0.15);
    width: 100%;
    max-width: 100%;
}

.inc-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.25rem;
    background: #f8fafc;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.05rem;
    color: #0f172a;
    user-select: none;
    list-style: none; /* Removes default disclosure triangle */
    transition: background 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

details[open] .inc-summary {
    background: #eff6ff;
    color: #0044cc;
    border-bottom: 1px solid #dbeafe;
}

/* Remove WebKit default marker */
.inc-summary::-webkit-details-marker {
    display: none;
}

.inc-header-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    max-width: calc(100% - 36px);
    overflow: hidden;
}

.inc-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    word-break: break-word;
    font-size: 1.05rem;
    font-weight: 700;
}

.inc-preview {
    font-size: 0.85rem;
    font-weight: 400;
    color: #666666;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 85%;
    display: block;
}

details[open] .inc-preview {
    display: none;
}

.inc-summary a {
    color: #0055ff !important;
    text-decoration: none;
}

.inc-summary a:hover {
    text-decoration: underline;
}

.inc-toggle-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #475569;
    font-size: 0.75rem;
    transition: transform 0.25s ease, background 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.inc-toggle-icon::before {
    content: "▼";
}

details[open] .inc-toggle-icon {
    transform: rotate(180deg);
    background: #0055ff;
    color: #ffffff;
}

.inc-box-empty {
    border-color: #e2e8f0;
}

.inc-box-empty .inc-summary {
    cursor: default;
    background: #f8fafc;
    color: #334155;
}

.inc-body {
    padding: 1.0rem 1.25rem;
    background: #ffffff;
    color: #1e293b;
    font-size: 0.95rem;
    line-height: 1.75;
    width: 100%;
    box-sizing: border-box;
    word-break: break-word;
    overflow-wrap: break-word;
}

.inc-body p {
    margin: 0;
    word-break: break-word;
}

.inc-body pre {
    background: #0f172a;
    color: #38bdf8;
    padding: 0.85rem 1.1rem;
    border-radius: 8px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.88rem;
    margin: 0.85rem 0 0 0;
    white-space: pre-wrap;
    word-break: break-all;
    overflow-x: auto;
    max-width: 100%;
    box-sizing: border-box;
    border: 1px solid #1e293b;
}

/* Pure Table Styles */
.pure-table-wrapper {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 1.25rem;
  margin-top: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  overflow-x: auto;
}

.pure-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.95rem;
}

.pure-table thead tr {
  background: #f1f5f9;
  border-bottom: 2px solid #cbd5e1;
  color: #1e293b;
  font-weight: 700;
}

.pure-table th,
.pure-table td {
  padding: 0.65rem 1rem;
}

.pure-table tbody {
  color: #334155;
}

.pure-table tbody tr {
  border-bottom: 1px solid #e2e8f0;
}

.pure-table tbody tr:last-child {
  border-bottom: none;
}

.pure-table .cell-date {
  font-weight: 600;
}

.pure-table .cell-note {
  color: #64748b;
}

.pure-table .cell-amount {
  font-weight: 600;
  color: #0055ff;
}

.pure-table .cell-highlight {
  color: #0055ff;
  font-weight: 700;
}

/* Team Section Headings */
.team-group {
  margin-top: 2rem;
}

.team-group-first {
  margin-top: 1.5rem;
}

.team-title {
  color: #1b365d;
  font-size: 1.4rem;
  border-bottom: 1px solid #cbd5e1;
  padding-bottom: 0.4rem;
  margin-bottom: 1rem;
}

.team-subtitle {
  color: #1b365d;
  margin-top: 1.25rem;
  font-size: 1.15rem;
  font-weight: 700;
}

/* Subpage Card Containers & Typography */
.content-card {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  margin-top: 1rem;
}

.scenario-card {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 8px;
  padding: 1.25rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.scenario-card-blue { border-left: 5px solid #0055ff; }
.scenario-card-green { border-left: 5px solid #10b981; }
.scenario-card-red { border-left: 5px solid #ef4444; }
.scenario-card-yellow { border-left: 5px solid #f59e0b; }

.subpage-section-title {
  color: #1b365d;
  font-size: 1.15rem;
  margin-top: 1.25rem;
}

.stat-img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

.grid-cards {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.25rem;
}

.subpage-list {
  line-height: 1.7;
  color: #334155;
}

.alert-warning-text {
  color: #ef4444;
  font-weight: 500;
}

/* 404 Page Component Classes */
.error-container {
  text-align: center;
  padding: 3.5rem 1.5rem;
}
.error-code {
  font-size: 4.5rem;
  font-weight: 800;
  color: #1b365d;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.error-message {
  font-size: 1.1rem;
  color: #475569;
  max-width: 600px;
  margin: 0 auto;
}
.error-card {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  max-width: 540px;
  margin: 0 auto 2.5rem auto;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.error-card-desc {
  margin: 0;
  color: #334155;
  line-height: 1.7;
}
.error-card-link {
  color: #0055ff;
  font-weight: 600;
  text-decoration: underline;
}
.error-btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-size-lg {
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  border-radius: 8px;
}
.btn-primary-custom {
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  background: #0055ff;
  color: #ffffff;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}

/* Card & Heading Utilities */
.card-title {
  color: #1b365d;
  font-size: 1.3rem;
  margin-top: 0;
  margin-bottom: 0.75rem;
}
.card-desc {
  margin: 0;
  line-height: 1.7;
  color: #334155;
}
.stat-subnote {
  font-size: 0.88rem;
  color: #64748b;
  margin-top: 0.5rem;
}
.mt-05 { margin-top: 0.5rem; }
.mt-15 { margin-top: 1.5rem; }
.mb-10 { margin-bottom: 1rem; }
.mb-20 { margin-bottom: 2rem; }

.intro-box .page-title {
  margin-top: 0;
  color: #ffff00;
}

