/* Scotland & America Friendship v1.0.4 — standalone StreamWave Community Suite theme. */
:root{--swft-bg:#071324;--swft-panel:#12243c;--swft-hero:#162c4a;--swft-border:#6981a6;--swft-text:#f7f9ff;--swft-muted:#c6d3e8;--swft-link:#ffe3a1;--swft-accent:#e64c58;--swft-field:#0b1930;--theme-bg:#071324;--theme-panel:#12243c;--theme-text:#f7f9ff;--theme-muted:#c6d3e8;--theme-border:#6981a6;--theme-accent:#e64c58;--theme-link:#ffe3a1;--theme-field:#0b1930}
body.swft-scotland-america-friendship{color-scheme:dark;background:#071324 url('assets/scotland-america-background.jpg') center center / cover no-repeat fixed!important;color:#f7f9ff!important;font-family:system-ui,-apple-system,Segoe UI,sans-serif}
body.swft-scotland-america-friendship .swf{max-width:1500px;margin-inline:auto;color:#f7f9ff}
body.swft-scotland-america-friendship .swf .hero{min-height:410px!important;background:linear-gradient(90deg,#071324e8 0%,#07132455 55%,#07132411),url('assets/scotland-america-background.jpg') center / cover no-repeat!important;border:2px solid #e64c58!important;border-radius:15px!important;box-shadow:0 0 0 3px #12243c,0 12px 30px #000b!important;padding:48px!important;overflow:hidden}
body.swft-scotland-america-friendship .swf .hero :is(h1,p){color:#fff9e8!important;opacity:1!important;text-shadow:0 2px 8px #000,0 0 12px #000;font-weight:800}
body.swft-scotland-america-friendship .swf .hero h1{font-size:clamp(27px,4vw,48px)}
body.swft-scotland-america-friendship .swf :is(.panel,.side-panel,.swf-category){background:linear-gradient(160deg,#12243ceF,#0b1930f2)!important;color:#f7f9ff!important;border:1px solid #6981a6!important;border-radius:13px!important;box-shadow:0 8px 25px #0009!important;overflow:hidden}
body.swft-scotland-america-friendship .swf :is(.swf-category-head,.panel>h2,.side-panel>h2,.side-panel>h3){display:flex!important;align-items:center!important;background:linear-gradient(105deg,#183a68,#a52b48 65%,#153a73)!important;color:#fff9ef!important;border:0!important;border-bottom:3px solid #e64c58!important;padding:13px 16px!important;min-height:48px;font-weight:800!important;text-shadow:0 2px 3px #0009!important}
body.swft-scotland-america-friendship .swf .swf-category-head:before{content:'✦';color:#f4d185;margin-right:10px}
body.swft-scotland-america-friendship .swf .swf-category-head:after{display:none!important}
body.swft-scotland-america-friendship .swf :is(.swf-forum-row,.swf-forum-node,.item,.post){background:#12243cea!important;color:#f7f9ff!important;border-color:#506b94!important;box-shadow:none!important}
body.swft-scotland-america-friendship .swf :is(.swf-forum-row,.item):hover{background:#203b60!important}
body.swft-scotland-america-friendship .swf :is(.swf-forum-name,.item h3){color:#ffe7b6!important;font-weight:800}
body.swft-scotland-america-friendship .swf .swf-forum-icon{background:#183a68!important;color:#f4d185!important;border:1px solid #607fae!important}
body.swft-scotland-america-friendship .swf :is(.muted,.meta,.side-welcome,.side-stat){color:#d2def1!important}
body.swft-scotland-america-friendship .swf a,body.swft-scotland-america-friendship .swf a:visited{color:#ffe3a1!important;opacity:1!important}
body.swft-scotland-america-friendship .swf a:hover{color:#fff9e8!important;text-decoration:underline}
body.swft-scotland-america-friendship .swf :is(.swf-category-head,.panel>h2,.side-panel>h2,.side-panel>h3) a{color:#fff9ef!important}
body.swft-scotland-america-friendship .swf :is(.btn,button:not(.swf-reaction)){background:linear-gradient(#e64c58,#8c243f)!important;color:#ffffff!important;border:1px solid #f3a7b0!important;border-radius:8px!important;font-weight:800!important;text-shadow:none!important;box-shadow:0 2px 7px #0008!important}
body.swft-scotland-america-friendship .swf :is(.btn,button:not(.swf-reaction)):hover{background:linear-gradient(#f07883,#b72e4b)!important;color:#ffffff!important}
body.swft-scotland-america-friendship .swf :is(input,select,textarea){background:#0b1930!important;color:#fff9ef!important;border:1px solid #7597c3!important;border-radius:8px!important}
body.swft-scotland-america-friendship .swf :is(input,select,textarea):focus{outline:2px solid #e64c58!important}
body.swft-scotland-america-friendship .swf :is(.pill,.swfa-rank){background:#1c3e69!important;color:#ffe7b6!important;border:1px solid #7597c3!important}
body.swft-scotland-america-friendship .swf :is(table,td,th){color:#f7f9ff!important;border-color:#6981a6!important}
body.swft-scotland-america-friendship .swf th{background:#1c3e69!important}
body.swft-scotland-america-friendship .swf :is(.community-sidebar,.swf-tree-node){color:#f7f9ff!important}
body.swft-scotland-america-friendship .swf :is(.topbar,.navbar,.site-nav,.swf-nav){background:linear-gradient(#193c69,#0b1930)!important;color:#fff!important;border-bottom:2px solid #e64c58!important}
body.swft-scotland-america-friendship .swf :is(.topbar,.navbar,.site-nav,.swf-nav) :is(a,button){color:#fff8e8!important}
body.swft-scotland-america-friendship .swf :is(.topbar,.navbar,.site-nav,.swf-nav) a:hover{background:#284d7b!important;color:#fff!important}
body.swft-scotland-america-friendship .cb{--cb-panel:#12243c;--cb-text:#f7f9ff;--cb-muted:#c6d3e8;--cb-border:#6981a6;--cb-accent:#e64c58;--cb-link:#ffe3a1;--cb-field:#0b1930;--cb-button:#d63b52;--cb-button-text:#ffffff}
body.swft-scotland-america-friendship .cb .panel{background:#12243c!important;color:#f7f9ff!important;border-color:#6981a6!important}
body.swft-scotland-america-friendship .cb button{background:#d63b52!important;color:#ffffff!important}
body.swft-scotland-america-friendship .cb a{color:#ffe3a1!important}
body.swft-scotland-america-friendship :is(.shoutbox,.swf-shoutbox,.shoutbox-panel,.community-shoutbox){background:#12243c!important;color:#f7f9ff!important;border:2px solid #6981a6!important;border-radius:12px}
body.swft-scotland-america-friendship :is(.shoutbox,.swf-shoutbox,.shoutbox-panel,.community-shoutbox) :is(h2,h3,.header,.shoutbox-header){background:linear-gradient(90deg,#193c69,#a52b48)!important;color:#fff9ef!important;border-bottom:2px solid #e64c58!important}
body.swft-scotland-america-friendship :is(footer,.swf-footer,.community-footer){background:linear-gradient(100deg,#091a34,#233f6b,#091a34)!important;color:#f7f9ff!important;border-top:3px solid #e64c58!important}
body.swft-scotland-america-friendship :is(footer,.swf-footer,.community-footer) a{color:#ffe3a1!important}
body.swft-scotland-america-friendship .sw-services-footer{--ft-bg:#0b1930;--ft-fg:#f7f9ff;--ft-sub:#d2def1;--ft-accent:#ffe3a1;--ft-border:#6981a6;--ft-card:#ffffff12}
body.swft-scotland-america-friendship .sw-services-footer :is(.swf-mark,.swf-service strong){color:#f7f9ff!important}
body.swft-scotland-america-friendship .sw-services-footer :is(h3,.swf-bottom a){color:#ffe3a1!important}
body.swft-scotland-america-friendship ::selection{background:#e64c58;color:#071324}
@media(max-width:720px){body.swft-scotland-america-friendship{background-size:cover!important;background-attachment:scroll!important}body.swft-scotland-america-friendship .swf .hero{min-height:260px!important;padding:24px!important;background-position:65% center!important}}
@media(prefers-reduced-motion:reduce){body.swft-scotland-america-friendship *,body.swft-scotland-america-friendship *:before,body.swft-scotland-america-friendship *:after{animation:none!important;transition:none!important}}


/* v1.0.7 — elegant animated heritage headers, no flags */
@keyframes saAuroraDrift{0%{background-position:0% 50%,0% 50%}50%{background-position:100% 50%,100% 50%}100%{background-position:0% 50%,0% 50%}}
@keyframes saGoldGlint{0%,100%{box-shadow:inset 0 -3px 0 #e4bd75,0 3px 12px #0009}50%{box-shadow:inset 0 -3px 0 #fff1bb,0 3px 23px #c9985580}}
@keyframes saEmblemShine{0%,100%{opacity:.7;transform:scale(.96) rotate(-8deg);text-shadow:0 0 4px #d4a55c}50%{opacity:1;transform:scale(1.1) rotate(8deg);text-shadow:0 0 15px #fff1b9}}
html body.swft-scotland-america-friendship .swf .swf-category .swf-category-head,
html body.swft-scotland-america-friendship main.swf section.swf-category > div.swf-category-head{
 position:relative!important;isolation:isolate;overflow:hidden!important;
 background-image:linear-gradient(110deg,#102f60,#315f9b 26%,#3e376e 46%,#8b294b 73%,#183b72 100%),repeating-linear-gradient(125deg,transparent 0 28px,#fff2 30px 32px,transparent 34px 62px)!important;
 background-size:240% 100%,180% 100%!important;
 background-position:0% 50%,0% 50%!important;
 background-repeat:repeat!important;
 animation:saAuroraDrift 13s ease-in-out infinite,saGoldGlint 4s ease-in-out infinite!important;
 min-height:62px!important;padding:15px 20px!important;
 border:1px solid #b99966!important;border-bottom:3px solid #f0d397!important;
 color:#fff!important;text-shadow:0 2px 6px #071324!important;
}
html body.swft-scotland-america-friendship .swf .swf-category .swf-category-head:before{content:'✦'!important;display:inline-block!important;margin-right:13px!important;color:#ffe4a1!important;font-size:23px!important;animation:saEmblemShine 4s ease-in-out infinite!important}
html body.swft-scotland-america-friendship .swf .swf-category .swf-category-head:after{content:'✧  ✦  ✧'!important;display:inline-block!important;margin-left:auto!important;padding-left:15px!important;color:#ffe4a1!important;font-size:15px!important;animation:saEmblemShine 5s ease-in-out infinite reverse!important}
html body.swft-scotland-america-friendship .swf .swf-category .swf-category-head :is(a,span,strong,small){position:relative!important;z-index:1!important;color:#fff!important;background:transparent!important;text-shadow:0 2px 6px #071324!important}
@media(prefers-reduced-motion:reduce){html body.swft-scotland-america-friendship .swf .swf-category .swf-category-head,html body.swft-scotland-america-friendship .swf .swf-category .swf-category-head:before,html body.swft-scotland-america-friendship .swf .swf-category .swf-category-head:after{animation:none!important}}

/* v1.0.8 — larger header banner, responsive on smaller screens. */
@media (min-width:721px) and (max-width:1100px){body.swft-scotland-america-friendship .swf .hero{min-height:340px!important}}
@media (max-width:420px){body.swft-scotland-america-friendship .swf .hero{min-height:220px!important;padding:18px!important}}
