/* ACC64 Game FPS Test — isolated styles */
#gamePerformanceView{max-width:1240px;margin-inline:auto}
#gamePerformanceView .gp-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(330px,.8fr);gap:16px;align-items:start}
#gamePerformanceView .gp-stack{display:grid;gap:16px}
#gamePerformanceView .gp-layout>.gp-stack:first-child{grid-column:1;grid-row:1}
#gamePerformanceView .gp-layout>aside.gp-stack{grid-column:2;grid-row:1 / span 2}
#gamePerformanceView .gp-layout>.gp-sim-card{grid-column:1;grid-row:2;margin-top:0;min-width:0}
#gamePerformanceView .gp-layout>.gp-sim-card .gp-sim-layout{grid-template-columns:1fr}
#gamePerformanceView .gp-layout>.gp-sim-card .gp-sim-side{border-left:0;border-top:1px solid #dbe5ef}
#gamePerformanceView .gp-layout>.gp-sim-card .gp-key-grid{grid-template-columns:auto 1fr auto 1fr;gap:8px 10px}
#gamePerformanceView .gp-layout>.gp-sim-card .gp-compare{grid-template-columns:1fr auto 1fr}
#gamePerformanceView .gp-card{box-shadow:none}
#gamePerformanceView .gp-card .card-head{margin-bottom:16px}
#gamePerformanceView .gp-step{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:6px;background:var(--blue);color:#fff;font-size:11px;font-weight:900;margin-right:8px}
#gamePerformanceView .gp-card-title{display:flex;align-items:center;min-width:0}
#gamePerformanceView .gp-card-title h2{min-width:0}
#gamePerformanceView .gp-search-wrap{position:relative}
#gamePerformanceView .gp-search-shell{display:grid;grid-template-columns:20px auto minmax(0,1fr) auto;align-items:center;gap:10px;height:52px;border:1px solid var(--line);border-radius:10px;background:#fff;padding:0 10px 0 12px;transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
#gamePerformanceView .gp-search-shell:focus-within{border-color:#8db4ff;box-shadow:0 0 0 3px var(--blue2)}
#gamePerformanceView .gp-search-shell.open{border-bottom-left-radius:0;border-bottom-right-radius:0}
#gamePerformanceView .gp-search-icon{display:grid;place-items:center;color:#75839a;font-size:16px;line-height:1}
#gamePerformanceView .gp-search-selected-cover{width:34px;height:34px;border-radius:8px;box-shadow:0 1px 2px rgba(0,0,0,.06)}
#gamePerformanceView .gp-search-shell input,#gamePerformanceView .gp-edit-grid input{width:100%;height:100%;border:0;background:transparent;color:var(--text);padding:0;font:inherit;outline:none;min-width:0}
#gamePerformanceView .gp-search-shell.has-selection input{font-weight:800}
#gamePerformanceView .gp-search-shell input[type="search"]::-webkit-search-cancel-button{display:none}
#gamePerformanceView .gp-search-clear{border:0;background:transparent;color:#66758a;height:30px;border-radius:6px;font-size:11px;font-weight:700;line-height:1;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0 7px;white-space:nowrap;transition:background .18s ease,color .18s ease}
#gamePerformanceView .gp-search-clear:hover{background:#f1f5fb;color:#245fca}
#gamePerformanceView .gp-search-clear:focus-visible{outline:2px solid #8db4ff;outline-offset:1px}
#gamePerformanceView .gp-search-clear[hidden],#gamePerformanceView .gp-search-selected-cover[hidden]{display:none}
#gamePerformanceView .gp-edit-grid input{height:44px;border:1px solid var(--line);border-radius:7px;background:#fff;padding:0 13px}
#gamePerformanceView .gp-edit-grid input:focus{border-color:#8db4ff;box-shadow:0 0 0 3px var(--blue2)}
#gamePerformanceView .gp-search-status{margin:8px 0 0;color:var(--muted);font-size:11px;line-height:1.5}
#gamePerformanceView .gp-search-results{display:none;position:absolute;left:0;right:0;top:50px;z-index:12;background:#fff;border:1px solid var(--line);border-radius:8px;box-shadow:0 16px 34px rgba(25,45,80,.14);padding:5px 5px 16px;max-height:min(62vh,560px);overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable}
#gamePerformanceView .gp-search-results.open{display:block}
#gamePerformanceView .gp-search-result{width:100%;display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px;border:0;border-radius:6px;background:#fff;text-align:left;cursor:pointer}
#gamePerformanceView .gp-search-result:hover,#gamePerformanceView .gp-search-result:focus-visible{background:#f3f7fc;outline:none}
#gamePerformanceView .gp-search-result .gp-mini-cover{width:42px;height:42px}
#gamePerformanceView .gp-search-result b{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#gamePerformanceView .gp-search-result small{display:block;margin-top:3px;color:var(--muted);font-size:10px}
#gamePerformanceView .gp-search-result em{font-style:normal;color:#7a8795;font-size:10px}
#gamePerformanceView .gp-selected-game{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:13px;align-items:center;margin-top:14px;padding:13px;border:1px solid #dce4ee;border-radius:8px;background:#f8fafc}
#gamePerformanceView .gp-cover,.gp-mini-cover{position:relative;display:grid;place-items:center;border-radius:7px;background:linear-gradient(145deg,#17243a,#2563eb);color:#fff;font-weight:900;letter-spacing:-.6px;overflow:hidden;user-select:none}
#gamePerformanceView .gp-cover{width:64px;height:76px;font-size:20px}
#gamePerformanceView .gp-cover .gp-game-art,#gamePerformanceView .gp-mini-cover .gp-game-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;display:block;opacity:0;transition:opacity .18s ease}
#gamePerformanceView .gp-cover.has-image .gp-game-art,#gamePerformanceView .gp-mini-cover.has-image .gp-game-art{opacity:1}
#gamePerformanceView .gp-cover-fallback{position:relative;z-index:0;display:grid;place-items:center;width:100%;height:100%;background:linear-gradient(145deg,#17243a,#2563eb);color:#fff}
#gamePerformanceView .gp-cover.has-image .gp-cover-fallback,#gamePerformanceView .gp-mini-cover.has-image .gp-cover-fallback{opacity:0}
#gamePerformanceView .gp-mini-cover{box-shadow:inset 0 0 0 1px rgba(255,255,255,.18)}
#gamePerformanceView .gp-selected-game h3{margin:0;font-size:17px;letter-spacing:-.2px}
#gamePerformanceView .gp-selected-game p{margin:4px 0 0;font-size:11px;color:var(--muted)}
#gamePerformanceView .gp-source-badge{align-self:start;border:1px solid #dbe4ef;background:#fff;color:#657386;border-radius:5px;padding:5px 7px;font:800 9px/1 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:nowrap}
#gamePerformanceView .gp-hardware-summary{display:grid;gap:0;border:1px solid #dfe6ee;border-radius:8px;overflow:hidden}
#gamePerformanceView .gp-hardware-row{display:grid;grid-template-columns:120px minmax(0,1fr) auto;gap:12px;align-items:center;min-height:44px;padding:9px 12px;border-bottom:1px solid #e8edf3;background:#fff}
#gamePerformanceView .gp-hardware-row:last-child{border-bottom:0}
#gamePerformanceView .gp-hardware-row small{color:#718096;font-size:10px;font-weight:800;letter-spacing:.04em}
#gamePerformanceView .gp-hardware-row b{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#gamePerformanceView .gp-hardware-row i{width:7px;height:7px;border-radius:50%;background:var(--green)}
#gamePerformanceView .gp-hardware-row i.estimated{background:#f59e0b}
#gamePerformanceView .gp-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:13px}
#gamePerformanceView .gp-actions button{border:1px solid var(--line);background:#fff;border-radius:6px;padding:9px 12px;font-weight:800;cursor:pointer;font-size:11px}
#gamePerformanceView .gp-actions .primary{background:var(--blue);border-color:var(--blue);color:#fff}
#gamePerformanceView .gp-hardware-edit{display:none;margin-top:14px;padding-top:14px;border-top:1px solid #e5eaf0}
#gamePerformanceView .gp-hardware-edit.open{display:block}
#gamePerformanceView .gp-edit-grid{display:grid;grid-template-columns:1fr 1fr 140px;gap:10px}
#gamePerformanceView .gp-edit-grid label{font-size:10px}
#gamePerformanceView .gp-edit-grid select{height:44px;border-radius:7px;margin-top:7px}
#gamePerformanceView .gp-detected-note{margin:10px 0 0;font-size:10px;line-height:1.5;color:#718096}
#gamePerformanceView .gp-settings-grid{display:grid;gap:14px}
#gamePerformanceView .gp-setting label{display:block;margin-bottom:7px;font-size:10px;font-weight:800;color:#68778a;letter-spacing:.04em}
#gamePerformanceView .gp-segmented{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;border:1px solid #dce4ee;border-radius:7px;overflow:hidden;background:#f8fafc}
#gamePerformanceView .gp-segmented button{min-width:0;border:0;border-right:1px solid #dce4ee;background:transparent;padding:10px 8px;font-size:11px;font-weight:800;color:#617085;cursor:pointer}
#gamePerformanceView .gp-segmented button:last-child{border-right:0}
#gamePerformanceView .gp-segmented button.active{background:var(--blue);color:#fff}
#gamePerformanceView .gp-result-card{position:sticky;top:84px}
#gamePerformanceView .gp-fps-value{display:flex;align-items:flex-end;gap:8px;margin:2px 0 4px}
#gamePerformanceView .gp-fps-value b{font-size:clamp(36px,5vw,52px);line-height:1;color:var(--green);letter-spacing:-2px;font-variant-numeric:tabular-nums}
#gamePerformanceView .gp-fps-value span{padding-bottom:5px;font-size:14px;font-weight:900;color:#4b5a6c}
#gamePerformanceView .gp-quality-label{font-size:12px;font-weight:900;color:var(--green)}
#gamePerformanceView .gp-quality-meter{height:8px;border-radius:99px;background:linear-gradient(90deg,#dc2626 0 25%,#f59e0b 25% 50%,#84cc16 50% 75%,#16a34a 75% 100%);margin:14px 0 5px;position:relative}
#gamePerformanceView .gp-quality-meter i{position:absolute;top:-4px;width:2px;height:16px;background:#172235;border-radius:1px;transform:translateX(-1px)}
#gamePerformanceView .gp-quality-scale{display:flex;justify-content:space-between;color:#8a96a6;font-size:9px}
#gamePerformanceView .gp-checks{display:grid;gap:7px;margin-top:16px;padding-top:14px;border-top:1px solid #e5eaf0}
#gamePerformanceView .gp-check{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;font-size:11px}
#gamePerformanceView .gp-check b{font-size:10px;color:var(--green)}
#gamePerformanceView .gp-check b.warn{color:#d97706}
#gamePerformanceView .gp-bottleneck{margin-top:14px;padding:12px;border:1px solid #e1e7ee;border-radius:7px;background:#f8fafc}
#gamePerformanceView .gp-bottleneck small{display:block;color:#7a8795;font-size:9px;font-weight:900;letter-spacing:.05em}
#gamePerformanceView .gp-bottleneck b{display:block;margin-top:4px;font-size:14px;color:#b45309}
#gamePerformanceView .gp-bottleneck p{margin:5px 0 0;font-size:10px;line-height:1.5}
#gamePerformanceView .gp-optimize{width:100%;margin-top:12px;border:1px solid #c8dafd;background:#eef4ff;color:#1f56cf;border-radius:6px;padding:10px;font-weight:850;cursor:pointer;font-size:11px}
#gamePerformanceView .gp-requirements{margin-top:16px}
#gamePerformanceView .gp-requirements details{border-top:1px solid #e5eaf0;padding-top:12px}
#gamePerformanceView .gp-requirements summary{cursor:pointer;font-size:11px;font-weight:850;color:#4d5d70}
#gamePerformanceView .gp-requirements-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
#gamePerformanceView .gp-requirements-grid div{padding:10px;border:1px solid #e1e7ee;border-radius:7px;background:#f8fafc;min-width:0}
#gamePerformanceView .gp-requirements-grid small{display:block;margin-bottom:6px;color:#718096;font-size:9px;font-weight:900}
#gamePerformanceView .gp-requirements-grid p{margin:0;font-size:10px;line-height:1.55;white-space:pre-line;overflow-wrap:anywhere}
#gamePerformanceView .gp-sim-card{margin-top:24px;padding:0;overflow:hidden;border-color:#d9e3ef;background:#fff}
#gamePerformanceView .gp-sim-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px 18px;border-bottom:1px solid #dce5ef;background:#fff}
#gamePerformanceView .gp-sim-head h2{display:flex;align-items:center;margin:0;font-size:16px;color:#14233a}
#gamePerformanceView .gp-sim-head p{margin:4px 0 0;font-size:10px;color:#6f8097}
#gamePerformanceView .gp-sim-head button{border:1px solid #cfdae7;background:#fff;color:#17304f;border-radius:7px;padding:8px 12px;font-weight:850;cursor:pointer;font-size:10px;transition:.18s ease}
#gamePerformanceView .gp-sim-head button:hover{border-color:#9ebcf7;background:#f7faff}
#gamePerformanceView .gp-sim-head button.active{border-color:#8eb0f7;background:#eef5ff;color:#1e5bd7}
#gamePerformanceView .gp-sim-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex:0 0 auto}
#gamePerformanceView .gp-sim-head-actions button{display:inline-flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap}
#gamePerformanceView .gp-sound-toggle.active{border-color:#86aef8;background:#eef5ff;color:#1e5bd7}
#gamePerformanceView .gp-sound-icon{display:inline-grid;place-items:center;width:15px;font-size:13px;line-height:1}
#gamePerformanceView .gp-sim-head button:disabled{opacity:.48;cursor:not-allowed;background:#f6f8fb;color:#8491a3}
#gamePerformanceView .gp-sim-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;background:#f7faff;border-top:0}
#gamePerformanceView .gp-stage{position:relative;min-height:470px;background:#b8d4f6;overflow:hidden;outline:none}
#gamePerformanceView #gpCanvas{display:block;width:100%;height:470px;background:#b8d4f6}
#gamePerformanceView .gp-stage:focus-visible{box-shadow:inset 0 0 0 3px rgba(47,103,235,.35)}

#gamePerformanceView .gp-stage-start-overlay{position:absolute;inset:0;display:block;background:linear-gradient(180deg,rgba(11,24,43,.34),rgba(7,20,39,.48));z-index:3}
#gamePerformanceView .gp-stage.gp-menu-open canvas{filter:blur(2px) brightness(.78) saturate(.92);transform:scale(1.015);transform-origin:center center;transition:filter .22s ease,transform .22s ease}
#gamePerformanceView .gp-stage canvas{transition:filter .22s ease,transform .22s ease}
#gamePerformanceView .gp-stage.gp-menu-open .gp-hud{opacity:0;transform:translateY(10px);pointer-events:none}
#gamePerformanceView .gp-stage.gp-menu-open .gp-hud{opacity:0;transform:translateY(10px);pointer-events:none}
#gamePerformanceView .gp-stage-menu-screen{position:absolute;inset:0;display:grid;place-items:center;padding:24px}
#gamePerformanceView .gp-stage-menu-card{width:min(520px,calc(100% - 40px));padding:24px 24px 20px;border:1px solid rgba(220,230,243,.92);border-radius:20px;background:linear-gradient(180deg,rgba(255,255,255,.97),rgba(248,251,255,.95));box-shadow:0 20px 54px rgba(7,23,45,.22);backdrop-filter:blur(12px);color:#13253d}
#gamePerformanceView .gp-stage-menu-card-clean h3{display:none}
#gamePerformanceView .gp-stage-menu-card-clean p{margin:0;color:#5c708a;font-size:13px;line-height:1.7}
#gamePerformanceView .gp-menu-lead{font-size:14px;line-height:1.7;color:#556a85;text-align:left}#gamePerformanceView .gp-menu-selected-game{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:8px 14px;margin-top:14px;padding:12px 14px;border:1px solid #dbe5f0;border-radius:14px;background:#f8fbff}#gamePerformanceView .gp-menu-selected-game span{font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#6a7f98}#gamePerformanceView .gp-menu-selected-game strong{flex:1 1 100%;font-size:15px;color:#10233b;text-align:left;line-height:1.35;word-break:break-word}#gamePerformanceView .gp-menu-selected-game small{flex:1 1 100%;font-size:12px;color:#5f738d;line-height:1.5}#gamePerformanceView .gp-menu-inline-help{margin-top:16px;padding:18px;border:1px solid #dbe5f0;border-radius:16px;background:linear-gradient(180deg,#fbfdff,#f5f9ff)}
#gamePerformanceView .gp-menu-inline-help strong{display:block;margin-bottom:12px;font-size:12px;font-weight:900;letter-spacing:.02em;color:#132a47}
#gamePerformanceView .gp-stage-menu-actions{display:grid;grid-template-columns:1fr;gap:12px;margin-top:18px}#gamePerformanceView .gp-stage-menu-actions-center{justify-items:center}
#gamePerformanceView .gp-stage-menu-actions-single{max-width:none}#gamePerformanceView .gp-stage-menu-actions-single .gp-start-sim{width:min(260px,100%)}
#gamePerformanceView .gp-start-sim{width:100%;margin-top:0;border:0;border-radius:13px;background:linear-gradient(180deg,#4280ff,#2f67eb);color:#fff;padding:15px 14px;font-size:12px;font-weight:900;cursor:pointer;box-shadow:0 12px 26px rgba(37,99,235,.22);transition:.18s ease}
#gamePerformanceView .gp-start-sim:hover{filter:brightness(1.04);transform:translateY(-1px)}
#gamePerformanceView .gp-menu-note{display:none}
#gamePerformanceView .gp-key-grid-overlay{margin-top:0;padding:0;border:0;border-radius:0;background:transparent;gap:12px 14px}#gamePerformanceView .gp-key-grid-overlay span{font-size:12px;color:#566a84}#gamePerformanceView .gp-key-grid-overlay kbd{min-width:44px;height:36px;border-radius:10px;border:1px solid #d6e0ee;background:#fff;box-shadow:0 3px 10px rgba(15,35,60,.06)}
#gamePerformanceView .gp-stage-menu-screen{position:absolute;inset:0;display:grid;place-items:center;padding:24px}
#gamePerformanceView .gp-stage-menu-card{width:min(470px,calc(100% - 40px));padding:24px 24px 22px;border:1px solid rgba(210,224,243,.82);border-radius:18px;background:linear-gradient(180deg,rgba(255,255,255,.97),rgba(247,251,255,.96));box-shadow:0 26px 70px rgba(7,23,45,.28);backdrop-filter:blur(14px);color:#13253d}
#gamePerformanceView .gp-stage-menu-card-help{width:min(520px,calc(100% - 40px))}
#gamePerformanceView .gp-stage-menu-badge{display:inline-flex;align-items:center;gap:8px;padding:5px 9px;border:1px solid #d9e5f3;border-radius:999px;background:#f8fbff;color:#5c7390;font-size:9px;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
#gamePerformanceView .gp-stage-menu-badge::before{content:'';width:7px;height:7px;border-radius:999px;background:#2f67eb;box-shadow:0 0 0 4px rgba(47,103,235,.10)}
#gamePerformanceView .gp-stage-menu-card h3{margin:14px 0 8px;font-size:30px;line-height:1.08;color:#10233b}
#gamePerformanceView .gp-stage-menu-card p{margin:0;color:#5c708a;font-size:13px;line-height:1.7}
#gamePerformanceView .gp-stage-menu-actions{display:grid;grid-template-columns:1.15fr .85fr;gap:12px;margin-top:20px}
#gamePerformanceView .gp-stage-menu-actions-help{grid-template-columns:1fr 1fr}

#gamePerformanceView .gp-menu-secondary{width:100%;border:1px solid #d6e0ed;border-radius:13px;background:rgba(255,255,255,.9);color:#30465f;padding:14px 14px;font-size:12px;font-weight:850;cursor:pointer;transition:.18s ease}
#gamePerformanceView .gp-menu-secondary:hover{border-color:#a9c2f5;background:#f7faff}
#gamePerformanceView .gp-menu-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:4px}
#gamePerformanceView .gp-menu-close{width:36px;height:36px;border:1px solid #d6e0ed;border-radius:999px;background:#fff;color:#24384f;font-size:22px;line-height:1;display:grid;place-items:center;cursor:pointer;box-shadow:0 3px 10px rgba(29,55,91,.06)}
#gamePerformanceView .gp-menu-close:hover{background:#f5f8fd}
#gamePerformanceView .gp-key-grid-overlay{margin-top:12px;padding:14px;border:1px solid #e2eaf4;border-radius:14px;background:#fbfdff;gap:10px 12px}
#gamePerformanceView .gp-menu-note{display:none}
#gamePerformanceView .gp-menu-back{margin-top:0}
#gamePerformanceView .gp-hud{position:absolute;left:16px;top:16px;display:grid;grid-template-columns:repeat(3,auto);gap:8px;pointer-events:none}
#gamePerformanceView .gp-hud span{display:grid;gap:2px;min-width:82px;padding:9px 11px;border:1px solid rgba(204,219,238,.92);border-radius:8px;background:rgba(255,255,255,.93);box-shadow:0 5px 16px rgba(28,61,103,.10);backdrop-filter:blur(8px);color:#12223a}
#gamePerformanceView .gp-hud small{font-size:8px;color:#58708f;font-weight:850;letter-spacing:.04em}
#gamePerformanceView .gp-hud b{font-size:15px;color:#11233d;font-variant-numeric:tabular-nums}
#gamePerformanceView .gp-sim-side{padding:18px;border-left:1px solid #dbe5ef;background:#fbfdff;color:#20324a}
#gamePerformanceView .gp-key-grid{display:grid;grid-template-columns:48px 1fr;gap:8px 10px;align-items:center;font-size:10px;color:#62758f}
#gamePerformanceView .gp-key-grid kbd{display:grid;place-items:center;min-width:44px;height:34px;border:1px solid #d4deea;border-bottom-width:2px;border-radius:7px;background:#fff;color:#172b46;box-shadow:0 2px 5px rgba(25,54,90,.04);font:850 10px ui-monospace,SFMono-Regular,Consolas,monospace}
#gamePerformanceView .gp-sim-mode{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:2px}
#gamePerformanceView .gp-sim-mode button{border:1px solid #d5dfeb;border-radius:7px;background:#fff;color:#425772;padding:10px 8px;font-size:9px;font-weight:850;cursor:pointer;transition:.18s ease}
#gamePerformanceView .gp-sim-mode button:hover{border-color:#a9c2f5;background:#f7faff}
#gamePerformanceView .gp-sim-mode button.active{border-color:#2f67eb;background:#f4f8ff;color:#1556df;box-shadow:inset 0 0 0 1px rgba(47,103,235,.08)}
#gamePerformanceView .gp-touch-controls{display:none;grid-template-columns:repeat(3,46px);justify-content:center;gap:7px;margin-top:14px}
#gamePerformanceView .gp-touch-controls button{height:42px;border:1px solid #d5dfeb;border-radius:7px;background:#fff;color:#1a3150;font-weight:900}
#gamePerformanceView .gp-touch-controls .gp-touch-up{grid-column:2}
#gamePerformanceView .gp-touch-controls .gp-touch-left{grid-column:1}
#gamePerformanceView .gp-touch-controls .gp-touch-down{grid-column:2}
#gamePerformanceView .gp-touch-controls .gp-touch-right{grid-column:3}
#gamePerformanceView .gp-compare{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:stretch;margin-top:17px;padding-top:16px;border-top:1px solid #e0e7ef}
#gamePerformanceView .gp-compare>div{padding:11px;border:1px solid #dbe4ee;border-radius:8px;background:#fff;box-shadow:0 2px 8px rgba(29,57,92,.03)}
#gamePerformanceView .gp-compare small{display:block;color:#74869d;font-size:8px;font-weight:900}
#gamePerformanceView .gp-compare b{display:block;margin-top:5px;color:#1b2e49;font-size:11px}
#gamePerformanceView .gp-compare strong{display:block;margin-top:7px;color:#16a34a;font-size:16px}
#gamePerformanceView .gp-compare>span{align-self:center;color:#778aa3;font-weight:900}
#gamePerformanceView .gp-disclaimer{margin:12px 0 0;padding:11px 13px;border-left:3px solid #85aafa;background:#f8faff;color:#64778f;font-size:10px;line-height:1.55}
#gamePerformanceView .gp-api-note{margin-top:10px;font-size:10px;color:#718096;line-height:1.5}
#gamePerformanceView .gp-api-note.is-warning{color:#8a5a12;background:#fff8e8;border:1px solid #f1d79c;border-radius:7px;padding:8px 10px}
#gamePerformanceView .gp-api-note code{font-size:9px;background:#eef2f7;padding:2px 4px;border-radius:3px}
@media(max-width:980px){#gamePerformanceView .gp-layout{grid-template-columns:1fr}#gamePerformanceView .gp-layout>.gp-stack:first-child,#gamePerformanceView .gp-layout>aside.gp-stack,#gamePerformanceView .gp-layout>.gp-sim-card{grid-column:1;grid-row:auto}#gamePerformanceView .gp-result-card{position:static}#gamePerformanceView .gp-sim-layout{grid-template-columns:1fr}#gamePerformanceView .gp-sim-side{border-left:0;border-top:1px solid #dbe5ef}#gamePerformanceView .gp-touch-controls{display:grid}}
@media(max-width:700px){#gamePerformanceView .gp-edit-grid{grid-template-columns:1fr}#gamePerformanceView .gp-selected-game{grid-template-columns:54px minmax(0,1fr)}#gamePerformanceView .gp-cover{width:54px;height:64px}#gamePerformanceView .gp-source-badge{grid-column:2;justify-self:start}#gamePerformanceView .gp-hardware-row{grid-template-columns:92px minmax(0,1fr) auto}#gamePerformanceView .gp-requirements-grid{grid-template-columns:1fr}#gamePerformanceView .gp-sim-head{align-items:flex-start;flex-direction:column}#gamePerformanceView #gpCanvas,#gamePerformanceView .gp-stage{height:360px;min-height:360px}#gamePerformanceView .gp-hud{grid-template-columns:repeat(3,1fr);right:14px}#gamePerformanceView .gp-hud span{padding:6px}#gamePerformanceView .gp-segmented button{padding:9px 4px;font-size:9px}#gamePerformanceView .gp-stage-menu-screen{padding:14px}#gamePerformanceView .gp-stage-menu-actions{grid-template-columns:1fr}#gamePerformanceView .gp-stage-menu-actions-single{max-width:none}#gamePerformanceView .gp-stage-menu-card{padding:18px 16px 16px;width:min(100%,420px)}#gamePerformanceView .gp-menu-selected-game{flex-direction:column;align-items:flex-start}#gamePerformanceView .gp-menu-selected-game strong{text-align:left}#gamePerformanceView .gp-menu-inline-help{padding:14px}#gamePerformanceView .gp-stage-menu-actions-single .gp-start-sim{width:100%}#gamePerformanceView .gp-key-grid-overlay{padding:0}}
@media(max-width:430px){#gamePerformanceView .gp-hardware-row{grid-template-columns:1fr auto;gap:4px 8px}#gamePerformanceView .gp-hardware-row small{grid-column:1/-1}#gamePerformanceView .gp-settings-grid{gap:11px}#gamePerformanceView .gp-sim-side{padding:14px}#gamePerformanceView .gp-compare{grid-template-columns:1fr}#gamePerformanceView .gp-compare>span{text-align:center;transform:rotate(90deg)}}

#gamePerformanceView .gp-source-credit{margin:8px 0 0;color:var(--muted);font-size:.82rem}
#gamePerformanceView .gp-source-credit a{color:var(--blue);font-weight:700;text-decoration:none}
#gamePerformanceView .gp-source-credit a:hover{text-decoration:underline}


/* ACC64 Game FPS Test — extra comparison tools */
#gamePerformanceView .gp-tools-card{margin-top:24px;padding:20px;border-color:#d9e3ef;background:#fff}
#gamePerformanceView .gp-tools-head{align-items:center;margin-bottom:8px;padding-bottom:14px;border-bottom:1px solid #e5ebf2}
#gamePerformanceView .gp-tools-head .gp-card-title{align-items:center}
#gamePerformanceView .gp-tools-head .gp-card-title>div{display:grid;gap:2px}
#gamePerformanceView .gp-tools-head small{font-size:8px;font-weight:900;letter-spacing:.08em;color:#6d7f96}
#gamePerformanceView .gp-tools-head h2{margin:0;font-size:17px;color:#13243c}
#gamePerformanceView .gp-tools-intro{margin:3px 0 15px;color:#65778f;font-size:11px;line-height:1.6;max-width:900px}
#gamePerformanceView .gp-tools-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#gamePerformanceView .gp-tool-panel{min-width:0;border:1px solid #dfe7f0;border-radius:9px;background:#fbfdff;padding:14px;box-shadow:0 2px 8px rgba(25,54,90,.025)}
#gamePerformanceView .gp-tool-panel.gp-smooth-tool{grid-column:1/-1}
#gamePerformanceView .gp-tool-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:11px}
#gamePerformanceView .gp-tool-head small{display:block;font-size:8px;font-weight:900;letter-spacing:.075em;color:#71849b}
#gamePerformanceView .gp-tool-head h3{margin:3px 0 0;font-size:13px;line-height:1.3;color:#152944}
#gamePerformanceView .gp-tool-head>span{flex:0 0 auto;border:1px solid #d5e0ed;border-radius:999px;background:#fff;padding:5px 7px;color:#5e7390;font-size:8px;font-weight:850;white-space:nowrap;max-width:46%;overflow:hidden;text-overflow:ellipsis}
#gamePerformanceView .gp-tool-note{margin:10px 0 0;color:#74869c;font-size:9px;line-height:1.55}
#gamePerformanceView .gp-tool-empty,#gamePerformanceView .gp-tool-error{margin:0;padding:12px;border:1px dashed #cfdbe8;border-radius:7px;background:#fff;color:#6e8097;font-size:10px;line-height:1.5}
#gamePerformanceView .gp-tool-error{border-color:#f0caca;background:#fffafa;color:#a23b3b}

#gamePerformanceView .gp-res-list{display:grid;gap:7px}
#gamePerformanceView .gp-res-row{display:grid;grid-template-columns:112px minmax(80px,1fr) 90px;gap:10px;align-items:center;width:100%;padding:9px 10px;border:1px solid #dde6ef;border-radius:7px;background:#fff;color:#172b46;text-align:left;cursor:pointer;transition:.16s ease}
#gamePerformanceView .gp-res-row:hover{border-color:#aac2f6;background:#f8fbff}
#gamePerformanceView .gp-res-row.active{border-color:#7da5f5;box-shadow:inset 0 0 0 1px rgba(47,103,235,.08);background:#f6f9ff}
#gamePerformanceView .gp-res-row>span{display:grid;gap:2px}
#gamePerformanceView .gp-res-row>span b{font-size:11px}
#gamePerformanceView .gp-res-row>span small{font-size:8px;color:#73859b}
#gamePerformanceView .gp-res-row>i{display:block;height:7px;border-radius:99px;background:#e9eef5;overflow:hidden}
#gamePerformanceView .gp-res-row>i em{display:block;height:100%;border-radius:inherit;background:#2f67eb}
#gamePerformanceView .gp-res-row>strong{text-align:right;font-size:12px;font-variant-numeric:tabular-nums;color:#1d3554}
#gamePerformanceView .gp-res-row>strong small{font-size:8px;color:#7b8da2}

#gamePerformanceView .gp-upgrade-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
#gamePerformanceView .gp-upgrade-card{display:grid;gap:4px;padding:11px;border:1px solid #dce5ef;border-radius:8px;background:#fff;min-width:0}
#gamePerformanceView .gp-upgrade-card small{font-size:8px;font-weight:900;color:#6d8097;letter-spacing:.05em}
#gamePerformanceView .gp-upgrade-card b,#gamePerformanceView .gp-upgrade-card span{font-size:9.5px;line-height:1.35;overflow-wrap:anywhere;color:#263c59}
#gamePerformanceView .gp-upgrade-card span{color:#45607f}
#gamePerformanceView .gp-upgrade-card strong{margin-top:4px;color:#16833a;font-size:15px;font-variant-numeric:tabular-nums}
#gamePerformanceView .gp-upgrade-card strong em{font-size:9px;font-style:normal;color:#668097}
#gamePerformanceView .gp-upgrade-card button{margin-top:5px;border:1px solid #d4e0ee;border-radius:6px;background:#f7faff;color:#285bba;padding:7px 8px;font-size:8.5px;font-weight:850;cursor:pointer}
#gamePerformanceView .gp-upgrade-card button:hover{background:#eef5ff;border-color:#a9c1f4}
#gamePerformanceView .gp-upgrade-card.is-muted strong{color:#7e8d9e}
#gamePerformanceView .gp-upgrade-card p{margin:5px 0 0;font-size:9px;color:#72849a;line-height:1.45}
#gamePerformanceView .gp-upgrade-verdict{margin-top:8px;padding:9px 10px;border-radius:7px;background:#eef5ff;color:#2855a8;font-size:10px;font-weight:800;line-height:1.45;border-left:3px solid #5e8ff0}
#gamePerformanceView .gp-upgrade-verdict[data-type="gpu"],#gamePerformanceView .gp-upgrade-verdict[data-type="cpu"]{background:#f3f8ff;color:#214d9a}

#gamePerformanceView .gp-compare-pc-form{display:grid;grid-template-columns:1fr 1fr 120px;gap:7px;align-items:end}
#gamePerformanceView .gp-compare-pc-form label{display:grid;gap:4px;min-width:0}
#gamePerformanceView .gp-compare-pc-form label span{font-size:8px;font-weight:850;color:#657b96}
#gamePerformanceView .gp-compare-pc-form input,#gamePerformanceView .gp-compare-pc-form select{width:100%;min-width:0;height:36px;border:1px solid #d7e1ec;border-radius:6px;background:#fff;color:#1e334f;padding:0 9px;font-size:9.5px;font-weight:700;font-family:inherit;outline:none}
#gamePerformanceView .gp-compare-pc-form input:focus,#gamePerformanceView .gp-compare-pc-form select:focus{border-color:#7fa7f4;box-shadow:0 0 0 2px rgba(47,103,235,.08)}
#gamePerformanceView .gp-tool-primary{grid-column:1/-1;height:36px;border:0;border-radius:6px;background:#2f67eb;color:#fff;font-size:10px;font-weight:900;cursor:pointer}
#gamePerformanceView .gp-tool-primary:hover{filter:brightness(1.04)}
#gamePerformanceView .gp-pc-compare-result{margin-top:9px}
#gamePerformanceView .gp-pc-compare-result>p{margin:0;padding:10px;border-radius:7px;background:#fff;color:#718299;font-size:9.5px;line-height:1.5;border:1px solid #e1e8f0}
#gamePerformanceView .gp-pc-result-grid{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:stretch}
#gamePerformanceView .gp-pc-result-grid>div{display:grid;gap:3px;padding:10px;border:1px solid #dfe7ef;border-radius:7px;background:#fff;min-width:0}
#gamePerformanceView .gp-pc-result-grid small{font-size:8px;font-weight:900;color:#6e8198}
#gamePerformanceView .gp-pc-result-grid b,#gamePerformanceView .gp-pc-result-grid span{font-size:9px;line-height:1.35;overflow-wrap:anywhere;color:#263b56}
#gamePerformanceView .gp-pc-result-grid strong{margin-top:5px;font-size:15px;color:#16833a;font-variant-numeric:tabular-nums}
#gamePerformanceView .gp-pc-vs{align-self:center;color:#7a8ba0;font-size:9px;font-weight:900}
#gamePerformanceView .gp-pc-delta{margin-top:7px;text-align:center;font-weight:750}
#gamePerformanceView .gp-pc-delta.positive b{color:#16833a}
#gamePerformanceView .gp-pc-delta.negative b{color:#b44b45}

#gamePerformanceView .gp-fit-games{display:grid;gap:6px}
#gamePerformanceView .gp-fit-game{display:grid;grid-template-columns:36px minmax(0,1fr) auto auto;gap:8px;align-items:center;width:100%;padding:7px 8px;border:1px solid #e0e7ef;border-radius:7px;background:#fff;text-align:left;cursor:pointer;min-width:0;transition:.15s ease}
#gamePerformanceView .gp-fit-game:hover{border-color:#a9c1f2;background:#f8fbff}
#gamePerformanceView .gp-fit-game .gp-mini-cover{width:36px;height:42px;border-radius:5px}
#gamePerformanceView .gp-fit-game>span:nth-child(2){display:grid;gap:2px;min-width:0}
#gamePerformanceView .gp-fit-game>span:nth-child(2) b{font-size:9.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#213750}
#gamePerformanceView .gp-fit-game>span:nth-child(2) small{font-size:8px;color:#74869b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#gamePerformanceView .gp-fit-game>strong{font-size:11px;font-variant-numeric:tabular-nums;white-space:nowrap}
#gamePerformanceView .gp-fit-game>strong.great,#gamePerformanceView .gp-fit-game>strong.good{color:#16833a}
#gamePerformanceView .gp-fit-game>strong.medium{color:#b7791f}
#gamePerformanceView .gp-fit-game>strong.low{color:#b34b45}
#gamePerformanceView .gp-fit-game>strong small{font-size:7px;color:#7c8ca0}
#gamePerformanceView .gp-fit-game>em{font-style:normal;font-size:8px;font-weight:850;color:#2f67eb;white-space:nowrap}

#gamePerformanceView .gp-smooth-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
#gamePerformanceView .gp-smooth-metrics>div{display:grid;grid-template-columns:1fr auto;grid-template-areas:'s s' 'b unit';align-items:end;padding:9px 10px;border:1px solid #dfe7ef;border-radius:7px;background:#fff}
#gamePerformanceView .gp-smooth-metrics small{grid-area:s;font-size:8px;font-weight:900;color:#70839a}
#gamePerformanceView .gp-smooth-metrics b{grid-area:b;margin-top:3px;font-size:18px;line-height:1;color:#1a3555;font-variant-numeric:tabular-nums}
#gamePerformanceView .gp-smooth-metrics span{grid-area:unit;font-size:8px;font-weight:850;color:#76899f;padding-bottom:1px}
#gamePerformanceView .gp-frame-chart-wrap{height:150px;margin-top:9px;border:1px solid #dfe7ef;border-radius:7px;background:linear-gradient(#fff,#f8fbff);overflow:hidden}
#gamePerformanceView .gp-frame-chart-wrap svg{display:block;width:100%;height:100%}
#gamePerformanceView .gp-chart-average{stroke:#b9c8da;stroke-width:1;stroke-dasharray:5 5}
#gamePerformanceView .gp-chart-line{fill:none;stroke:#2f67eb;stroke-width:2.3;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round}
#gamePerformanceView .gp-chart-label{fill:#8292a6;font:800 9px system-ui,sans-serif}

@media(max-width:980px){#gamePerformanceView .gp-tools-grid{grid-template-columns:1fr}#gamePerformanceView .gp-tool-panel.gp-smooth-tool{grid-column:auto}}
@media(max-width:700px){#gamePerformanceView .gp-res-row{grid-template-columns:86px 1fr 78px;gap:7px}#gamePerformanceView .gp-upgrade-grid{grid-template-columns:1fr}#gamePerformanceView .gp-compare-pc-form{grid-template-columns:1fr}#gamePerformanceView .gp-smooth-metrics{grid-template-columns:1fr 1fr}#gamePerformanceView .gp-fit-game{grid-template-columns:36px minmax(0,1fr) auto}#gamePerformanceView .gp-fit-game>em{display:none}}
@media(max-width:430px){#gamePerformanceView .gp-tools-card{padding:13px}#gamePerformanceView .gp-tool-panel{padding:11px}#gamePerformanceView .gp-res-row{grid-template-columns:74px 1fr 72px;padding:8px}#gamePerformanceView .gp-res-row>strong{font-size:10.5px}#gamePerformanceView .gp-smooth-metrics{gap:6px}#gamePerformanceView .gp-pc-result-grid{grid-template-columns:1fr}#gamePerformanceView .gp-pc-vs{text-align:center}}

/* Expanded online game catalog */
#gamePerformanceView .gp-search-catalog-title{padding:10px 12px 7px;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:#607089;background:#f8fafc;border-bottom:1px solid #e6ebf2}
#gamePerformanceView .gp-search-more{display:block;width:calc(100% - 16px);margin:8px;padding:10px 12px;border:1px solid #cfd8e6;border-radius:8px;background:#f8fafc;color:#172033;font-family:inherit;font-size:13px;font-weight:800;line-height:1.2;cursor:pointer;text-align:center;transition:background .15s ease,border-color .15s ease,transform .15s ease}
#gamePerformanceView .gp-search-more:hover{background:#eef4ff;border-color:#9ebcf4;transform:translateY(-1px)}
#gamePerformanceView .gp-search-more:focus-visible{outline:2px solid #2f6fed;outline-offset:2px}

#gamePerformanceView .gp-search-results::-webkit-scrollbar{width:10px}
#gamePerformanceView .gp-search-results::-webkit-scrollbar-thumb{background:#c9d2df;border:3px solid #fff;border-radius:99px}
#gamePerformanceView .gp-search-results::-webkit-scrollbar-track{background:#fff}
@media(max-width:700px){#gamePerformanceView .gp-search-results{max-height:min(68vh,520px)}#gamePerformanceView .gp-search-result{grid-template-columns:42px minmax(0,1fr);padding:9px 8px}#gamePerformanceView .gp-search-result em{display:none}}

#gamePerformanceView .gp-search-results .gp-search-result:last-of-type{margin-bottom:4px}
#gamePerformanceView .gp-search-results .gp-search-more{margin-bottom:2px}

#gamePerformanceView .gp-result-placeholder{display:grid;place-items:center;min-height:260px;padding:28px 24px;border:1px dashed var(--line);border-radius:12px;background:linear-gradient(180deg,#fbfcff 0%,#f7f9fd 100%);text-align:center;color:var(--muted)}
#gamePerformanceView .gp-result-placeholder b{display:block;color:var(--text);font-size:24px;line-height:1.2;margin-bottom:10px}
#gamePerformanceView .gp-result-placeholder p{max-width:420px;margin:0 auto;font-size:14px;line-height:1.55}
#gamePerformanceView .gp-result-card.is-empty .gp-source-credit{display:none}


/* Game selection polish */
#gamePerformanceView .gp-selected-hint{margin:8px 0 0;padding:8px 10px;border:1px solid #d9e5f5;border-radius:7px;background:#f7faff;color:#53657a;font-size:12px}
#gamePerformanceView .gp-selected-hint b{color:var(--text);font-weight:800}
#gamePerformanceView .gp-awaiting-game{display:grid;place-items:center;min-height:150px;padding:24px;border:1px dashed var(--line);border-radius:10px;background:#fafcff;text-align:center;color:var(--muted)}
#gamePerformanceView .gp-awaiting-game b{display:block;margin-bottom:7px;color:var(--text);font-size:17px}
#gamePerformanceView .gp-awaiting-game p{max-width:470px;margin:0;font-size:13px;line-height:1.5}
#gamePerformanceView .gp-search-skeleton{display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px;align-items:center;padding:9px}
#gamePerformanceView .gp-skeleton-cover,#gamePerformanceView .gp-skeleton-line{position:relative;overflow:hidden;background:#e9eef5}
#gamePerformanceView .gp-skeleton-cover{width:42px;height:42px;border-radius:6px}
#gamePerformanceView .gp-skeleton-copy{display:grid;gap:7px}
#gamePerformanceView .gp-skeleton-line{height:10px;border-radius:999px;width:62%}
#gamePerformanceView .gp-skeleton-line.short{width:28%;height:8px}
#gamePerformanceView .gp-skeleton-cover:after,#gamePerformanceView .gp-skeleton-line:after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.72),transparent);animation:gpSkeleton 1.15s infinite}
@keyframes gpSkeleton{100%{transform:translateX(100%)}}
@media(max-width:700px){#gamePerformanceView .gp-awaiting-game{min-height:120px;padding:20px 16px}#gamePerformanceView .gp-selected-hint{font-size:11px}}


/* ACC64 Game FPS Test — visual hierarchy cleanup */
#gamePerformanceView .gp-tools-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  grid-template-areas:
    "resolution upgrade"
    "compare compare"
    "smooth smooth"
    "games games";
  align-items:start;
  gap:12px;
}
#gamePerformanceView .gp-resolution-tool{grid-area:resolution}
#gamePerformanceView .gp-upgrade-tool{grid-area:upgrade}
#gamePerformanceView .gp-games-tool{grid-area:games}
#gamePerformanceView .gp-compare-tool{grid-area:compare}
#gamePerformanceView .gp-smooth-tool{grid-area:smooth;grid-column:auto}

#gamePerformanceView .gp-games-tool{background:#fff}
#gamePerformanceView .gp-games-tool .gp-fit-games{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:7px;
}
#gamePerformanceView .gp-compare-tool{
  background:#fff;
}
#gamePerformanceView .gp-compare-tool .gp-compare-pc-form{
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) 120px auto;
  align-items:end;
}
#gamePerformanceView .gp-compare-tool .gp-tool-primary{
  grid-column:auto;
  min-width:112px;
  padding-inline:16px;
}
#gamePerformanceView .gp-pc-compare-result:empty{display:none}
#gamePerformanceView .gp-pc-compare-result>p{max-width:100%;}

/* Result card: less visual noise and better spacing */
#gamePerformanceView .gp-result-card #gpResultContent{display:grid;gap:14px}
#gamePerformanceView .gp-result-card .gp-verdict-hero,
#gamePerformanceView .gp-result-card .gp-target-box,
#gamePerformanceView .gp-result-card .gp-fit-box,
#gamePerformanceView .gp-result-card .gp-best-settings,
#gamePerformanceView .gp-result-card .gp-profile-compare,
#gamePerformanceView .gp-result-card .gp-bottleneck,
#gamePerformanceView .gp-result-card .gp-requirements,
#gamePerformanceView .gp-result-card .gp-disclaimer,
#gamePerformanceView .gp-result-card .gp-source-credit{margin-top:0;margin-bottom:0}

@media(max-width:980px){
  #gamePerformanceView .gp-tools-grid{
    grid-template-columns:1fr;
    grid-template-areas:"resolution" "upgrade" "compare" "smooth" "games";
  }
  #gamePerformanceView .gp-games-tool .gp-fit-games{grid-template-columns:1fr}
  #gamePerformanceView .gp-compare-tool .gp-compare-pc-form{grid-template-columns:1fr 1fr}
  #gamePerformanceView .gp-compare-tool .gp-tool-primary{grid-column:1/-1}
}
@media(max-width:700px){
  #gamePerformanceView .gp-compare-tool .gp-compare-pc-form{grid-template-columns:1fr}
  #gamePerformanceView .gp-games-tool .gp-fit-games{grid-template-columns:1fr}
}

/* State visibility: authored display rules must never override the hidden attribute. */
#gamePerformanceView [hidden]{display:none!important}

#gamePerformanceView .gp-search-result.active{background:#eaf2ff;box-shadow:inset 0 0 0 1px #c9dcff}
#gamePerformanceView .gp-search-result.is-selected{background:#f2f7ff}
#gamePerformanceView .gp-search-help{display:flex;align-items:center;justify-content:space-between;gap:12px}

/* SEO copy — Game FPS Test */
#gamePerformanceView .gp-seo-copy{margin-top:28px;padding:28px 2px 4px;border-top:1px solid var(--line);color:var(--text)}
#gamePerformanceView .gp-seo-copy-main{max-width:820px}
#gamePerformanceView .gp-seo-copy small{display:block;margin-bottom:8px;color:#6c7c91;font-size:9px;font-weight:900;letter-spacing:.1em}
#gamePerformanceView .gp-seo-copy h2{margin:0;font-size:clamp(22px,2.5vw,30px);line-height:1.18;letter-spacing:-.025em}
#gamePerformanceView .gp-seo-copy-main>p{max-width:900px;margin:12px 0 0;color:#5f6f83;font-size:13px;line-height:1.72}
#gamePerformanceView .gp-seo-copy-grid{display:grid;grid-template-columns:1fr 1fr;gap:34px;margin-top:26px}
#gamePerformanceView .gp-seo-copy-grid>div{padding-top:18px;border-top:1px solid #e4e9f0}
#gamePerformanceView .gp-seo-copy h3{margin:0 0 8px;font-size:16px;line-height:1.3;letter-spacing:-.01em}
#gamePerformanceView .gp-seo-copy-grid p{margin:0;color:#66768a;font-size:12px;line-height:1.7}
@media(max-width:700px){#gamePerformanceView .gp-seo-copy{margin-top:22px;padding-top:22px}#gamePerformanceView .gp-seo-copy-grid{grid-template-columns:1fr;gap:18px;margin-top:20px}}

/* Final content flow: core result → simulator → ACC64 LAB → SEO */
#gamePerformanceView .gp-sim-card>.gp-disclaimer{margin:0;border-left:0;border-top:1px solid #dce5ef;background:#f8faff;padding:11px 16px}
#gamePerformanceView .gp-tools-card .gp-tools-intro{margin-top:12px;margin-bottom:18px}
#gamePerformanceView .gp-tools-card .gp-tool-panel{background:#fff}
#gamePerformanceView .gp-tools-card .gp-games-tool{margin-top:2px}
#gamePerformanceView .gp-seo-copy{margin-top:34px}
@media(max-width:700px){
  #gamePerformanceView .gp-sim-card,#gamePerformanceView .gp-tools-card{margin-top:18px}
  #gamePerformanceView .gp-tools-card{padding:14px}
  #gamePerformanceView .gp-tools-head{padding-bottom:11px}
}

/* Desktop flow fix: simulator fills the shorter left column instead of waiting below the tall result card. */
@media(min-width:981px){#gamePerformanceView .gp-layout>.gp-sim-card{align-self:start}#gamePerformanceView .gp-layout>.gp-sim-card .gp-stage{min-height:390px}}


/* ACC64 simulator start/game screen final override */
#gamePerformanceView .gp-sim-layout:not(.gp-sim-playing){grid-template-columns:1fr}
#gamePerformanceView .gp-sim-layout:not(.gp-sim-playing) .gp-sim-side{display:none}
#gamePerformanceView .gp-sim-layout:not(.gp-sim-playing) .gp-stage{min-height:470px;height:470px}
#gamePerformanceView .gp-sim-layout:not(.gp-sim-playing) #gpCanvas{height:470px}
#gamePerformanceView .gp-stage-start-overlay{inset:0;overflow:hidden}
#gamePerformanceView .gp-stage-menu-screen{inset:0;padding:18px;place-items:center;overflow:hidden}
#gamePerformanceView .gp-stage-menu-card.gp-stage-menu-card-clean{box-sizing:border-box;width:min(500px,calc(100% - 24px));max-height:calc(100% - 20px);padding:18px 20px 17px;border-radius:18px;overflow:hidden;background:rgba(250,252,255,.97)}
#gamePerformanceView .gp-stage-menu-card-clean .gp-menu-lead{font-size:12.5px;line-height:1.5;margin:0}
#gamePerformanceView .gp-stage-menu-card-clean .gp-menu-selected-game{margin-top:10px;padding:9px 12px;gap:4px 10px;border-radius:12px}
#gamePerformanceView .gp-stage-menu-card-clean .gp-menu-selected-game span{font-size:9px}
#gamePerformanceView .gp-stage-menu-card-clean .gp-menu-selected-game strong{font-size:13px;line-height:1.25}
#gamePerformanceView .gp-stage-menu-card-clean .gp-menu-selected-game small{font-size:10.5px;line-height:1.35}
#gamePerformanceView .gp-stage-menu-card-clean .gp-menu-inline-help{margin-top:10px;padding:11px 12px;border-radius:12px}
#gamePerformanceView .gp-stage-menu-card-clean .gp-menu-inline-help strong{margin-bottom:8px;font-size:11px}
#gamePerformanceView .gp-stage-menu-card-clean .gp-key-grid-overlay{grid-template-columns:44px minmax(0,1fr) 44px minmax(0,1fr);gap:7px 10px;padding:0;margin:0;border:0;background:transparent}
#gamePerformanceView .gp-stage-menu-card-clean .gp-key-grid-overlay kbd{min-width:40px;height:30px;border-radius:8px;font-size:9px}
#gamePerformanceView .gp-stage-menu-card-clean .gp-key-grid-overlay span{font-size:10px;line-height:1.2}
#gamePerformanceView .gp-stage-menu-card-clean .gp-stage-menu-actions{display:grid;grid-template-columns:1fr;justify-items:center;margin-top:11px;gap:0}
#gamePerformanceView .gp-stage-menu-card-clean .gp-start-sim{width:min(230px,100%);padding:11px 14px;border-radius:11px;font-size:11px;line-height:1.2}
#gamePerformanceView .gp-sim-layout.gp-sim-playing{grid-template-columns:minmax(0,1fr) 280px}
#gamePerformanceView .gp-sim-layout.gp-sim-playing .gp-sim-side{display:block}
@media(max-width:980px){
 #gamePerformanceView .gp-sim-layout.gp-sim-playing{grid-template-columns:1fr}
 #gamePerformanceView .gp-sim-layout.gp-sim-playing .gp-sim-side{display:block}
}
@media(max-width:700px){
 #gamePerformanceView .gp-sim-layout:not(.gp-sim-playing) .gp-stage,#gamePerformanceView .gp-sim-layout:not(.gp-sim-playing) #gpCanvas{height:430px;min-height:430px}
 #gamePerformanceView .gp-stage-menu-screen{padding:10px}
 #gamePerformanceView .gp-stage-menu-card.gp-stage-menu-card-clean{width:calc(100% - 12px);max-height:calc(100% - 12px);padding:14px}
 #gamePerformanceView .gp-stage-menu-card-clean .gp-menu-lead{font-size:11.5px}
 #gamePerformanceView .gp-stage-menu-card-clean .gp-key-grid-overlay{grid-template-columns:42px minmax(0,1fr);gap:6px 9px}
 #gamePerformanceView .gp-stage-menu-card-clean .gp-start-sim{width:100%}
}

/* ACC64 simulator playing view — unified full-width game + compact control strip */
#gamePerformanceView .gp-sim-layout.gp-sim-playing{grid-template-columns:1fr;background:#fff}
#gamePerformanceView .gp-sim-layout.gp-sim-playing .gp-stage{grid-column:1;min-height:430px;height:430px;border-bottom:1px solid #dce5ef}
#gamePerformanceView .gp-sim-layout.gp-sim-playing #gpCanvas{height:430px}
#gamePerformanceView .gp-sim-layout.gp-sim-playing .gp-sim-side{grid-column:1;display:grid;grid-template-columns:minmax(220px,.8fr) minmax(340px,1.2fr);align-items:center;gap:18px;padding:13px 16px;border-left:0;border-top:0;background:#fbfdff}
#gamePerformanceView .gp-sim-layout.gp-sim-playing .gp-sim-mode{margin:0;gap:8px}
#gamePerformanceView .gp-sim-layout.gp-sim-playing .gp-sim-mode button{height:38px;padding:8px 10px;font-size:9px;border-radius:8px}
#gamePerformanceView .gp-sim-layout.gp-sim-playing .gp-compare{margin:0;padding:0;border-top:0;grid-template-columns:1fr auto 1fr;gap:8px;align-items:center}
#gamePerformanceView .gp-sim-layout.gp-sim-playing .gp-compare>div{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:8px;padding:9px 11px;border-radius:8px;background:#fff;box-shadow:none}
#gamePerformanceView .gp-sim-layout.gp-sim-playing .gp-compare small{font-size:8px;margin:0}
#gamePerformanceView .gp-sim-layout.gp-sim-playing .gp-compare b{margin:0;font-size:10px;white-space:nowrap}
#gamePerformanceView .gp-sim-layout.gp-sim-playing .gp-compare strong{margin:0;font-size:14px;white-space:nowrap}
#gamePerformanceView .gp-sim-layout.gp-sim-playing .gp-compare>span{font-size:11px}
#gamePerformanceView .gp-sim-layout.gp-sim-playing .gp-touch-controls{grid-column:1/-1;margin-top:2px}

@media(max-width:980px){
 #gamePerformanceView .gp-sim-layout.gp-sim-playing .gp-sim-side{grid-template-columns:1fr;gap:10px}
 #gamePerformanceView .gp-sim-layout.gp-sim-playing .gp-touch-controls{display:grid}
}
@media(max-width:700px){
 #gamePerformanceView .gp-sim-layout.gp-sim-playing .gp-stage,#gamePerformanceView .gp-sim-layout.gp-sim-playing #gpCanvas{height:360px;min-height:360px}
 #gamePerformanceView .gp-sim-layout.gp-sim-playing .gp-sim-side{padding:11px 12px}
 #gamePerformanceView .gp-sim-layout.gp-sim-playing .gp-compare>div{grid-template-columns:1fr;gap:3px}
 #gamePerformanceView .gp-sim-layout.gp-sim-playing .gp-compare strong{font-size:13px}
}

/* ACC64 simulator — single active profile, no duplicated current/optimized cards */
#gamePerformanceView .gp-sim-layout.gp-sim-playing .gp-sim-side{grid-template-columns:minmax(220px,.72fr) minmax(260px,1.28fr)}
#gamePerformanceView .gp-sim-active-profile{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:38px;padding:9px 12px;border:1px solid #dce5ef;border-radius:8px;background:#fff;color:#263d59}
#gamePerformanceView .gp-sim-active-profile b{font-size:10px;font-weight:800;color:#4d627d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#gamePerformanceView .gp-sim-active-profile strong{font-size:14px;font-weight:900;color:#16a34a;white-space:nowrap;font-variant-numeric:tabular-nums}
@media(max-width:980px){#gamePerformanceView .gp-sim-layout.gp-sim-playing .gp-sim-side{grid-template-columns:1fr}#gamePerformanceView .gp-sim-active-profile{min-height:36px}}
@media(max-width:430px){#gamePerformanceView .gp-sim-active-profile{align-items:flex-start;flex-direction:column;gap:3px}#gamePerformanceView .gp-sim-active-profile strong{font-size:13px}}


/* ACC64 simulator — back to menu + soft screen transitions */
#gamePerformanceView .gp-stage-start-overlay{display:flex;opacity:1;visibility:visible;pointer-events:auto;transition:opacity .26s ease,visibility .26s ease}
#gamePerformanceView .gp-stage-start-overlay.hidden{display:flex;opacity:0;visibility:hidden;pointer-events:none}
#gamePerformanceView .gp-stage-menu-card{transition:transform .26s ease,opacity .26s ease}
#gamePerformanceView .gp-stage-start-overlay.hidden .gp-stage-menu-card{transform:translateY(8px) scale(.985);opacity:.72}
#gamePerformanceView .gp-stage-top-actions{position:absolute;top:14px;right:14px;z-index:4;display:flex;align-items:center;gap:8px;opacity:0;visibility:hidden;transform:translateY(-5px);pointer-events:none;transition:opacity .22s ease,transform .22s ease,visibility .22s ease}
#gamePerformanceView .gp-back-sim-menu{position:static;display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 11px;border:1px solid rgba(214,227,243,.62);border-radius:9px;background:rgba(12,34,61,.76);backdrop-filter:blur(8px);box-shadow:0 6px 18px rgba(6,22,43,.14);color:#fff;font-size:9.5px;font-weight:850;font-family:inherit;cursor:pointer;opacity:1;visibility:visible;transform:none;pointer-events:auto;transition:background .16s ease}
#gamePerformanceView .gp-back-sim-menu:hover{background:rgba(17,45,79,.92)}
#gamePerformanceView .gp-stage-sound-toggle{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:0 11px;border:1px solid rgba(214,227,243,.62);border-radius:9px;background:rgba(12,34,61,.76);backdrop-filter:blur(8px);box-shadow:0 6px 18px rgba(6,22,43,.14);color:#fff;font-size:9.5px;font-weight:850;font-family:inherit;cursor:pointer;white-space:nowrap;transition:background .16s ease,border-color .16s ease,color .16s ease}
#gamePerformanceView .gp-sim-layout.gp-sim-playing .gp-stage-top-actions{opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto}
@media(max-width:700px){#gamePerformanceView .gp-stage-top-actions{top:10px;right:10px;gap:6px}#gamePerformanceView .gp-back-sim-menu,#gamePerformanceView .gp-stage-sound-toggle{min-height:32px;padding:0 9px;font-size:9px}#gamePerformanceView .gp-stage-sound-toggle span:last-child{max-width:92px;overflow:hidden;text-overflow:ellipsis}}

#gamePerformanceView .gp-faq{margin-top:34px;padding:30px 2px 6px;border-top:1px solid var(--line)}
#gamePerformanceView .gp-faq-head{max-width:820px}
#gamePerformanceView .gp-faq-head small{display:block;margin-bottom:8px;color:#6c7c91;font-size:9px;font-weight:900;letter-spacing:.1em}
#gamePerformanceView .gp-faq-head h2{margin:0;font-size:clamp(22px,2.5vw,30px);line-height:1.18;letter-spacing:-.025em;color:var(--text)}
#gamePerformanceView .gp-faq-head p{max-width:760px;margin:11px 0 0;color:#66768a;font-size:12px;line-height:1.7}
#gamePerformanceView .gp-faq-list{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px;margin-top:22px}
#gamePerformanceView .gp-faq-list details{border:1px solid #dfe6ef;border-radius:10px;background:#fff;overflow:hidden}
#gamePerformanceView .gp-faq-list summary{position:relative;list-style:none;padding:15px 42px 15px 15px;color:#1b2f4a;font-size:12px;font-weight:850;line-height:1.45;cursor:pointer}
#gamePerformanceView .gp-faq-list summary::-webkit-details-marker{display:none}
#gamePerformanceView .gp-faq-list summary::after{content:'+';position:absolute;right:15px;top:50%;transform:translateY(-50%);width:22px;height:22px;display:grid;place-items:center;border:1px solid #d9e3ef;border-radius:999px;background:#f8fbff;color:#42628c;font-size:15px;font-weight:700;line-height:1}
#gamePerformanceView .gp-faq-list details[open] summary::after{content:'−'}
#gamePerformanceView .gp-faq-list details[open] summary{border-bottom:1px solid #e6ebf1;background:#fbfdff}
#gamePerformanceView .gp-faq-list details p{margin:0;padding:14px 15px 16px;color:#66768a;font-size:11px;line-height:1.7}
#gamePerformanceView .gp-faq-list summary:hover{background:#fbfdff}
@media(max-width:700px){#gamePerformanceView .gp-faq{margin-top:26px;padding-top:24px}#gamePerformanceView .gp-faq-list{grid-template-columns:1fr;gap:9px;margin-top:18px}}

@media(max-width:700px){#gamePerformanceView .gp-sim-head-actions{width:100%;justify-content:flex-start;flex-wrap:wrap}#gamePerformanceView .gp-sim-head-actions button{flex:0 1 auto}}
/* Keep the complete simulator menu and start button visible on narrow phones. */
@media(max-width:430px){#gamePerformanceView .gp-sim-layout:not(.gp-sim-playing) .gp-stage,#gamePerformanceView .gp-sim-layout:not(.gp-sim-playing) #gpCanvas{height:470px;min-height:470px}}


/* Game FPS result layout fix — premium result blocks */
#gamePerformanceView .gp-verdict-hero{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:16px;
  align-items:center;
  padding:18px;
  border:1px solid #e4ebf3;
  border-radius:14px;
  background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
}
#gamePerformanceView .gp-gpu-help{
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  gap:8px 12px;
  align-items:start;
  padding:13px 14px;
  border:1px solid #f0cf8c;
  border-radius:12px;
  background:linear-gradient(135deg,#fffaf0 0%,#fff6dc 100%);
  color:#4b3413;
}
#gamePerformanceView .gp-gpu-help[hidden]{display:none}
#gamePerformanceView .gp-gpu-help-icon{
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border-radius:10px;
  background:#f59e0b;
  color:#fff;
  font-size:10px;
  font-weight:950;
  letter-spacing:.03em;
}
#gamePerformanceView .gp-gpu-help-copy{min-width:0}
#gamePerformanceView .gp-gpu-help-copy b{display:block;font-size:13px;line-height:1.35;color:#5f3c08;overflow-wrap:anywhere}
#gamePerformanceView .gp-gpu-help-copy p{margin:4px 0 0;font-size:11px;line-height:1.5;color:#73541e;overflow-wrap:anywhere}
#gamePerformanceView .gp-gpu-help-copy small{display:block;margin-top:5px;font-size:10px;line-height:1.45;color:#8b681f;overflow-wrap:anywhere}
#gamePerformanceView .gp-gpu-help button{
  grid-column:2;
  justify-self:start;
  min-height:34px;
  border:1px solid #d49317;
  border-radius:7px;
  background:#fff;
  color:#8a5600;
  padding:7px 11px;
  font-size:11px;
  font-weight:850;
  cursor:pointer;
}
#gamePerformanceView .gp-gpu-help button:hover{background:#fff9e9;border-color:#bd7900}
#gamePerformanceView .gp-verdict-copy small,
#gamePerformanceView .gp-target-head small,
#gamePerformanceView .gp-fit-head small,
#gamePerformanceView .gp-best-head small,
#gamePerformanceView .gp-profile-head small,
#gamePerformanceView .gp-best-grid small,
#gamePerformanceView .gp-profile-grid small{
  display:block;
  margin:0 0 6px;
  color:#6d7b8f;
  font-size:10px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  line-height:1.25;
}
#gamePerformanceView .gp-verdict-copy h3{
  margin:0;
  font-size:clamp(24px,2.8vw,38px);
  line-height:1.12;
  letter-spacing:-.03em;
}
#gamePerformanceView .gp-verdict-copy span{
  display:block;
  margin-top:10px;
  color:#5f6f83;
  font-size:14px;
  line-height:1.45;
}
#gamePerformanceView .gp-fps-hero{
  min-width:150px;
  display:grid;
  gap:10px;
  justify-items:end;
}
#gamePerformanceView .gp-fps-value{
  display:flex;
  align-items:flex-end;
  gap:10px;
  white-space:nowrap;
}
#gamePerformanceView .gp-fps-value b{
  font-size:clamp(42px,5vw,64px);
  line-height:.92;
  letter-spacing:-.045em;
  color:#16a34a;
}
#gamePerformanceView .gp-fps-value span{
  margin-bottom:7px;
  color:#4f647d;
  font-size:16px;
  font-weight:800;
}
#gamePerformanceView .gp-quality-label{
  justify-self:end;
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:6px 12px;
  border-radius:999px;
  background:#eaf8ef;
  color:#14803d;
  font-size:12px;
  font-weight:800;
}
#gamePerformanceView .gp-quality-label[data-level="medium"]{background:#fff6db;color:#a16207}
#gamePerformanceView .gp-quality-label[data-level="low"]{background:#feecec;color:#b91c1c}
#gamePerformanceView .gp-target-box,
#gamePerformanceView .gp-fit-box,
#gamePerformanceView .gp-best-settings,
#gamePerformanceView .gp-profile-compare{
  padding:18px;
  border:1px solid #e4ebf3;
  border-radius:14px;
  background:#fff;
}
#gamePerformanceView .gp-target-head,
#gamePerformanceView .gp-fit-head,
#gamePerformanceView .gp-best-head,
#gamePerformanceView .gp-profile-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}
#gamePerformanceView .gp-target-head b,
#gamePerformanceView .gp-fit-head b,
#gamePerformanceView .gp-best-head b,
#gamePerformanceView .gp-profile-head b{
  display:block;
  margin:0;
  color:#10233a;
  font-size:22px;
  line-height:1.2;
  letter-spacing:-.025em;
}
#gamePerformanceView .gp-target-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:flex-end;
}
#gamePerformanceView .gp-target-buttons button{
  min-width:48px;
  height:38px;
  padding:0 14px;
  border:1px solid #d7e1ec;
  border-radius:10px;
  background:#fff;
  color:#17324d;
  font-size:14px;
  font-weight:800;
}
#gamePerformanceView .gp-target-buttons button.active{
  border-color:#2b6de5;
  background:#eef4ff;
  color:#1546b7;
}
#gamePerformanceView .gp-fit-head strong,
#gamePerformanceView .gp-best-head strong{
  flex:0 0 auto;
  color:#10233a;
  font-size:28px;
  line-height:1;
  letter-spacing:-.03em;
  white-space:nowrap;
}
#gamePerformanceView .gp-fit-track{
  margin-top:14px;
  height:10px;
  border-radius:999px;
  background:#ecf2f8;
  overflow:hidden;
}
#gamePerformanceView .gp-fit-track i{
  display:block;
  height:100%;
  width:0;
  border-radius:inherit;
  background:linear-gradient(90deg,#7cc1ff 0%,#2b6de5 100%);
}
#gamePerformanceView .gp-best-grid,
#gamePerformanceView .gp-profile-grid{
  display:grid;
  gap:12px;
  margin-top:14px;
}
#gamePerformanceView .gp-best-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
#gamePerformanceView .gp-best-grid>div,
#gamePerformanceView .gp-profile-grid section,
#gamePerformanceView .gp-profile-grid section>div{
  border:1px solid #e7edf5;
  border-radius:12px;
  background:#f9fbfe;
}
#gamePerformanceView .gp-best-grid>div{
  padding:12px 14px;
}
#gamePerformanceView .gp-best-grid b{
  display:block;
  color:#10233a;
  font-size:18px;
  line-height:1.3;
}
#gamePerformanceView .gp-optimize{
  margin-top:14px;
  width:100%;
}
#gamePerformanceView .gp-profile-grid{
  grid-template-columns:repeat(3,minmax(0,1fr));
}
#gamePerformanceView .gp-profile-grid section{
  padding:14px;
}
#gamePerformanceView .gp-profile-grid section.is-current{
  border-color:#cbdcff;
  background:#f4f8ff;
  box-shadow:inset 0 0 0 1px #e2ecff;
}
#gamePerformanceView .gp-profile-grid h4{
  margin:0 0 12px;
  font-size:16px;
  line-height:1.25;
}
#gamePerformanceView .gp-profile-grid section>div{
  padding:10px 12px;
}
#gamePerformanceView .gp-profile-grid section>div+div{margin-top:10px}
#gamePerformanceView .gp-profile-grid strong{
  display:block;
  color:#10233a;
  font-size:14px;
  line-height:1.45;
  word-break:break-word;
}
#gamePerformanceView .gp-profile-grid #gpCheckGpu,
#gamePerformanceView .gp-profile-grid #gpCheckCpu,
#gamePerformanceView .gp-profile-grid #gpCheckRam{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:0;
  height:auto;
  padding:3px 7px;
  margin-left:6px;
  border-radius:999px;
  background:#ecf3ff;
  color:#2559cb;
  font-size:10px;
  line-height:1.15;
  white-space:nowrap;
}
#gamePerformanceView .gp-profile-grid .warn{background:#fff3db;color:#b45309}
#gamePerformanceView .gp-profile-grid .ok{background:#eaf8ef;color:#15803d}
#gamePerformanceView .gp-profile-note{
  margin:12px 0 0;
  color:#627286;
  font-size:12px;
  line-height:1.6;
}
@media(max-width:980px){
  #gamePerformanceView .gp-best-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  #gamePerformanceView .gp-profile-grid{grid-template-columns:1fr}
}
@media(max-width:700px){
  #gamePerformanceView .gp-verdict-hero,
  #gamePerformanceView .gp-target-head,
  #gamePerformanceView .gp-fit-head,
  #gamePerformanceView .gp-best-head,
  #gamePerformanceView .gp-profile-head{
    grid-template-columns:1fr;
    display:grid;
    justify-content:stretch;
  }
  #gamePerformanceView .gp-fps-hero,
  #gamePerformanceView .gp-quality-label{justify-self:start}
  #gamePerformanceView .gp-fps-value{gap:8px}
  #gamePerformanceView .gp-fps-value b{font-size:56px}
  #gamePerformanceView .gp-target-buttons{justify-content:flex-start}
  #gamePerformanceView .gp-fit-head strong,
  #gamePerformanceView .gp-best-head strong{font-size:24px}
  #gamePerformanceView .gp-best-grid{grid-template-columns:1fr}
  #gamePerformanceView .gp-target-box,
  #gamePerformanceView .gp-fit-box,
  #gamePerformanceView .gp-best-settings,
  #gamePerformanceView .gp-profile-compare{padding:15px}
}


/* Final visual audit — 2026-08-15 */
#gamePerformanceView .gp-verdict-copy{min-width:0}
#gamePerformanceView .gp-layout>aside.gp-stack,
#gamePerformanceView .gp-result-card,
#gamePerformanceView .gp-result-card #gpResultContent,
#gamePerformanceView .gp-verdict-hero,
#gamePerformanceView .gp-verdict-copy{
  min-width:0;
  max-width:100%;
}
#gamePerformanceView .gp-verdict-copy h3{
  max-width:100%;
  font-size:clamp(20px,1.75vw,27px);
  line-height:1.14;
  overflow-wrap:anywhere;
}
#gamePerformanceView .gp-verdict-copy span{
  max-width:100%;
  white-space:normal;
  overflow-wrap:anywhere;
}
#gamePerformanceView .gp-fps-hero{min-width:128px}
#gamePerformanceView .gp-fps-value b{font-size:clamp(42px,3.8vw,54px)}
#gamePerformanceView .gp-fps-value span{font-size:13px;margin-bottom:5px}

/* A two-column result needs more room than the old 980 px breakpoint.
   Stack the main columns earlier on smaller laptops/tablets. */
@media(max-width:1100px){
  #gamePerformanceView .gp-layout{grid-template-columns:1fr}
  #gamePerformanceView .gp-layout>.gp-stack:first-child,
  #gamePerformanceView .gp-layout>aside.gp-stack,
  #gamePerformanceView .gp-layout>.gp-sim-card{grid-column:1;grid-row:auto}
  #gamePerformanceView .gp-result-card{position:static}
  #gamePerformanceView .gp-sim-layout{grid-template-columns:1fr}
  #gamePerformanceView .gp-sim-side{border-left:0;border-top:1px solid #dbe5ef}
  #gamePerformanceView .gp-touch-controls{display:grid}
}
@media(max-width:700px){
  #gamePerformanceView .gp-verdict-copy h3{font-size:22px}
}

/* Game FPS audit fixes — 2026-08-15 */
#gamePerformanceView .gp-stage{position:relative}
#gamePerformanceView .gp-stage-start-overlay{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;z-index:5;
  pointer-events:auto;background:radial-gradient(circle at center,rgba(10,22,38,.06) 0%,rgba(10,22,38,.13) 48%,rgba(10,22,38,.20) 100%);
  opacity:1;visibility:visible;transition:opacity .26s ease,visibility .26s ease
}
#gamePerformanceView .gp-stage-start-overlay.hidden{opacity:0;visibility:hidden;pointer-events:none}
#gamePerformanceView .gp-stage-start-overlay .gp-start-sim{
  pointer-events:auto;position:relative;display:inline-flex;flex-direction:row;align-items:center;justify-content:center;gap:10px;
  width:auto;min-width:176px;max-width:none;height:52px;min-height:52px;margin:0;padding:0 20px;border-radius:12px;
  border:1px solid rgba(255,255,255,.26);background:linear-gradient(180deg,#3b82f6 0%,#2563eb 55%,#1d4ed8 100%);color:#fff;
  box-shadow:0 12px 28px rgba(9,36,92,.34),inset 0 1px 0 rgba(255,255,255,.18);font-size:12px;font-weight:850;line-height:1;
  letter-spacing:.01em;text-align:center;text-shadow:0 1px 1px rgba(0,0,0,.16);transition:transform .16s ease,box-shadow .16s ease,filter .16s ease
}
#gamePerformanceView .gp-stage-start-overlay .gp-start-sim::before{content:"▶";display:block;font-size:18px;line-height:1;transform:translateX(1px);filter:drop-shadow(0 1px 1px rgba(0,0,0,.18))}
#gamePerformanceView .gp-stage-start-overlay .gp-start-sim:hover{transform:translateY(-2px);filter:brightness(1.05);box-shadow:0 15px 32px rgba(9,36,92,.40),inset 0 1px 0 rgba(255,255,255,.22)}
#gamePerformanceView .gp-stage-start-overlay .gp-start-sim:active{transform:translateY(0) scale(.98)}
#gamePerformanceView .gp-sim-side .gp-start-sim{display:none}
#gamePerformanceView .gp-setting-note{display:block;margin:7px 2px 0;color:#7a8798;font-size:10.5px;line-height:1.35}
#gamePerformanceView .gp-setting-note[hidden]{display:none}
#gamePerformanceView .gp-setting.is-unavailable .gp-segmented button:disabled{opacity:.42;cursor:not-allowed;filter:saturate(.45)}
#gamePerformanceView .gp-target-buttons button:disabled{opacity:.4;cursor:not-allowed}
#gamePerformanceView .gp-refresh-note{display:block;grid-column:1/-1;margin-top:5px;color:#7a8798;font-size:10.5px;line-height:1.35;font-weight:600}
@media(max-width:640px){
  #gamePerformanceView .gp-stage-start-overlay .gp-start-sim{min-width:164px;height:48px;min-height:48px;padding:0 16px;font-size:11.5px}
  #gamePerformanceView .gp-stage-start-overlay .gp-start-sim::before{font-size:17px}
}
