/* xOOx.css — 共用樣式 for xOOx 系列頁面 */

/* 版面 container */
.container{
  max-width: 980px;
  margin-left: 40px;
  margin-right: auto;
  padding: 14px 12px 40px;
}

/* 全站標題（在大螢幕靠左） */
@media (min-width: 1024px){
  h1 { text-align: left; margin-left: 40px; }
}

/* index 用：淡色卡片（目錄頁 wrap） */
.wrap{
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}

/* 目錄的連結清單（自動換行） */
.link-list{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 10px 0 24px;
}
.link-list li a{
  display: block;
  padding: 12px 14px;
  background: rgba(0,0,0,0.12);
  border-radius: 10px;
  color: #eaf6f8;
  text-decoration: none;
  font-weight: 600;
}
.link-list li a:hover{
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

/* 小註記 */
.note{ color: rgba(255,255,255,0.9); margin-bottom: 8px; }

/* 小節標題（共用） */
.section{
  color: #ffcc66;
  border-left: 6px solid #66e0ff;
  padding-left: 10px;
  margin: 18px 0 8px;
  font-size: 20px;
  font-weight: 700;
}

/* footer 微調（共用） */
footer{
  margin-top: 26px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

/* 共用按鈕樣式：btn-chip（teal）—— 建議放共用 */
.btn-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 136px;
  height: 52px;
  padding: 0 20px;
  border-radius: 18px;
  font-weight: 600;
  font-size: 20px;
  color: #fff;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
  border: 2px solid rgba(255,255,255,0.22);
  margin-bottom: 10px;
  -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
}
/* 主要 Teal 色（跟頁面底色協調）*/
.btn-chip.teal {
  background: linear-gradient(180deg, #0095aa 0%, #006e80 100%);
}

/* 響應式 */
@media (max-width: 600px){
  .btn-chip { width: 100%; justify-content: center; }
}
