/* google_auth.css - Google sign-in button, my-page Google card, small fixes (40 proposal v1_0, 2026-10-16, before YUKARI approval)
 *
 * Button = Google's light theme: white fill, 1px #747775 border, #1f1f1f text, the multicolor G on the left, 12 px gap.
 * Height 48 px (Google asks 40 px or more; 48 px matches the other form buttons). Corner radius = the site's form radius (10 px).
 * Text size / weight = the site's button text (16 px, 600) - the size may be scaled, the localized wording must be Google's own.
 * Hover / pressed = a dark overlay (8 % / 12 %) on the white fill (Google's rule). No disabled state (the button is never disabled).
 * Only the three Google sign-in / sign-up buttons get this look (login, sign-up S1, invite S1). Buttons with the class panel-action
 * (my-page link button) and the withdraw button keep the site's own look and do NOT show the G (see section 2).
 * Colors: the my-page colors already in use (navy #10134f, text #1a1a1a, gold #be994d) + Google's own #747775 / #1f1f1f for the button.
 * Keep every comment ASCII-only. */

/* ---- 1. the Google button (login, sign-up S1, invite S1) ----
 * v1_1: the class is written twice on purpose (specificity 0,3,1). The light theme (member_skin.css 46 / app_theme_light.css 114) has
 * body.fv-light .border-mystic-gold { border-color: ... !important } at 0,2,1 and loads after this file; with 0,3,1 the grey border stays
 * even if a button still carries border-mystic-gold. Also remove those classes from the button markup. */
body .fv-google-button.fv-google-button:not(.panel-action) {
  display: flex !important; align-items: center; justify-content: center; gap: 12px;
  width: 100%; min-height: 48px; box-sizing: border-box; padding: 0 16px;
  background-color: #ffffff; background-image: none; color: #1f1f1f !important;
  border: 1px solid #747775 !important; border-radius: 10px;
  font-family: inherit; font-size: 16px !important; font-weight: 600 !important; line-height: 1.4 !important;
  text-align: center; text-decoration: none; cursor: pointer;
}
body .fv-google-button.fv-google-button:not(.panel-action):hover { background-image: linear-gradient(rgba(48, 48, 48, .08), rgba(48, 48, 48, .08)); }
body .fv-google-button.fv-google-button:not(.panel-action):active { background-image: linear-gradient(rgba(48, 48, 48, .12), rgba(48, 48, 48, .12)); }
body .fv-google-button.fv-google-button:not(.panel-action):focus-visible { outline: 2px solid #10134f; outline-offset: 2px; background-image: linear-gradient(rgba(48, 48, 48, .12), rgba(48, 48, 48, .12)); }
.fv-google-logo { display: block; flex: none; width: 20px; height: 20px; }

/* ---- 2. where the G is NOT shown: the my-page link button and the withdraw button (their text is not a Google sign-in text) ---- */
.panel-action .fv-google-logo,
#withdraw-google-submit .fv-google-logo { display: none; }

/* ---- 3. my-page "Google link" card (account page, under the registration info) ---- */
body.fv-mypage #mypage-google .fv-google-password {
  display: block; width: 100%; max-width: 24em; box-sizing: border-box; padding: 10px 12px;
  border: 1px solid #be994d; border-radius: 8px; background: #ffffff; color: #1a1a1a; font-size: 16px;
}
body.fv-mypage #mypage-google [role="alert"] { color: #b3261e !important; font-weight: 600; }
@media (max-width: 767px) {
  body.fv-mypage #mypage-google .fv-google-password { max-width: none; }
}
