.bfg-wrap{max-width:1120px;margin:32px auto;padding:24px;background:#f5f8fe;color:#17233b;border-radius:18px;font:16px/1.6 system-ui,sans-serif}.bfg-wrap *{box-sizing:border-box}.bfg-brand{display:flex;align-items:center;margin:0 0 22px;padding:4px 0 18px;border-bottom:1px solid #dce4f1}.bfg-brand a{display:flex;align-items:center;gap:10px;color:#17233b;text-decoration:none;font-size:26px;letter-spacing:-.8px}.bfg-brand span{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#1b49df;color:#fff;font:800 30px/1 Arial}.bfg-brand strong{font-weight:800}.bfg-nav{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0;padding:16px;border:1px solid #dbe4f2;border-radius:12px;background:#fff}.bfg-nav a{color:#174bc6;text-decoration:none;font:600 15px/1.5 system-ui,sans-serif}.bfg-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:16px;margin:20px 0}.bfg-card{background:white;border:1px solid #dce4f1;border-radius:14px;padding:20px}.bfg-card h3{margin:0 0 10px}.bfg-wrap label{display:block;margin:9px 0}.bfg-wrap input:not([type=checkbox]):not([type=hidden]),.bfg-wrap textarea,.bfg-wrap select{display:block;width:100%;max-width:650px;padding:11px;border:1px solid #aabbd4;border-radius:8px;background:white;color:#17233b}.bfg-wrap button,.bfg-button{display:inline-block;background:#1b49df;color:white!important;border:0;border-radius:9px;padding:11px 17px;font:600 15px/1.5 system-ui;cursor:pointer;text-decoration:none;margin:8px 8px 8px 0}.bfg-wrap button:disabled{opacity:.5;cursor:wait}.bfg-picker{max-height:300px;overflow:auto;background:white;border:1px solid #dbe4f2;padding:12px;border-radius:10px}.bfg-wrap input[type=checkbox]{width:19px;height:19px;vertical-align:middle;margin-right:8px}.bfg-wrap summary{cursor:pointer;font-weight:600}.bfg-wrap :focus-visible,.bfg-nav :focus-visible{outline:3px solid #e79f15;outline-offset:3px}.bfg-muted{color:#52647d}.bfg-wrap form{margin:20px 0}.bfg-wrap fieldset{border:1px solid #cad6e8;padding:16px;border-radius:10px}.bfg-wrap [hidden]{display:none!important}
.bfg-brand{display:flex;align-items:center;margin:0 0 22px;padding:4px 0 18px;border-bottom:1px solid #dce4f1}.bfg-brand a{display:flex;align-items:center;gap:10px;color:#17233b;text-decoration:none;font-size:26px;letter-spacing:-.8px}.bfg-brand span{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;background:#1b49df;color:#fff;font:800 30px/1 Arial}.bfg-brand strong{font-weight:800}

.bfg-collections-hero{padding:22px 24px;background:#e9f0ff;border-radius:16px;margin-bottom:24px}.bfg-collections-hero h1{font-size:clamp(28px,4vw,40px);margin:0}.bfg-collections-hero p:last-child{max-width:680px}.bfg-collection-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.bfg-collection-heading small{font-size:14px;color:#52647d}.bfg-collection-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:16px;margin:16px 0 30px}.bfg-collection-card{display:flex;flex-direction:column}.bfg-collection-card h3{font-size:21px;margin:12px 0 4px}.bfg-collection-card details{margin-top:auto;border-top:1px solid #e2e8f3;padding-top:12px}.bfg-collection-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.bfg-collection-actions .bfg-button,.bfg-collection-actions button{margin:6px 0}.bfg-collection-badge{align-self:flex-start;padding:4px 10px;background:#e6efff;color:#183f95;border-radius:99px;font-size:13px;font-weight:700}.bfg-collection-empty,.bfg-collection-new{background:#fff;border:1px solid #dce4f1;border-radius:14px;padding:22px;margin:18px 0}.bfl-header .bfg-header-link{display:inline-flex;align-items:center;padding:9px 13px;border-radius:10px;background:#eaf0ff;color:#174bc6;text-decoration:none;font-weight:700}.bfl-header .bfg-header-link:hover{background:#dce7ff}@media(max-width:600px){.bfg-collection-heading .bfg-button{width:100%;text-align:center}.bfg-collections-hero{padding:18px}}

/* Collection pages echo the main directory's compact blue and white header. */
.bfg-collections-page{max-width:1200px;padding:0;overflow:hidden;background:#f3f6fc;border:1px solid #dce3ef;font-family:Arial,Helvetica,sans-serif;line-height:1.5}.bfg-collections-page .bfg-site-header{display:flex;align-items:center;flex-wrap:wrap;gap:16px 20px;padding:22px 28px;background:#fff;border-bottom:1px solid #dce3ef}.bfg-collections-page .bfg-site-brand{color:#1b49df;text-decoration:none;font-weight:800;letter-spacing:-1px;font-size:25px;white-space:nowrap}.bfg-collections-page .bfg-nav{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin:0 auto 0 0;padding:0;border:0;background:transparent}.bfg-collections-page .bfg-nav a{display:inline-block;padding:10px 12px;border-radius:10px;color:#24314a;text-decoration:none;font-size:14px;font-weight:600;white-space:nowrap}.bfg-collections-page .bfg-nav a:hover,.bfg-collections-page .bfg-nav a[aria-current=page]{background:#eaf0ff;color:#1b49df}.bfg-collections-page .bfg-site-account{font-size:14px;color:#53627a}.bfg-collections-page .bfg-account-login{color:#1b49df;font-weight:700}.bfg-collections-page .bfg-page-body{padding:35px 28px}.bfg-collections-page .bfg-page-body>h1{font-size:clamp(28px,3.3vw,40px);letter-spacing:-1px}.bfg-collections-page .bfg-grid{gap:17px}.bfg-collections-page .bfg-grid .bfg-card{display:flex;flex-direction:column;padding:22px;border-color:#dce3ef;border-radius:15px}.bfg-collections-page .bfg-grid .bfg-card h3{font-size:19px;line-height:1.3}.bfg-collections-page .bfg-grid .bfg-card p{color:#53627a;flex:1;font-size:15px}.bfg-collections-page .bfg-grid .bfg-card a{color:#1b49df;font-size:14px}.bfg-collections-page .bfg-page-body>p:first-child{margin-top:0}@media(max-width:900px){.bfg-collections-page .bfg-nav{order:3;width:100%}.bfg-collections-page .bfg-site-account{margin-left:auto}}@media(max-width:600px){.bfg-collections-page .bfg-site-header{padding:18px 16px}.bfg-collections-page .bfg-page-body{padding:25px 16px}.bfg-collections-page .bfg-nav{gap:2px}.bfg-collections-page .bfg-nav a{font-size:13px;padding:8px}}

/* The same identity and header layout as the main BestFastLinks app. */
.bfg-collections-page .bfg-master-header{display:flex;align-items:center;gap:12px 20px;flex-wrap:wrap;background:#fff;padding:28px 30px 24px;border-bottom:1px solid #dce3ef}.bfg-collections-page .bfg-master-brand{display:flex;align-items:center;gap:12px;width:100%;color:#081536!important;text-decoration:none;line-height:1.2}.bfg-collections-page .bfg-master-icon{display:grid;place-items:center;flex:0 0 52px;width:52px;height:52px;border-radius:14px;background:linear-gradient(145deg,#2855f0,#193edb);color:#fff;box-shadow:0 3px 8px #2349dc18}.bfg-collections-page .bfg-master-icon svg{display:block;width:32px;height:32px}.bfg-collections-page .bfg-master-copy{display:block}.bfg-collections-page .bfg-master-copy strong{display:block;font-size:clamp(23px,4.5vw,36px);letter-spacing:-1.2px;white-space:nowrap;line-height:1.15}.bfg-collections-page .bfg-master-copy em{font-style:normal;color:#2349dc}.bfg-collections-page .bfg-master-copy small{display:block;margin-top:5px;color:#5b6982;font-size:13px;font-weight:400}.bfg-collections-page .bfg-master-nav{display:flex;gap:5px;flex-wrap:wrap;width:100%;margin:5px 0 0}.bfg-collections-page .bfg-master-nav a{display:inline-block;padding:11px 14px;border-radius:10px;color:#17233b;text-decoration:none;font-size:15px;font-weight:700;background:#fff}.bfg-collections-page .bfg-master-nav a:hover,.bfg-collections-page .bfg-master-nav a[aria-current=page]{background:#e7eeff;color:#1743b1}.bfg-collections-page .bfg-master-account{display:flex;align-items:center;gap:10px;flex-wrap:wrap;width:100%;font-size:14px;color:#17233b}.bfg-collections-page .bfg-master-account>a{color:#1b49df}.bfg-collections-page .bfg-master-shortcut,.bfg-collections-page .bfg-master-languages a{display:inline-block;border:1px solid #cedaf0;border-radius:10px;padding:9px 12px;text-decoration:none;color:#17233b!important;background:#fff}.bfg-collections-page .bfg-master-languages{display:inline-flex;gap:5px}.bfg-collections-page .bfg-master-languages a[aria-current=true]{background:#eaf0ff;color:#1743b1!important}.bfg-collections-page .bfg-master-header :focus-visible{outline:3px solid #bb5900;outline-offset:3px}@media(max-width:600px){.bfg-collections-page .bfg-master-header{padding:18px 16px}.bfg-collections-page .bfg-master-icon{flex-basis:42px;width:42px;height:42px}.bfg-collections-page .bfg-master-icon svg{width:26px;height:26px}.bfg-collections-page .bfg-master-nav a{padding:9px 11px;font-size:14px}}

/* Highlight only the active page. The home app controls its own Home/Discover state. */
#bfl-app .bfl-header nav .bfg-header-link{background:transparent;color:#17233b;border:0;box-shadow:none}
#bfl-app .bfl-header nav .bfg-header-link:hover{background:#eaf0ff;color:#1b49df}
.bfg-collections-page{margin-top:0;margin-bottom:32px}
.bfg-collections-page .bfg-master-nav{margin-left:-14px}
@media(max-width:600px){.bfg-collections-page .bfg-master-nav{margin-left:-11px}}

/* 1.2.7 — Public collection site cards: click title/content, no redundant open link. */
.bfg-collections-page .bfg-site-card{padding:0!important;overflow:hidden}.bfg-collections-page .bfg-site-card .bfg-site-card-link{display:flex;flex:1;flex-direction:column;padding:22px;color:inherit!important;text-decoration:none!important}.bfg-collections-page .bfg-site-card .bfg-site-card-link h3{color:#17233b}.bfg-collections-page .bfg-site-card .bfg-site-card-link p{color:#53627a}.bfg-collections-page .bfg-site-card .bfg-site-card-link:hover h3,.bfg-collections-page .bfg-site-card .bfg-site-card-link:focus h3{color:#1b49df}.bfg-collections-page .bfg-site-card:has(.bfg-site-card-link:hover){border-color:#aebee0;box-shadow:0 4px 14px rgba(23,35,59,.08)}

/* BFL proportion harmony — compact intros and aligned card actions. */
.bfg-collections-page .bfg-page-body{padding:28px}
.bfg-collections-page .bfg-collections-hero{padding:22px 24px;margin-bottom:24px;background:linear-gradient(120deg,#e9f0ff,#f1f5ff);border:1px solid #dce6fb}
.bfg-collections-page .bfg-collections-hero>.bfg-muted{margin:0 0 8px;font-size:12px;font-weight:700;letter-spacing:1.2px}
.bfg-collections-page .bfg-collections-hero h1,.bfg-collections-page .bfg-page-body>h1{font-size:clamp(28px,3vw,36px);line-height:1.18;letter-spacing:-.7px;margin:0 0 12px}
.bfg-collections-page .bfg-collections-hero p:last-child{margin:0;max-width:760px;font-size:16px;line-height:1.55}
.bfg-collections-page .bfg-collection-heading h2{font-size:26px;line-height:1.25;margin:0}
.bfg-collections-page .bfg-collection-card{padding:22px;box-shadow:0 3px 12px #17233b05}
.bfg-collections-page .bfg-collection-card h3{font-size:21px;line-height:1.35;margin:14px 0 8px}
.bfg-collections-page .bfg-collection-card>p:not(.bfg-muted){margin:0 0 16px;font-size:16px;line-height:1.55}
.bfg-collections-page .bfg-collection-card>.bfg-muted{margin:auto 0 12px;padding-top:8px;font-size:14px}
.bfg-collections-page .bfg-collection-card .bfg-collection-actions{margin-bottom:14px}
.bfg-collections-page .bfg-collection-card details{margin-top:0}
.bfg-collections-page .bfg-grid>.bfg-card>h2{font-size:22px;line-height:1.3;margin:0 0 12px}
.bfg-collections-page .bfg-grid>.bfg-card>p{margin:0 0 16px}
.bfg-collections-page .bfg-grid>.bfg-card>.bfg-button{align-self:flex-start;margin-top:auto}
.bfg-collections-page .bfg-collection-new>h2{font-size:26px;line-height:1.25;margin:0 0 18px}
@media(max-width:600px){.bfg-collections-page .bfg-page-body{padding:20px 16px}.bfg-collections-page .bfg-collections-hero{padding:18px}.bfg-collections-page .bfg-collection-heading h2,.bfg-collections-page .bfg-collection-new>h2{font-size:23px}.bfg-collections-page .bfg-collection-card{padding:18px}.bfg-collections-page .bfg-grid>.bfg-card>h2{font-size:21px}}

/* Guided collection creation and explicit sharing. */
.bfg-quick-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;list-style:none;padding:0;margin:0 0 12px}
.bfg-quick-steps li{padding:14px 16px;background:#fff;border:1px solid #dce3ef;border-radius:12px}
.bfg-quick-steps strong,.bfg-quick-steps span{display:block}.bfg-quick-steps strong{color:#1743b1;margin-bottom:4px}.bfg-quick-steps span{font-size:14px;color:#52647d}
.bfg-collections-page .bfg-form-step{font-size:19px;line-height:1.3;margin:24px 0 10px}.bfg-collections-page .bfg-form-hint{font-size:14px;color:#52647d;line-height:1.55;margin:8px 0 14px;max-width:760px}
.bfg-selection-count{font-size:14px;font-weight:700;color:#1743b1;margin:10px 0}.bfg-share-choice{padding:14px;background:#eaf0ff;border-radius:10px;font-weight:700;max-width:760px}.bfg-private-hint{font-size:14px;width:100%;margin:0 0 6px;color:#52647d}
.bfg-collections-page [data-bfg-form-status]:empty{display:none}.bfg-collections-page [data-bfg-form-status]{color:#9b350b}
.bfg-share-dialog{box-sizing:border-box;width:min(560px,calc(100% - 32px));max-height:85vh;overflow:auto;border:1px solid #dce3ef;border-radius:18px;padding:26px;color:#17233b;background:#fff;font:16px/1.55 Arial,Helvetica,sans-serif;box-shadow:0 20px 70px #17233b35}
.bfg-share-dialog::backdrop{background:#10204480}.bfg-share-dialog h2{font-size:26px;line-height:1.2;margin:0 0 14px}.bfg-share-dialog p{margin:0 0 18px}.bfg-share-dialog label{display:block;font-weight:700;font-size:14px}.bfg-share-dialog input{box-sizing:border-box;width:100%;padding:12px;margin:8px 0 18px;border:1px solid #aabbd4;border-radius:8px;color:#17233b;background:#f5f8fe;font-size:14px}
.bfg-share-dialog .bfg-share-actions{display:flex;gap:10px;flex-wrap:wrap}.bfg-share-dialog button,.bfg-share-dialog a.bfg-button{display:inline-block;border:0;border-radius:9px;padding:12px 16px;min-height:44px;background:#1b49df;color:#fff;font:700 15px/1.4 Arial,Helvetica,sans-serif;cursor:pointer;text-decoration:none;margin:0}
.bfg-share-dialog .bfg-share-close{margin-top:12px;background:#eaf0ff;color:#1743b1}.bfg-share-dialog .bfg-share-status{margin:16px 0 0;color:#1743b1;font-weight:700}.bfg-share-dialog .bfg-share-status:empty{display:none}.bfg-share-dialog :focus-visible{outline:3px solid #bb5900;outline-offset:3px}
.bfl-help-collection-guide{margin:24px 0;padding:22px;border:1px solid #dce6fb;border-radius:14px;background:#f1f5ff;scroll-margin-top:40px}.bfl-help-collection-guide li{margin:12px 0;line-height:1.6}
@media(max-width:600px){.bfg-quick-steps{grid-template-columns:1fr;gap:8px}.bfg-quick-steps li{padding:12px 14px}.bfg-share-dialog{padding:20px}.bfg-share-dialog .bfg-share-actions{flex-direction:column}.bfg-share-dialog .bfg-share-actions>*{text-align:center;width:100%}.bfl-help-collection-guide{padding:18px}}

.bfg-social-preview{margin-top:14px}.bfg-social-preview img{display:block;width:min(100%,720px);height:auto;border-radius:18px;box-shadow:0 10px 30px rgba(15,23,42,.16);margin-top:10px}
