/* 一心鋼琴 序號查年份：只作用在 .hos 裡，避免影響佈景主題。 */
.hos {
	--hos-bg: #F4F5F1; --hos-surface: #FFFFFF; --hos-ink: #16181D; --hos-muted: #5B606B; --hos-line: #D9DBD4;
	--hos-accent: #8C6414; --hos-accent-soft: #F3E9D2; --hos-plate-ink: #3B2C0B;
	--hos-warn: #9A3B12; --hos-warn-soft: #FBE8DD; --hos-hl: #FFF1C9; --hos-ok: #2F6B3A;
	--hos-body: 'PingFang TC', 'Noto Sans TC', 'Microsoft JhengHei', Arial, sans-serif;
	--hos-mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
	font-family: var(--hos-body); color: var(--hos-ink); line-height: 1.6; font-size: 16px;
	max-width: 920px; margin: 0 auto; display: flex; flex-direction: column; gap: 28px;
	padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
	box-sizing: content-box;
}
@media (max-width: 960px) { .hos { box-sizing: border-box; max-width: 100%; } }
.hos *, .hos *::before, .hos *::after { box-sizing: border-box; }
.hos [hidden] { display: none !important; }
/* 佈景主題會改標題顏色與字型，這裡強制蓋回來。 */
.hos h3, .hos h4 { color: var(--hos-ink) !important; font-family: var(--hos-body) !important; font-weight: 700 !important; text-transform: none !important; letter-spacing: 0 !important; display: block !important; visibility: visible !important; opacity: 1 !important; padding: 0 !important; border: 0 !important; background: none !important; }
.hos h3 { font-size: 20px !important; margin: 0 !important; line-height: 1.3 !important; }
.hos h4 { font-size: 16px !important; margin: 0 !important; line-height: 1.3 !important; }
/* 官網的捲動淡入動畫（AOS）會套到所有標題，查詢工具裡不要動畫，直接顯示。 */
.hos [data-aos], .hos .aos-init, .hos .aos-animate { transform: none !important; transition: none !important; opacity: 1 !important; animation: none !important; }
.hos h3::before, .hos h3::after, .hos h4::before, .hos h4::after { display: none !important; }
.hos .hos-cta b { color: #FFFFFF; }
.hos p { margin: 0; }
.hos-note { font-size: 14px; color: var(--hos-muted); }
.hos-mono { font-family: var(--hos-mono); font-variant-numeric: tabular-nums; }
.hos-ok { background: #E3F1E5; color: var(--hos-ok); border-radius: 10px; padding: 12px 16px; font-weight: 600; }

.hos-bench { background: var(--hos-surface); border: 1px solid var(--hos-line); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.hos-form { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.hos-lbl { font-size: 14px; font-weight: 600; color: var(--hos-muted); }
.hos-inrow { display: flex; gap: 10px; flex-wrap: wrap; }
.hos .hos-serial {
	flex: 1 1 240px; min-width: 0; width: auto; font-family: var(--hos-mono); font-size: 24px; font-weight: 600; letter-spacing: .06em;
	padding: 12px 14px; border: 2px solid var(--hos-line); border-radius: 10px; background: var(--hos-bg); color: var(--hos-ink); height: auto; margin: 0;
}
.hos .hos-serial:focus { outline: none; border-color: var(--hos-accent); }
.hos .hos-serial:disabled { opacity: .5; }
.hos .hos-btn {
	display: inline-flex; align-items: center; justify-content: center; font: inherit; font-weight: 600; font-size: 16px; line-height: 1.2;
	border-radius: 10px; padding: 12px 18px; border: 1px solid var(--hos-line); background: var(--hos-surface); color: var(--hos-ink);
	cursor: pointer; text-decoration: none; text-transform: none; letter-spacing: 0; box-shadow: none; margin: 0;
}
.hos .hos-btn-main { background: var(--hos-ink); color: #FFFFFF; border-color: var(--hos-ink); }
.hos .hos-btn:hover { opacity: .88; }
.hos .hos-btn:disabled { opacity: .5; cursor: wait; }
.hos .hos-btn:focus-visible, .hos .hos-chip:focus-visible, .hos .hos-tab:focus-visible { outline: 2px solid var(--hos-accent); outline-offset: 2px; }
.hos-detect { font-size: 14px; color: var(--hos-accent); min-height: 1.6em; }
.hos-group { display: flex; flex-direction: column; gap: 8px; }
.hos-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hos .hos-chip {
	font: inherit; font-size: 15px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--hos-line);
	background: transparent; color: var(--hos-ink); cursor: pointer; line-height: 1.3; margin: 0; text-transform: none; letter-spacing: 0; box-shadow: none;
}
.hos .hos-chip[aria-pressed="true"] { background: var(--hos-ink); color: #FFFFFF; border-color: var(--hos-ink); }
.hos-sub { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 14px; color: var(--hos-muted); }
.hos .hos-sub .hos-chip { font-size: 14px; padding: 4px 12px; }
.hos-quota { font-size: 14px; background: var(--hos-accent-soft); border-radius: 8px; padding: 8px 12px; }
.hos-quota:empty { display: none; }
.hos-quota a, .hos-teaser a { color: var(--hos-accent); font-weight: 600; }
.hos-badge { display: inline-block; background: var(--hos-ink); color: #FFFFFF; border-radius: 999px; font-size: 12px; padding: 1px 10px; margin-right: 4px; }
.hos-warn { background: var(--hos-warn-soft); color: var(--hos-warn); border-radius: 10px; padding: 12px 14px; font-size: 15px; margin-bottom: 14px; }
.hos-info { background: var(--hos-accent-soft); border-radius: 10px; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }

.hos-result { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; }
@media (max-width: 680px) { .hos-result { grid-template-columns: 1fr; } }
.hos-plate {
	background: linear-gradient(135deg, #E9D9AE 0%, #D6BC7C 55%, #E4CF97 100%); color: var(--hos-plate-ink);
	border-radius: 12px; padding: 22px 24px; position: relative; display: flex; flex-direction: column; gap: 4px;
	box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -2px 0 rgba(0,0,0,.12);
}
.hos-screw { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: rgba(0,0,0,.18); box-shadow: inset 0 1px 1px rgba(0,0,0,.3); }
.hos-s1 { top: 10px; left: 10px; } .hos-s2 { top: 10px; right: 10px; } .hos-s3 { bottom: 10px; left: 10px; } .hos-s4 { bottom: 10px; right: 10px; }
.hos-mk { font-size: 13px; letter-spacing: .14em; opacity: .85; }
.hos-no { font-family: var(--hos-mono); font-size: 20px; font-weight: 600; letter-spacing: .08em; overflow-wrap: anywhere; }
.hos-yr { font-family: var(--hos-mono); font-size: 60px; font-weight: 700; line-height: 1.05; font-variant-numeric: tabular-nums; }
.hos-age { font-size: 17px; font-weight: 600; }
.hos-facts { display: flex; flex-direction: column; gap: 10px; margin: 0; min-width: 0; }
.hos-fact { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--hos-line); }
.hos-fact:last-child { border-bottom: none; }
.hos-fact dt { color: var(--hos-muted); font-size: 14px; font-weight: 400; margin: 0; }
.hos-fact dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

.hos-price { margin-top: 20px; border-top: 1px solid var(--hos-line); padding-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.hos-ptop { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.hos-pitems { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; }
.hos-pitem { background: var(--hos-bg); border: 1px solid var(--hos-line); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.hos-phead { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.hos-conf { font-size: 12px; padding: 2px 10px; border-radius: 999px; white-space: nowrap; border: 1px solid currentColor; }
.hos-c-hi { color: var(--hos-ok); } .hos-c-mid { color: var(--hos-accent); } .hos-c-lo { color: var(--hos-muted); } .hos-c-no { color: var(--hos-warn); }
.hos-tiers { display: flex; flex-wrap: wrap; gap: 8px; }
.hos-tier { display: flex; flex-direction: column; background: var(--hos-surface); border-radius: 8px; padding: 8px 12px; min-width: 120px; }
.hos-tier span { font-size: 12px; color: var(--hos-muted); }
.hos-tier b { font-size: 20px; font-variant-numeric: tabular-nums; }
.hos-samp { font-size: 14px; color: var(--hos-muted); }
.hos-samp .hos-mono { color: var(--hos-ink); }
.hos-pnote { font-size: 13px; color: var(--hos-muted); }

.hos-lockcard { position: relative; border: 1px dashed var(--hos-accent); border-radius: 12px; padding: 18px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 18px; align-items: center; background: var(--hos-bg); }
@media (max-width: 680px) { .hos-lockcard { grid-template-columns: 1fr; } }
.hos-ghost { display: flex; gap: 8px; flex-wrap: wrap; filter: blur(3px); opacity: .7; user-select: none; }
.hos-lockmsg { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.hos-lockmsg span { font-size: 14px; color: var(--hos-muted); }

.hos-gate { background: var(--hos-surface); border: 2px solid var(--hos-accent); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 90px; }
.hos-perks { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 4px; }
.hos-cta { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--hos-ink); color: #FFFFFF; border-radius: 14px; padding: 18px 22px; }
.hos-cta div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.hos-cta span { font-size: 14px; opacity: .8; }
.hos .hos-cta .hos-btn-main { background: #06C755; border-color: #06C755; color: #FFFFFF; }

.hos-hist ul { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hos .hos-histbtn { font: inherit; font-size: 14px; display: inline-flex; gap: 8px; align-items: baseline; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--hos-line); background: var(--hos-surface); color: var(--hos-ink); cursor: pointer; margin: 0; text-transform: none; letter-spacing: 0; box-shadow: none; }
.hos .hos-histbtn span:last-child { color: var(--hos-muted); }

.hos-tables { display: flex; flex-direction: column; gap: 12px; }
.hos-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.hos .hos-tab { font: inherit; font-size: 14px; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--hos-line); background: transparent; color: var(--hos-ink); cursor: pointer; margin: 0; text-transform: none; letter-spacing: 0; box-shadow: none; }
.hos .hos-tab[aria-selected="true"] { border-color: var(--hos-accent); color: var(--hos-accent); font-weight: 700; }
.hos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 0 20px; background: var(--hos-surface); border: 1px solid var(--hos-line); border-radius: 12px; padding: 12px 18px; max-height: 520px; overflow-y: auto; }
.hos-row { display: flex; justify-content: space-between; gap: 12px; padding: 5px 4px; border-bottom: 1px dashed var(--hos-line); font-variant-numeric: tabular-nums; }
.hos-y { color: var(--hos-muted); }
.hos-n { font-family: var(--hos-mono); font-weight: 600; }
.hos-row.hos-on { background: var(--hos-hl); border-radius: 6px; }
.hos-row.hos-on .hos-y { color: var(--hos-ink); font-weight: 700; }

.hos-tipgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 12px; }
.hos-tip { background: var(--hos-surface); border: 1px solid var(--hos-line); border-radius: 12px; padding: 16px 18px; min-width: 0; }
.hos-tip ul { margin: 8px 0 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
