/* 查询结果一览表格样式 */
.result-list table {
  border-collapse: collapse;
  width: 100%;
  background: #fafdff;
}

/* 共通広告枠 */
.ad-slot{background:linear-gradient(180deg,rgba(255,255,255,0.02),rgba(0,0,0,0.06));border:1px solid rgba(255,255,255,0.02);border-radius:8px;padding:12px;display:flex;align-items:center;justify-content:center;min-height:64px;color:#dfe6e9;margin-bottom:16px;box-sizing:border-box}
.ad-slot img{width:100px;height:90px;object-fit:cover;border-radius:6px;box-shadow:0 2px 8px rgba(0,0,0,0.08);margin:0 8px;background:#fff}
@media (max-width: 600px){
  .ad-slot img{width:98vw;max-width:100%;height:60px}
  .ad-slot{margin-bottom:10px}
}
.ad-slot .label{font-size:13px;color:var(--muted)}

.result-list th, .result-list td {
  border: 1px solid #dbe4ed;
  padding: 6px;
  font-size: 14px;
}

.result-list th {
  background: #eaf3fb;
  color: #2a7ae2;
}

.result-list tr:nth-child(even) {
  background: #f3f7fa;
}

.result-list a {
  color: #2a7ae2;
  text-decoration: underline;
}

/* 查询结果一览区域样式 */
.result-list {
  max-height: 200px;
  overflow: auto;
  border: 1px solid #e3e8ee;
}

/* common.css
   Shared base styles for all pages
   - sets site-wide font stack, base font-size and line-height
*/

/* Mobile menu button micro-interactions */
.mobile-menu-btn:hover {
  background: rgba(0,0,0,0.9);
  color: #fff;
  transform: scale(1.02);
}
.mobile-menu-btn:active {
  transform: scale(0.98);
}

/* Mobile-specific responsive overrides to avoid horizontal overflow */
@media (max-width: 600px) {
  /* Ensure global box-sizing so padding doesn't increase layout width */
  *, *::before, *::after { box-sizing: border-box; }
  
  /* Mobile H1 font size */
  main.container h1 {
    margin-top: 2px; 
  }

  /* Make cards and their inner content responsive */
  .area-list .card, .page-shop .area-list .card {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    overflow-wrap: anywhere;
  }

  .area-list .card .card-content, .page-shop .area-list .card .card-content {
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 8px;
    align-items: flex-start;
    width: 100%;
  }

  /* Make images scale down to container width */
  .area-list .card .shop-image img, .page-shop .area-list .card .shop-image img,
  .new-shop-card img {
    max-width: 100%;
    width: auto; /* allow intrinsic scaling */
    height: auto;
    display: block;
  }

  /* Avoid long unbroken text causing overflow */
  .area-list .card .shop-name, .area-list .card .description, .area-list .card .info-item {
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  /* Ensure header alignment: keep header-right (favorite button) on the right */
  .area-list .card .card-header {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .area-list .card .shop-name {
    white-space: normal; /* allow wrapping on small screens */
    overflow: visible;
    flex: 1 1 auto;
    min-width: 0;
  }

  .area-list .card .header-right {
    margin-left: auto; /* push header-right to the far right */
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
  }

  /* Safe overflow handling: allow scrolling only if content exceeds viewport */
  html { overflow-x: auto; width: 100%; -webkit-overflow-scrolling: touch; }
  body { overflow-x: auto; width: 100%; -webkit-overflow-scrolling: touch; }
}

/* 全局字体大小增加2px */
html {
  font-size: 16px; /* base font size */
  -webkit-text-size-adjust: 100%;
}

body {
  line-height: 1.4;
  font: 16px / 1.6 "メイリオ", Meiryo, "Hiragino Kaku Gothic ProN", "HiraKakuProN-W3", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic Pro", "ヒラギノ角ゴ Pro W3", "Hiragino Sans", "ＭＳ Ｐゴシック", Arial, sans-serif;
  text-rendering: optimizelegibility;
}

/* CSS变量定义 */
:root {
  --primary-blue: #007bff;
  --primary-blue-dark: #0056b3;
  --primary-green: #28a745;
  --primary-green-dark: #1e7e34;
  --primary-purple: #6f42c1;
  --primary-purple-dark: #5a359a;
  --primary-yellow: #ffc107;
  --primary-yellow-dark: #e0a800;
  --primary-red: #dc3545;
  --primary-red-dark: #c82333;
}
 
/* Utility */
.container-inner { padding-left: 16px; padding-right: 16px; }

/* Screen reader only - SEO friendly way to hide content visually but keep it accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Site wrapper shared across all pages */
.site-wrapper { max-width: 1200px; margin: 0 auto; }

/* Shared layout utilities used by the static pages */
.container{max-width:1200px;margin:0 auto;padding:8px}
.header{display:flex;align-items:center;justify-content:space-between;padding:12px 0}
.header .logo{display:flex;align-items:center;gap:12px}
.header .logo img{height:40px;width:auto}

.header .header-search{
  flex: 1;
  max-width: 440px;
  margin: 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header .header-search-input{
  width: 100%;
  height: 40px;
  border: 1px solid #41515f;
  border-radius: 999px;
  padding: 0 14px;
  background: #222d35;
  color: #e9eef3;
  font-size: 14px;
}

.header .header-search-input::placeholder{
  color: #93a2ad;
}

.header .header-search-input:focus{
  outline: none;
  border-color: #db80ae;
  box-shadow: 0 0 0 2px rgba(219, 128, 174, 0.15);
}

.header .header-search-button{
  height: 40px;
  min-width: 40px;
  border: 1px solid #41515f;
  border-radius: 999px;
  background: #222d35;
  color: #fff;
  cursor: pointer;
}

.header .header-search-button:hover{
  background: #28333d;
}

/* 统一的导航栏样式 - 用于所有页面 */
.header .nav {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 7px 10px;
  backdrop-filter: blur(10px);
}

.header .nav a {
  color: #e9eef3;
  text-decoration: none;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 16px;
  white-space: nowrap;
  transition: all 0.3s ease;
  position: relative;
  font-weight: 500;
}

.header .nav a:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* 各页面的活跃状态样式 */
/* 首页 - 蓝色 */
.page-home .header .nav a.active,
.page-area .header .nav a.active,
.page-shop .header .nav a.active {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,123,255,0.3);
}

/* 排行榜页面 - 紫色 */
.page-ranking .header .nav a.active {
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-dark));
  color: #fff;
  box-shadow: 0 2px 8px rgba(111,66,193,0.3);
}

/* 活动页面 - 绿色 */
.page-events .header .nav a.active {
  background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
  color: #fff;
  box-shadow: 0 2px 8px rgba(40,167,69,0.3);
}

/* 特集页面 - 紫色 */
.page-special .header .nav a.active {
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-dark));
  color: #fff;
  box-shadow: 0 2px 8px rgba(111,66,193,0.3);
}

/* 便利功能页面 - 黄色 */
.page-tools .header .nav a.active,
.page-search .header .nav a.active {
  background: linear-gradient(135deg, var(--primary-yellow), var(--primary-yellow-dark));
  color: #000;
  box-shadow: 0 2px 8px rgba(255,193,7,0.3);
}

/* 社区页面 - 红色 */
.page-community .header .nav a.active {
  background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
  color: #fff;
  box-shadow: 0 2px 8px rgba(220,53,69,0.3);
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
  display: none;
  /* fixed in the viewport so it never moves on scroll */
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 1100;
  /* dark, low-contrast appearance */
  background: rgba(0,0,0,0.75);
  border: 1px solid #28a745;
  color: #ffffff;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
  transition: transform 0.12s ease, background 0.12s ease, opacity 0.12s ease;
  backdrop-filter: blur(4px);
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  opacity: 0.95;
}

.mobile-menu-btn i {
  font-size: 18px;
}

/* 移动端导航样式 */
.mobile-nav {
  display: none;
  position: fixed;
  top: 20px; /* header高度 */
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.95);
  backdrop-filter: blur(20px);
  border-radius: 0 0 12px 12px;
  padding: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  z-index: 1000;
}

.mobile-nav.show {
  display: block;
  animation: slideDown 0.3s ease-out;
}

.mobile-nav a {
  display: block;
  color: #e9eef3;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 4px;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav .mobile-nav-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.16);
}

.mobile-nav .mobile-nav-links a {
  margin-bottom: 0;
  border-bottom: none;
  text-align: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
}

.mobile-nav .mobile-nav-search {
  margin-top: 2px;
}

.mobile-nav .mobile-nav-search .search-section.compact {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 6px 2px;
  margin-bottom: 0;
}

.mobile-nav .mobile-nav-search .search-form {
  max-width: 100%;
  margin: 0;
}

.mobile-nav .mobile-nav-search .search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mobile-nav .mobile-nav-search .search-input {
  flex: 1;
  height: 40px;
  border: 1px solid #41515f;
  border-radius: 999px;
  padding: 0 14px;
  background: #222d35;
  color: #e9eef3;
  font-size: 14px;
  outline: none;
}

.mobile-nav .mobile-nav-search .search-input::placeholder {
  color: #93a2ad;
}

.mobile-nav .mobile-nav-search .search-input:focus {
  border-color: #db80ae;
  box-shadow: 0 0 0 2px rgba(219, 128, 174, 0.15);
}

.mobile-nav .mobile-nav-search .search-button {
  height: 40px;
  min-width: 40px;
  border: 1px solid #41515f;
  border-radius: 999px;
  background: #222d35;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-nav .mobile-nav-search .search-button i {
  font-size: 0.9em;
}

.mobile-nav .mobile-nav-search .search-button:hover {
  background: #28333d;
}

.mobile-nav a:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.mobile-nav a:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  transform: translateX(4px);
}

/* 移动端活跃状态样式 */
.page-home .mobile-nav a.active {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
  color: #fff;
}

.page-ranking .mobile-nav a.active {
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-dark));
  color: #fff;
}

.page-events .mobile-nav a.active {
  background: linear-gradient(135deg, var(--primary-green), var(--primary-green-dark));
  color: #fff;
}

.page-special .mobile-nav a.active {
  background: linear-gradient(135deg, var(--primary-purple), var(--primary-purple-dark));
  color: #fff;
}

.page-tools .mobile-nav a.active {
  background: linear-gradient(135deg, var(--primary-yellow), var(--primary-yellow-dark));
  color: #000;
}

.page-community .mobile-nav a.active {
  background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
  color: #fff;
}

.page-shop .mobile-nav a.active {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-dark));
  color: #fff;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 响应式导航调整 */
@media (max-width: 800px) {
  .header .header-search {
    max-width: 320px;
    margin: 0 10px;
  }

  .header .nav {
    gap: 8px;
    padding: 6px 12px;
  }
  .header .nav a { 
    font-size: 15px;
  }
}

@media (max-width: 700px) {
  .header {
    position: relative;
  }

  .header .header-search {
    display: none;
  }
  
  .header .nav {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }

  .page-home .layout > .search-section.compact {
    display: none;
  }
}

@media (max-width: 600px) {
  .header .nav {
    gap: 6px; 
  }
  .header .nav a { 
    font-size: 14px;
  }
  
  .mobile-nav a {
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .header .nav {
    gap: 4px; 
  }
  .header .nav a { 
    font-size: 13px;
  }
  
  .mobile-nav a {
    font-size: 14px;
  }
}

/* Footer & footer links (used across the simple static pages) */
.footer{padding:28px 0;text-align:center;color:#72777b}
.footer .footer-links{margin-bottom:8px;display:flex;flex-wrap:wrap;justify-content:center;gap:10px 12px}
.footer .footer-links a{text-decoration:none;font-size:15px;line-height:1.2;min-height:32px;padding:8px 10px;border-radius:4px;display:inline-flex;align-items:center;justify-content:center}
.footer .footer-links a:hover,.footer .footer-links a:focus{background:rgba(0,0,0,0.04);outline:2px solid rgba(0,0,0,0.06);outline-offset:2px}
.footer .footer-links a + a::before{content:none}
@media(max-width:640px){.footer .footer-links{gap:10px}.footer .footer-links a{font-size:14px;min-height:32px;padding:8px 10px}}
@media(max-width:420px){.footer .footer-links a + a::before{display:none}}

/* Social Share (X / Facebook / LINE) */
.social-share{
  margin:14px 0;
}

.social-share-links{
  display:flex;
  align-items:center;
  gap:10px;
}

.social-share .share-link{
  width:36px;
  height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.10);
  color:#fff;
  transition: transform 0.15s ease, background 0.15s ease;
}

.social-share .share-link i{
  font-size:16px;
}

.social-share .share-link:hover{
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.social-share .share-link.share-x{
  background:#000;
  border-color:#5b5b5b;
}

.social-share .share-link.share-facebook{
  background:#1877f2;
  border-color:#1877f2;
}

.social-share .share-link.share-line{
  background:#06c755;
  border-color:#06c755;
}

.social-share .share-link.share-instagram{
  background:#fff;
  border-color:#ffffff;
}

.social-share .share-link.share-instagram i{
  color:#dd2a7b;
  background: linear-gradient(135deg, #f58529 0%, #feda77 28%, #dd2a7b 58%, #8134af 82%, #515bd4 100%);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color: transparent;
}

.social-share .share-x-text{
  font-size:16px;
  font-weight:700;
  line-height:1;
  font-family:Arial, sans-serif;
}

.social-share.share-home-under-search{
  margin-top: 4px;
  margin-bottom: 14px;
}

.social-share.share-home-bottom,
.social-share.share-area-bottom{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.14);
}

.social-share.share-home-bottom .social-share-links,
.social-share.share-area-bottom .social-share-links{
  justify-content: center;
}

.social-share.share-shop-inline{
  margin-top: 8px;
}

.mobile-nav .social-share.share-mobile-menu-home{
  margin-top:10px;
  margin-bottom:2px;
}

.mobile-nav .social-share.share-mobile-menu-home .social-share-links{
  justify-content:center;
}

@media (max-width: 600px) {
  .social-share .share-link{
    width:34px;
    height:34px;
  }

  .social-share .share-link i{
    font-size:15px;
  }
}

/* Scroll to top button (shared) */
.scroll-to-top{
  position:fixed;
  right:20px;
  bottom:20px;
  width:50px;
  height:50px;
  background:linear-gradient(135deg,#ff8a00 0%,#ff6b00 100%);
  color:#fff;
  border:none;
  border-radius:50%;
  cursor:pointer;
  display:none;
  align-items:center;
  justify-content:center;
  font-size:20px;
  transition:all 0.3s ease;
  box-shadow:0 4px 12px rgba(255,138,0,0.3);
  z-index:999;
}

.scroll-to-top:hover{
  transform:translateY(-3px);
  box-shadow:0 6px 16px rgba(255,138,0,0.5);
}

.scroll-to-top.show{
  display:flex;
}

/* Simple main page h1 spacing */
main.container h1{margin-top:6px;margin-bottom:12px;font-size: 18px;}

/* ===== 标签样式 ===== */
.shop-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.badge {
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 0.7em;
    font-weight: bold;
    color: #fff;
}

.badge-japanese { background: #1f6d35; }
.badge-asian { background: #ffc107; color: #333; }
.badge-outcall { background: #17a2b8; }
.badge-shop { background: #6c757d; }
.badge-service { background: #dc3545; }
.badge-free { background: #6f42c1; }

/* ===== 评价系统共用样式 ===== */

/* 评分显示 */
.shop-rating {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rating-stars {
    font-size: 1.5em;
    color: #ffd700;
}

.rating-stars .star.filled {
    color: #ffd700;
}

.rating-stars .star:not(.filled) {
    color: #ddd;
}

.rating-score {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
}

.rating-count {
    color: #666;
    font-size: 0.9em;
}

/* 详细评分 */
.detailed-ratings {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rating-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-label {
    min-width: 120px;
    font-size: 0.9em;
    color: #555;
}

.rating-bar {
    flex: 1;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #ffc107, #dc3545);
    transition: width 0.3s ease;
}

.rating-value {
    min-width: 30px;
    text-align: center;
    font-weight: bold;
    color: #333;
}

/* 用户评论中的评分 */
.review-rating .star {
    color: #ffd700;
    font-size: 1.2em;
}

/* 评价区域 */
.rating-section {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #3a3a3a;
}

.rating-section-detail {
    margin-top: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* 评价按钮 */
.rating-btn {
    background: linear-gradient(135deg, #ffc107, #ff8f00);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.rating-btn:hover {
    background: linear-gradient(135deg, #ffb300, #ff6f00);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(255, 193, 7, 0.4);
}

/* 评价表单 */
.rating-form {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    margin-top: 10px;
}

.rating-form h4 {
    color: #fff;
    margin: 0 0 15px 0;
    font-size: 16px;
}

.rating-items {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.rating-item {
    margin-bottom: 1px;
}

.rating-item label {
    color: #ccc;
    font-size: 14px;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.rating-stars {
    font-size: 24px;
    margin-bottom: 8px;
}

.rating-stars .star {
    color: #444;
    cursor: pointer;
    transition: color 0.2s ease;
    margin-right: 2px;
}

.rating-stars .star:hover,
.rating-stars .star.active {
    color: #ffc107;
}

/* 评价评论 */
.rating-comment {
    margin-top: 15px;
}

.rating-comment label {
    color: #ccc;
    font-size: 14px;
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.rating-comment textarea {
    width: 100%;
    min-height: 80px;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 4px;
    color: #fff;
    padding: 8px;
    font-size: 14px;
    resize: vertical;
    box-sizing: border-box;
}

.rating-comment textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.rating-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.submit-rating {
    background: #28a745;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s ease;
    width: 100%;
}

.submit-rating:hover {
    background: #218838;
}

.cancel-rating {
    background: #6c757d;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.3s ease;
    width: 100%;
}

.cancel-rating:hover {
    background: #5a6268;
}

/* 评价显示 */
.rating-display {
    color: #ffc107;
    font-weight: bold;
    font-size: 16px;
}

.rating-display i {
    margin-right: 3px;
}

/* 新的顶部消息样式 */
.top-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 4px;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-size: 16px;
    font-weight: bold;
    animation: slideInRight 0.3s ease-out;
}

.top-message-success {
    background: #28a745;
    color: white;
}

.top-message-error {
    background: #dc3545;
    color: white;
}

.top-message i {
    margin-right: 8px;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Reusable weekly ranking jump styles */
.ranking-jump {
  margin: 8px 0 14px;
}

.ranking-jump-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid #2b4046;
  border-radius: 8px;
  color: #d8e7ec;
  background: #162126;
  text-decoration: none;
  font-size: 14px;
}

.ranking-jump-link:hover {
  background: #1d2d33;
  border-color: #365963;
}

.sidebar-ranking-jump {
  margin: 0 0 12px;
}

.sidebar-ranking-jump .ranking-jump-link,
.ranking-jump-link.is-sidebar-style {
  width: 100%;
  justify-content: center;
  gap: 0;
  padding: 12px 1px;
  border-radius: 10px;
  border: 1px solid #8c309f;
  background: linear-gradient(180deg, #2f3947 0%, #4800cc 100%);
  color: #fff;
  font-size: 13px; 
  box-shadow: 0 6px 18px rgba(32, 31, 75, 0.35);
}

.sidebar-ranking-jump .ranking-jump-link:hover,
.ranking-jump-link.is-sidebar-style:hover {
  background: linear-gradient(180deg, #364456 0%, #49627c 100%);
  border-color: #8c309f;
}
