:root {
  --bg: #f6f2ea;
  --bg-soft: #fbf8f1;
  --card: #ffffff;
  --text: #1f2933;
  --sub: #6f746f;
  --border: #e2d8c8;

  --main: #f7931a;
  --main-dark: #c76f00;
  --main-soft: #fff1d8;

  --ink: #24313a;
  --ink-dark: #151d23;
  --ink-soft: #344854;

  --green: #16825d;
  --red: #c7473a;
  --yellow: #d69a00;

  --shadow: 0 10px 28px rgba(36, 49, 58, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(247,147,26,0.12), transparent 340px),
    var(--bg);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

button {
  transition: 0.15s ease;
}

button:hover {
  transform: translateY(-1px);
}

.inner {
  width: min(1120px, calc(100% - 24px));
  margin: 0 auto;
}

/* 上部バー */
.top-line {
  background: var(--ink-dark);
  color: #f8ead5;
  font-size: 13px;
}

.top-line-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 36px;
}

.top-links {
  display: flex;
  gap: 16px;
}

.top-links a {
  color: #ffd89b;
}

/* ヘッダー */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.header-inner {
  min-height: 86px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--main), #ffbe55);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 30px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(247, 147, 26, 0.28);
}

.logo-area h1 {
  margin: 0;
  font-size: 27px;
  color: var(--ink-dark);
  letter-spacing: -0.04em;
}

.logo-area p {
  margin: 4px 0 0;
  color: var(--sub);
  font-size: 13px;
}

.header-actions {
  display: flex;
  gap: 8px;
}

.login-btn,
.register-btn {
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  cursor: pointer;
}

.login-btn {
  background: #eef0ef;
  color: var(--ink);
}

.register-btn {
  background: var(--main);
  color: #fff;
  box-shadow: 0 6px 14px rgba(247, 147, 26, 0.25);
}

/* ナビ */
.main-nav {
  background: var(--ink);
  border-bottom: 4px solid var(--main);
}

.nav-inner {
  display: flex;
  overflow-x: auto;
}

.nav-inner a {
  padding: 13px 17px;
  color: #fff7ea;
  font-weight: 800;
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.nav-inner a.active {
  background: var(--main);
  color: #211600;
}

/* 検索 */
.search-section {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.search-box {
  display: flex;
  width: min(620px, 100%);
  box-shadow: var(--shadow);
  border-radius: 999px;
  overflow: hidden;
}

.search-box input {
  flex: 1;
  border: 1px solid var(--border);
  border-right: none;
  padding: 12px 18px;
  font-size: 15px;
  background: #fff;
  outline: none;
}

.search-box input:focus {
  border-color: var(--main);
}

.search-box button {
  background: var(--ink);
  color: #fff;
  border: none;
  padding: 0 26px;
  font-weight: 800;
}

/* レイアウト */
.layout {
  display: grid;
  grid-template-columns: 1fr 310px;
  gap: 20px;
  padding: 20px 0 44px;
}

.breadcrumb {
  font-size: 13px;
  color: #7b5d2c;
  margin-bottom: 12px;
}

/* 価格パネル */
.price-panel {
  background: var(--ink-dark);
  color: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.price-top {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(90deg, var(--ink-dark), var(--ink-soft));
  padding: 13px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.market-label {
  background: rgba(247,147,26,0.18);
  border: 1px solid rgba(247,147,26,0.5);
  color: #ffd28d;
  padding: 5px 11px;
  border-radius: 999px;
  font-weight: 900;
}

.market-sub {
  color: #d7dedc;
  font-weight: 700;
}

.price-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 28px 26px;
}

.coin-name {
  margin: 0 0 8px;
  font-size: 18px;
  color: #f8ead5;
}

.price-value {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: #fff;
}

.price-note {
  margin: 9px 0 0;
  color: #cfd8d3;
  font-size: 13px;
}

.price-change {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 18px;
  min-width: 245px;
}

.price-change p {
  margin: 0 0 8px;
  color: #cfd8d3;
}

.price-change strong {
  display: inline-block;
  background: rgba(22, 130, 93, 0.18);
  color: #8ff0c2;
  border: 1px solid rgba(143, 240, 194, 0.25);
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 19px;
}

.price-tabs {
  display: flex;
  background: #202c33;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.price-tabs button {
  flex: 1;
  border: none;
  background: transparent;
  color: #f8ead5;
  padding: 14px 8px;
  font-weight: 800;
  cursor: pointer;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.price-tabs button.active {
  background: var(--main);
  color: #211600;
}

/* 広告 */
.ad-box,
.side-ad {
  background: rgba(255,255,255,0.86);
  border: 1px dashed #d3c2aa;
  margin-top: 14px;
  min-height: 108px;
  display: grid;
  place-items: center;
  color: var(--sub);
  position: relative;
  border-radius: 14px;
}

.ad-box span,
.side-ad span {
  position: absolute;
  top: 9px;
  right: 12px;
  font-size: 12px;
  color: #9b9183;
}

/* 掲示板 */
.board-section {
  background: var(--card);
  border: 1px solid var(--border);
  margin-top: 14px;
  padding: 20px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.section-title h2 {
  margin: 0;
  font-size: 22px;
  border-left: 6px solid var(--main);
  padding-left: 12px;
  color: var(--ink-dark);
}

.section-title p {
  margin: 7px 0 0;
  color: var(--sub);
}

.notice-box {
  margin: 16px 0;
  background: var(--main-soft);
  border: 1px solid #f2c878;
  color: #674300;
  padding: 13px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.7;
}

.post-form-card {
  border: 1px solid var(--border);
  background: #fbfaf6;
  padding: 16px;
  border-radius: 16px;
}

.post-form-card h3 {
  margin: 0 0 13px;
  color: var(--ink-dark);
}

.form-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.form-row label {
  font-weight: 800;
  color: #374151;
}

.form-row select {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}

textarea {
  width: 100%;
  min-height: 112px;
  resize: vertical;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  font-size: 15px;
  outline: none;
}

textarea:focus,
.form-row select:focus {
  border-color: var(--main);
}

.submit-btn {
  width: 100%;
  margin-top: 11px;
  border: none;
  background: linear-gradient(135deg, var(--main), #ffb33d);
  color: #221400;
  padding: 13px;
  border-radius: 12px;
  font-weight: 900;
  cursor: pointer;
}

/* フィルター */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 19px 0 13px;
}

.filter-tabs button {
  border: 1px solid var(--border);
  background: #fff;
  padding: 8px 13px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  color: var(--ink);
}

.filter-tabs button.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* 投稿 */
.post-list {
  display: grid;
  gap: 11px;
}

.post-card {
  border: 1px solid var(--border);
  padding: 15px;
  border-radius: 15px;
  background: linear-gradient(180deg, #fff, #fffdf9);
}

.post-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 13px;
  color: var(--sub);
}

.tag {
  color: #fff;
  padding: 4px 9px;
  border-radius: 999px;
  font-weight: 900;
}

.tag.bullish {
  background: var(--green);
}

.tag.bearish {
  background: var(--red);
}

.post-body {
  margin: 11px 0 13px;
  line-height: 1.75;
}

.post-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.post-actions button {
  border: 1px solid var(--border);
  background: #fbfaf6;
  padding: 7px 11px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}

/* サイドバー */
.side-column {
  display: grid;
  gap: 14px;
  align-content: start;
}

.vote-card,
.side-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 17px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.vote-card h3,
.side-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--ink-dark);
}

.vote-card p,
.side-card p {
  margin: 0 0 13px;
  color: var(--sub);
  line-height: 1.75;
}

.vote-buttons {
  display: grid;
  gap: 8px;
}

.vote-buttons button {
  border: none;
  background: var(--ink);
  color: #fff;
  padding: 11px;
  border-radius: 12px;
  font-weight: 900;
  cursor: pointer;
}

.vote-buttons button:first-child {
  background: var(--green);
}

.vote-buttons button:nth-child(2) {
  background: var(--red);
}

.vote-buttons button:nth-child(3) {
  background: var(--yellow);
  color: #241700;
}

.vote-result {
  margin-top: 13px;
  border-top: 1px solid var(--border);
  padding-top: 11px;
  display: grid;
  gap: 8px;
}

.vote-result div {
  display: flex;
  justify-content: space-between;
}

/* フッター */
.site-footer {
  background: var(--ink-dark);
  border-top: 4px solid var(--main);
  padding: 24px 0;
  color: #d6d0c5;
}

.site-footer .inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer a {
  margin-left: 14px;
  color: #ffd28d;
}

/* スマホ */
@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
    padding: 15px 0;
  }

  .logo-area h1 {
    font-size: 23px;
  }

  .price-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .price-change {
    min-width: 0;
    width: 100%;
  }

  .price-tabs {
    overflow-x: auto;
  }

  .price-tabs button {
    min-width: 105px;
  }
}

@media (max-width: 520px) {
  .top-line-inner {
    height: auto;
    padding: 8px 0;
    align-items: flex-start;
    gap: 8px;
    flex-direction: column;
  }

  .search-box {
    width: 100%;
    border-radius: 14px;
  }

  .search-box input {
    padding: 11px 12px;
  }

  .search-box button {
    padding: 0 14px;
  }

  .logo-mark {
    width: 42px;
    height: 42px;
    font-size: 26px;
    border-radius: 12px;
  }

  .price-value {
    font-size: 32px;
  }

  .price-main {
    padding: 22px 18px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .site-footer .inner {
    flex-direction: column;
  }

  .site-footer a {
    margin-left: 0;
    margin-right: 12px;
  }
}

/* =========================
   ログインページ
========================= */

.login-page {
  min-height: 100vh;
  background: #f5f5f7;
}

.login-simple-header {
  height: 72px;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-site-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-dark);
  font-size: 22px;
  font-weight: 900;
}

.login-logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--main);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.login-main {
  width: min(980px, calc(100% - 24px));
  margin: 0 auto;
  padding: 70px 0 90px;
  display: grid;
  grid-template-columns: 1fr 520px;
  gap: 56px;
  align-items: center;
}

.login-info-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  padding: 34px;
  box-shadow: 0 14px 34px rgba(36, 49, 58, 0.08);
}

.login-info-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--main), #ffbe55);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 38px;
  font-weight: 900;
  margin-bottom: 18px;
}

.login-info-card h1 {
  margin: 0 0 12px;
  color: var(--ink-dark);
  font-size: 28px;
  letter-spacing: -0.04em;
}

.login-info-card p {
  margin: 0 0 20px;
  color: var(--sub);
  line-height: 1.8;
}

.login-info-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ink);
  line-height: 2;
  font-weight: 700;
}

.login-panel {
  display: flex;
  justify-content: center;
}

.login-card {
  width: 100%;
  background: #ffffff;
  padding: 44px 46px;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.login-card h2 {
  margin: 0 0 24px;
  font-size: 28px;
  font-weight: 700;
  color: #111827;
}

.login-lead {
  margin: -12px 0 24px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.7;
}

.login-field {
  margin-bottom: 14px;
}

.login-field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
  font-size: 14px;
  color: #374151;
}

.login-field input {
  width: 100%;
  height: 54px;
  border: 2px solid #1f6feb;
  border-radius: 4px;
  padding: 0 14px;
  font-size: 18px;
  background: #fff;
  outline: none;
}

.login-field input::placeholder {
  color: #9ca3af;
}

.login-field input:focus {
  border-color: var(--main);
  box-shadow: 0 0 0 3px rgba(247, 147, 26, 0.18);
}

.login-main-btn {
  width: 100%;
  height: 56px;
  border: none;
  border-radius: 4px;
  background: #2374f7;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  cursor: pointer;
  margin-top: 6px;
}

.login-main-btn:hover {
  transform: none;
  opacity: 0.92;
}

.login-sub-btn {
  width: 100%;
  height: 52px;
  border: 2px solid #2374f7;
  border-radius: 4px;
  background: #fff;
  color: #2374f7;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
  margin-top: 18px;
}

.login-sub-btn:hover {
  transform: none;
  background: #f5f9ff;
}

.login-links {
  margin-top: 18px;
  display: grid;
  gap: 12px;
  text-align: center;
}

.login-links a {
  color: #1263eb;
  font-weight: 700;
  font-size: 14px;
}

.login-message {
  min-height: 22px;
  margin: 14px 0 0;
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
}

.login-note {
  margin-top: 22px;
  padding: 12px;
  background: #fff8e8;
  border: 1px solid #f2c878;
  border-radius: 8px;
}

.login-note p {
  margin: 0;
  color: #674300;
  font-size: 13px;
  line-height: 1.7;
}

.login-footer {
  border-top: 1px solid #e5e7eb;
  background: #fff;
  min-height: 76px;
  display: flex;
  gap: 22px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  color: #1263eb;
  font-size: 14px;
  padding: 18px;
}

.login-footer p {
  width: 100%;
  text-align: center;
  margin: 0;
  color: #6b7280;
}

@media (max-width: 900px) {
  .login-main {
    grid-template-columns: 1fr;
    padding: 36px 0 70px;
    gap: 22px;
  }

  .login-info {
    display: none;
  }

  .login-card {
    padding: 34px 24px;
  }
}

@media (max-width: 520px) {
  .login-simple-header {
    height: 64px;
  }

  .login-site-logo {
    font-size: 18px;
  }

  .login-card {
    border-radius: 12px;
  }

  .login-card h2 {
    font-size: 25px;
  }

  .login-field input {
    height: 52px;
    font-size: 16px;
  }

  .login-main-btn {
    height: 54px;
    font-size: 18px;
  }
}

/* =========================
   電話番号新規登録ページ
========================= */

.register-page {
  min-height: 100vh;
  background: #f7f7f8;
  color: #1f2933;
}

.register-header {
  height: 70px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
}

.register-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 900;
  color: var(--ink-dark);
}

.register-logo-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--main);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.register-main {
  width: min(980px, calc(100% - 24px));
  margin: 0 auto;
  padding: 42px 0 80px;
}

.register-main h1 {
  margin: 0 0 34px;
  font-size: 32px;
  font-weight: 500;
}

.step-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto 70px;
  border: 1px solid #d1d5db;
  border-radius: 5px;
  overflow: hidden;
  background: #fff;
}

.step-item {
  padding: 14px 18px;
  font-weight: 900;
  color: #5b6472;
  border-right: 1px solid #d1d5db;
  background: #fff;
  position: relative;
}

.step-item:last-child {
  border-right: none;
}

.step-item.active {
  background: #e9e9e9;
  color: #1f2933;
}

.register-step {
  display: none;
  grid-template-columns: 260px 1fr;
  gap: 70px;
  align-items: center;
}

.register-step.active {
  display: grid;
}

.register-illust {
  display: flex;
  justify-content: center;
}

.phone-icon {
  width: 150px;
  height: 150px;
  border-radius: 26px;
  background: linear-gradient(135deg, #2f3a45, #6b7280);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
}

.register-form-area h2 {
  margin: 0 0 28px;
  text-align: left;
  font-size: 26px;
  font-weight: 900;
}

.register-form-area p {
  margin: 0 0 22px;
  line-height: 1.8;
}

.register-form-area input {
  width: 100%;
  height: 56px;
  border: 2px solid #2374f7;
  border-radius: 4px;
  padding: 0 14px;
  font-size: 20px;
  outline: none;
  margin-bottom: 10px;
  background: #fff;
}

.register-form-area input:focus {
  border-color: var(--main);
  box-shadow: 0 0 0 3px rgba(247, 147, 26, 0.18);
}

.input-help {
  color: #6b7280;
  font-size: 14px;
  margin-bottom: 12px !important;
}

.register-note {
  color: #374151;
  font-size: 14px;
  margin-bottom: 22px !important;
}

.register-main-btn {
  width: 100%;
  height: 56px;
  border: none;
  border-radius: 5px;
  background: #2374f7;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
}

.register-main-btn:hover {
  transform: none;
  opacity: 0.92;
}

.register-back-btn {
  width: 100%;
  height: 48px;
  border: 1px solid #d1d5db;
  border-radius: 5px;
  background: #fff;
  color: #374151;
  font-weight: 800;
  margin-top: 12px;
  cursor: pointer;
}

.register-message {
  min-height: 24px;
  margin: 30px 0 0;
  text-align: center;
  color: var(--red);
  font-weight: 800;
}

.register-links {
  margin-top: 22px;
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
}

.register-links a {
  color: #1263eb;
  font-weight: 700;
}

.register-footer {
  border-top: 1px solid #e5e7eb;
  background: #fff;
  min-height: 70px;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 18px;
}

.register-footer a {
  color: #1263eb;
  font-size: 14px;
}

#recaptcha-container {
  margin-bottom: 18px;
}

@media (max-width: 800px) {
  .register-main h1 {
    font-size: 26px;
  }

  .step-bar {
    margin-bottom: 36px;
  }

  .register-step.active {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .register-illust {
    display: none;
  }
}

@media (max-width: 520px) {
  .register-main {
    padding-top: 28px;
  }

  .register-main h1 {
    font-size: 23px;
    margin-bottom: 24px;
  }

  .step-item {
    padding: 12px 10px;
    font-size: 14px;
  }

  .register-form-area h2 {
    font-size: 22px;
  }

  .register-form-area input {
    height: 52px;
    font-size: 17px;
  }

  .register-main-btn {
    height: 54px;
    font-size: 18px;
  }
}

.optional-mail-box {
  margin: 18px 0;
  padding: 16px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}

.optional-mail-box h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.optional-mail-box p {
  margin: 0 0 12px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.7;
}

.login-method-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
}

.login-method-tabs button {
  height: 44px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #fff;
  color: #374151;
  font-weight: 900;
  cursor: pointer;
}

.login-method-tabs button.active {
  background: #2374f7;
  color: #fff;
  border-color: #2374f7;
}

.login-help {
  margin: -4px 3 14px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.7;
}

.login-sub-link {
  display: grid;
  place-items: center;
  text-align: center;
  text-decoration: none;
}

#login-recaptcha-container {
  margin: 12px 0 16px;
}

/* =========================
   スマホ崩れ対策・横はみ出し修正
========================= */

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img,
iframe,
video {
  max-width: 100%;
}

/* スマホでは全体を必ず画面幅に収める */
@media (max-width: 700px) {
  .inner {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .layout {
    display: block;
    width: 100%;
    padding-top: 16px;
  }

  .main-column,
  .side-column {
    width: 100%;
    max-width: 100%;
  }

  /* 上部バー */
  .top-line-inner {
    min-height: auto;
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 8px;
  }

  .top-line span {
    line-height: 1.6;
  }

  /* ヘッダー */
  .site-header {
    width: 100%;
  }

  .header-inner {
    width: 100%;
    min-height: auto;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .logo-area {
    width: 100%;
    align-items: flex-start;
  }

  .logo-area h1 {
    font-size: 24px;
    line-height: 1.25;
  }

  .logo-area p {
    font-size: 13px;
    line-height: 1.6;
  }

  .header-actions {
    width: 100%;
    display: flex;
    gap: 10px;
  }

  .login-btn,
  .register-btn {
    flex: 1;
    text-align: center;
    display: grid;
    place-items: center;
    padding: 12px 10px;
  }

  /* ナビは横スクロールさせず、2列で折り返す */
  .nav-inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: visible;
    padding-left: 0;
    padding-right: 0;
  }

  .nav-inner a {
    padding: 13px 6px;
    text-align: center;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  /* 検索 */
  .search-section {
    padding: 14px 0;
  }

  .search-box {
    width: 100%;
    max-width: 100%;
    border-radius: 14px;
  }

  .search-box input {
    min-width: 0;
    font-size: 14px;
  }

  .search-box button {
    flex: 0 0 64px;
    padding: 0;
  }

  /* パンくず */
  .breadcrumb {
    font-size: 12px;
    line-height: 1.6;
    word-break: break-all;
  }

  /* 価格パネル */
  .price-panel {
    width: 100%;
    max-width: 100%;
    border-radius: 16px;
  }

  .price-top {
    padding: 12px 16px;
    flex-wrap: wrap;
  }

  .price-main {
    padding: 22px 18px;
  }

  .price-value {
    font-size: 34px;
    line-height: 1.2;
    word-break: break-all;
  }

  .price-change {
    width: 100%;
    min-width: 0;
  }

  .price-change strong {
    font-size: 18px;
  }

  /* 価格タブは横幅オーバーしないように2列 */
  .price-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow: visible;
  }

  .price-tabs button {
    min-width: 0;
    width: 100%;
    font-size: 13px;
    padding: 12px 4px;
  }

  .price-tabs button:first-child {
    grid-column: span 2;
  }

  /* 掲示板カード */
  .board-section,
  .vote-card,
  .side-card,
  .ad-box,
  .side-ad {
    width: 100%;
    max-width: 100%;
    border-radius: 16px;
  }

  .board-section {
    padding: 18px 14px;
  }

  .section-title h2 {
    font-size: 22px;
    line-height: 1.35;
  }

  .section-title p {
    font-size: 14px;
    line-height: 1.7;
  }

  .notice-box {
    font-size: 13px;
  }

  .post-form-card {
    padding: 14px;
  }

  textarea {
    font-size: 16px;
  }

  .filter-tabs {
    gap: 7px;
  }

  .filter-tabs button {
    font-size: 13px;
    padding: 8px 11px;
  }

  .post-card {
    padding: 14px;
  }

  .post-meta {
    font-size: 12px;
  }

  .post-body {
    font-size: 15px;
  }

  .post-actions button {
    font-size: 13px;
  }

  /* サイドバーをスマホでは下に自然配置 */
  .side-column {
    margin-top: 18px;
  }

  .vote-buttons button {
    width: 100%;
  }

  /* フッター */
  .site-footer {
    width: 100%;
  }

  .site-footer .inner {
    display: block;
  }

  .site-footer p {
    margin-bottom: 14px;
  }

  .site-footer a {
    display: inline-block;
    margin: 0 14px 10px 0;
    line-height: 1.6;
  }
}

/* =========================
   サイドバー廃止・1カラム固定
========================= */

.layout {
  display: block !important;
  width: min(980px, calc(100% - 24px));
}

.main-column {
  width: 100%;
  max-width: 100%;
}

.side-column {
  display: none !important;
}

.board-inner-card {
  margin: 16px 0;
  box-shadow: none;
}

.board-section .vote-card,
.board-section .side-card {
  width: 100%;
  max-width: 100%;
}

.board-section .side-card p:last-child {
  margin-bottom: 0;
  font-weight: 700;
  color: var(--ink);
}

/* 投稿フォームとの間隔 */
.board-section .post-form-card {
  margin-top: 16px;
}

/* スマホでも余白を安定させる */
@media (max-width: 700px) {
  .layout {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .board-inner-card {
    margin: 14px 0;
  }
}

/* hidden属性をCSSで上書きしないようにする */
[hidden] {
  display: none !important;
}

/* =========================
   投稿フォーム開閉
========================= */

.open-post-wrap {
  display: flex;
  justify-content: center;
  margin: 20px 0 18px;
}

.open-post-btn {
  border: none;
  background: #1976d2;
  color: #fff;
  font-weight: 800;
  font-size: 17px;
  padding: 10px 22px;
  border-radius: 7px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(25, 118, 210, 0.22);
}

.open-post-btn:hover {
  filter: brightness(0.96);
}

.post-form-card[hidden] {
  display: none !important;
}

.post-form-card {
  margin: 18px 0;
  padding: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.post-form-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  color: var(--ink-dark);
}

.post-form-card textarea {
  width: 100%;
  min-height: 110px;
  padding: 12px;
  border: 2px solid #222;
  border-radius: 6px;
  font-size: 16px;
  resize: vertical;
  outline: none;
}

.post-form-card textarea:focus {
  border-color: var(--main);
}

.post-count-row {
  text-align: right;
  margin-top: 6px;
  color: var(--sub);
  font-size: 14px;
}

.post-rule-note {
  margin: 12px 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--sub);
}

@media (max-width: 700px) {
  .open-post-wrap {
    margin: 18px 0 16px;
  }

  .open-post-btn {
    width: 100%;
    font-size: 16px;
    padding: 13px 12px;
  }

  .post-form-card {
    padding: 15px;
  }
}

/* =========================
   検索ボックスの枠欠け修正
========================= */

.search-box {
  overflow: hidden;
  border: 1px solid var(--border);
  box-sizing: border-box;
}

.search-box input {
  min-width: 0;
  box-sizing: border-box;
  border: none;
  outline: none;
}

.search-box button {
  box-sizing: border-box;
  border: none;
}

/* スマホで左端が欠ける対策 */
@media (max-width: 700px) {
  .search-section {
    overflow: visible;
  }

  .search-box {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }
}

/* =========================
   お問い合わせページ
========================= */

.contact-page {
  padding: 34px 0 60px;
}

.contact-card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.contact-card h1 {
  margin: 0 0 18px;
  font-size: 30px;
  color: var(--ink-dark);
  border-left: 6px solid var(--main);
  padding-left: 14px;
}

.contact-lead {
  margin: 0 0 18px;
  color: var(--text);
  line-height: 1.8;
}

.contact-notice {
  background: var(--main-soft);
  border: 1px solid #f2c878;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 22px;
  color: #7a4b00;
  line-height: 1.7;
  font-weight: 700;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
  color: var(--ink-dark);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 13px 14px;
  font-size: 16px;
  background: #fff;
  color: var(--text);
  box-sizing: border-box;
}

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
  line-height: 1.7;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--main);
  box-shadow: 0 0 0 3px rgba(247, 147, 26, 0.16);
}

.contact-count {
  margin: -8px 0 0;
  text-align: right;
  color: var(--sub);
  font-size: 14px;
}

.contact-submit-btn {
  border: none;
  border-radius: 999px;
  background: var(--main);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  padding: 14px 24px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(247, 147, 26, 0.24);
}

.contact-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.contact-status {
  min-height: 24px;
  margin: 0;
  text-align: center;
  font-weight: 800;
}

.contact-status.success {
  color: var(--green);
}

.contact-status.error {
  color: var(--red);
}

@media (max-width: 700px) {
  .contact-page {
    padding: 20px 16px 46px;
  }

  .contact-card {
    padding: 24px 18px;
    border-radius: 16px;
  }

  .contact-card h1 {
    font-size: 25px;
  }
}

.post-rule-note a {
  color: var(--main-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-rule-note a:hover {
  color: var(--main);
}

/* =========================
   投稿コメント見出し
========================= */
.comment-list-head {
  margin: 26px 0 12px;
}

.comment-list-head h3 {
  margin: 0;
  font-size: 34px;
  font-weight: 900;
  color: var(--ink-dark);
  letter-spacing: 0.02em;
}

/* =========================
   投稿一覧カード
========================= */
.post-list {
  display: grid;
  gap: 18px;
}

.post-card {
  background: #fff;
  border: 1px solid #e5d8bf;
  border-radius: 18px;
  padding: 18px 20px 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
}

.post-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.post-card-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.post-author {
  font-size: 15px;
  font-weight: 800;
  color: var(--ink-dark);
}

.post-date {
  font-size: 13px;
  color: var(--sub);
}

.report-link {
  border: none;
  background: transparent;
  color: #1d62c9;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  padding: 0;
}

.report-link:hover {
  text-decoration: underline;
}

.post-card-body {
  margin-bottom: 18px;
}

.post-body {
  margin: 0;
  font-size: 16px;
  line-height: 1.95;
  color: var(--text);
  word-break: break-word;
  white-space: pre-wrap;
}

.post-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  border-top: 1px solid #eee3cf;
  padding-top: 14px;
}

.post-bottom-left {
  flex-shrink: 0;
}

.reply-btn {
  border: 1px solid #cfd6df;
  background: #fff;
  color: #1f3e77;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}

.reply-btn:hover {
  background: #f7f9fc;
}

.post-bottom-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.helpful-label {
  font-size: 15px;
  color: var(--sub);
}

.vote-btn {
  border: none;
  background: transparent;
  color: #5d6470;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 6px;
}

.vote-btn strong {
  color: var(--ink-dark);
  font-size: 18px;
  margin-left: 4px;
}

.vote-btn:hover {
  opacity: 0.75;
}

.yes-btn {
  color: #7d6c57;
}

.no-btn {
  color: #7d6c57;
}

/* 空状態 */
.empty-text {
  color: var(--sub);
  font-size: 16px;
  padding: 18px 4px;
}

/* スマホ */
@media (max-width: 700px) {
  .comment-list-head h3 {
    font-size: 28px;
  }

  .post-card {
    padding: 16px;
    border-radius: 16px;
  }

  .post-card-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .post-bottom-left {
    order: 2;
  }

  .post-bottom-right {
    order: 1;
    justify-content: flex-start;
  }

  .reply-btn {
    width: fit-content;
  }
}

/* =========================
   薄い文字を改善
========================= */

/* 今日のBTC投票まわり */
.vote-card h3 {
  font-size: 34px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: 0.02em;
}

.vote-card p {
  font-size: 24px;
  font-weight: 700;
  color: #374151;
  line-height: 1.7;
}

/* 投票結果のラベル */
.vote-result span {
  font-size: 22px;
  font-weight: 800;
  color: #1f2937;
}

.vote-result strong {
  font-size: 28px;
  font-weight: 900;
  color: #0f172a;
}

/* 投稿者名 */
.post-author {
  font-size: 24px;
  font-weight: 900;
  color: #111827;
  letter-spacing: 0.02em;
}

/* 投稿日時 */
.post-date {
  font-size: 18px;
  font-weight: 700;
  color: #6b4f1f;
}

/* 投稿本文 */
.post-body {
  font-size: 28px;
  line-height: 1.9;
  font-weight: 500;
  color: #111827;
}

/* 通報リンク */
.report-link {
  font-size: 22px;
  font-weight: 900;
  color: #2563eb;
}

.report-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* 返信ボタン */
.reply-btn {
  font-size: 28px;
  font-weight: 900;
  color: #1e3a8a;
  border: 2px solid #cbd5e1;
  background: #f8fafc;
}

.reply-btn:hover {
  background: #eff6ff;
  border-color: #93c5fd;
}

/* 参考になりましたか？ */
.helpful-label {
  font-size: 22px;
  font-weight: 800;
  color: #7c5a18;
  letter-spacing: 0.02em;
}

/* はい / いいえ */
.vote-btn {
  font-size: 24px;
  font-weight: 900;
  background: transparent;
}

.yes-btn {
  color: #0f766e;
}

.yes-btn strong {
  color: #065f46;
  font-size: 30px;
  font-weight: 900;
}

.no-btn {
  color: #b45309;
}

.no-btn strong {
  color: #92400e;
  font-size: 30px;
  font-weight: 900;
}

/* スマホ調整 */
@media (max-width: 700px) {
  .vote-card h3 {
    font-size: 26px;
  }

  .vote-card p {
    font-size: 20px;
  }

  .vote-result span {
    font-size: 18px;
  }

  .vote-result strong {
    font-size: 24px;
  }

  .post-author {
    font-size: 20px;
  }

  .post-date {
    font-size: 15px;
  }

  .post-body {
    font-size: 18px;
  }

  .report-link {
    font-size: 18px;
  }

  .reply-btn {
    font-size: 20px;
  }

  .helpful-label {
    font-size: 16px;
  }

  .vote-btn {
    font-size: 17px;
  }

  .yes-btn strong,
  .no-btn strong {
    font-size: 20px;
  }
}

/* =========================
   投稿カード 魅力アップ版
========================= */

.post-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 247, 232, 0.98), rgba(255, 255, 255, 0.98) 45%, rgba(255, 241, 216, 0.88));
  border: 1px solid #ead8b8;
  border-radius: 22px;
  padding: 24px 26px 22px;
  box-shadow:
    0 16px 36px rgba(36, 49, 58, 0.10),
    0 2px 0 rgba(255, 255, 255, 0.8) inset;
}

/* 右上にうっすら光 */
.post-card::after {
  content: "";
  position: absolute;
  right: -70px;
  top: -70px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247, 147, 26, 0.18), rgba(247, 147, 26, 0));
  pointer-events: none;
}

.post-card-top,
.post-card-body,
.post-card-bottom {
  position: relative;
  z-index: 1;
}

.post-card-top {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(226, 216, 200, 0.75);
}

.post-author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 900;
  color: #151d23;
}

.post-date {
  margin-top: 6px;
  font-size: 16px;
  font-weight: 800;
  color: #8b5e1a;
}

.report-link {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  padding: 7px 13px;
  color: #c2410c;
  font-size: 15px;
  font-weight: 900;
}

.report-link:hover {
  background: #ffedd5;
  text-decoration: none;
}

.post-card-body {
  margin: 20px 0 22px;
  padding: 4px 2px;
}

.post-body {
  font-size: 24px;
  line-height: 1.95;
  font-weight: 600;
  color: #111827;
  letter-spacing: 0.01em;
}

.post-card-bottom {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(234, 216, 184, 0.8);
  border-radius: 18px;
  padding: 14px 16px;
}

.reply-btn {
  background: linear-gradient(135deg, #ffffff, #fff7ed);
  border: 1px solid #f1c27d;
  color: #7c3f00;
  border-radius: 999px;
  padding: 11px 18px;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 6px 14px rgba(247, 147, 26, 0.10);
}

.reply-btn:hover {
  background: #fff1d8;
  border-color: #f7931a;
}

.helpful-label {
  color: #7c5a18;
  font-size: 17px;
  font-weight: 900;
}

.vote-btn {
  border-radius: 999px;
  padding: 8px 12px;
  background: #fff;
  border: 1px solid #ead8b8;
  font-size: 17px;
  font-weight: 900;
}

.yes-btn {
  color: #047857;
}

.yes-btn:hover {
  background: #ecfdf5;
  border-color: #86efac;
}

.no-btn {
  color: #b45309;
}

.no-btn:hover {
  background: #fff7ed;
  border-color: #fdba74;
}

.vote-btn strong {
  font-size: 21px;
  margin-left: 5px;
}

/* ホバーで少し浮かせる */
@media (hover: hover) {
  .post-card {
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  }

  .post-card:hover {
    transform: translateY(-2px);
    border-color: #f1c27d;
    box-shadow:
      0 20px 42px rgba(36, 49, 58, 0.14),
      0 2px 0 rgba(255, 255, 255, 0.85) inset;
  }
}

/* スマホ調整 */
@media (max-width: 700px) {
  .post-card {
    border-radius: 18px;
    padding: 20px 18px 18px;
  }

  .post-author {
    font-size: 20px;
  }

  .post-author::before {
    width: 25px;
    height: 25px;
    font-size: 15px;
  }

  .post-date {
    font-size: 14px;
  }

  .report-link {
    font-size: 14px;
    padding: 6px 11px;
  }

  .post-body {
    font-size: 17px;
    line-height: 1.9;
  }

  .post-card-bottom {
    padding: 13px;
  }

  .reply-btn {
    font-size: 17px;
    padding: 10px 16px;
  }

  .helpful-label {
    width: 100%;
    font-size: 15px;
  }

  .vote-btn {
    font-size: 16px;
  }

  .vote-btn strong {
    font-size: 19px;
  }
}

/* 時間 + No */
.post-sub-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.post-date,
.post-no {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  font-size: 16px;
  font-weight: 800;
}

.post-date {
  color: #8b5e1a;
}

.post-no {
  color: #2563eb;
}

@media (max-width: 700px) {
  .post-sub-meta {
    gap: 10px;
    margin-top: 6px;
  }

  .post-date,
  .post-no {
    font-size: 14px;
    line-height: 1;
  }
}

/* =========================
   時間とNoの高さズレ修正
========================= */

.post-sub-meta {
  display: flex !important;
  align-items: center !important;
  gap: 14px;
  margin-top: 8px;
}

.post-date,
.post-no {
  display: inline-flex !important;
  align-items: center !important;
  height: 24px !important;
  line-height: 24px !important;
  padding: 0 !important;
  margin: 0 !important;
  vertical-align: middle !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}

.post-date {
  color: #8b5e1a;
}

.post-no {
  color: #2563eb;
  position: relative;
  top: 0 !important;
}

/* =========================
   投稿詳細ページ
========================= */

.detail-page {
  padding: 28px 0 60px;
}

.detail-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.detail-card h1 {
  margin: 18px 0 22px;
  font-size: 28px;
  font-weight: 900;
  color: var(--ink-dark);
}

.back-link {
  display: inline-block;
  color: #2563eb;
  font-weight: 800;
  text-decoration: none;
  margin-bottom: 8px;
}

.back-link:hover {
  text-decoration: underline;
}

.reply-detail-section {
  margin-top: 28px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.reply-detail-section h2 {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 900;
  color: var(--ink-dark);
}

.detail-main-post {
  margin-bottom: 22px;
}

.detail-reply-post {
  margin-bottom: 16px;
}

/* アンカーリンクの色：青めの紺 */
.post-anchor-link {
  color: #123e8a !important;
  font-weight: 900;
  text-decoration: none;
}

.post-anchor-link:hover {
  color: #1d4ed8 !important;
  text-decoration: underline;
}

@media (max-width: 700px) {
  .detail-page {
    padding: 18px 16px 46px;
  }

  .detail-card {
    padding: 18px;
    border-radius: 16px;
  }

  .detail-card h1 {
    font-size: 24px;
  }

  .reply-detail-section h2 {
    font-size: 22px;
  }
}

/* =========================
   マイページ
========================= */

.mypage-page {
  padding: 34px 0 60px;
}

.mypage-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.mypage-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  margin-bottom: 22px;
}

.mypage-head h1 {
  margin: 0 0 8px;
  font-size: 34px;
  font-weight: 900;
  color: var(--ink-dark);
}

.mypage-head p {
  margin: 0;
  color: var(--sub);
  font-weight: 700;
  line-height: 1.7;
}

.mypage-logout-btn {
  border: none;
  border-radius: 999px;
  background: #1f2937;
  color: #fff;
  font-weight: 900;
  padding: 12px 20px;
  cursor: pointer;
}

.mypage-status {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 22px;
  color: #7c2d12;
  font-weight: 800;
  line-height: 1.8;
}

.mypage-login-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.mypage-login-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--main);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 9px 16px;
  font-weight: 900;
}

.mypage-user-box,
.mypage-posts-box {
  margin-top: 24px;
}

.mypage-user-box h2,
.mypage-posts-box h2 {
  margin: 0 0 16px;
  font-size: 26px;
  font-weight: 900;
  color: var(--ink-dark);
}

.mypage-user-box dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.mypage-user-box dl div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fbfaf6;
}

.mypage-user-box dt {
  font-weight: 900;
  color: #7c5a18;
}

.mypage-user-box dd {
  margin: 0;
  color: var(--text);
  font-weight: 800;
  word-break: break-all;
}

.mypage-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.mypage-section-title p {
  margin: 0;
  color: var(--sub);
  font-weight: 800;
}

.my-post-list {
  display: grid;
  gap: 14px;
}

.my-post-card {
  border: 1px solid #ead8b8;
  border-radius: 18px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 247, 232, 0.98), rgba(255, 255, 255, 0.98));
  box-shadow: 0 8px 22px rgba(36, 49, 58, 0.07);
}

.my-post-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #ead8b8;
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.my-post-no {
  color: #123e8a;
  font-weight: 900;
  margin-right: 12px;
}

.my-post-date {
  color: #8b5e1a;
  font-weight: 800;
}

.my-post-detail-link {
  color: #2563eb;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.my-post-detail-link:hover {
  text-decoration: underline;
}

.my-post-body {
  margin: 0 0 14px;
  font-size: 17px;
  line-height: 1.9;
  font-weight: 700;
  color: var(--text);
  word-break: break-word;
}

.my-post-bottom {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: #7c5a18;
  font-weight: 900;
}

@media (max-width: 700px) {
  .mypage-page {
    padding: 20px 16px 46px;
  }

  .mypage-card {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .mypage-head {
    display: grid;
  }

  .mypage-head h1 {
    font-size: 28px;
  }

  .mypage-logout-btn {
    width: 100%;
  }

  .mypage-user-box dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .mypage-section-title {
    display: grid;
  }

  .my-post-top {
    display: grid;
  }

  .my-post-detail-link {
    justify-self: start;
  }
}

/* =========================
   マイページ メール紐づけ
========================= */

.email-link-open-btn {
  border: none;
  background: transparent;
  color: #123e8a;
  font-weight: 900;
  font-size: inherit;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
}

.email-link-open-btn:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.email-link-box {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid #ead8b8;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff7ed, #ffffff);
}

.email-link-box h3 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 900;
  color: var(--ink-dark);
}

.email-link-box p {
  margin: 0 0 14px;
  color: var(--sub);
  line-height: 1.7;
  font-weight: 700;
}

.email-link-box input {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 12px;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 16px;
}

.email-link-box input:focus {
  outline: none;
  border-color: var(--main);
  box-shadow: 0 0 0 3px rgba(247, 147, 26, 0.16);
}

.email-link-box button {
  width: 100%;
  border: none;
  border-radius: 999px;
  background: var(--main);
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  padding: 13px 18px;
  cursor: pointer;
}

.email-link-box button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.link-email-message {
  margin-top: 12px !important;
  font-weight: 900 !important;
  text-align: center;
}

.link-email-message.success {
  color: var(--green);
}

.link-email-message.error {
  color: var(--red);
}

/* マイページ 自分の投稿 件数表示 */
.mypage-section-title h2 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.my-post-total {
  font-size: 20px;
  font-weight: 900;
  color: #8b5e1a;
}

#mypageContent #myPostCount,
#myPostCount {
  font-size: 22px;
  font-weight: 900;
  color: #6b7280;
}

/* =========================
   マイページ 自分の投稿ページャー
========================= */

.my-post-pager {
  margin: 18px 0;
}

.my-pager-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.my-page-btn {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #ead8b8;
  border-radius: 999px;
  background: #fff;
  color: #123e8a;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(36, 49, 58, 0.05);
}

.my-page-btn:hover {
  background: #fff7ed;
  border-color: #f1c27d;
}

.my-page-btn.active {
  background: var(--main);
  border-color: var(--main);
  color: #fff;
}

.my-page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: #f3f4f6;
  color: #6b7280;
}

@media (max-width: 700px) {
  .my-post-pager {
    margin: 16px 0;
  }

  .my-pager-inner {
    gap: 7px;
  }

  .my-page-btn {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    font-size: 14px;
  }
}

/* =========================
   ユーザー投稿一覧ページ
========================= */

.user-posts-page {
  padding: 34px 0 60px;
}

.user-posts-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.user-posts-head {
  margin: 18px 0 22px;
}

.user-posts-head h1 {
  margin: 0 0 12px;
  font-size: 32px;
  font-weight: 900;
  color: var(--ink-dark);
  line-height: 1.45;
}

.user-post-total {
  display: inline-block;
  margin-left: 10px;
  font-size: 20px;
  color: #8b5e1a;
  font-weight: 900;
}

#userPostCount {
  margin: 0;
  font-size: 21px;
  font-weight: 900;
  color: #6b7280;
}

.user-post-list {
  display: grid;
  gap: 14px;
}

.user-post-card {
  border: 1px solid #ead8b8;
  border-radius: 18px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 247, 232, 0.98), rgba(255, 255, 255, 0.98));
  box-shadow: 0 8px 22px rgba(36, 49, 58, 0.07);
}

.user-post-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #ead8b8;
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.user-post-no {
  color: #123e8a;
  font-weight: 900;
  margin-right: 12px;
  text-decoration: none;
}

.user-post-no:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.user-post-date {
  color: #8b5e1a;
  font-weight: 800;
}

.user-post-detail-link {
  color: #2563eb;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.user-post-detail-link:hover {
  text-decoration: underline;
}

.user-post-body {
  margin: 0 0 14px;
  font-size: 17px;
  line-height: 1.9;
  font-weight: 700;
  color: var(--text);
  word-break: break-word;
}

.user-post-bottom {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: #7c5a18;
  font-weight: 900;
}

/* ユーザー投稿ページャー */
.user-post-pager {
  margin: 18px 0;
}

.user-pager-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.user-page-btn {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #ead8b8;
  border-radius: 999px;
  background: #fff;
  color: #123e8a;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(36, 49, 58, 0.05);
}

.user-page-btn:hover {
  background: #fff7ed;
  border-color: #f1c27d;
}

.user-page-btn.active {
  background: var(--main);
  border-color: var(--main);
  color: #fff;
}

.user-page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: #f3f4f6;
  color: #6b7280;
}

/* 投稿コメントのユーザー名リンク */
.user-post-link {
  color: #123e8a !important;
  text-decoration: none;
  font-weight: 900;
}

.user-post-link:hover {
  color: #1d4ed8 !important;
  text-decoration: underline;
}

@media (max-width: 700px) {
  .user-posts-page {
    padding: 20px 16px 46px;
  }

  .user-posts-card {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .user-posts-head h1 {
    font-size: 26px;
  }

  .user-post-total {
    font-size: 18px;
    margin-left: 0;
    display: block;
    margin-top: 6px;
  }

  #userPostCount {
    font-size: 19px;
  }

  .user-post-top {
    display: grid;
  }

  .user-post-detail-link {
    justify-self: start;
  }

  .user-page-btn {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    font-size: 14px;
  }
}

/* =========================
   はい・いいえ 投票後の無効化
========================= */

.vote-btn:disabled,
.vote-btn.voted-disabled {
  cursor: not-allowed !important;
  opacity: 0.55;
  pointer-events: auto;
}

.vote-btn.selected {
  opacity: 1;
  border-color: #123e8a;
  background: #eef4ff;
  box-shadow: 0 0 0 2px rgba(18, 62, 138, 0.12);
}

.vote-btn:disabled:hover {
  background: inherit;
  border-color: #ead8b8;
  transform: none;
}

/* =========================
   今日のBTC投票 有効化
========================= */

.vote-buttons button:disabled,
.vote-buttons button.btc-vote-disabled {
  cursor: not-allowed !important;
  opacity: 0.62;
}

.vote-buttons button.btc-vote-selected {
  opacity: 1;
  box-shadow: 0 0 0 3px rgba(18, 62, 138, 0.18);
  transform: none;
}

.vote-buttons button:disabled:hover {
  filter: none;
  transform: none;
}

.btc-vote-status {
  margin: 14px 0 0;
  font-size: 15px;
  font-weight: 900;
  color: #8b5e1a;
  text-align: center;
}

/* BTC投票完了メッセージの位置調整 */
.btc-vote-status {
  margin-top: 28px !important;
}

/* =========================
   マイページ 自分の投稿 削除ボタン
========================= */

.my-post-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px solid #ead8b8;
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.my-post-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.my-post-actions-top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.my-post-detail-link {
  color: #2563eb;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}

.my-post-detail-link:hover {
  text-decoration: underline;
}

.my-post-delete-btn {
  border: none;
  background: transparent;
  color: #c2410c;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
  padding: 0;
  white-space: nowrap;
}

.my-post-delete-btn:hover {
  color: #9a3412;
  text-decoration: underline;
}

@media (max-width: 700px) {
  .my-post-top {
    display: grid;
    gap: 10px;
  }

  .my-post-actions-top {
    justify-content: flex-start;
    gap: 16px;
  }

  .my-post-delete-btn {
    font-size: 17px;
  }
}

/* =========================
   管理者ページ
========================= */

.admin-page {
  padding: 34px 0 60px;
}

.admin-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow);
}

.admin-card h1 {
  margin: 0 0 18px;
  font-size: 34px;
  font-weight: 900;
  color: var(--ink-dark);
}

.admin-status {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 14px;
  padding: 16px;
  color: #7c2d12;
  font-weight: 900;
  line-height: 1.8;
}

.admin-status a {
  color: #123e8a;
  font-weight: 900;
}

.admin-section {
  margin-top: 32px;
}

.admin-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 12px;
  margin-bottom: 16px;
}

.admin-section-head h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  color: var(--ink-dark);
}

.admin-section-head p {
  margin: 0;
  color: #8b5e1a;
  font-weight: 900;
}

.admin-list {
  display: grid;
  gap: 14px;
}

.admin-item {
  border: 1px solid #ead8b8;
  border-radius: 18px;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(255, 247, 232, 0.98), rgba(255, 255, 255, 0.98));
  box-shadow: 0 8px 22px rgba(36, 49, 58, 0.07);
}

.admin-item-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #ead8b8;
  padding-bottom: 12px;
  margin-bottom: 14px;
  font-weight: 900;
}

.admin-item-no {
  color: #123e8a;
  margin-right: 10px;
}

.admin-item-date {
  color: #8b5e1a;
  font-weight: 800;
}

.admin-report-count {
  color: #c2410c;
  font-weight: 900;
  white-space: nowrap;
}

.admin-contact-status {
  color: #2563eb;
  font-weight: 900;
}

.admin-item-body {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.9;
  font-weight: 700;
  color: var(--text);
  white-space: pre-wrap;
  word-break: break-word;
}

.admin-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: #7c5a18;
  font-weight: 900;
  margin-bottom: 14px;
}

.admin-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-actions a,
.admin-actions button {
  border: none;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
}

.admin-actions a {
  background: #eff6ff;
  color: #1d4ed8;
}

.admin-actions button {
  background: #fee2e2;
  color: #b91c1c;
}

.admin-actions button:hover {
  opacity: 0.82;
}

@media (max-width: 700px) {
  .admin-page {
    padding: 20px 16px 46px;
  }

  .admin-card {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .admin-card h1 {
    font-size: 28px;
  }

  .admin-section-head {
    display: grid;
  }

  .admin-section-head h2 {
    font-size: 24px;
  }

  .admin-item-top {
    display: grid;
  }
}

/* =========================
   管理者ページ 投稿コメント一覧ページャー
========================= */

.admin-post-pager {
  margin: 18px 0;
}

.admin-pager-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.admin-page-btn {
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #ead8b8;
  border-radius: 999px;
  background: #fff;
  color: #123e8a;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(36, 49, 58, 0.05);
}

.admin-page-btn:hover {
  background: #fff7ed;
  border-color: #f1c27d;
}

.admin-page-btn.active {
  background: var(--main);
  border-color: var(--main);
  color: #fff;
}

.admin-page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: #f3f4f6;
  color: #6b7280;
}

@media (max-width: 700px) {
  .admin-post-pager {
    margin: 16px 0;
  }

  .admin-pager-inner {
    gap: 7px;
  }

  .admin-page-btn {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    font-size: 14px;
  }
}

/* =========================
   BTCリアルタイム価格・チャート
========================= */

.price-updated {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.price-change.up {
  background: rgba(22, 130, 93, 0.16);
  border-color: rgba(22, 130, 93, 0.45);
}

.price-change.up strong {
  color: #7ff0c8;
}

.price-change.down {
  background: rgba(199, 71, 58, 0.16);
  border-color: rgba(199, 71, 58, 0.45);
}

.price-change.down strong {
  color: #ff9b91;
}

.price-change.neutral strong {
  color: #f6d28b;
}

.btc-chart-card {
  padding: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #0f171d;
}

.btc-chart-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
  margin-bottom: 12px;
}

.btc-chart-head h3 {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.btc-chart-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
  font-weight: 800;
}

.btc-tv-chart {
  height: 420px;
  border-radius: 14px;
  overflow: hidden;
  background: #111820;
}

.tradingview-widget-container,
.tradingview-widget-container__widget {
  width: 100%;
  height: 100%;
}

@media (max-width: 700px) {
  .btc-chart-card {
    padding: 14px;
  }

  .btc-chart-head {
    display: grid;
  }

  .btc-chart-head h3 {
    font-size: 17px;
  }

  .btc-tv-chart {
    height: 360px;
  }
}

/* =========================
   チャート専用エリア
========================= */

.btc-chart-section {
  margin-top: 22px;
  margin-bottom: 22px;
  padding: 24px;
  border-radius: 20px;
  background: #101820;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.btc-chart-section .btc-chart-head {
  margin-bottom: 16px;
}

.btc-chart-section .btc-chart-head h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 28px;
  font-weight: 900;
}

.btc-chart-section .btc-chart-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 15px;
  font-weight: 800;
}

.btc-tv-chart {
  height: 520px;
  border-radius: 16px;
  overflow: hidden;
  background: #111820;
}

.tradingview-widget-container,
.tradingview-widget-container__widget {
  width: 100%;
  height: 100%;
}

@media (max-width: 700px) {
  .btc-chart-section {
    margin-top: 18px;
    padding: 16px;
    border-radius: 18px;
  }

  .btc-chart-section .btc-chart-head h2 {
    font-size: 22px;
  }

  .btc-tv-chart {
    height: 430px;
  }
}

/* =========================
   BTC価格 円・ドル横並び
========================= */

.price-value-row {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}

.price-sub:empty {
  display: none;
}

@media (max-width: 700px) {
  .price-value-row {
    gap: 10px;
  }

  .price-usd-value {
    font-size: 20px;
  }
}

.price-value-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
}

.price-value .price-slash {
  margin: 0 14px;
  color: rgba(255, 255, 255, 0.55);
}

/* =========================
   価格表示レイアウト調整
========================= */

/* PC：価格と前日比の高さをそろえる */
.price-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

/* 円価格 / ドル価格 */
.price-value-row {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}

.price-value {
  margin: 0;
  line-height: 1.1;
}

/* ドル価格を前のゴールド系カラーに戻す */
#btcUsdValue {
  color: #f6d28b;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

/* / の色 */
.price-slash {
  color: rgba(255, 255, 255, 0.48);
  font-weight: 900;
}

/* 前日比ボックスの高さを中央に */
.price-change {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  align-self: center;
}

/* スマホ：ドル価格を円価格の下へ */
@media (max-width: 700px) {
  .price-main {
    display: block;
  }

  .price-value-row {
    display: block;
  }

  .price-value {
    line-height: 1.12;
  }

  .price-slash {
    display: none;
  }

  #btcUsdValue {
    display: block;
    margin-top: 10px;
    color: #f6d28b;
    font-size: 0.82em;
  }

  .price-change {
    margin-top: 28px;
    width: 100%;
  }
}

/* =========================
   BTC価格：高さ中央揃え＋文字サイズ調整
========================= */

/* 左右配置はそのまま、縦だけ中央 */
.price-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

/* 価格側も縦中央 */
.price-main > div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 価格文字を少し大きく */
.price-value {
  font-size: 48px;
  line-height: 1.08;
}

/* 円 / ドルの横並びは維持 */
.price-value-row {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}

/* ドル価格はゴールド */
#btcUsdValue {
  color: #f6d28b;
}

/* スラッシュ */
.price-slash {
  margin: 0 18px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 900;
}

/* 価格上のビットコイン文字を消す */
.price-label {
  display: none;
}

/* スマホ版：円の下にドル、少し大きめ */
@media (max-width: 700px) {
  .price-main {
    display: block;
  }

  .price-main > div:first-child {
    display: block;
  }

  .price-value-row {
    display: block;
  }

  .price-value {
    font-size: 46px;
    line-height: 1.12;
  }

  .price-slash {
    display: none;
  }

  #btcUsdValue {
    display: block;
    margin-top: 10px;
    color: #f6d28b;
    font-size: 0.78em;
  }

  .price-change {
    margin-top: 28px;
    width: 100%;
  }
}

/* PC版だけチャートを縦長にする */
@media (min-width: 701px) {
  .btc-tv-chart {
    height: 620px;
  }
}

.user-post-asset,
.my-post-asset {
  display: inline-block;
  margin-bottom: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--main-soft);
  color: #6b4300;
  font-size: 12px;
  font-weight: 900;
}

.admin-asset-label {
  display: inline-block;
  margin-bottom: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--main-soft);
  color: #6b4300;
  font-size: 12px;
  font-weight: 900;
}

/* =========================
   投稿一覧：上に戻る固定バナー
========================= */

.comment-back-top-bar {
  position: fixed;
  top: 76px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: min(820px, calc(100% - 28px));
}

.comment-back-top-bar[hidden] {
  display: none !important;
}

.comment-back-top-btn {
  width: 100%;
  border: 1px solid #d8e0ea;
  background: rgba(255, 255, 255, 0.97);
  color: #0066c9;
  padding: 12px 16px;
  border-radius: 7px;
  font-size: 16px;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}

.comment-back-top-btn:hover {
  transform: none;
  background: #f8fbff;
}

@media (max-width: 700px) {
  .comment-back-top-bar {
    top: 10px;
    width: calc(100% - 24px);
  }

  .comment-back-top-btn {
    font-size: 15px;
    padding: 11px 14px;
  }
}

@media (min-width: 701px) {
  .comment-back-top-bar {
    top: 0;
    z-index: 99999;
  }
}

@media (max-width: 700px) {
  .price-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    overflow: hidden;
  }

  .price-tabs button {
    min-width: 0;
    width: 100%;
    height: 58px;
    padding: 0;
    font-size: 16px;
    font-weight: 900;
  }

  .price-tabs button:first-child {
    grid-column: auto;
  }
}