body:has(#ggwd) .p-articleHead .c-postTitle__date,
body:has(#ggwd) .p-articleMetas.-top { display: none; }

.ggwd {
  --bg: #fff;
  --surface: #fff;
  --ink: #191919;
  --muted: #666;
  --line: #dedede;
  --soft: #f5f5f5;
  --card-line: #c9c9c9;
  --card-end: #f6f6f6;
  --accent: var(--color_main, #d93737);
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: min(1440px, calc(100vw - 32px));
  max-width: none;
  background: var(--bg);
  color: var(--ink);
  color-scheme: light;
  font-family: inherit;
  line-height: 1.5;
  padding: 0 clamp(16px, 3.5vw, 52px) 72px;
}
.ggwd *, .ggwd *::before, .ggwd *::after { box-sizing: border-box; }
.ggwd [hidden] { display: none !important; }
.ggwd button, .ggwd input { font: inherit; }
.ggwd button { cursor: pointer; }
.ggwd a { color: inherit; text-decoration: none; }
.ggwd :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.ggwd-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.ggwd-standalone-title { display: none; }
body.ggwd-preview .ggwd-standalone-title { display: block; }
.ggwd-standalone-title h1 { margin: 32px 0 24px; font-family: inherit; font-size: clamp(42px, 6vw, 80px); letter-spacing: -.05em; }
.ggwd-search-row { display: flex; align-items: center; gap: clamp(12px, 2vw, 24px); width: 100%; }
.ggwd-appbar-actions { display: flex; align-items: center; flex-shrink: 0; gap: clamp(12px, 2vw, 28px); margin-left: auto; }
.ggwd-language { display: flex; align-items: center; border: 1px solid var(--line); }
.ggwd-language button { min-height: 38px; padding: 0 12px; border: 0; background: transparent; color: var(--muted); font-size: 12px; font-weight: 700; }
.ggwd-language button[aria-pressed="true"] { color: var(--ink); background: var(--soft); }
.ggwd-main { padding-top: clamp(12px, 2vw, 24px); }
.ggwd-controls { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.ggwd-search-wrap { position: relative; flex: 1 1 720px; min-width: 0; max-width: 720px; height: 62px; }
.ggwd-search-wrap svg { position: absolute; top: 20px; left: 20px; width: 21px; height: 21px; fill: none; stroke: var(--muted); stroke-width: 1.8; pointer-events: none; }
.ggwd-search-wrap input { display: block; width: 100%; height: 100%; padding: 0 48px 0 56px; border: 1px solid var(--line); border-radius: 0; background: var(--surface); color: var(--ink); outline: none; font-size: 16px; }
.ggwd-search-wrap input:focus { border-color: var(--ink); }
.ggwd-search-wrap input::placeholder { color: var(--muted); }
.ggwd-filter { display: flex; flex-wrap: wrap; gap: 8px; max-width: 100%; }
.ggwd-filter button { min-height: 44px; padding: 0 20px; border: 1px solid var(--line); border-radius: 0; background: var(--surface); color: var(--ink); font-size: 13px; font-weight: 700; }
.ggwd-filter button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.ggwd-filter button:hover:not([aria-pressed="true"]) { border-color: var(--ink); }
.ggwd-listbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 58px; margin: clamp(34px, 5vw, 64px) 0 22px; border-bottom: 1px solid var(--line); }
.ggwd-view { display: flex; align-items: center; gap: 24px; }
.ggwd-view > button { min-height: 54px; padding: 0 2px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted); font-size: 14px; font-weight: 700; white-space: nowrap; }
.ggwd-view > button[aria-pressed="true"] { border-color: var(--accent); color: var(--ink); }
.ggwd-view > button span span, .ggwd-view #ggwd-fav-count { margin-left: 4px; color: var(--muted); font-size: 11px; }
.ggwd-count { color: var(--muted); font-size: 12px; white-space: nowrap; }
.ggwd-info-wrap { position: relative; }
.ggwd-info { width: 26px; height: 26px; padding: 0; border: 1px solid var(--muted); border-radius: 50%; background: none; color: var(--muted); font: italic 15px Georgia, serif !important; }
.ggwd-tooltip { display: none; position: absolute; z-index: 8; top: 37px; left: 0; width: min(320px, calc(100vw - 40px)); padding: 16px; background: var(--ink); color: var(--bg); font-size: 12px; line-height: 1.65; box-shadow: 0 6px 18px #0002; }
.ggwd-info[aria-expanded="true"] + .ggwd-tooltip, .ggwd-info:focus-visible + .ggwd-tooltip { display: block; }
@media (hover: hover) { .ggwd-info-wrap:hover .ggwd-tooltip { display: block; } }
.ggwd-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.ggwd-card { position: relative; min-width: 0; height: 262px; margin: 0; border: 1px solid var(--card-line); background: linear-gradient(145deg, var(--surface) 25%, var(--card-end)); box-shadow: none; transition: border-color .15s ease; }
.ggwd-card:hover, .ggwd-card:focus-within { border-color: var(--ink); }
.ggwd-card-link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; width: 100%; height: 100%; padding: 44px 34px 18px; text-align: center; }
.ggwd-logo-stage { display: flex; align-items: center; justify-content: center; flex: none; width: 152px; height: 152px; max-width: 100%; border: 1px solid #ddd; border-radius: 50%; background: linear-gradient(145deg, #fff 35%, #f0f0f0); overflow: hidden; }
.ggwd-card[data-brand="razer"] .ggwd-logo-stage { background: #111; }
.ggwd-card[data-brand="lamzu"] .ggwd-logo-stage { background: #000; border-color: #000; }
.ggwd-card[data-brand="wlmouse"] .ggwd-logo-stage { background: #f49f1a; border-color: #f49f1a; }
.ggwd-card[data-brand="sprime"] .ggwd-logo-stage { background: #f00; border-color: #f00; }
.ggwd-logo { display: block; width: 100%; height: 100%; object-fit: contain; }
.ggwd-card[data-brand="razer"] .ggwd-logo { transform: translateX(-7px); }
.ggwd-card[data-brand="rawm"] .ggwd-logo { transform: scale(1.62); }
.ggwd-card[data-brand="inphic"] .ggwd-logo { transform: scale(1.35); }
.ggwd-card[data-brand="vancer"] .ggwd-logo { transform: scale(1.28); }
.ggwd-card[data-brand="nuphy"] .ggwd-logo { transform: scale(1.24); }
.ggwd-card[data-brand="waizowl"] .ggwd-logo { transform: scale(.78); }
.ggwd-card[data-brand="wlmouse"] .ggwd-logo { transform: scale(1.24); }
.ggwd-wordmark { display: block; max-width: 124px; color: #222; font-family: Arial, Helvetica, sans-serif; font-size: clamp(17px, 1.7vw, 23px); font-weight: 900; letter-spacing: -.035em; line-height: 1.12; overflow-wrap: anywhere; }
.ggwd-name { color: var(--ink); font-size: 12px; font-weight: 700; line-height: 1.3; }
.ggwd-star { position: absolute; z-index: 2; top: 10px; right: 10px; display: grid; place-items: center; width: 50px; height: 50px; padding: 0; border: 1px solid var(--card-line); border-radius: 50%; background: var(--surface); color: var(--muted); font-size: 32px; line-height: 1; }
.ggwd-star:hover { border-color: var(--accent); color: var(--accent); }
.ggwd-star[aria-pressed="true"] { color: #e9a300; text-shadow: 0 0 8px #f4ad4080; }
.ggwd-order { position: absolute; bottom: 8px; left: 8px; display: flex; gap: 3px; }
.ggwd-order button { width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--surface); color: var(--ink); font-size: 22px; }
.ggwd-order .ggwd-drag { display: grid; place-items: center; cursor: grab; touch-action: none; }
.ggwd-order .ggwd-drag::before { content: ''; display: block; width: 14px; height: 21px; background: radial-gradient(circle, currentColor 1.6px, transparent 2px) 0 0 / 7px 7px; }
.ggwd-order .ggwd-drag:active { cursor: grabbing; }
.ggwd-card.ggwd-dragging { z-index: 3; border-color: var(--accent); background: var(--soft); }
.ggwd-empty { padding: 60px 24px; border: 1px solid var(--line); color: var(--muted); font-size: 14px; text-align: center; }
.ggwd-fav-tools { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; margin-top: 72px; }
.ggwd-backup-note { margin: 0; color: var(--muted); font-size: 13px; }
.ggwd-backup-actions { display: flex; flex-wrap: wrap; gap: 18px; }
.ggwd-fav-tools button { min-height: 44px; padding: 8px 15px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 12px; }
.ggwd-fav-tools button:hover { border-color: var(--ink); }
.ggwd-request { margin-top: 44px; padding: 22px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); }
.ggwd-request h2 { margin: 0 0 14px; font-size: 17px; font-weight: 700; }
.ggwd-request .wpforms-container { margin: 0 !important; }
.ggwd-request .wpforms-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; }
.ggwd-request .wpforms-form:has(.wpforms-recaptcha-container) { grid-template-columns: minmax(0, 1fr) 302px auto; }
.ggwd-request .wpforms-field-container { display: grid; min-width: 0; grid-template-columns: minmax(135px, .32fr) minmax(220px, 1fr); align-items: end; gap: 10px; }
.ggwd-request .wpforms-recaptcha-container { min-width: 0; padding: 0 !important; align-self: end; }
.ggwd-request .wpforms-field { padding: 0 !important; }
.ggwd-request .wpforms-field-label { margin-bottom: 5px !important; color: var(--muted) !important; font-size: 12px !important; font-weight: 600 !important; }
.ggwd-request .wpforms-field-limit-text { display: none !important; }
.ggwd-request .wpforms-field select, .ggwd-request .wpforms-field input[type="text"] { width: 100% !important; max-width: none !important; min-height: 46px !important; border: 1px solid var(--line) !important; border-radius: 0 !important; background: var(--surface) !important; color: var(--ink) !important; font: inherit !important; }
.ggwd-request .wpforms-submit-container { align-self: end; margin: 0 !important; padding: 0 !important; }
.ggwd-request button.wpforms-submit { min-height: 46px !important; padding: 0 24px !important; border: 1px solid var(--ink) !important; border-radius: 0 !important; background: var(--ink) !important; color: var(--surface) !important; font: inherit !important; font-weight: 700 !important; }
.ggwd-request .wpforms-error, .ggwd-request .wpforms-confirmation-container { width: 100%; font-size: 13px; }
.ggwd-updates { margin-top: 34px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--ink); font-size: 13px; }
.ggwd-updates summary { display: flex; align-items: center; gap: 16px; min-height: 48px; list-style: none; cursor: pointer; font-weight: 700; }
.ggwd-updates summary::-webkit-details-marker { display: none; }
.ggwd-updates summary time { color: var(--muted); font-size: 11px; font-weight: 400; }
.ggwd-updates summary::after { content: ''; width: 7px; height: 7px; margin-left: auto; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); }
.ggwd-updates[open] summary::after { transform: rotate(225deg); }
.ggwd-updates ol { margin: 0; padding: 0 0 10px; list-style: none; }
.ggwd-updates li { display: grid; grid-template-columns: 94px minmax(0, 1fr); gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); line-height: 1.6; }
.ggwd-updates li time { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.ggwd[data-language="ja"] .ggwd-update-en, .ggwd[data-language="en"] .ggwd-update-ja { display: none; }
.ggwd-status { min-height: 1.5em; margin: 18px 0 0; color: var(--muted); font-size: 12px; }
@media (max-width: 1050px) { .ggwd-grid { grid-template-columns: repeat(3, minmax(0,1fr)); } }
@media (max-width: 1050px) { .ggwd-request .wpforms-form:has(.wpforms-recaptcha-container) { grid-template-columns: minmax(0, 1fr) auto; } .ggwd-request .wpforms-recaptcha-container { grid-column: 1; } .ggwd-request .wpforms-submit-container { grid-column: 2; } }
@media (max-width: 700px) {
  .ggwd { width: calc(100vw - 20px); padding: 0 12px 60px; }
  .ggwd-search-row { gap: 8px; }
  .ggwd-appbar-actions { gap: 8px; }
  .ggwd-language { height: 56px; }
  .ggwd-language button { height: 100%; min-height: 0; padding: 0 10px; }
  .ggwd-main { padding-top: 18px; }
  .ggwd-controls { gap: 16px; }
  .ggwd-search-wrap { flex-basis: auto; height: 56px; }
  .ggwd-search-wrap svg { top: 17px; }
  .ggwd-filter { width: 100%; }
  .ggwd-filter button { flex: 1 1 auto; padding: 0 12px; }
  .ggwd-listbar { margin-top: 32px; }
  .ggwd-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .ggwd-card { height: 224px; }
  .ggwd-card-link { padding: 38px 10px 12px; gap: 10px; }
  .ggwd-logo-stage { width: 120px; height: 120px; }
  .ggwd-star { top: 6px; right: 6px; width: 42px; height: 42px; font-size: 28px; }
  .ggwd-order button { width: 38px; height: 38px; }
  .ggwd-wordmark { font-size: clamp(16px, 4vw, 23px); }
  .ggwd-tooltip { position: fixed; top: auto; bottom: 16px; left: 16px; right: 16px; width: auto; }
  .ggwd-request { padding: 16px; }
  .ggwd-request .wpforms-form, .ggwd-request .wpforms-field-container { grid-template-columns: 1fr; }
  .ggwd-request .wpforms-form:has(.wpforms-recaptcha-container) { grid-template-columns: 1fr; }
  .ggwd-request .wpforms-recaptcha-container, .ggwd-request .wpforms-submit-container { grid-column: 1; }
  .ggwd-request .wpforms-submit-container, .ggwd-request button.wpforms-submit { width: 100% !important; }
}
@media (max-width: 380px) { .ggwd-grid { grid-template-columns: 1fr; } .ggwd-card { height: 224px; } }
@media (prefers-reduced-motion: reduce) { .ggwd-card { transition: none; } }
