/* Every rule is scoped to game-card components and their editor/settings controls. */
/* Native forum toolbar icon rules use ID selectors and !important widths. */
:is(#wpforo #wpforo-wrap,.sv-native-reply-editor#wpforo-wrap) form.wpforoeditor .sv-editor-toolbar .mce-toolbar .mce-btn.sgc-editor-tool{width:auto!important;min-width:112px!important;max-width:100%!important;flex:0 0 auto!important}
:is(#wpforo #wpforo-wrap,.sv-native-reply-editor#wpforo-wrap) form.wpforoeditor .sv-editor-toolbar .mce-toolbar .mce-btn.sgc-editor-tool button{display:inline-flex!important;align-items:center;justify-content:center;width:auto!important;min-width:110px!important;max-width:none!important;padding:5px 8px!important;gap:6px;box-sizing:border-box;white-space:nowrap}
.sgc-editor-tool button .mce-txt{display:inline-block!important;position:static!important;flex:0 0 auto!important;max-width:none!important;white-space:nowrap;font:500 11px/18px Inter,Arial,sans-serif!important;color:inherit!important}
.sgc-editor-tool button>svg{display:block!important;width:17px!important;height:17px!important;flex:0 0 17px;fill:none;stroke:currentColor}
.sgc-editor-tool button::after{content:none!important;display:none!important}
@media(max-width:680px){:is(#wpforo #wpforo-wrap,.sv-native-reply-editor#wpforo-wrap) form.wpforoeditor .sv-editor-toolbar .mce-toolbar .mce-btn.sgc-editor-tool{min-width:105px!important}:is(#wpforo #wpforo-wrap,.sv-native-reply-editor#wpforo-wrap) form.wpforoeditor .sv-editor-toolbar .mce-toolbar .mce-btn.sgc-editor-tool button{min-width:103px!important;padding:5px 7px!important}}
.sgc-card{box-sizing:border-box;max-width:100%;width:100%;margin:18px 0;overflow:hidden;border:1px solid var(--line,#d5e3f7);border-radius:12px;background:var(--surface,#fff);color:var(--ink,#172e50);font:13px/1.65 Inter,Arial,sans-serif;box-shadow:0 4px 15px #0d2f6510}.sgc-card *,.sgc-editor-dialog *,.sgc-settings-shell *{box-sizing:border-box;min-width:0}.sgc-card [hidden],.sgc-editor-dialog [hidden]{display:none!important}.sgc-card .sgc-card-top{display:grid;grid-template-columns:minmax(200px,.95fr) minmax(0,1.3fr);gap:20px;padding:18px;background:linear-gradient(125deg,var(--soft,#eff6ff),var(--surface,#fff))}.sgc-card .sgc-cover{display:flex;align-items:center;justify-content:center;overflow:hidden;border-radius:8px;background:#0b182d;align-self:start}.sgc-card .sgc-cover img{display:block;width:100%!important;height:auto!important;max-width:100%;max-height:none;border:0;border-radius:0;margin:0}.sgc-card .sgc-summary h3{font:750 23px/1.25 Inter,Arial,sans-serif;letter-spacing:-.5px;margin:7px 0 10px;color:var(--ink,#0b1c43)}.sgc-eyebrow{display:flex;align-items:center;gap:8px;font-size:9px;font-weight:700;letter-spacing:1px;color:var(--muted,#6d83a5)}.sgc-card .sgc-age{display:inline-block;border:1px solid #f7bdd0;border-radius:4px;padding:1px 5px;color:#c52c55;background:#fff0f4;font-size:10px;letter-spacing:0}.sgc-badges{display:flex;gap:5px;flex-wrap:wrap}.sgc-badges>span{padding:2px 6px;border:1px solid var(--line,#d5e3f7);border-radius:4px;background:var(--surface,#fff);color:var(--muted,#5e7394);font-size:9px}.sgc-badges>span.is-turkish{border-color:#b9e6d3;color:#087d55;background:#e9f9f1}.sgc-card .sgc-description{font-size:12px;margin:12px 0;line-height:1.7;color:var(--ink,#304f77)}.sgc-card a.sgc-store-button{display:inline-flex;align-items:center;gap:12px;padding:8px 12px;border-radius:6px;background:#155bc4;color:#fff!important;text-decoration:none;font-size:11px;font-weight:650}.sgc-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;padding:14px 18px;border-top:1px solid var(--line,#d5e3f7);border-bottom:1px solid var(--line,#d5e3f7)}.sgc-facts small,.sgc-facts strong{display:block;overflow-wrap:anywhere}.sgc-facts small{font-size:9px;color:var(--muted,#7b8ba5)}.sgc-facts strong{font-size:11px;color:var(--ink,#27456e);font-weight:600}.sgc-tabs{display:flex;gap:0;overflow-x:auto;scrollbar-width:thin;border-bottom:1px solid var(--line,#d5e3f7);padding:0 10px}.sgc-card .sgc-tabs>button{flex:none;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted,#607ca4);padding:12px 10px;font:600 11px/1.5 Inter,Arial,sans-serif;cursor:pointer}.sgc-card .sgc-tabs>button[aria-pressed=true]{border-bottom-color:#0878ff;color:#0878ff}.sgc-card .sgc-panel{margin:0;padding:18px;border:0;background:transparent}.sgc-card h4{margin:0 0 12px;font:700 15px/1.5 Inter,Arial,sans-serif;color:inherit}.sgc-card .sgc-panel>p{margin:8px 0 14px;line-height:1.75;font-size:12px;overflow-wrap:anywhere}.sgc-card .sgc-language-note{color:var(--muted,#60799b);font-size:10px!important}.sgc-card .sgc-gallery-stage{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:16/9;background:#091425;overflow:hidden;border-radius:8px}.sgc-card .sgc-gallery-stage>img{width:100%!important;height:100%!important;max-width:100%;max-height:100%;object-fit:contain;margin:0;border:0;border-radius:0}.sgc-card .sgc-gallery-stage>button{position:absolute;top:50%;transform:translateY(-50%);width:34px;height:48px;border:1px solid #ffffff50;border-radius:6px;background:#07132bb3;color:#fff;font-size:29px;cursor:pointer}.sgc-card [data-sgc-gallery-prev]{left:8px}.sgc-card [data-sgc-gallery-next]{right:8px}.sgc-card .sgc-gallery-thumbs{display:flex;gap:8px;margin-top:10px;overflow-x:auto;padding:3px;scroll-snap-type:x proximity;scrollbar-width:thin}.sgc-card .sgc-gallery-thumbs>button{flex:0 0 105px;width:105px;height:64px;scroll-snap-align:start;padding:2px;border:2px solid transparent;border-radius:5px;background:#0b182d;cursor:pointer}.sgc-card .sgc-gallery-thumbs>button[aria-pressed=true]{border-color:#0878ff}.sgc-card .sgc-gallery-thumbs img{display:block;width:100%!important;height:100%!important;max-height:100%;object-fit:cover;margin:0;border:0;border-radius:1px}.sgc-card .sgc-gallery-counter{display:block;text-align:center;font-size:10px;color:var(--muted,#6b80a1);margin-top:7px}.sgc-card .sgc-movie-label{display:block;font-size:11px}.sgc-card select{display:block;max-width:100%;width:100%;padding:8px;margin:5px 0 12px;border:1px solid var(--line,#cbdaf0);border-radius:5px;color:var(--ink,#213b61);background:var(--surface,#fff);font:12px Inter,Arial,sans-serif}.sgc-card video.sgc-trailer{display:block;width:100%;max-height:65svh;aspect-ratio:16/9;background:#081321;border-radius:7px;object-fit:contain}.sgc-card .sgc-video-load{margin:10px 0 0;padding:8px 12px;border:1px solid #0878ff;border-radius:5px;background:#0878ff;color:#fff;font-size:11px;cursor:pointer}.sgc-video-feedback{font-size:11px;color:var(--muted,#647b9f)}.sgc-video-feedback:empty{display:none}.sgc-requirement-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:15px}.sgc-requirement-controls>label{display:flex;align-items:center;gap:8px;font-size:11px}.sgc-requirement-controls select{width:auto;min-width:110px;margin:0}.sgc-requirement-controls [role=group]{display:flex;gap:6px}.sgc-card [data-sgc-level]{padding:7px 12px;border:1px solid var(--line,#cedef3);border-radius:5px;background:var(--soft,#eff5ff);color:var(--ink,#34547f);font-size:11px;cursor:pointer}.sgc-card [data-sgc-level][aria-pressed=true]{background:#0878ff;border-color:#0878ff;color:#fff}.sgc-card .sgc-requirements{font-size:12px;line-height:1.8;overflow-wrap:anywhere}.sgc-card .sgc-requirements ul{margin:7px 0;padding-left:20px}.sgc-card .sgc-requirements li{margin:5px 0}.sgc-card-source{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;border-top:1px solid var(--line,#d5e3f7);padding:10px 18px;background:var(--soft,#f5f9ff);font-size:9px;color:var(--muted,#6d81a0)}.sgc-card :is(button,a,select):focus-visible,.sgc-editor-dialog :focus-visible,.sgc-settings-shell :focus-visible{outline:2px solid #0878ff;outline-offset:3px}
/* Isolate the new text button from the theme's fixed-width icon buttons. */
.mce-toolbar .mce-btn.sgc-editor-tool{width:auto!important;min-width:110px!important;max-width:none!important}.mce-toolbar .sgc-editor-tool button{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;width:auto!important;min-width:108px!important;max-width:none!important;padding:5px 8px!important;white-space:nowrap}.sgc-editor-tool svg{display:inline-block;flex:none;width:17px;height:17px}.sgc-editor-open{overflow:hidden}.sgc-editor-dialog{width:min(1080px,calc(100vw - 28px));max-width:calc(100vw - 28px);height:min(900px,92svh);max-height:92svh;padding:0;border:1px solid #cadbf2;border-radius:12px;background:var(--surface,#fff);color:var(--ink,#16345d);font:13px/1.6 Inter,Arial,sans-serif;box-shadow:0 20px 85px #06142c66;overflow:hidden}.sgc-editor-dialog::backdrop{background:#07132bb3;backdrop-filter:blur(4px)}.sgc-editor-dialog[open]{display:flex;flex-direction:column}.sgc-editor-dialog:not([open]){display:none}.sgc-editor-dialog>header{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding:18px 22px;border-bottom:1px solid var(--line,#d5e3f7)}.sgc-editor-dialog h2{margin:0;color:inherit;font-size:23px;line-height:1.4}.sgc-editor-dialog header p{margin:4px 0 0;font-size:12px;color:var(--muted,#6b82a4)}.sgc-editor-dialog>header>button{font-size:27px;line-height:1;width:32px;height:32px;border:0;color:var(--muted,#6b82a4);background:transparent;cursor:pointer}.sgc-editor-scroll{overflow:auto;min-height:0;padding:18px 22px;flex:1}.sgc-editor-dialog label{display:block;font-size:12px}.sgc-search-row{display:flex;gap:9px;margin-top:6px}.sgc-search-row>input{flex:1;width:0;min-width:0;min-height:40px;border:1px solid #cbdcf3;border-radius:6px;padding:8px 11px;font:13px Inter,Arial,sans-serif;background:var(--surface,#fff);color:inherit}.sgc-primary{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:9px 15px;min-height:37px;border:1px solid #0878ff;border-radius:6px;background:#0878ff;color:#fff;font:600 12px/1.5 Inter,Arial,sans-serif;cursor:pointer}.sgc-editor-dialog button:disabled{opacity:.5;cursor:default}.sgc-editor-dialog [data-sgc-editor-status]{font-size:12px;color:var(--muted,#617a9e);margin:12px 0}.sgc-search-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.sgc-search-results>button{display:flex;align-items:center;gap:12px;padding:8px;border:1px solid var(--line,#d5e3f7);border-radius:6px;background:var(--soft,#f5f9ff);color:inherit;cursor:pointer;text-align:left}.sgc-search-results>button.is-selected{border-color:#0878ff;background:var(--surface,#ecf4ff)}.sgc-search-results img{display:block;width:115px;height:46px;object-fit:cover;border-radius:4px;flex:none}.sgc-search-results strong{display:block;font-size:12px}.sgc-search-results small{display:block;font-size:10px;color:var(--muted,#6d83a5)}.sgc-game-placeholder{display:grid;place-items:center;width:65px;height:45px;font-size:25px}.sgc-editor-dialog .sgc-mature-note{margin:15px 0 0;padding:12px;background:#fff0f4;border:1px solid #f3c7d4;border-radius:6px;color:#8e2546;font-size:12px}.sgc-mature-note input{accent-color:#bf315b;width:16px;height:16px;vertical-align:middle}.sgc-editor-dialog>footer{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 22px;border-top:1px solid var(--line,#d5e3f7)}.sgc-editor-dialog>footer>div{display:flex;gap:8px}.sgc-editor-dialog>footer>span,.sgc-editor-dialog>footer>a{font-size:10px;color:var(--muted,#6b82a4)}.sgc-editor-dialog>footer button:not(.sgc-primary){padding:8px 12px;border:1px solid #ceddf2;border-radius:6px;color:inherit;background:transparent;cursor:pointer}
.sgc-settings-shell{padding-top:22px;padding-bottom:35px;max-width:1150px;margin:auto;color:var(--ink,#16345d)}.sgc-settings-shell nav{font-size:12px;margin-bottom:15px}.sgc-settings-box{padding:24px;border:1px solid var(--line,#d5e3f7);border-radius:10px;background:var(--surface,#fff)}.sgc-settings-box h1{font-size:26px;margin:0 0 12px}.sgc-settings-box p{font-size:12px;line-height:1.7;color:var(--muted,#6d82a1)}.sgc-settings-box .sgc-setting-toggle{display:flex;align-items:center;gap:9px;margin:14px 0;font-size:13px}.sgc-settings-box input[type=checkbox]{width:16px;height:16px;accent-color:#0878ff;flex:none}.sgc-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:22px 0}.sgc-settings-box label{font-size:12px}.sgc-settings-grid :is(input,select){display:block;width:100%;margin-top:5px;padding:8px;border:1px solid #cadcf2;border-radius:5px;font:13px Inter,Arial,sans-serif}.sgc-settings-box fieldset{border:1px solid #d5e3f7;border-radius:7px;padding:15px;margin:20px 0}.sgc-settings-box legend{font-size:13px;font-weight:650}.sgc-forum-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:310px;overflow:auto}.sgc-forum-settings label{display:flex;gap:6px;align-items:center}.sgc-forum-settings small{color:var(--muted,#8190a8);font-size:9px}
@media(max-width:700px){.sgc-card .sgc-card-top{grid-template-columns:1fr;gap:14px;padding:14px}.sgc-card .sgc-cover{max-width:100%}.sgc-card .sgc-summary h3{font-size:21px}.sgc-facts{grid-template-columns:1fr 1fr;padding:12px 14px;gap:10px}.sgc-card .sgc-panel{padding:14px}.sgc-tabs{padding:0 4px}.sgc-card .sgc-tabs>button{padding:11px 8px;font-size:10px}.sgc-card .sgc-gallery-thumbs>button{flex-basis:86px;width:86px;height:53px}.sgc-card-source{padding:10px 14px}.sgc-editor-dialog{width:calc(100vw - 14px);max-width:calc(100vw - 14px);max-height:95svh;height:95svh}.sgc-editor-dialog>header{padding:14px}.sgc-editor-dialog h2{font-size:21px}.sgc-editor-scroll{padding:14px}.sgc-editor-dialog>footer{padding:12px 14px}.sgc-editor-dialog>footer>span{display:none}.sgc-search-results{grid-template-columns:1fr}.sgc-search-results img{width:96px;height:38px}.sgc-editor-dialog>footer{flex-wrap:wrap}.sgc-editor-dialog>footer>div{margin-left:auto}.sgc-settings-box{padding:17px}.sgc-settings-grid,.sgc-forum-settings{grid-template-columns:1fr}.sgc-settings-shell{padding-left:12px;padding-right:12px}.mce-toolbar .mce-btn.sgc-editor-tool{min-width:105px!important}.mce-toolbar .sgc-editor-tool button{min-width:103px!important}}
