/* B / 好友专属福利. One scoped source of campaign styles; no prior-test overrides. */
body{margin:0;font-family:"PingFang SC","Microsoft YaHei",sans-serif}
.campaign,.modal{--action:#f96730;--orange-light:#ff9748;--paper:#fffaf7;--notice:#fef4eb;--ink:#35251e;--muted:#6a605b;--edge:#fbd38b;box-sizing:border-box;color:var(--ink)}
.campaign *, .modal *{box-sizing:border-box}
.campaign{position:relative;background:linear-gradient(#ffab31,#ffbb57);padding-bottom:32px;overflow:hidden}
.campaign .hero{margin:0;padding:0;background:#ffab31}
.campaign .hero img{display:block;width:100%;height:auto;aspect-ratio:3.4;object-fit:cover;mask-image:linear-gradient(#000 calc(100% - 70px),transparent)}
.campaign .hero-benefits{position:relative;text-align:center;margin-top:-66px;padding:0 20px;font-size:15px;color:#854123}
/* B hero subtitle: orange inset band, fine cream edge, ivory italic lettering. */
.campaign .hero-benefits strong{display:inline-block;padding:5px 28px 7px;border:1px solid #ffe9a7;border-radius:24px;background:linear-gradient(#ff9748,#f96730);box-shadow:inset 0 1px 0 #fff8e67a,0 3px 7px #f9673024;color:#fff8e6;font-size:24px;line-height:1.35;font-weight:800;font-style:italic;text-shadow:0 1px 1px #b64a1540}
.campaign .hero-benefits em{font-size:1.2em;font-weight:900;font-style:inherit}
.campaign .hero-benefits p{margin:8px 0 0;font-size:14px;line-height:1.6;color:#854123}
.campaign>section{position:relative;isolation:isolate;width:calc(100% - 40px);max-width:1400px;margin:44px auto 0;padding:0 38px 32px;border-radius:24px;scroll-margin-top:90px}
.campaign>section::before{content:"";position:absolute;z-index:-1;inset:50px 0 0;background:#fff;border-radius:24px}
/* Coordinates trace the original: bar at y48, white edge y78→118 across x375→510. */
.campaign-heading{position:relative;margin:0 -38px 22px;height:126px;background:url('heading-frame.svg') center bottom / 100% 126px no-repeat}
.campaign-heading h2{position:absolute;inset:0 auto auto 12px;margin:0;width:355px;height:122px}
.campaign-heading .title-icon{position:absolute;left:0;top:8px;width:108px;height:104px;overflow:hidden}.campaign-heading .title-words{position:absolute;left:108px;top:48px;overflow:hidden}.campaign-heading img{position:absolute;max-width:none;height:auto}.campaign-heading .sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.campaign #steps{margin-top:26px}
.campaign .campaign-dates{margin:-38px 0 26px;text-align:right;position:relative;font-size:14px}
.campaign .steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.campaign .steps article{display:flex;flex-direction:column;align-items:flex-start;padding:22px;border:1px solid #fff;border-radius:12px;background:linear-gradient(135deg,#fef4eb,#fffaf7);min-width:0}
.campaign .participation-icon{display:block;width:48px;height:48px;margin:0 0 14px}
.campaign .steps h3{font-size:18px;margin:0 0 8px}
.campaign .steps p{font-size:14px;line-height:1.75;margin:0 0 10px}
.campaign .steps p:last-child{margin-bottom:0}
.campaign .cta,.modal .btn{display:flex;justify-content:center;align-items:center;min-height:46px;border:0;border-radius:8px;padding:10px 18px;background:linear-gradient(110deg,#ff6035,#ff103c);color:white;font:600 16px/1.5 "PingFang SC",sans-serif;cursor:pointer;box-shadow:0 5px 12px #f9673020}
.campaign .cta{align-self:stretch;margin-top:auto;width:100%;font-family:inherit;font-size:16px;font-weight:600}
.campaign .cta:hover{box-shadow:0 6px 16px #f9673030}
.campaign .cta:focus-visible,.modal :focus-visible{outline:2px solid #b6360c;outline-offset:3px}
.campaign :is(.track-head,.reward-head){display:flex;align-items:center;gap:10px;margin:0 0 10px}
.campaign :is(.track-head,.reward-head) h3{margin:0;font-size:22px;line-height:1.5}
.campaign .track-icon{display:grid;place-items:center;width:34px;height:34px;background:var(--notice);color:var(--action);border-radius:8px;flex:none}
.campaign .track-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.campaign .slogan{font-size:18px;font-weight:700;margin:0 0 8px}
.campaign .desc{font-size:14px;line-height:1.7;margin:0 0 16px;color:var(--muted)}
.campaign :is(.guide-secondary,.reward-secondary){margin-top:26px;padding-top:26px;border-top:1px solid #f2e3d8}
.campaign .cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.campaign .card{min-width:0;overflow:hidden;border-radius:10px;background:white;box-shadow:0 4px 20px #5033160a;border:1px solid #fef4eb}
.campaign .photo-window{aspect-ratio:1.95;overflow:hidden}
.campaign .guide-photo{display:block;width:100%;height:100%;object-fit:cover;transition:transform .22s ease}
@media(hover:hover){.campaign .card:hover .guide-photo{transform:scale(1.05)}}
.campaign .card-body{padding:18px 20px 20px}
.campaign .card-body h4{font-size:16px;line-height:1.5;margin:0 0 7px}
.campaign .card-body p{font-size:14px;line-height:1.65;color:var(--muted);margin:0}
.campaign .campaign-notice,.modal .campaign-notice{position:relative;width:100%;margin:16px 0 0;padding:16px 18px 16px 52px;border:1px solid #fff;border-radius:10px;background:var(--notice);color:#854123;font-size:14px;line-height:1.75;text-align:left}
.campaign .campaign-notice::before,.modal .campaign-notice::before{content:"";position:absolute;top:18px;left:18px;width:22px;height:22px;background:url('notice-icon.svg') center/contain no-repeat}
/* Creator-pool original: elevated central grand prize, overlapping chamfered platforms,
   protruding front-facing trophies and soft rays. B supplies campaign accents. */
.campaign :is(.award-grid-main,.award-grid-sub){display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin-top:14px;padding:36px 4% 22px;position:relative;isolation:isolate;align-items:start}
.campaign :is(.award-grid-main,.award-grid-sub)::before{content:"";position:absolute;inset:0;z-index:-1;background:repeating-conic-gradient(from -3deg at 50% 51%,#fffaf7 0deg 7deg,#fef4eb 7deg 16deg);mask-image:linear-gradient(transparent,#000 58px,#000 calc(100% - 34px),transparent);pointer-events:none}
.campaign .award{--material:url('reward-material-gold.webp');--material-wash:linear-gradient(#f6d7a3c2,#fff4e3c2);--material-size:auto 239.354839%;--material-position:44.444444% 95.833333%;--cup:116px;display:flex;flex-direction:column;align-items:center;position:relative;isolation:isolate;text-align:center;min-width:0;margin:0 -3%;padding:0 14px 25px;border:0;background:none;z-index:1}
.campaign .award::before{content:"";position:absolute;inset:58px 0 0;z-index:-1;background-image:var(--material-wash),var(--material);background-size:100% 100%,var(--material-size);background-position:center,var(--material-position);background-repeat:no-repeat;filter:blur(.35px);box-shadow:inset 0 1px 1px #ffffffb3,inset -1px -2px 2px #6b45191c;clip-path:polygon(12px 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%,0 12px)}
.campaign .award:first-child{grid-column:2;grid-row:1}
.campaign .award:nth-child(2){grid-column:1;grid-row:1;--material:url('reward-material-silver.webp');--material-wash:linear-gradient(#d9e0e5c2,#f7f8fac2);--material-size:auto 245%;--material-position:7.446809% 96.12069%;--cup:94px;margin-top:54px;z-index:0}
.campaign .award:nth-child(3){grid-column:3;grid-row:1;--material:url('reward-material-bronze.webp');--material-wash:linear-gradient(#f4d8c5c2,#fcf2e8c2);--material-size:auto 247.770701%;--material-position:85.227273% 95.689655%;--cup:94px;margin-top:54px;z-index:0}
.campaign .award::after{content:"";position:absolute;left:50%;top:calc(var(--cup) - 10px);width:58px;height:9px;transform:translateX(-50%);background:radial-gradient(ellipse,#71542726,transparent 70%);pointer-events:none;z-index:0}
.campaign .distinction{position:relative;z-index:1;display:block;order:0;width:94px;height:94px;margin:0 0 10px;background:url('front-cup.png') center/contain no-repeat}
.campaign .award:first-child .distinction{width:116px;height:116px}
.campaign .award:nth-child(2) .distinction{filter:grayscale(1)}
.campaign .award:nth-child(3) .distinction{filter:sepia(.6) brightness(.83)}
.campaign .award .name{order:1;font-size:24px;font-weight:700;line-height:1.5;margin:0 0 8px}
.campaign .award .quota{order:2;margin:0 0 12px;font-size:14px;color:var(--ink)}
.campaign .award .money{order:3;font-size:26px;font-weight:700;line-height:1.5;color:var(--action);margin:0 0 4px}
.campaign .award .extra{order:4;font-size:14px;line-height:1.6;color:var(--muted)}
/* All reward notices and explanatory copy share the same notice component. */
.campaign .notice-segment{margin-inline-start:16px}
.campaign .campaign-notice.explain p{margin:0 0 6px}
.campaign .campaign-notice.explain ul{margin:0;padding-left:18px}
.campaign .rules-layout{display:grid;grid-template-columns:minmax(0,1fr) 210px;gap:26px;align-items:start}
.campaign .rules ol{margin:0;padding-left:20px;font-size:15px;line-height:1.9;color:var(--muted)}
.campaign .rules li{margin-bottom:5px}
.campaign .qr-card{padding:16px;border:1px solid #f2e3d8;border-radius:12px;font-size:14px}
.campaign .qr-card p{margin:0;line-height:1.7}
.campaign .qr-pending{display:grid;place-items:center;aspect-ratio:1;width:140px;max-width:100%;margin:14px auto;background:var(--paper);border:1px solid #f2e3d8;border-radius:8px;font-size:12px;color:var(--muted)}
.modal{position:fixed;inset:0;display:none;align-items:center;justify-content:center;padding:18px;z-index:10000;background:#10182888}
.modal.show{display:flex}
.modal-box{width:min(840px,100%);max-height:90vh;overflow:auto;padding:24px;background:#fff;border-radius:16px;box-shadow:0 24px 70px #0003}
.modal-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}
.modal-head h3{margin:0;font-size:20px}
.modal .close{width:34px;height:34px;flex:none;border:0;border-radius:8px;background:#f6f5f4;font-size:24px;cursor:pointer}
.modal .form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.modal label{display:block;font-size:13px;margin-bottom:6px}
.modal input,.modal select{width:100%;height:42px;border:1px solid #d9d7d5;border-radius:8px;background:white;padding:0 11px;font-family:inherit}
.modal .full{grid-column:1/-1}
.modal .btn:disabled{opacity:.6;cursor:default}
.modal .records{margin-top:20px;padding-top:14px;border-top:1px solid #eee}
.modal .records h4{margin:0 0 10px}
.modal table{width:100%;border-collapse:collapse;font-size:13px}
.modal th,.modal td{padding:9px 6px;border-bottom:1px solid #eee;text-align:left}
.modal .status{display:inline-block;border-radius:12px;background:var(--notice);padding:3px 7px}
@media(max-width:1000px){.campaign .campaign-dates{margin:0 0 18px;text-align:left}.campaign .award .money{font-size:21px}.campaign .cards{gap:14px}.campaign-heading{margin-bottom:12px}}
@media(max-width:720px){
 .campaign{padding-bottom:22px}
 .campaign .hero img{height:clamp(210px,56vw,300px);aspect-ratio:auto;object-fit:cover;object-position:center;mask-image:linear-gradient(#000 calc(100% - 16px),transparent)}
 .campaign .date-divider{display:none}.campaign .hero-benefits{margin-top:-14px;padding:0 12px}.campaign .hero-benefits strong{font-size:16px;line-height:1.55;padding:4px 13px 6px}.campaign .hero-benefits p{font-size:12px;margin-top:5px;line-height:1.6}
 .campaign>section{width:calc(100% - 24px);padding:0 16px 22px;margin-top:30px}
 .campaign>section::before{top:44px;border-radius:18px}
 .campaign-heading{margin:0 -16px 16px;height:112px;background-size:auto 112px;background-position:left bottom}
 .campaign-heading h2{width:355px;height:122px;left:3px;transform:scale(.85);transform-origin:left top}
 .campaign .steps,.campaign .cards,.campaign :is(.award-grid-main,.award-grid-sub),.campaign .rules-layout{grid-template-columns:1fr}
 .campaign .steps article{padding:18px}
 .campaign .steps p:last-child{margin-top:0}
 .campaign .cta{margin-top:10px}
 .campaign .campaign-notice,.modal .campaign-notice{padding:12px 14px 12px 42px;font-size:13px}
 .campaign .campaign-notice::before,.modal .campaign-notice::before{left:12px;top:14px;width:20px;height:20px}
 .campaign .card-body{padding:14px 16px 16px}
 .campaign :is(.award-grid-main,.award-grid-sub){padding:20px 4px;gap:22px}
 .campaign .award:nth-child(n){grid-area:auto;margin:0;padding:0 14px 22px}
 .campaign .award .name{font-size:21px}
 .campaign .award .money{font-size:24px}
 .campaign .notice-segment{margin-inline-start:8px}
 .campaign :is(.track-head,.reward-head) h3{font-size:20px}
 .campaign .rules ol{font-size:14px}
 .campaign .qr-card{display:grid;grid-template-columns:125px 1fr;gap:12px;align-items:center}
 .campaign .qr-card strong{grid-column:1/-1}.campaign .qr-pending{width:125px;margin:0}
 .modal .form-grid{grid-template-columns:1fr}.modal-box{padding:18px}.modal-head h3{font-size:17px}
}
@media(prefers-reduced-motion:reduce){.campaign .guide-photo{transition:none}}

/* Original B outer artwork is clipped to its native side gutters; central panels never show. */
.campaign .case-edge-art{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.campaign .case-edge{position:absolute;width:clamp(0px,calc((100vw - 1440px)/2),240px);background-repeat:no-repeat;background-size:1920px auto;mask-image:radial-gradient(ellipse closest-side,#000 35%,transparent 100%)}
.campaign .prize-left,.campaign .prize-right{top:1050px;height:850px;background-image:url('case-prize-scene.webp')}
.campaign .rule-left,.campaign .rule-right{bottom:0;height:540px;background-image:url('case-rule-scene.webp')}
.campaign .prize-left,.campaign .rule-left{left:0;background-position:left top}
.campaign .prize-right,.campaign .rule-right{right:0;background-position:right top}
@media(max-width:1480px){.campaign .case-edge-art{display:none}}
