/* 批發・製造示範站：B2B 穩重俐落，一個主色（鋼藍）＋中性色 */
:root {
  color-scheme: only light;
  --c: #1d4e7a; --c-d: #153a5c; --c-l: #e6eef5;
  --ink: #1b2430; --ink2: #4a5563; --mute: #7a8594;
  --bg: #ffffff; --bg2: #f2f4f7; --line: #dde2e8;
  --ok: #2f7a52; --okb: #e5f2ea; --w: #9a6a12; --wb: #fbf1dc; --x: #a33a3a; --xb: #f8e6e6; --b: #1d4e7a; --bb: #e6eef5;
  --r: 6px;
  --f: "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 130px; }
body { margin: 0; font-family: var(--f); color: var(--ink); background: var(--bg); line-height: 1.65; font-size: 16px; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--c); }
h1, h2, h3 { line-height: 1.3; margin: 0; }
.nb { white-space: nowrap; display: inline-block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.cover { width: 100%; height: 100%; object-fit: cover; }

/* 示範橫條 */
.demobar { position: sticky; top: 0; z-index: 60; display: flex; align-items: center; gap: 8px; padding: 6px 14px; background: #10202f; color: #dfe7ef; font-size: 13px; white-space: nowrap; overflow: hidden; }
.demobar .txt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.demobar .short { display: none; }
.demobar a { flex: none; color: #fff; background: var(--c); border-radius: var(--r); padding: 3px 10px; text-decoration: none; font-weight: 700; }
.demobar a.ghost { background: transparent; border: 1px solid #4f6274; font-weight: 400; }

/* 切換列 */
.typebar { background: var(--bg2); border-bottom: 1px solid var(--line); }
.typebar .in { max-width: 1180px; margin: 0 auto; padding: 7px 24px; display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.typebar .lab { font-size: 13px; color: var(--ink2); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; }
.seg button { font: inherit; font-size: 14px; border: 0; background: transparent; padding: 4px 14px; cursor: pointer; color: var(--ink2); white-space: nowrap; }
.seg button.on { background: var(--c); color: #fff; font-weight: 700; }

/* 頁首 */
.head { position: sticky; top: 33px; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.head .in { max-width: 1180px; margin: 0 auto; padding: 10px 24px; display: flex; align-items: center; gap: 20px; }
.logo { font-weight: 900; font-size: 20px; color: var(--ink); text-decoration: none; white-space: nowrap; letter-spacing: .02em; border-left: 4px solid var(--c); padding-left: 10px; }
.logo small { font-size: 13px; font-weight: 400; color: var(--mute); }
.nav { display: flex; gap: 18px; margin-left: auto; white-space: nowrap; }
.nav a { color: var(--ink2); text-decoration: none; font-size: 15px; }
.nav a:hover { color: var(--c); }

/* 按鈕 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-weight: 700; font-size: 15px; padding: 10px 18px; border-radius: var(--r); border: 1px solid var(--c); background: var(--c); color: #fff; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--c-d); }
.btn.alt { background: #fff; color: var(--c); }
.btn.alt:hover { background: var(--c-l); }
.btn.sm { padding: 6px 12px; font-size: 14px; }
.btn.line { background: #06c755; border-color: #06c755; }
.btn i { font-size: 18px; }

/* 首屏 */
.hero { padding: 36px 0 40px; background: linear-gradient(180deg, var(--bg2), #fff); }
.hero .wrap { display: grid; grid-template-columns: 1.02fr 1fr; gap: 36px; align-items: stretch; }
.hero .l { display: flex; flex-direction: column; gap: 16px; }
.eyebrow { color: var(--c); font-weight: 700; font-size: 14px; letter-spacing: .08em; white-space: nowrap; }
.hero h1 { font-size: 38px; font-weight: 900; }
.hero .sub { color: var(--ink2); margin: 0; font-size: 16px; }
.hero .cta { display: flex; gap: 10px; flex-wrap: wrap; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.facts div { padding: 12px 14px; border-left: 1px solid var(--line); white-space: nowrap; }
.facts div:first-child { border-left: 0; }
.facts i { color: var(--c); font-size: 22px; display: block; }
.facts b { display: block; font-size: 15px; }
.facts span { color: var(--mute); font-size: 13px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--ink2); background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 3px 10px; white-space: nowrap; }
.heropic { position: relative; min-height: 420px; }
.cut { clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px)); overflow: hidden; background: var(--line); }
.heropic .big { position: absolute; inset: 0 60px 50px 0; }
.heropic .small { position: absolute; right: 0; bottom: 0; width: 46%; height: 42%; border: 6px solid #fff; }
.heropic .note { position: absolute; left: 10px; top: 10px; font-size: 12px; background: rgba(16, 32, 47, .7); color: #fff; padding: 2px 8px; border-radius: var(--r); }

/* 區塊 */
.sec { padding: 40px 0; }
.sec.tint { background: var(--bg2); }
.sec h2 { font-size: 28px; font-weight: 900; margin: 4px 0 8px; }
.lead { color: var(--ink2); margin: 0 0 18px; }

/* 型錄 */
.filt { display: flex; gap: 8px; margin-bottom: 14px; overflow-x: auto; padding-bottom: 2px; }
.filt button { font: inherit; font-size: 14px; border: 1px solid var(--line); background: #fff; border-radius: var(--r); padding: 5px 14px; cursor: pointer; white-space: nowrap; color: var(--ink2); }
.filt button.on { background: var(--c); color: #fff; border-color: var(--c); font-weight: 700; }
.tw { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.cat { width: 100%; border-collapse: collapse; font-size: 15px; }
.cat th { text-align: left; font-size: 13px; color: var(--ink2); background: var(--bg2); padding: 10px 12px; white-space: nowrap; border-bottom: 1px solid var(--line); }
.cat td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.cat tr:last-child td { border-bottom: 0; }
.cat td.n b { display: block; white-space: nowrap; }
.cat td.n span { font-size: 13px; color: var(--mute); white-space: nowrap; }
.cat td.k, .cat td.q, .cat td.d { white-space: nowrap; }
.tagc { display: inline-block; font-size: 12px; color: var(--c); background: var(--c-l); border-radius: var(--r); padding: 1px 8px; white-space: nowrap; }
.price { font-size: 13px; color: var(--ink2); white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.addb { font: inherit; font-size: 13px; border: 1px solid var(--c); color: var(--c); background: #fff; border-radius: var(--r); padding: 4px 10px; cursor: pointer; white-space: nowrap; }
.addb.on { background: var(--c); color: #fff; }
.fine { font-size: 13px; color: var(--mute); margin: 8px 0 0; }

/* 詢價單 */
.rfq { display: grid; grid-template-columns: 340px 1fr; gap: 32px; align-items: start; }
.rfq .side-pic { position: relative; height: 330px; margin-top: 14px; }
.rfq .side-pic .p1 { position: absolute; inset: 0 70px 80px 0; }
.rfq .side-pic .p2 { position: absolute; right: 0; bottom: 0; width: 60%; height: 52%; border: 6px solid var(--bg2); }
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.form .w { grid-column: 1 / -1; }
.f label, .f .lbl { display: block; font-size: 14px; font-weight: 700; margin-bottom: 5px; white-space: nowrap; }
.f input, .f select, .f textarea { width: 100%; font: inherit; font-size: 15px; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; color: var(--ink); }
.f textarea { min-height: 70px; resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: 2px solid var(--c-l); border-color: var(--c); }
.rows { display: flex; flex-direction: column; gap: 8px; }
.irow { display: grid; grid-template-columns: 1.3fr 1.2fr 110px 38px; gap: 8px; align-items: center; }
.irow .rm { width: 38px; height: 38px; border: 1px solid var(--line); background: #fff; border-radius: var(--r); cursor: pointer; color: var(--ink2); font-size: 18px; display: flex; align-items: center; justify-content: center; }
.ihead { display: grid; grid-template-columns: 1.3fr 1.2fr 110px 38px; gap: 8px; font-size: 13px; color: var(--mute); white-space: nowrap; }
.addrow { justify-self: start; }
.submit { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* 流程 */
.flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.flow > div { padding: 18px 16px; border-left: 1px solid var(--line); position: relative; }
.flow > div:first-child { border-left: 0; }
.flow .no { font-size: 12px; font-weight: 700; color: var(--c); }
.flow i { display: block; font-size: 26px; color: var(--c); margin: 4px 0; }
.flow b { white-space: nowrap; }
.flow p { margin: 4px 0 0; font-size: 14px; color: var(--ink2); }
.partner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 14px; margin-top: 16px; }
.partner > div { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; }
.partner > div:first-child { background: var(--c); color: #fff; border-color: var(--c); }
.partner > div:first-child p { color: #dbe6f0; }
.partner i { font-size: 26px; flex: none; }
.partner b { white-space: nowrap; }
.partner p { margin: 2px 0 0; font-size: 14px; color: var(--ink2); }
.bubble { background: #eef6f0; border: 1px solid #cfe5d6; border-radius: var(--r); padding: 12px 14px; font-size: 14px; }
.bubble p { margin: 4px 0; }
.bubble time { font-size: 12px; color: var(--mute); }
.notify { display: grid; grid-template-columns: 1fr 1.2fr; gap: 16px; margin-top: 16px; align-items: center; }
.notify h3 { font-size: 18px; margin-bottom: 4px; }
.notify p { margin: 0; color: var(--ink2); font-size: 14px; }
.more { margin: 16px 0 0; }

/* 拼貼 */
.collage { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 190px 190px; gap: 12px; }
.collage figure { margin: 0; overflow: hidden; border-radius: var(--r); background: var(--line); }
.collage .m { grid-row: 1 / 3; clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px)); border-radius: 0; }

/* 常見問題 */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px 16px; }
.sec.tint .faq details { background: #fff; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { margin: 8px 0 0; color: var(--ink2); font-size: 15px; }

/* 據點 */
.info { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; }
.box h3 { font-size: 17px; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.box h3 i { color: var(--c); }
.box dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 15px; }
.box dt { color: var(--mute); white-space: nowrap; }
.box dd { margin: 0; }
.mapcol { display: flex; flex-direction: column; gap: 10px; }
.mapph { flex: 1; min-height: 64px; border: 1px dashed #b9c3ce; border-radius: var(--r); display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--ink2); font-size: 14px; background: #fff; text-align: center; padding: 8px; }

/* 聯絡帶 */
.band { display: flex; align-items: center; gap: 14px; background: var(--c-d); color: #fff; border-radius: var(--r); padding: 22px 26px; flex-wrap: wrap; }
.band .t { flex: 1; min-width: 240px; }
.band h2 { font-size: 22px; margin: 0; }
.band p { margin: 4px 0 0; color: #c9d7e4; font-size: 14px; }
.band .btn.alt { border-color: #fff; }

/* 頁尾 */
.foot { background: #10202f; color: #c6d1dc; padding: 26px 0 100px; font-size: 14px; }
.foot .cols { display: grid; grid-template-columns: 1.2fr 2fr 1.2fr; gap: 20px; align-items: start; }
.foot b { display: block; color: #fff; margin-bottom: 4px; white-space: nowrap; }
.foot .links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.foot a { color: #c6d1dc; text-decoration: none; white-space: nowrap; }
.foot .copy { margin-top: 18px; padding-top: 12px; border-top: 1px solid #2b3d4f; display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.foot .copy a { color: #fff; text-decoration: underline; }

/* 浮動按鈕 */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 70; display: flex; flex-direction: column; gap: 10px; }
.fab button { width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer; color: #fff; font: inherit; font-weight: 900; font-size: 13px; box-shadow: 0 4px 12px rgba(0, 0, 0, .2); display: flex; align-items: center; justify-content: center; }
.fab button i { font-size: 24px; }
.f-line { background: #06c755; }
.f-tel { background: var(--c); }
.f-ig { background: #c1356f; }

/* 視窗、提示 */
.modal { position: fixed; inset: 0; z-index: 100; background: rgba(10, 20, 30, .5); display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.on { display: flex; }
.mbox { background: #fff; border-radius: var(--r); padding: 20px 22px; max-width: 420px; width: 100%; }
.mbox h3 { font-size: 18px; margin-bottom: 8px; }
.mbox p { margin: 0 0 14px; color: var(--ink2); }
.mbox .acts { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.toast { position: fixed; left: 50%; bottom: 90px; transform: translateX(-50%); background: #10202f; color: #fff; padding: 8px 16px; border-radius: var(--r); font-size: 14px; z-index: 110; opacity: 0; pointer-events: none; transition: opacity .2s; white-space: nowrap; }
.toast.on { opacity: 1; }

/* ===== 後台 ===== */
body.admin { background: var(--bg2); }
.adm { display: grid; grid-template-columns: 220px 1fr; min-height: calc(100vh - 80px); }
.side { background: #fff; border-right: 1px solid var(--line); padding: 16px 12px; }
.side .brand { font-weight: 900; font-size: 16px; padding: 0 8px 12px; border-bottom: 1px solid var(--line); margin-bottom: 10px; white-space: nowrap; }
.side .brand small { display: block; font-weight: 400; font-size: 12px; color: var(--mute); }
.side nav { display: flex; flex-direction: column; gap: 2px; }
.side nav button { font: inherit; font-size: 15px; display: flex; align-items: center; gap: 8px; border: 0; background: transparent; padding: 9px 10px; border-radius: var(--r); cursor: pointer; color: var(--ink2); text-align: left; white-space: nowrap; }
.side nav button i.ph { font-size: 19px; }
.side nav button i:not(.ph) { font-style: normal; margin-left: auto; background: var(--x); color: #fff; font-size: 11px; border-radius: 9px; padding: 0 7px; line-height: 18px; }
.side nav button.on { background: var(--c-l); color: var(--c); font-weight: 700; }
.main { padding: 20px 24px 60px; min-width: 0; }
.main .top { display: flex; align-items: baseline; gap: 12px; }
.main .top h1 { font-size: 24px; white-space: nowrap; }
.main .top .lab { color: var(--mute); font-size: 14px; white-space: nowrap; }
.hint { font-size: 13px; color: var(--mute); margin: 4px 0 14px; }
.cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 14px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 12px 14px; display: flex; gap: 10px; align-items: center; }
.card i { font-size: 26px; color: var(--c); }
.card .n { font-size: 22px; font-weight: 900; line-height: 1.1; white-space: nowrap; }
.card .k { font-size: 13px; color: var(--mute); white-space: nowrap; }
.blk { background: #fff; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 12px; }
.blk > summary { cursor: pointer; padding: 11px 14px; font-weight: 700; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.blk > summary i { color: var(--c); font-size: 18px; }
.blk .bd { padding: 0 14px 14px; }
.blk.plain { padding: 14px; }
.blk .tw, .blk.plain .tw { border-radius: var(--r); }
.tb { width: 100%; border-collapse: collapse; font-size: 14px; }
.tb th { text-align: left; color: var(--ink2); font-size: 13px; background: var(--bg2); padding: 8px 10px; white-space: nowrap; }
.tb td { padding: 8px 10px; border-top: 1px solid var(--line); white-space: nowrap; }
.tb tr.mine td { background: #fff8e6; }
.tb tr.click { cursor: pointer; }
.tb tr.click:hover td { background: var(--bg2); }
.tb tr.sel td { background: var(--c-l); }
.st { display: inline-block; font-size: 12px; font-weight: 700; border-radius: var(--r); padding: 1px 8px; white-space: nowrap; }
.st.ok { color: var(--ok); background: var(--okb); }
.st.w { color: var(--w); background: var(--wb); }
.st.x { color: var(--x); background: var(--xb); }
.st.b { color: var(--b); background: var(--bb); }
.st.g { color: var(--ink2); background: var(--bg2); }
.st.me { color: #fff; background: #b8860b; }
.mini { font: inherit; font-size: 13px; border: 1px solid var(--line); background: #fff; border-radius: var(--r); padding: 3px 10px; cursor: pointer; white-space: nowrap; color: var(--ink); display: inline-flex; align-items: center; gap: 4px; }
.mini.p { background: var(--c); color: #fff; border-color: var(--c); }
.mini.line { background: #06c755; color: #fff; border-color: #06c755; }
.filters { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.mycard { background: #fffaf0; border: 1px solid #ecd9a8; border-radius: var(--r); padding: 14px; margin-bottom: 12px; }
.mycard .h { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.mycard dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: 14px; }
.mycard dt { color: var(--mute); white-space: nowrap; }
.mycard dd { margin: 0; }
.acts2 { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.detail { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.dhead { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; margin-bottom: 8px; }
.dhead span { white-space: nowrap; }
.dhead b { color: var(--mute); font-weight: 400; margin-right: 4px; }
.log { list-style: none; margin: 0; padding: 0 0 0 14px; border-left: 2px solid var(--line); font-size: 14px; }
.log li { position: relative; padding: 0 0 10px 6px; }
.log li::before { content: ""; position: absolute; left: -21px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--c); border: 2px solid #fff; }
.log time { display: block; font-size: 12px; color: var(--mute); }
.log b { margin-right: 4px; }
.subh { font-size: 14px; font-weight: 700; margin: 0 0 8px; display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.subh i { color: var(--c); }
.money { letter-spacing: .1em; color: var(--ink2); }
.bar { height: 8px; background: var(--bg2); border-radius: 4px; overflow: hidden; min-width: 90px; }
.bar span { display: block; height: 100%; background: var(--c); }
.bar.low span { background: var(--x); }

@media (min-width: 901px) {
  .hero { display: flex; min-height: calc(100vh - 131px); }
  .hero .wrap { flex: 1; width: 100%; }
  .hero .l { justify-content: center; }
}

/* ===== 響應式 ===== */
@media (max-width: 1100px) {
  .nav { gap: 12px; }
  .nav a { font-size: 14px; }
  .cards { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .head .btn { margin-left: auto; }
  .hero .wrap { grid-template-columns: 1fr; gap: 20px; }
  .heropic { min-height: 280px; }
  .rfq { grid-template-columns: 1fr; }
  .rfq .side-pic { display: none; }
  .flow { grid-template-columns: 1fr 1fr; }
  .flow > div { border-left: 0; border-top: 1px solid var(--line); }
  .flow > div:first-child, .flow > div:nth-child(2) { border-top: 0; }
  .partner, .info, .notify, .detail { grid-template-columns: 1fr; }
  .faq { grid-template-columns: 1fr; }
  .foot .cols { grid-template-columns: 1fr; gap: 12px; }
  .adm { grid-template-columns: minmax(0, 1fr); }
  .side { min-width: 0; }
  .side { border-right: 0; border-bottom: 1px solid var(--line); padding: 8px 10px; position: sticky; top: 33px; z-index: 40; }
  .side .brand { display: none; }
  .side nav { flex-direction: row; overflow-x: auto; }
  .main { padding: 14px 14px 60px; }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .wrap { padding: 0 16px; }
  .demobar { font-size: 12px; padding: 5px 8px; gap: 5px; }
  .demobar .long { display: none; }
  .demobar .short { display: inline; }
  .demobar a { padding: 2px 7px; }
  .typebar .in { padding: 6px 16px; }
  .typebar .lab { font-size: 12px; }
  .head { top: 30px; }
  .head .in { padding: 8px 16px; gap: 10px; }
  .logo { font-size: 17px; }
  .head .btn.sm { padding: 5px 10px; font-size: 13px; }
  .hero { padding: 22px 0 28px; }
  .hero h1 { font-size: 26px; }
  .hero .sub { font-size: 15px; }
  .facts div { padding: 9px 8px; }
  .facts b { font-size: 13px; }
  .facts span { font-size: 11px; }
  .heropic { min-height: 240px; }
  .heropic .big { inset: 0 36px 40px 0; }
  .sec { padding: 32px 0; }
  .sec h2 { font-size: 23px; }
  .form { grid-template-columns: 1fr; padding: 14px; }
  .ihead { display: none; }
  .irow { grid-template-columns: 1fr 84px 38px; }
  .irow .sp { grid-column: 1 / 3; grid-row: 2; }
  .flow { grid-template-columns: 1fr; }
  .flow > div:nth-child(2) { border-top: 1px solid var(--line); }
  .collage { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 120px 120px; }
  .collage .m { grid-row: auto; grid-column: 1 / 3; }
  .band { padding: 18px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .card { padding: 10px; }
  .card .n { font-size: 18px; }
  .side { top: 30px; }
  .main .top h1 { font-size: 20px; }
}
@media (max-width: 900px) {
  .detail { grid-template-columns: minmax(0, 1fr); }
  .detail > div, .main, .blk, .bd { min-width: 0; }
}
