.gbsg{--ink:#590051;--pink:#d9009b;--purple:#740063;max-width:850px;margin:0 auto 30px;padding:14px 14px 100px;background:linear-gradient(145deg,#f4d0fa,#fff6ff 38%,#f6cafa);color:var(--ink);font:600 17px/1.6 system-ui,sans-serif;min-height:100vh;box-sizing:border-box}.gbsg *{box-sizing:border-box}.gbsg a{text-decoration:none;color:inherit}.gbsg-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.gbsg-top>a{display:grid;place-items:center;width:45px;height:45px;border-radius:14px;background:#fff9ff;box-shadow:0 2px 9px #920b8944;font-size:25px}.gbsg-top span{font-size:24px;font-weight:900;text-align:center;line-height:1.1}.gbsg-top small{display:block;font:700 10px/1.4 sans-serif;letter-spacing:2px}.gbsg-hero{display:flex;align-items:center;justify-content:center;gap:22px;min-height:165px;text-align:right}.gbsg-emblem{font-size:64px}.gbsg h1{font-size:clamp(26px,6vw,43px);line-height:1.2;margin:0 0 9px;color:#64005b}.gbsg h2{font-size:24px;color:#85006d;margin:0 0 12px}.gbsg p{margin:0 0 12px}.gbsg-grid{display:grid;gap:14px;margin:16px 0 24px}.gbsg-card{display:block;padding:19px;border:3px solid #fff;border-radius:30px;background:#fff7ffcc;box-shadow:0 5px 12px #a327a03b;margin-bottom:15px}.gbsg-grid .gbsg-card{display:grid;grid-template-columns:90px 1fr;align-items:center;column-gap:14px;min-height:120px}.gbsg-grid span{grid-row:span 2;font-size:62px;text-align:center}.gbsg-grid strong{font-size:30px}.gbsg-grid small{font-size:16px;color:#5c305e}.gbsg-tabs{display:flex;gap:6px;margin:8px 0 16px}.gbsg-tabs a{flex:1;text-align:center;border:2px solid #f4c8f1;border-radius:17px;padding:8px 3px;background:#fff;font-weight:800}.gbsg-tabs a[aria-current]{background:linear-gradient(#ed19b6,#67005b);color:#fff}.gbsg label{display:block;font-size:18px;margin:10px 0;font-weight:800}.gbsg select,.gbsg input{display:block;width:100%;height:48px;padding:8px 15px;margin-top:4px;border:2px solid #e8b7e9;border-radius:18px;background:#fff;color:#3e153d;direction:ltr;text-align:center;font:700 19px system-ui}.gbsg select{direction:rtl;text-align:right}.gbsg-fields{padding:12px;background:#fff9ffb8;border-radius:22px;margin:15px 0}.gbsg-calc{width:100%;border:1px solid #e71dbc;border-radius:22px;color:#fff;background:linear-gradient(#ef18b6,#6b005d);font:800 20px system-ui;padding:12px;cursor:pointer;box-shadow:0 4px 8px #a327a05c}.gbsg-calc:focus-visible,.gbsg a:focus-visible,.gbsg input:focus-visible,.gbsg select:focus-visible{outline:3px solid #6016ad;outline-offset:3px}.gbsg-message{min-height:20px;color:#a30b36}.gbsg-results{text-align:center;margin-top:12px;padding:15px;border-radius:25px;background:#fce0f8}.gbsg-size{display:inline-block;background:linear-gradient(#dc00a7,#6d0059);border-radius:18px;color:#fff;font-size:32px;min-width:140px;padding:5px 20px}.gbsg-note{font-size:15px;color:#654263;margin-top:12px}.gbsg-scroll{overflow:auto;max-width:100%}.gbsg table{border-collapse:collapse;width:100%;min-width:370px;margin-top:12px;text-align:center}.gbsg th{background:#850079;color:#fff}.gbsg th,.gbsg td{border:1px solid #c56bbf;padding:7px 5px;white-space:nowrap}.gbsg tr:nth-child(even){background:#f7d1f4}.gbsg tr.gbsg-near{background:#f4b3db;outline:3px solid #8c007b}.gbsg-info{border-radius:20px;background:#fff9f6;padding:18px;text-align:center;margin:16px 0}.gbsg-ribbon{text-align:center;font-size:70px}.gbsg li{margin:8px 0}.gbsg-bottom{position:sticky;bottom:5px;display:flex;align-items:end;justify-content:space-around;background:#fff9ff;border-radius:25px;padding:7px 2px;box-shadow:0 3px 15px #9d218677;z-index:4}.gbsg-bottom a{display:grid;justify-items:center;min-width:19%;font-size:26px;line-height:1.1}.gbsg-bottom small{font-size:13px;font-weight:800}.gbsg-bottom .gbsg-reward{background:linear-gradient(#ee1ab6,#70005f);color:#fff;border-radius:20px;padding:8px 0;transform:translateY(-8px)}@media(max-width:420px){.gbsg{padding:10px 9px 85px;font-size:16px}.gbsg-top span{font-size:19px}.gbsg-hero{gap:8px;min-height:140px}.gbsg-emblem{font-size:48px}.gbsg-grid .gbsg-card{grid-template-columns:70px 1fr}.gbsg-grid span{font-size:47px}.gbsg-grid strong{font-size:25px}.gbsg-bottom small{font-size:11px}}
body:has(.gbsg) #primary{margin:0;width:100%}body:has(.gbsg) #primary>.site-main>.ast-article-single{padding:0;background:transparent}body:has(.gbsg) #primary .entry-content{margin:0}body:has(.gbsg) .gbsg{max-width:100%;padding-top:25px}body:has(.gbsg) .gbsg-top,body:has(.gbsg) .gbsg-bottom{display:none}body:has(.gbsg) .gbsg-hero,body:has(.gbsg) .gbsg-grid,body:has(.gbsg) .gbsg-card,body:has(.gbsg) .gbsg-tabs,body:has(.gbsg) .gbsg-info{max-width:760px;margin-left:auto;margin-right:auto}
body:has(.gbsg) .gbsg-ring-photo{display:block;width:100%;max-width:670px;height:auto;margin:10px auto 20px;border-radius:22px;object-fit:cover}
body:has(.gbsg) .gbsg-category-photo{display:block;width:min(100%,760px);height:auto;max-height:300px;object-fit:cover;object-position:center 70%;border-radius:24px;margin:0 auto 20px}body:has(.gbsg) .gbsg-grid>.gbsg-card{width:100%}

body:has(.gbsg) .gbsg-banner{max-width:850px;margin:0 auto 20px}body:has(.gbsg) .gbsg-banner img{display:block;width:100%;height:auto;border-radius:0}body:has(.gbsg) .gbsg-hero-integrated{max-width:850px;min-height:0;display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);align-items:center;gap:12px;padding:16px 20px;margin:0 auto 20px;background:linear-gradient(110deg,#f2c4f6,#fff2fa 68%,#edd0fa);border-radius:22px;overflow:hidden}body:has(.gbsg) .gbsg-hero-integrated img{display:block;width:100%;height:190px;object-fit:cover;object-position:center;border-radius:18px}body:has(.gbsg) .gbsg-hero-copy{text-align:right}body:has(.gbsg) .gbsg-hero-copy h1{font-size:clamp(24px,3.8vw,40px)}body:has(.gbsg) .gbsg-hero-copy p{font-size:clamp(14px,2vw,22px)}@media(max-width:550px){body:has(.gbsg) .gbsg-hero-integrated{padding:12px;gap:8px;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr)}body:has(.gbsg) .gbsg-hero-integrated img{height:120px}body:has(.gbsg) .gbsg-hero-copy h1{font-size:clamp(21px,6vw,30px)}body:has(.gbsg) .gbsg-hero-copy p{font-size:clamp(12px,3.5vw,16px)}}

body:has(.gbsg) .gbsg-fields:has(.gbsg-measure-figure){display:grid;grid-template-columns:minmax(0,1fr) 245px;align-items:center;gap:16px}body:has(.gbsg) .gbsg-measure-figure{height:226px;width:245px;overflow:hidden;border-radius:18px;background:#faeaf9;align-self:center}body:has(.gbsg) .gbsg-measure-figure img{display:block;height:300px;width:auto;max-width:none;transform:translate(-2px,-1px)}@media(max-width:600px){body:has(.gbsg) .gbsg-fields:has(.gbsg-measure-figure){grid-template-columns:minmax(0,1fr) 135px;gap:5px}body:has(.gbsg) .gbsg-measure-figure{width:135px;height:205px}body:has(.gbsg) .gbsg-measure-figure img{height:245px}body:has(.gbsg) .gbsg-fields:has(.gbsg-measure-figure) label{font-size:15px}body:has(.gbsg) .gbsg-fields:has(.gbsg-measure-figure) input{height:42px}}

body:has(.gbsg) .gbsg-measure-figure{direction:ltr}

@media(max-width:600px){body:has(.gbsg) .gbsg-measure-figure{width:150px;height:205px}body:has(.gbsg) .gbsg-measure-figure img{height:210px;transform:translate(-30px,-1px)}body:has(.gbsg) .gbsg-fields:has(.gbsg-measure-figure){grid-template-columns:minmax(0,1fr) 150px}}

body:has(.gbsg) .gbsg-measure-figure{width:100%;height:auto;min-height:0;overflow:visible;direction:rtl;display:flex;align-items:center;justify-content:center;background:transparent}body:has(.gbsg) .gbsg-measure-figure img{display:block;width:100%;max-width:245px;height:300px;object-fit:contain;transform:none}body:has(.gbsg) .gbsg-ring-photo{max-width:270px;height:290px;object-fit:contain;background:#fff8fe}body:has(.gbsg) .gbsg-fields:has(.gbsg-measure-figure){align-items:start;gap:14px}body:has(.gbsg) .gbsg-fields .gbsg-inputs{min-width:0}body:has(.gbsg) .gbsg-fields .gbsg-inputs h2{font-size:clamp(19px,4vw,24px)}@media(max-width:600px){body:has(.gbsg) .gbsg-fields:has(.gbsg-measure-figure){grid-template-columns:minmax(0,1fr) 140px;gap:8px}body:has(.gbsg) .gbsg-measure-figure{width:100%;height:auto}body:has(.gbsg) .gbsg-measure-figure img{height:230px;max-width:140px;transform:none}}@media(max-width:380px){body:has(.gbsg) .gbsg-fields:has(.gbsg-measure-figure){display:flex;flex-direction:column-reverse;gap:2px}body:has(.gbsg) .gbsg-measure-figure img{height:190px;max-width:180px}body:has(.gbsg) .gbsg-fields .gbsg-inputs{width:100%}}

/* Original supplied measurement illustrations, never cropped. */
body:has(.gbsg) .gbsg-fields:has(.gbsg-measure-figure){grid-template-columns:minmax(0,1fr) minmax(0,300px);align-items:center;gap:16px}body:has(.gbsg) .gbsg-measure-figure{width:100%;height:auto;overflow:visible;display:block;background:transparent}body:has(.gbsg) .gbsg-measure-figure img{display:block;width:100%;max-width:300px;height:auto;max-height:410px;object-fit:contain;transform:none;margin:auto;border-radius:14px}body:has(.gbsg) .gbsg-ring-photo{display:block;width:100%;max-width:620px;height:auto;max-height:none;object-fit:contain;background:#fff8fe}@media(max-width:600px){body:has(.gbsg) .gbsg-fields:has(.gbsg-measure-figure){display:flex;flex-direction:column-reverse;gap:8px}body:has(.gbsg) .gbsg-fields .gbsg-inputs{width:100%}body:has(.gbsg) .gbsg-measure-figure{width:100%;height:auto}body:has(.gbsg) .gbsg-measure-figure img{max-width:min(100%,320px);max-height:none;height:auto;object-fit:contain;transform:none}body:has(.gbsg) .gbsg-fields:has(.gbsg-measure-figure) label{font-size:17px}body:has(.gbsg) .gbsg-fields:has(.gbsg-measure-figure) input{height:48px}}

/* Keep the original clothing hero illustration fully visible across the three clothing pages. */
body:has(.gbsg[data-kind="women"]) .gbsg-hero-integrated img,
body:has(.gbsg[data-kind="men"]) .gbsg-hero-integrated img,
body:has(.gbsg[data-kind="children"]) .gbsg-hero-integrated img{object-fit:contain;object-position:center;width:100%;height:190px;border-radius:18px}
@media(max-width:550px){
 body:has(.gbsg[data-kind="women"]) .gbsg-hero-integrated img,
 body:has(.gbsg[data-kind="men"]) .gbsg-hero-integrated img,
 body:has(.gbsg[data-kind="children"]) .gbsg-hero-integrated img{height:140px;max-width:100%;object-fit:contain}
}

/* Feather the supplied clothing artwork into the existing hero strip. */
body:has(.gbsg[data-kind="women"]) .gbsg-hero-integrated img,
body:has(.gbsg[data-kind="men"]) .gbsg-hero-integrated img,
body:has(.gbsg[data-kind="children"]) .gbsg-hero-integrated img{
 background:transparent;border-radius:0;object-fit:contain;
 -webkit-mask-image:radial-gradient(ellipse 80% 88% at 50% 50%,#000 58%,transparent 100%);
 mask-image:radial-gradient(ellipse 80% 88% at 50% 50%,#000 58%,transparent 100%);
}
@media(max-width:550px){
 body:has(.gbsg[data-kind="women"]) .gbsg-hero-integrated,
 body:has(.gbsg[data-kind="men"]) .gbsg-hero-integrated,
 body:has(.gbsg[data-kind="children"]) .gbsg-hero-integrated{gap:2px;padding:10px 6px}
 body:has(.gbsg[data-kind="women"]) .gbsg-hero-integrated img,
 body:has(.gbsg[data-kind="men"]) .gbsg-hero-integrated img,
 body:has(.gbsg[data-kind="children"]) .gbsg-hero-integrated img{height:150px;width:100%;max-width:none}
}

/* Let the light pixels of the illustration take the strip's underlying pink. */
body:has(.gbsg[data-kind="women"]) .gbsg-hero-integrated,
body:has(.gbsg[data-kind="men"]) .gbsg-hero-integrated,
body:has(.gbsg[data-kind="children"]) .gbsg-hero-integrated{isolation:isolate}
body:has(.gbsg[data-kind="women"]) .gbsg-hero-integrated img,
body:has(.gbsg[data-kind="men"]) .gbsg-hero-integrated img,
body:has(.gbsg[data-kind="children"]) .gbsg-hero-integrated img{mix-blend-mode:multiply}

/* The artwork now has a transparent background; keep all of it visible. */
body:has(.gbsg[data-kind="women"]) .gbsg-hero-integrated img,
body:has(.gbsg[data-kind="men"]) .gbsg-hero-integrated img,
body:has(.gbsg[data-kind="children"]) .gbsg-hero-integrated img{
 -webkit-mask-image:none;mask-image:none;mix-blend-mode:normal;object-fit:contain;
}

/* Shoe result tables have only two columns; fit both inside narrow phones. */
@media(max-width:600px){
 .gbsg[data-kind^="shoe-"] .gbsg-results .gbsg-scroll{overflow-x:visible;max-width:100%}
 .gbsg[data-kind^="shoe-"] .gbsg-results table{table-layout:fixed;width:100%;min-width:0;margin-top:10px;font-size:clamp(12px,3.4vw,15px)}
 .gbsg[data-kind^="shoe-"] .gbsg-results th,
 .gbsg[data-kind^="shoe-"] .gbsg-results td{white-space:normal;overflow-wrap:normal;word-break:normal;padding:6px 3px;line-height:1.35}
 .gbsg[data-kind^="shoe-"] .gbsg-results th{width:50%}
}
