/* Member profile — game_tgn_0001 neon cyber theme */

:root {
  --g01-ink: var(--color-text-primary, #fff);
  --g01-ink-muted: var(--color-text-muted, #6b6b7b);
  --g01-accent-text: var(--color-primary, #00f5ff);
  --g01-accent-alt: var(--color-secondary, #ff00ff);
  --g01-paper: var(--color-bg-card, #16162a);
  --g01-paper-deep: var(--color-bg-tertiary, #1a1a2e);
  --g01-card: var(--color-bg-secondary, #12121a);
  --star-white: var(--color-text-primary, #fff);
  --ink-muted: var(--color-text-secondary, #b4b4c4);
  --g01-font: var(--font-family, 'Inter', sans-serif);
}

.g01-profile-page button,
.g01-profile-page .g01-stat-badge,
.g01-profile-page .g01-profile-form label,
.g01-profile-page .g01-profile-nav-item,
.g01-profile-page .g01-btn-secondary,
.g01-profile-page .g01-btn-remove,
.g01-profile-page .g01-btn-load-more,
.g01-profile-page .g01-btn-clear {
  text-transform: none;
}

.g01-profile-page {
  flex: 1;
  padding: calc(var(--header-height, 80px) + 28px) 0 48px;
}

.g01-page-wrap {
  width: 100%;
  max-width: var(--container-width, 1200px);
  margin: 0 auto;
  padding: 0 var(--container-padding, 20px);
  box-sizing: border-box;
}

.g01-profile-layout {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

/* Sidebar */
.g01-profile-sidebar {
  flex: 0 0 260px;
  background: var(--g01-paper);
  border: 1px solid var(--color-border, #2a2a3e);
  border-radius: var(--radius-xl, 16px);
  box-shadow: var(--shadow-lg, 0 8px 24px rgba(0, 0, 0, 0.6)), var(--glow-cyan, 0 0 20px rgba(0, 245, 255, 0.1));
  padding: 1.25rem 1rem 1rem;
  position: sticky;
  top: calc(var(--header-height, 80px) + 12px);
}

.g01-profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 12px;
  border: 2px solid var(--g01-accent-text);
  box-shadow: 0 0 14px rgba(0, 245, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-bg-primary, #0a0a0f);
  background: var(--gradient-primary, linear-gradient(135deg, #00f5ff, #ff00ff));
}

.g01-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g01-profile-name {
  margin: 0 0 4px;
  font-family: var(--g01-font);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--g01-ink);
  line-height: 1.25;
  word-break: break-word;
}

.g01-profile-email {
  margin: 0 0 1rem;
  font-size: 0.8125rem;
  color: var(--ink-muted);
  word-break: break-all;
  line-height: 1.35;
}

.g01-profile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 4px;
  border-top: 1px solid var(--color-border, #2a2a3e);
}

.g01-profile-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink-muted);
  text-decoration: none;
  border-left: 3px solid transparent;
  border-radius: 0 8px 8px 0;
  background: transparent;
  border-top: none;
  border-right: none;
  border-bottom: none;
  cursor: pointer;
  text-align: left;
  width: 100%;
  font-family: inherit;
  transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.g01-profile-nav-item:hover {
  color: var(--g01-accent-text);
  background: rgba(0, 245, 255, 0.08);
}

.g01-profile-nav-item.active {
  color: var(--g01-accent-text);
  border-left-color: var(--g01-accent-text);
  background: rgba(0, 245, 255, 0.1);
  box-shadow: inset 0 0 12px rgba(0, 245, 255, 0.06);
}

.g01-profile-nav-item .g01-nav-icon {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  display: inline-block;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.g01-profile-nav-item .g01-nav-icon--heart {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E");
}

.g01-profile-nav-item .g01-nav-icon--clock {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2a10 10 0 100 20 10 10 0 000-20zm0 2a8 8 0 110 16 8 8 0 010-16zm-.5 4v4.25l3.5 2.1.75-1.23-3-1.8V8H11.5z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 2a10 10 0 100 20 10 10 0 000-20zm0 2a8 8 0 110 16 8 8 0 010-16zm-.5 4v4.25l3.5 2.1.75-1.23-3-1.8V8H11.5z'/%3E%3C/svg%3E");
}

.g01-profile-nav-item .g01-nav-icon--user {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 12a4 4 0 100-8 4 4 0 000 8zm-6 8a6 6 0 0112 0H6z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M12 12a4 4 0 100-8 4 4 0 000 8zm-6 8a6 6 0 0112 0H6z'/%3E%3C/svg%3E");
}

.g01-profile-nav-item .g01-nav-icon--lock {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M17 9h-1V7a4 4 0 00-8 0v2H7a2 2 0 00-2 2v8a2 2 0 002 2h10a2 2 0 002-2v-8a2 2 0 00-2-2zm-3 0h-4V7a2 2 0 114 0v2z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M17 9h-1V7a4 4 0 00-8 0v2H7a2 2 0 00-2 2v8a2 2 0 002 2h10a2 2 0 002-2v-8a2 2 0 00-2-2zm-3 0h-4V7a2 2 0 114 0v2z'/%3E%3C/svg%3E");
}

/* Main content */
.g01-profile-main {
  flex: 1;
  min-width: 0;
}

.g01-profile-panel { display: none; }
.g01-profile-panel.active { display: block; width: 100%; }

.g01-profile-card {
  background: var(--g01-paper);
  border: 1px solid var(--color-border, #2a2a3e);
  border-radius: var(--radius-xl, 16px);
  padding: 1.25rem 1.5rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-md, 0 4px 12px rgba(0, 0, 0, 0.5));
}

.g01-profile-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 1.25rem;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border, #2a2a3e);
}

.g01-profile-card-title {
  margin: 0;
  font-family: var(--g01-font);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--g01-ink);
}

.g01-profile-section-title {
  margin: 0 0 1rem;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--color-border, #2a2a3e);
}

.g01-stat-badge {
  display: inline-block;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--g01-accent-text);
  background: rgba(0, 245, 255, 0.1);
  border: 1px solid rgba(0, 245, 255, 0.45);
  border-radius: var(--radius-full, 9999px);
  white-space: nowrap;
}

/* Game grid */
.g01-game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}

.article-list .special-card-content,
.article-list .carousel-card-content {
  padding: 12px 14px 16px;
}

.article-list .game-title,
.article-list .card-title,
.g01-profile-card .g01-game-card .game-title {
  display: block;
  max-width: 100%;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.g01-profile-card .g01-game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--g01-card);
  border: 1px solid var(--color-border, #2a2a3e);
  border-radius: var(--radius-md, 8px);
  overflow: hidden;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.g01-profile-card .g01-game-card:hover {
  transform: translateY(-2px);
  border-color: var(--g01-accent-alt);
}

.g01-profile-card .g01-ranked-thumb {
  display: block;
  flex-shrink: 0;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(0, 245, 255, 0.08);
  text-decoration: none;
}

.g01-profile-card .g01-ranked-thumb img,
.g01-profile-card .g01-ranked-thumb .g01-img-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.g01-profile-card .g01-ranked-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.g01-profile-card .g01-game-card .game-title {
  margin: 0 0 6px;
  font-family: var(--g01-font);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25;
}

.g01-profile-card .g01-game-card .game-title a {
  display: block;
  max-width: 100%;
  color: var(--g01-ink);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.g01-profile-card .g01-game-card .game-title a:hover {
  color: var(--g01-accent-text);
}

.g01-profile-card .g01-game-card .game-star {
  margin-bottom: 8px;
}

.g01-profile-card .g01-game-card .game-star .star-full,
.g01-profile-card .g01-game-card .game-star .star-empty,
.g01-profile-card .g01-game-card .game-star .star-icon,
.g01-profile-card .g01-game-card .game-star i {
  font-size: 0.75rem;
}

.g01-profile-card .g01-game-card .g01-card-tags {
  display: flex;
  flex-wrap: wrap;
  margin: 2px 0 4px;
  gap: 4px;
}

.g01-profile-card .g01-game-card .g01-tag-chip {
  font-size: 0.625rem;
  padding: 2px 6px;
  color: var(--g01-accent-text);
  background: rgba(0, 245, 255, 0.1);
  border: 1px solid rgba(0, 245, 255, 0.25);
  border-radius: var(--radius-full, 9999px);
}

.g01-profile-card .g01-game-card .brief-comment-game {
  margin-top: 2px;
  font-size: 0.75rem;
  color: var(--ink-muted);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
}

.g01-profile-card .g01-game-card .g01-card-index {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 1;
  font-size: 0.625rem;
  font-weight: 700;
  padding: 2px 7px;
  color: var(--color-bg-primary, #0a0a0f);
  background: var(--g01-accent-text);
  border-radius: var(--radius-sm, 4px);
}

.g01-profile-card .g01-game-card .g01-btn-remove {
  margin-top: auto;
  min-height: 36px;
  font-size: 0.75rem;
}

/* Buttons */
.g01-btn-remove,
.g01-btn-clear,
.g01-btn-load-more,
.g01-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  border-radius: var(--radius-md, 8px);
  border: 1px solid var(--color-border, #2a2a3e);
  transition: color 0.18s ease, background 0.18s ease, border-color 0.18s ease, opacity 0.18s ease;
}

.g01-btn-remove {
  width: 100%;
  color: var(--ink-muted);
  background: transparent;
}

.g01-btn-remove:hover {
  color: #fff;
  background: var(--g01-accent-alt);
  border-color: var(--g01-accent-alt);
}

.g01-btn-remove--inline {
  width: auto;
}

.g01-btn-clear {
  color: var(--g01-accent-alt);
  background: transparent;
  border-color: rgba(255, 0, 255, 0.5);
}

.g01-btn-clear:hover {
  color: #fff;
  background: var(--g01-accent-alt);
  border-color: var(--g01-accent-alt);
}

.g01-btn-load-more {
  width: 100%;
  margin-top: 1rem;
  color: var(--color-bg-primary, #0a0a0f);
  background: var(--gradient-primary, linear-gradient(135deg, #00f5ff, #ff00ff));
  border: none;
  font-weight: 800;
}

.g01-btn-load-more:hover {
  opacity: 0.92;
  box-shadow: var(--glow-cyan, 0 0 16px rgba(0, 245, 255, 0.4));
}

.g01-btn-load-more--inline {
  width: auto;
  min-width: 160px;
  margin-top: 0;
}

.g01-loading[hidden],
.g01-empty-state[hidden],
.g01-btn-load-more[hidden] {
  display: none !important;
}

.g01-btn-secondary {
  color: var(--g01-ink);
  background: rgba(0, 245, 255, 0.1);
  border-color: rgba(0, 245, 255, 0.45);
  cursor: pointer;
}

.g01-btn-secondary:hover {
  background: rgba(0, 245, 255, 0.18);
}

/* Empty & loading */
.g01-empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--ink-muted);
  border: 1px dashed var(--color-border, #2a2a3e);
  border-radius: var(--radius-lg, 12px);
  background: rgba(18, 18, 26, 0.45);
}

.g01-empty-state i {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
  color: var(--g01-accent-text);
  opacity: 0.55;
}

.g01-loading {
  text-align: center;
  padding: 2rem;
  color: var(--ink-muted);
}

.g01-loading-spinner {
  display: inline-block;
  width: 28px;
  height: 28px;
  border: 3px solid rgba(0, 245, 255, 0.15);
  border-top-color: var(--g01-accent-text);
  border-radius: 50%;
  animation: g01-profile-spin 0.7s linear infinite;
  margin-bottom: 10px;
}

@keyframes g01-profile-spin {
  to { transform: rotate(360deg); }
}

/* Avatar upload */
.g01-avatar-upload {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--color-border, #2a2a3e);
}

.g01-avatar-preview {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--g01-accent-text);
  box-shadow: 0 0 14px rgba(0, 245, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-bg-primary, #0a0a0f);
  background: var(--gradient-primary, linear-gradient(135deg, #00f5ff, #ff00ff));
}

.g01-avatar-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g01-avatar-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.g01-avatar-hint {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--ink-muted);
}

/* Toast */
.g01-toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-120%);
  z-index: 40000;
  max-width: min(420px, 90vw);
  padding: 12px 20px;
  font-size: 0.875rem;
  font-weight: 700;
  text-align: center;
  border: 2px solid transparent;
  border-radius: var(--radius-md, 8px);
  box-shadow: var(--shadow-lg, 0 8px 24px rgba(0, 0, 0, 0.6));
  transition: transform 0.28s ease;
  pointer-events: none;
}

.g01-toast.show {
  transform: translateX(-50%) translateY(0);
}

.g01-toast.success {
  color: #1e5631;
  background: #e8f5e9;
  border-color: #27ae60;
}

.g01-toast.error {
  color: #7b1e1e;
  background: #fdecea;
  border-color: var(--color-error, #ff3131);
}

.g01-toast.warning {
  color: #7a5c00;
  background: #fff8e1;
  border-color: #f9a825;
}

/* Forms */
.g01-profile-form {
  width: 100%;
  max-width: 100%;
}

.g01-profile-form .g01-form-group { margin-bottom: 1rem; }

.g01-profile-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
}

.g01-profile-form .g01-form-input {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  font: inherit;
  font-size: 0.9375rem;
  color: var(--g01-ink);
  background: var(--g01-card);
  border: 1px solid var(--color-border, #2a2a3e);
  border-radius: var(--radius-md, 8px);
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.g01-profile-form .g01-form-input:focus {
  border-color: var(--g01-accent-text);
  box-shadow: 0 0 0 2px rgba(0, 245, 255, 0.2);
}

.g01-profile-form .g01-form-input[disabled] {
  opacity: 0.65;
  cursor: not-allowed;
}

/* Confirm modal */
.g01-confirm-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 30000;
  background: rgba(10, 10, 15, 0.72);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.g01-confirm-overlay.show { display: flex; }

.g01-confirm-modal {
  width: 100%;
  max-width: 380px;
  padding: 1.75rem;
  background: var(--g01-paper);
  border: 1px solid var(--color-border, #2a2a3e);
  border-radius: var(--radius-xl, 16px);
  box-shadow: var(--shadow-xl, 0 12px 32px rgba(0, 0, 0, 0.7)), 0 0 24px rgba(255, 0, 255, 0.12);
  text-align: center;
}

.g01-confirm-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 49, 49, 0.12);
  color: var(--color-error, #ff3131);
  font-size: 1.25rem;
}

.g01-confirm-title {
  margin: 0 0 8px;
  font-family: var(--g01-font);
  font-size: 1.125rem;
  color: var(--g01-ink);
}

.g01-confirm-desc {
  margin: 0 0 1.25rem;
  font-size: 0.875rem;
  color: var(--ink-muted);
}

.g01-confirm-actions {
  display: flex;
  gap: 10px;
}

.g01-confirm-cancel,
.g01-confirm-ok {
  flex: 1;
  min-height: 44px;
  font: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
  border-radius: var(--radius-md, 8px);
  border: 1px solid var(--color-border, #2a2a3e);
}

.g01-confirm-cancel {
  background: var(--g01-card);
  color: var(--g01-ink);
}

.g01-confirm-cancel:hover {
  border-color: var(--g01-accent-text);
  color: var(--g01-accent-text);
}

.g01-confirm-ok {
  background: var(--g01-accent-alt);
  color: #fff;
  border-color: var(--g01-accent-alt);
}

.g01-confirm-ok:hover {
  opacity: 0.92;
}

/* Responsive */
@media (min-width: 1100px) {
  .g01-game-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .g01-profile-layout {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .g01-profile-sidebar {
    position: static;
  }

  .g01-profile-main {
    width: 100%;
    min-width: 0;
  }

  .g01-profile-panel.active {
    display: block;
    width: 100%;
  }

  .g01-profile-card {
    width: 100%;
    box-sizing: border-box;
  }

  .g01-profile-sidebar {
    width: 100%;
    flex: none;
    display: grid;
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto;
    column-gap: 12px;
    padding: 14px 14px 0;
    overflow: hidden;
  }

  .g01-profile-avatar {
    grid-row: 1 / 3;
    align-self: center;
    width: 56px;
    height: 56px;
    margin-bottom: 0;
    font-size: 1.25rem;
  }

  .g01-profile-name {
    align-self: end;
    margin: 0;
    font-size: 1rem;
    line-height: 1.2;
  }

  .g01-profile-email {
    align-self: start;
    margin: 2px 0 0;
    font-size: 0.75rem;
    word-break: break-all;
  }

  .g01-profile-nav {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    margin-top: 12px;
    padding-top: 0;
    border-top: 1px solid var(--color-border, #2a2a3e);
  }

  .g01-profile-nav-item {
    flex: 1;
    width: auto;
    min-width: 0;
    padding: 10px 4px;
    border-left: none;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    font-size: 0.625rem;
    letter-spacing: 0.02em;
  }

  .g01-profile-nav-item .g01-nav-icon {
    width: 1rem;
    height: 1rem;
  }

  .g01-profile-nav-item .g01-nav-label {
    display: block;
    line-height: 1.1;
  }

  .g01-profile-nav-item.active {
    border-left: none;
    border-bottom-color: var(--g01-accent-text);
    box-shadow: none;
  }
}

@media (max-width: 768px) {
  .g01-profile-page {
    padding-top: calc(var(--header-height, 80px) + 12px);
    padding-bottom: calc(24px + var(--g01-mob-h, 64px) + env(safe-area-inset-bottom, 0px));
  }

  .g01-profile-sidebar {
    grid-template-columns: 44px 1fr;
    column-gap: 10px;
    padding: 12px 12px 0;
    border-radius: var(--radius-lg, 12px);
  }

  .g01-profile-avatar {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  .g01-profile-name {
    font-size: 0.9375rem;
  }

  .g01-profile-email {
    margin-bottom: 0;
    font-size: 0.6875rem;
  }

  .g01-profile-nav {
    margin: 10px -12px 0;
  }

  .g01-profile-nav-item {
    padding: 10px 2px 12px;
    font-size: 0.625rem;
  }

  .g01-profile-card {
    padding: 1rem;
    border-radius: var(--radius-lg, 12px);
  }

  .g01-profile-card-head {
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 0.75rem;
    padding-bottom: 8px;
  }

  .g01-profile-card-title {
    font-size: 1.0625rem;
  }

  .g01-stat-badge {
    padding: 4px 10px;
    font-size: 0.6875rem;
  }

  .g01-game-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .g01-profile-card .g01-game-card:hover {
    transform: none;
  }

  .g01-profile-card .g01-ranked-body {
    padding: 8px 8px 10px;
  }

  .g01-profile-card .g01-game-card .game-title {
    font-size: 0.75rem;
    margin-bottom: 4px;
  }

  .g01-profile-card .g01-game-card .game-star {
    margin-bottom: 6px;
  }

  .g01-profile-card .g01-game-card .g01-btn-remove {
    margin-top: 6px;
    min-height: 34px;
  }

  .g01-btn-remove {
    min-height: 32px;
    padding: 0 8px;
    font-size: 0.6875rem;
  }

  .g01-btn-clear {
    min-height: 36px;
    padding: 0 10px;
    font-size: 0.6875rem;
  }

  .g01-avatar-upload {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
  }

  .g01-avatar-preview {
    width: 80px;
    height: 80px;
    font-size: 1.5rem;
  }

  .g01-empty-state {
    padding: 2rem 1rem;
  }

  .g01-empty-state i {
    font-size: 2rem;
  }
}
