body { color: var(--ink); background: #e9e5df; }
.app-shell {
  padding: max(18px, env(safe-area-inset-top)) 22px max(34px, env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.80)), #f8f5f0 url("../images/bg-main.webp") top center / 100% auto no-repeat;
  box-shadow: 0 0 55px rgba(57,46,34,.22);
}
.site-header { position: relative; text-align: center; }
.brand-logo { width: min(66%, 470px); margin: 4px auto 0; filter: drop-shadow(0 5px 5px rgba(94,55,14,.22)); }
.header-side { position: absolute; top: 3px; left: 0; text-align: left; font: 15px/1.4 "STSong", serif; letter-spacing: .08em; }
.header-side small { font: 8px/1.3 Arial, sans-serif; color: #766759; }
.favorite-button { position: absolute; top: 4px; right: 0; padding: 9px 12px; border: 1px solid rgba(183,122,42,.42); border-radius: 999px; color: #6f491b; background: rgba(255,255,255,.78); }
.favorite-button span { color: #b77a2a; }
.header-caption { margin: 15px 0 8px; display: flex; align-items: center; justify-content: center; gap: 10px; letter-spacing: .18em; font-size: 15px; }
.header-caption span { width: 38px; height: 1px; background: linear-gradient(90deg, transparent, #b77a2a); }
.header-caption span:last-child { transform: rotate(180deg); }
main { display: grid; gap: 14px; }
.notice-bar { min-height: 58px; padding: 10px 16px; border: 1px solid rgba(186,130,51,.48); border-radius: 999px; background: rgba(255,255,255,.91); box-shadow: 0 4px 16px rgba(89,62,27,.12); }
.notice-bar p { font-size: 14px; line-height: 1.45; }
.notice-icon, .notice-arrow { color: #b77a2a; }
.advertisement-list { gap: 14px; }
.ad-card { min-height: 112px; padding: 16px 18px; grid-template-columns: 84px minmax(0,1fr) 178px; gap: 16px; border: 1px solid rgba(184,128,48,.38); border-radius: 24px; background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(252,249,243,.78)); box-shadow: 0 12px 30px rgba(94,66,29,.15), inset 0 1px #fff; }
.ad-card.is-featured { min-height: 136px; grid-template-columns: 104px minmax(0,1fr) 188px; }
.ad-icon { width: 70px; height: 70px; margin: auto; border: 1px solid rgba(182,125,46,.30); border-radius: 22px; background: radial-gradient(circle at 35% 28%, #fffdf3 0 18%, #f6d78a 55%, #98601e 100%); box-shadow: inset 0 2px 4px #fff, 0 8px 18px rgba(112,70,18,.18); }
.is-featured .ad-icon { width: 90px; height: 90px; border-radius: 50%; }
.ad-copy h2 { font-size: 25px; }
.is-featured .ad-copy h2 { font-size: 30px; }
.ad-copy p { color: #5a5047; font-size: 14px; }
.enter-button { padding: 0 20px; border: 1px solid #b67d2f; color: #3b240f; font-weight: 700; font-size: 18px; background: linear-gradient(180deg,#fff8d8,#f3ca72 62%,#d8a64c); box-shadow: inset 0 2px 2px rgba(255,255,255,.9),0 5px 12px rgba(118,75,18,.22); }
.is-featured .enter-button { color: #fff; background: linear-gradient(180deg,#c89549,#8c591e); }
.ad-number { right: 205px; bottom: 4px; color: rgba(126,102,75,.10); font: italic 700 52px/1 Arial,sans-serif; }
.featured-badge { top: 9px; left: -34px; width: 120px; padding: 7px 0; transform: rotate(-45deg); color: #fff; font-weight: 700; text-align: center; background: linear-gradient(#d79c38,#8d5819); }
.trust-row { padding: 15px 8px; border: 1px solid rgba(184,128,48,.24); border-radius: 22px; background: rgba(255,255,255,.86); box-shadow: 0 10px 26px rgba(94,66,29,.12); }
.trust-item { min-height: 54px; gap: 10px; border-right: 1px solid rgba(160,116,56,.22); }
.trust-item:last-child { border-right: 0; }
.trust-item b { color: #bd7e25; font-size: 31px; }
.trust-item p { margin: 0; }
.trust-item span { margin-top: 4px; color: #73675d; font-size: 11px; }
.bottom-card { padding: 18px; gap: 22px; border: 1px solid rgba(184,128,48,.20); border-radius: 22px; background: rgba(255,255,255,.88); box-shadow: 0 10px 26px rgba(94,66,29,.12); }
.browser-group { border-right: 1px solid rgba(160,116,56,.22); }
.browser-list img { filter: drop-shadow(0 3px 5px rgba(65,48,28,.15)); }
.browser-list small { color: #6d6258; }
.tips-copy h2 span { border: 2px solid #b77a2a; color: #b77a2a; }
.tips-copy ol { color: #4e463e; }
.page-footer { padding-top: 24px; color: #76501e; }
.page-footer p { font-size: 13px; }
.page-footer p span { background: linear-gradient(90deg,transparent,#b77a2a); }
.page-footer small { display: block; margin-top: 6px; color: #968574; font: 9px/1.4 Arial,sans-serif; letter-spacing: .2em; }
.page-footer em { margin-top: 16px; color: #9b6b30; font-family: "STKaiti","KaiTi",serif; font-size: 16px; }
@media (max-width: 520px) {
  .app-shell { padding-inline: 12px; }
  .brand-logo { width: 64%; margin-top: 28px; }
  .header-side { font-size: 12px; }
  .favorite-button { padding: 7px 9px; font-size: 12px; }
  .header-caption { font-size: 13px; margin-top: 14px; letter-spacing: .08em; }
  .notice-bar { border-radius: 18px; padding: 9px 12px; }
  .notice-bar p { font-size: 12px; }
  .ad-card, .ad-card.is-featured { min-height: 100px; padding: 13px 12px; grid-template-columns: 62px minmax(0,1fr) 110px; gap: 9px; border-radius: 18px; }
  .ad-card.is-featured { min-height: 116px; }
  .ad-icon, .is-featured .ad-icon { width: 56px; height: 56px; border-radius: 17px; }
  .is-featured .ad-icon { width: 62px; height: 62px; border-radius: 50%; }
  .ad-copy h2, .is-featured .ad-copy h2 { font-size: 18px; }
  .enter-button { padding: 0 10px; }
  .ad-number { right: 124px; font-size: 38px; }
  .trust-item { gap: 5px; }
  .trust-item b { font-size: 24px; }
  .trust-item strong { font-size: 12px; }
  .trust-item span { font-size: 9px; }
  .bottom-card { gap: 18px; }
  .browser-group { padding-bottom: 18px; border-right: 0; border-bottom: 1px solid rgba(160,116,56,.18); }
  .page-footer p { font-size: 10px; gap: 4px; }
  .page-footer p span { width: 15px; }
}
