.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
main { display: block; min-height: 60vh; padding-bottom: 28px; }
.section { margin-top: 22px; }
.panel { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); border: 1px solid #F6E9EB; padding: 22px; }
.section-head { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.section-head h2 { font-size: 22px; display: flex; align-items: center; gap: 10px; }
.section-head h2 .ic { color: var(--red); } .section-head p { color: var(--muted); font-size: 13px; }
.section-head .more { margin-left: auto; color: var(--red); font-weight: 700; font-size: 13px; display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.section-head .more:hover { text-decoration: underline; }
/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 60; padding: 8px 0; backdrop-filter: blur(10px); background: linear-gradient(#FFF9F9F2, #FFF9F9B3 80%, transparent); }
.header-bar { display: flex; align-items: center; gap: 20px; background: #fff; border-radius: 22px; padding: 8px 14px 8px 18px; box-shadow: var(--shadow); border: 1px solid #F8E8EA; min-height: 58px; }
.brand img { height: 46px; width: auto; } .main-nav { display: flex; gap: 4px; margin-left: 6px; }
.main-nav a { position: relative; padding: 8px 11px; font-weight: 600; font-size: 13.5px; color: #2D3555; border-radius: 10px; display: inline-flex; gap: 6px; align-items: center; transition: color .15s, background .15s; }
.main-nav a .ic { display: none; width: 1.05em; height: 1.05em; } .main-nav a:hover { color: var(--red); background: var(--pink-xl); }
.main-nav a.active { color: var(--red); } .main-nav a.active::after { content: ''; position: absolute; left: 11px; right: 11px; bottom: 0; height: 2.5px; border-radius: 3px; background: var(--red); }
.main-nav a.active .ic { display: inline-block; }
.search { margin-left: auto; position: relative; display: flex; align-items: center; background: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 3px 3px 14px; width: 270px; max-width: 30vw; transition: border-color .15s, box-shadow .15s; }
.search:focus-within { border-color: #F3B3B8; box-shadow: 0 0 0 4px rgba(227, 16, 31, .08); }
.search .ic-pre { color: #9AA0B5; margin-right: 6px; } .search input { border: 0; outline: 0; background: transparent; flex: 1; min-width: 0; font-size: 13px; padding: 7px 0; }
.search-btn { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--red); color: #fff; display: grid; place-items: center; flex: none; } .search-btn:hover { background: var(--red-d); }
.search-pop { position: absolute; top: calc(100% + 8px); left: 0; right: 0; min-width: 300px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 8px; z-index: 70; }
.search-pop a { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; font-size: 13px; } .search-pop a:hover, .search-pop a.sel { background: var(--pink-xl); }
.search-pop .t { font-weight: 700; } .search-pop .s { color: var(--muted); font-size: 12px; } .search-pop .p { margin-left: auto; color: var(--red); font-weight: 800; white-space: nowrap; } .search-pop .lbl { padding: 6px 8px 2px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.header-actions { display: flex; align-items: center; gap: 8px; } #authArea { display: flex; gap: 8px; align-items: center; }
.icon-btn { position: relative; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--line-2); color: var(--red); transition: transform .15s, box-shadow .15s; }
.icon-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-sm); } .icon-btn .badge { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--red); color: #fff; font-size: 10.5px; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }
.nav-toggle { display: none; } .user-btn { background: var(--red); color: #fff; border-color: var(--red); }
.user-menu { position: relative; } .user-pop { position: absolute; right: 0; top: calc(100% + 10px); width: 230px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 8px; z-index: 70; }
.user-pop .who { padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; } .user-pop .who b { display: block; font-size: 14px; } .user-pop .who span { font-size: 12px; color: var(--muted); word-break: break-all; }
.user-pop a, .user-pop button { display: flex; width: 100%; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 10px; font-size: 13.5px; font-weight: 600; background: none; border: 0; text-align: left; } .user-pop a:hover, .user-pop button:hover { background: var(--pink-xl); color: var(--red); }
/* ---- footer ---- */
.site-footer { margin-top: 38px; padding-bottom: 22px; }
.footer-card { position: relative; background: var(--grad); background: linear-gradient(120deg, #B30B17 0%, #8A0813 60%, #6B060F 100%); color: #fff; border-radius: 26px; padding: 30px 34px 18px; overflow: hidden; box-shadow: var(--shadow-lg); }
.footer-card::before { content: ''; position: absolute; right: -80px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(#ffffff1f, transparent 65%); }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.3fr .8fr 1fr 1.25fr 1fr; gap: 26px; align-items: start; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 8px; } .footer-brand p { font-size: 13px; opacity: .9; }
.site-footer h4 { font-family: var(--font); font-size: 13.5px; font-weight: 800; margin-bottom: 10px; color: #fff; } .site-footer li { margin-bottom: 6px; font-size: 13px; }
.site-footer li a { opacity: .9; } .site-footer li a:hover { opacity: 1; text-decoration: underline; }
.footer-contact li { display: flex; gap: 8px; align-items: flex-start; opacity: .95; } .footer-contact .ic { margin-top: 2px; }
.social { display: flex; gap: 8px; } .social a { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid #ffffff80; display: grid; place-items: center; transition: background .15s; } .social a:hover { background: #ffffff26; }
.footer-mascot { position: absolute; right: 14px; bottom: 42px; width: 118px; } .footer-bottom { position: relative; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 20px; padding-top: 14px; border-top: 1px solid #ffffff2e; font-size: 12px; opacity: .92; }
.footer-bottom span { display: inline-flex; gap: 6px; align-items: center; }
.footer-slogan { position: absolute; right: 124px; bottom: 90px; font-family: var(--font-d); font-size: 12px; transform: rotate(-6deg); opacity: .9; }
/* ---- trust bar ---- */
.trust-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; background: linear-gradient(90deg, #FFF1F2, #FFF8F8); border-radius: var(--r-lg); padding: 16px 12px; margin-top: 30px; }
.trust-item { display: flex; gap: 12px; align-items: center; padding: 4px 16px; border-left: 1px solid #F3D3D7; } .trust-item:first-child { border-left: 0; }
.trust-item .ico { width: 42px; height: 42px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; flex: none; } .trust-item b { display: block; font-size: 13.5px; font-family: var(--font-d); color: var(--ink-h); } .trust-item span { font-size: 12px; color: var(--muted); }
/* ---- page hero ---- */
.page-hero { position: relative; margin-top: 8px; border-radius: var(--r-xl); overflow: hidden; background: linear-gradient(100deg, #FFE5E8 0%, #FFF1F2 55%, #FFE9EB 100%); min-height: 230px; padding: 36px 44px; display: flex; align-items: center; border: 1px solid #FBDADD; }
.page-hero::before { content: ''; position: absolute; left: -70px; bottom: -100px; width: 330px; height: 140px; background: var(--red); border-radius: 0 100% 0 0 / 0 100% 0 0; opacity: .95; transform: rotate(-4deg); }
.page-hero::after { content: ''; position: absolute; right: 36%; top: -90px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(#ffffffb3, transparent 68%); }
.page-hero .copy { position: relative; z-index: 2; max-width: 560px; } .page-hero h1 { font-size: clamp(28px, 4vw, 44px); } .page-hero h1 em { display: block; font-style: normal; color: var(--red); }
.page-hero .lead { margin-top: 12px; color: #3E4565; font-size: 15px; max-width: 480px; }
.page-hero .mascot { position: absolute; right: 24px; bottom: -6px; height: 112%; max-height: 330px; z-index: 1; filter: drop-shadow(0 14px 18px rgba(160, 20, 35, .18)); }
.page-hero .bubble { position: absolute; z-index: 3; right: 34px; top: 22px; background: var(--red); color: #fff; font-family: var(--font-d); font-weight: 700; padding: 12px 18px; border-radius: 22px 22px 22px 4px; font-size: 16px; line-height: 1.15; transform: rotate(6deg); box-shadow: var(--shadow); max-width: 190px; text-align: center; }
.eyebrow { display: inline-flex; gap: 6px; align-items: center; background: var(--red); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 5px 11px; border-radius: 8px; margin-bottom: 12px; }
.hero-feats { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 18px; } .hero-feats div { background: #ffffffd9; padding: 5px 12px 5px 6px; border-radius: 999px; display: flex; gap: 8px; align-items: center; font-size: 11.5px; color: #4A5170; line-height: 1.2; font-weight: 600; }
.hero-feats .ico { width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 1.5px solid #F4B5BA; color: var(--red); display: grid; place-items: center; flex: none; }
.breadcrumb { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin: 10px 4px 0; } .breadcrumb a:hover { color: var(--red); } .breadcrumb .cur { color: var(--red); font-weight: 700; } .breadcrumb .ic { width: 12px; height: 12px; }
