/* Shared sidebar component. These rules also apply outside #gambling. */
.sg-sidebar,.sg-stack,.sg-stack *{min-width:0;box-sizing:border-box}
.sg-sidebar{align-self:stretch;display:flex;flex-direction:column}
.sg-stack{display:flex;flex-direction:column;gap:16px;width:100%;font-family:Inter,Arial,sans-serif;color:#e5e7eb;line-height:1.5}
.sg-sidebar>.sg-stack{flex:1}
.sg-stack .sg-widget{flex:none;padding:16px 18px;background:#161a1e;border:1px solid rgba(255,255,255,.08);border-radius:14px;overflow:visible}
.sg-stack .sg-widget-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:12px}
.sg-stack .sg-eyebrow{display:block;color:#9fe81e;font-size:11px;font-weight:500;line-height:1.5;text-transform:uppercase;letter-spacing:.08em}
.sg-stack .sg-widget-heading h2{margin:5px 0 0;font-size:16px;font-weight:700;line-height:1.35;letter-spacing:-.02em;color:#fff}
.sg-stack .sg-section-link{flex:none;max-width:42%;margin-top:22px;font-size:11px;line-height:1.5;text-decoration:none;color:#8b949e;text-align:right}
.sg-stack .sg-section-link:hover,.sg-stack a:hover{color:#9fe81e}
.sg-stack .sg-list{margin:0;padding:0;list-style:none}
.sg-stack .sg-casino-row,.sg-stack .sg-slot-row{position:relative;display:flex;align-items:center;gap:9px;padding:12px 0;border-top:1px solid rgba(255,255,255,.06);border-radius:6px;transition:background .2s}
.sg-stack .sg-casino-row:hover,.sg-stack .sg-casino-row:focus-within,.sg-stack .sg-slot-row:hover,.sg-stack .sg-slot-row:focus-within,.sg-stack .sg-guide-row:hover,.sg-stack .sg-guide-row:focus-within{background:rgba(255,255,255,.03)}
.sg-stack .sg-rank{flex:none;width:17px;font:500 11px/1.5 'JetBrains Mono',monospace;color:#8b949e}
.sg-stack .sg-casino-row:first-child .sg-rank{color:#9fe81e}
.sg-stack .sg-casino-logo{display:flex;flex:none;width:36px;height:36px}
.sg-stack .sg-casino-logo .mg-logo{width:36px;height:36px;padding:4px;object-fit:contain;border-radius:8px;background:#1c2127;color:#9fe81e;flex:none}
.sg-stack .sg-casino-copy,.sg-stack .sg-slot-copy{flex:1;overflow:hidden}
.sg-stack .sg-casino-name,.sg-stack .sg-slot-name{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff;font-size:14px;font-weight:700;line-height:1.5;text-decoration:none}
.sg-stack .sg-stretched-link::after{content:'';position:absolute;inset:0;z-index:1;border-radius:6px}
.sg-stack .sg-casino-meta{display:flex;align-items:center;gap:6px;margin-top:3px;overflow:hidden}
.sg-stack .sg-rating{flex:none;max-width:60%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#a6b29a;font-size:10px}
.sg-stack .sg-bonus{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#a1bb89;font-size:10px}
.sg-stack .sg-visit{position:relative;z-index:2;display:flex;align-items:center;justify-content:center;flex:none;width:28px;height:30px;border:1px solid rgba(159,232,30,.22);border-radius:6px;background:transparent;color:#9fe81e;font-size:18px;text-decoration:none;transition:color .2s,background .2s}
.sg-stack .sg-visit:hover{background:#9fe81e;color:#0e1113}
.sg-stack .sg-slot-image{display:flex;align-items:center;justify-content:center;flex:none;width:48px;height:36px;overflow:hidden;border-radius:6px;background:#1c2127;color:#8b949e}
.sg-stack .sg-slot-image img{display:block;width:100%;height:100%;object-fit:cover}
.sg-stack .sg-slot-image svg{width:24px;height:24px}
.sg-stack .sg-slot-name{font-weight:600}
.sg-stack .sg-provider{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#8b949e;margin-top:3px}
.sg-stack .sg-slot-metric{flex:none;max-width:82px;padding:3px 5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-weight:600;color:#b8d59b;background:rgba(159,232,30,.06);border:1px solid rgba(159,232,30,.15);border-radius:5px}
.sg-stack .sg-slot-empty{padding:10px 0 3px}
.sg-stack .sg-empty-icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid rgba(159,232,30,.16);border-radius:10px;background:rgba(159,232,30,.04);color:#9fe81e}
.sg-stack .sg-empty-icon svg{width:24px;height:24px}
.sg-stack .sg-slot-empty p,.sg-stack .sg-empty-copy{margin:12px 0;font-size:13px;line-height:1.65;color:#8b949e}
.sg-stack .sg-slot-empty a{display:inline-flex;align-items:center;min-height:36px;gap:6px;font-size:12px;line-height:1.6;text-decoration:none;color:#9fe81e}
.sg-stack .sg-guide-row{padding:12px 0;border-top:1px solid rgba(255,255,255,.06);border-radius:6px;transition:background .2s}
.sg-stack .sg-guide-meta{display:flex;align-items:center;gap:6px;margin-bottom:8px;font-size:11px;line-height:1.4;color:#8b949e}
.sg-stack .sg-category{max-width:42%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:3px 5px;border:1px solid rgba(159,232,30,.15);border-radius:5px;background:rgba(159,232,30,.06);color:#afc995;font-size:10px}
.sg-stack .sg-category-bonus{color:#d9bd82;border-color:#c49b4b33;background:#c49b4b0d}
.sg-stack .sg-category-payment{color:#94c5d5;border-color:#66b2cb33;background:#66b2cb0d}
.sg-stack .sg-category-security{color:#baa8da;border-color:#9c80cc33;background:#9c80cc0d}
.sg-stack .sg-guide-meta time,.sg-stack .sg-guide-meta>span:last-child{flex:none;white-space:nowrap}
.sg-stack .sg-guide-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:14px;font-weight:600;line-height:1.55;color:#e5e7eb;text-decoration:none;overflow-wrap:anywhere}
.sg-stack .sg-tablist{display:none}
.sg-stack.sg-tabs-ready .sg-tablist{display:flex;gap:4px;padding:5px;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:#161a1e}
.sg-stack .sg-tab{flex:1;min-height:38px;padding:7px 8px;border:1px solid transparent;border-radius:6px;background:transparent;color:#8b949e;cursor:pointer;font-size:12px;font-weight:600}
.sg-stack .sg-tab[aria-selected=true]{border-color:rgba(159,232,30,.22);background:rgba(159,232,30,.08);color:#9fe81e}
.sg-stack [hidden]{display:none!important}
.sg-stack a:focus-visible,.sg-stack button:focus-visible,.sg-stack [role=tabpanel]:focus-visible{outline:2px solid #9fe81e;outline-offset:3px}
.sidebar>.sg-stack,.gta6-sidebar>.sg-stack{grid-column:1/-1}
/* Every content area shares the same desktop column and breakpoint. */
#gambling.mg-main{max-width:1440px}
#gambling.mg-main .sg-layout,#gambling.mg-main .mg-reading-layout.sg-layout,.content-layout,.reading-layout:not(.forum-layout),.gta6-content{display:grid;grid-template-columns:minmax(0,1fr);gap:24px;align-items:start}
#gambling .sg-main-content{min-width:0}
#gambling .sg-layout>.sg-sidebar{align-self:stretch}
#gambling .sg-stack .sg-widget-heading h2{font-size:16px;margin:5px 0 0;letter-spacing:-.02em;line-height:1.35}
#gambling .sg-stack .sg-slot-empty p{margin:12px 0}
#gambling .sg-stack .sg-list{margin:0;padding:0;list-style:none}
#gambling.mg-editorial-guide .sg-layout{max-width:none}
#gambling .sg-layout .mg-responsible{max-width:none}
@media(min-width:1025px){
 #gambling.mg-main .sg-layout,#gambling.mg-main .mg-reading-layout.sg-layout,.content-layout,.reading-layout:not(.forum-layout),.gta6-content{grid-template-columns:minmax(0,1fr) 330px;gap:24px}
 .sidebar,.gta6-sidebar{align-self:stretch;display:flex;flex-direction:column;gap:16px}
 .sidebar>.sg-tabs,.gta6-sidebar>.sg-tabs{position:sticky;top:var(--sg-sticky-top,88px)}
 .sidebar>.sg-tabs:first-child{position:static}
 .sidebar:has(>.sg-tabs:first-child)>.community-widget:last-child{position:sticky;top:var(--sg-sticky-top,88px)}
 .sg-sidebar>.sg-stack>.sg-widget-guides{position:sticky;top:var(--sg-sticky-top,88px)}
 #gambling.mg-editorial-guide{max-width:1440px}
}
@media(min-width:768px) and (max-width:1024px){
 .sg-sidebar>.sg-stack{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}
 .sg-stack .sg-widget{padding:16px 14px}
 .sg-stack .sg-widget-heading{flex-direction:column;gap:5px}
 .sg-stack .sg-section-link{max-width:100%;margin-top:0;text-align:left}
 .sg-stack .sg-guide-meta{flex-wrap:wrap;font-size:10px}
 .sg-stack .sg-guide-meta .sg-category{max-width:100%}
 .sg-stack .sg-casino-row{gap:5px;flex-wrap:wrap}
 .sg-stack .sg-casino-copy{flex-basis:calc(100% - 65px)}
 .sg-stack .sg-visit{margin-left:auto}
 .sidebar,.gta6-sidebar{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
 .sidebar>.sg-stack,.gta6-sidebar>.sg-stack{grid-column:1/-1}
}
@media(max-width:767px){
 .sg-sidebar>.sg-stack{display:flex;flex-direction:column;gap:16px}
 .sidebar,.gta6-sidebar{display:flex;flex-direction:column;gap:16px}
}
@media(prefers-reduced-motion:reduce){.sg-stack *{transition:none!important}}

#gambling .sg-main-content .mg-hero{grid-template-columns:minmax(0,1fr);padding:28px}
#gambling .sg-main-content .mg-hero h1{font-size:clamp(34px,4vw,54px)}
@media(max-width:767px){#gambling .sg-main-content .mg-hero{padding:22px}}

#gambling .sg-stack .sg-casino-logo .mg-logo{width:36px;height:36px;padding:4px;border-radius:8px;background:#1c2127;object-fit:contain;flex:none}
#gambling .sg-stack a:hover{color:#9fe81e}
#gambling .sg-stack .sg-visit:hover{color:#0e1113}

/* Start portal sidebars at the first content row, including landing-page heroes. */
.sg-portal-layout{display:grid;grid-template-columns:minmax(0,1fr);align-items:start;gap:24px;margin-top:27px}
.sg-portal-main{min-width:0}
.sg-portal-main>.hero{margin-top:0}
.sg-portal-main>.content-layout,.sg-portal-main>.gta6-content{grid-template-columns:minmax(0,1fr)}
.gta6-hub>.sg-portal-layout{margin-top:0}
.gta6-sidebar>.sg-tabs:first-child{position:static}
@media(min-width:1025px){.sg-portal-layout{grid-template-columns:minmax(0,1fr) 330px}}
@media(max-width:767px){
 .sg-stack.sg-mobile-inline{position:static;float:none;clear:both;width:100%;margin:18px 0 24px;text-align:left;letter-spacing:normal}
 .sg-sidebar:empty{display:none}
 .sg-mobile-inline .sg-widget-heading{text-align:left}
}

@media(max-width:767px){
 .gta6-hero-copy{min-width:0}
 .sg-mobile-inline .sg-guide-meta{flex-wrap:wrap}
}
@media(max-width:399px){
 .sg-mobile-inline .sg-widget-heading{flex-direction:column;gap:5px}
 .sg-mobile-inline .sg-section-link{margin-top:0;max-width:100%;text-align:left}
}

/* Give the shared gambling widgets a distinct accent among the portal panels. */
.sg-stack .sg-widget{border-color:rgba(159,232,30,.32);background:radial-gradient(ellipse at 0 0,rgba(159,232,30,.10),transparent 65%),#161a1e;box-shadow:inset 0 3px 0 #9fe81e,0 10px 28px rgba(0,0,0,.2),0 0 24px rgba(159,232,30,.04)}
.sg-stack .sg-eyebrow{font-weight:650;color:#b5f34f}
.sg-stack.sg-tabs-ready .sg-tablist{border-color:rgba(159,232,30,.32);background:linear-gradient(120deg,#202c18,#161a1e);box-shadow:0 0 20px rgba(159,232,30,.04)}
.sg-stack .sg-tab{color:#bdc6b6}
.sg-stack .sg-tab[aria-selected=true]{border-color:#9fe81e;background:#9fe81e;color:#0e1113;font-weight:750;box-shadow:0 2px 12px rgba(159,232,30,.2)}
.sg-stack .sg-tab:hover:not([aria-selected=true]){background:rgba(159,232,30,.09);color:#d9f5b5}
.sg-stack .sg-widget:focus-within{border-color:rgba(159,232,30,.65);box-shadow:inset 0 3px 0 #9fe81e,0 10px 28px rgba(0,0,0,.2),0 0 24px rgba(159,232,30,.08)}
