@charset "utf-8";

/* ============================================
   1. リセット・ベース
   ============================================ */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

audio, canvas, video {
  display: inline-block;
  max-width: 100%;
}

html {
  overflow-y: scroll;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

ul, ol {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
  content: '';
  content: none;
}

a:focus {
  outline: none;
}

ins {
  text-decoration: none;
}

mark {
  font-style: italic;
  font-weight: bold;
}

del {
  text-decoration: line-through;
}

abbr[title], dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

input, select, textarea {
  outline: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 100%;
  color: #666 !important;
}

button {
  outline: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 100%;
}

input, textarea {
  background-image: -webkit-linear-gradient(hsla(0, 0%, 100%, 0), hsla(0, 0%, 100%, 0));
  -webkit-appearance: none;
  border-radius: 0;
  color: #666 !important;
}

input[type="checkbox"] {
  -webkit-appearance: checkbox;
}

input[type="radio"] {
  -webkit-appearance: radio;
  display: none;
}

input[type="radio"]:checked + .radio-label {
  background-image: linear-gradient(90deg, rgba(247, 93, 139, 1), rgba(254, 220, 64, 1));
  color: #fff;
  border-color: #fff;
}

button::-moz-focus-inner, input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

img {
  width: 100%;
  -ms-interpolation-mode: bicubic;
}

body {
  padding: 0;
  margin: 0;
  background: #202124;
  color: #f1f1f1;
  -webkit-text-size-adjust: 100%;
  font-family: 'Noto Sans JP', sans-serif;
  /*font-family: 'Inter', sans-serif;*/
}

a {
  color: #f1f1f1;
  text-decoration: none;
}

a:hover {
  color: #ff748b;
  transition: 0.5s;
}

button:hover {
  opacity: 0.8;
  transition: 0.5s;
}

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  font-size: 0.1em;
  line-height: 0;
  visibility: hidden;
  overflow: hidden;
}

.clearfix {
  display: block;
}

* html .clearfix {
  height: 1%
}

/* ============================================
   2. レイアウト・コンテナ
   ============================================ */

#app {
    min-height: 100vh;
}

.container {
  display: flex;
  justify-content: center;
  max-width: 1280px;
  margin: 0 auto;
}

.container p {
  font-size: 14px !important;
  line-height: 1.6;
  font-family: 'Noto Sans JP', sans-serif;
}

.sidebar-left {
  flex-basis: 4%;
  padding: 0 15px 20px;
}

.sidebar-right {
  flex-basis: 30%;
  padding: 20px 30px 30px;
}

.content {
  flex: 1;
  max-width: 600px;
  min-width: 600px;
  padding: 0 0px 20px;
  border-left: solid 1px #32363f;
  border-right: solid 1px #32363f;
}

.sticky-cont {
  position: sticky;
  top: 20px;
  margin-bottom: 50px;
}

.page_cont {
  padding: 20px 20px 50px;
}

/* ============================================
   3. ヘッダー・ナビゲーション
   ============================================ */

.header {
  position: sticky;
  top: 0;
  height:60px;
  background: rgba(32, 33, 36, .9);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 999;
}

.header-flex-container {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  justify-content: flex-end;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  max-width: 640px;
  margin: 0 auto;
}

.header-title {
  flex: 1;
  text-align: center;
  font-weight: bold;
  font-size: 16px;
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-icon {
  color: #fff;
  display: flex;
  align-items: center;
}

.header-cast-link {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.header-cast-img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

/* ============================================
   4. ハンバーガーメニュー
   ============================================ */

.hamburger-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  display: none;
}

.hamburger-overlay.active {
  display: block;
}

.hamburger-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100%;
  background: rgba(14, 14, 15, .9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  overflow-y: auto;
  padding: 20px;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.hamburger-menu.active {
  transform: translateX(0);
}

.hamburger-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.hamburger-menu-header h3 {
  color: #fff;
  margin: 0;
  font-size: 20px;
}

.hamburger-menu-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
}

.hamburger-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hamburger-menu li {
  margin-bottom: 10px;
}

.hamburger-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  display: flex;
  align-items: center;
  padding: 5px;
  border-radius: 8px;
  transition: background 0.2s;
}

.hamburger-menu a:hover {
  background: #1a1a1a;
}

.hamburger-menu a i {
  margin-right: 15px;
  width: 20px;
  text-align: center;
}

.hamburger-button {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 5px 10px;
  display: flex;
  align-items: center;
}

.hamburger-button i {
  width: 20px;
  text-align: center;
}

.hamburger-button:hover {
  opacity: 0.8;
}

.hamburger-profile {
  padding: 0 5px 20px 5px;
}

.hamburger-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background: #3d5466;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

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

.hamburger-avatar i {
  font-size: 24px;
  color: #8899a6;
}

.hamburger-avatar-link {
  display: block;
}

.hamburger-name {
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 2px 0;
}

.hamburger-username {
  color: #8899a6;
  font-size: 14px;
  margin: 0 0 12px 0;
}

.hamburger-stats {
  display: flex;
  gap: 16px;
  font-size: 14px;
  color: #8899a6;
}

.hamburger-stats strong {
  color: #fff;
}

.menu-divider {
  border-top: 1px solid #3d5466;
  margin: 8px 0;
  padding: 0;
  list-style: none;
}

/* ============================================
   5. タイムライン・投稿
   ============================================ */

.timeline {
  display: flex;
  flex-direction: column;
  margin-bottom: 60px;
  margin-top: 0px;
}

.timeline_prof {
  display: flex;
  flex-direction: column;
  margin-bottom: 60px;
  margin-top: 0px;
  border-top: solid 1px #333;
}

.timeline_story {
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background: rgba(41, 43, 46, .9);
  padding: 12px;
  border-bottom: solid 10px #202124;
}

.timeline_story::-webkit-scrollbar {
  display: none;
}

.tweet {
  padding: 0px 20px 15px;
  border-bottom: 1px solid #32363f;
}

.tweet_sp {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 15px 12px 15px;
  border-bottom: 1px solid #32363f;
}

.tweet:last-child {
  border-bottom: none;
  margin-bottom: -1px;
}

.post-container {
  position: relative;
  padding: 0px 10px 15px;
  margin-bottom: 30px;
}

.post-text {
  flex: 1;
}

.input-row {
  position: relative;
}

#post-textarea {
  width: 100%;
  min-height: 100px;
  padding: 8px;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid #333;
  resize: none;
  font-size: 16px;
  color: #afafaf;
  overflow-y: hidden;
}

.icon-row {
  display: flex;
  align-items: center;
  margin-top: 10px;
  color: #afafaf;
}

.icon-column {
  display: flex;
  flex-direction: column;
}

.icon-placeholder {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.content_tweet {
  flex-grow: 1;
  cursor: pointer;
}

.content_tweet a:hover {
  color: #f1f1f1;
}

.header_tweet {
  display: flex;
  align-items: center;
  margin-bottom: 3px;
  margin-top: -4px;
}

.username {
  font-weight: bold;
  font-size: 15px;
  margin-right: 5px;
  margin-top: 10px;
  color: #f1f1f1;
}

.timestamp {
  color: #afafaf;
  font-size: 13px;
}

.body_txt {
  padding: 0 20px 5px;
}

.body_txt a:hover {
  color: #f1f1f1;
}

.body_txt p {
  font-size: 0.9rem !important;
  line-height: 1.7 !important;
  margin-top: 3px;
  margin-bottom: 7px;
}

.body_txt img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: 20px;
  margin-top: 15px;
  margin-bottom: 5px;
}

.body_txt video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  border-radius: 20px;
}

.post_content {
  padding: 0 30px 30px;
  margin-bottom: 0px;
}

.post_content p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 25px;
}

.post_content img {
  border-radius: 20px;
  margin-bottom: 7px;
}

.post_content video {
  border-radius: 20px;
}

/* 画像横スクロール */
.post-images-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 0;
}

.post-images-scroll::-webkit-scrollbar {
  display: none;
}

.post-images-scroll img {
  flex-shrink: 0;
  width: auto;
  max-width: 85%;
  height: 450px;
  object-fit: cover;
  border-radius: 12px;
  scroll-snap-align: start;
  cursor: pointer;
}

.post-images-scroll.single-image img {
  max-width: 100%;
  width: 100%;
  height: auto;
  max-height: none;
}

/* 出勤タブ */
.schedule-date-header {
  padding: 0 16px 26px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #e7e9ea;
}

p.attend_span {
  font-size: 12px!important; 
  text-align: center;
  color: #eee; 
  margin-top: 2px;
}


/* ============================================
   6. アクション（いいね・リツイート等）
   ============================================ */

.actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  width: 100%;
}

.like, .retweet, .comments, .share {
  flex: 1;
  background-color: transparent;
  border: none;
  color: #666;
  margin-right: 10px;
  text-align: center;
  font-size: 15px;
}

.like.clicked {
  color: #ff4793;
}

.retweet.clicked {
  color: #00e1bc;
}

.count {
  margin-left: 5px;
}

.actions_me {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  width: 100%;
}

.like_me, .retweet_me, .comments_me, .share_me {
  flex: 1;
  background-color: transparent;
  border: none;
  color: #8a9095;
  margin-right: 10px;
  text-align: center;
  font-size: 18px;
}

.like_me a:hover, .like_me:hover, .retweet_me:hover, .comments_me:hover, .share_me:hover {
  cursor: pointer;
  text-decoration: none;
  background: none !important;
}

.like_me.liked,
.like_me.liked i {
  color: #f91880;
}

.edit_me,
.trash_me {
  flex: 1;
  background-color: transparent;
  border: none;
  color: #8a9095;
  margin-right: 10px;
  text-align: center;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
}

.edit_me:hover,
.trash_me:hover {
  cursor: pointer;
  text-decoration: underline;
  background: none !important;
}

.edit_me {
  color: #6b7280;
}

.trash_me {
  color: #ef4444;
}

.edit_me i,
.trash_me i {
  font-size: 16px;
}

.edit_me span,
.trash_me span {
  font-size: 14px;
  font-weight: 500;
}

.user-actions {
  display: flex;
  flex-direction: column;
  position: absolute;
  bottom: 20px;
  left: 20px;
}

.action-button {
  margin-top: 10px;
  padding: 5px 10px;
  color: #666;
  border: none;
  font-size: 18px;
}

/* ============================================
   7. アバター
   ============================================ */

.avatar {
  margin-right: 10px;
}

.avatar img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 50%;
  background: #202124;
  padding: 3px;
}

.avatar_story {
  margin-right: 10px;
}

.avatar_story img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 50%;
  background-image: linear-gradient(90deg, rgba(16, 190, 252, 1) 4%, rgba(129, 188, 243, 1) 13%, rgba(230, 177, 225, 1) 28%, rgba(250, 127, 229, 1) 49%, rgba(255, 125, 125, 1) 67%, rgba(247, 152, 102, 1) 78%, rgba(255, 212, 189, 1) 95%);
  padding: 3px;
}

.user-info {
  display: flex;
  align-items: center;
  padding: 10px;
  color: #fff;
}

.user-avatar {
  width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: 50% !important;
  margin-right: 10px;
  background: linear-gradient(135deg, #1d9bf0, #8b5cf6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
}

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

.user-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  padding-right: 14px;
}

.user-name {
  font-size: 16px;
  font-weight: bold;
  text-align: right;
  vertical-align: middle;
}

.user-name img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
  vertical-align: middle;
}

.user-name a {
  text-decoration: none;
}

.user-handle {
  margin: 0;
  font-size: 14px;
  opacity: 0.8;
}

.user-info_timeline {
  display: flex;
  align-items: flex-start;
}

.user-avatar_timeline {
  width: 50px;
  height: 50px;
  margin-right: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.user-info_timeline img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 50%;
  background: none;
  padding: 2px;
}

.user-name_timeline {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
}

.user-avatar_com {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 5px;
}

.user-avatar_com img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 50%;
}

.username_com {
  font-weight: bold;
  font-size: 13px;
  margin-right: 6px;
}

/* ============================================
   8. プロフィール
   ============================================ */

.container_prof {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  position: relative;
}

.header_prof {
  flex-basis: 100%;
  position: relative;
  height: 180px;
}

.header_prof img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-container {
  flex-basis: 100%;
  padding: 20px 15px 0px;
  margin-bottom: 0px;
  overflow-x: hidden;
}

.profile-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.profile-header img {
  position: absolute;
  top: 130px;
  left: 15px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin-right: 20px;
  padding: 4px;
  background: none;
  object-fit: cover;
}

.profile-header h2 {
  margin: 40px 0 0;
  font-size: 20px;
}

.profile-header p {
  margin: 0;
  color: #afafaf;
  font-size: 14px;
}

.profile-header_story {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.profile-header_story img {
  position: absolute;
  top: 130px;
  left: 15px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin-right: 20px;
  padding: 4px;
  background: linear-gradient(45deg, #FFC200 0%, #FFC200 30%, #FF1459 70%, #D300C5 100%);
  object-fit: cover;
}

.profile-header_story h2 {
  margin: 40px 0 0;
  font-size: 20px;
}

.profile-header_story p {
  margin: 0;
  color: #afafaf;
  font-size: 14px;
}

.profile-header_story_check {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.profile-header_story_check img {
  position: absolute;
  top: 130px;
  left: 15px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin-right: 20px;
  padding: 4px;
  background: linear-gradient(135deg, #71767b 0%, #8b8b8b 100%);
  object-fit: cover;
}

.profile-header_story_check h2 {
  margin: 40px 0 0;
  font-size: 20px;
}

.profile-header_story_check p {
  margin: 0;
  color: #afafaf;
  font-size: 14px;
}

.profile-info {
  flex: 1;
}

.profile-description p {
  margin: 14px 0;
  font-size: 14px;
}

p.prof_link {
  margin-top: 10px;
  margin-bottom: 12px;
  font-size: 14px;
}

p.prof_link a {
  color: #00acee;
  text-decoration: none;
}

.profile-stats {
  list-style: none;
  padding: 0;
  margin: 25px 0;
  display: flex;
}

.profile-stats li {
  display: flex;
  align-items: center;
  font-size: 14px;
  margin-right: 20px;
}

.stat-count {
  font-size: 18px;
  font-weight: bold;
  color: #e7e9ea;
  margin-right: 3px;
}

.stat-label {
  font-size: 14px;
  font-weight: normal;
  color: #71767b;
}

.profile-actions {
  position: absolute;
  top: 190px;
  right: 12px;
}

.profile-side {
  flex-basis: 100%;
  padding: 20px 0px 0px;
  margin-bottom: 0px;
}

.profile-side img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  margin-bottom: 15px;
  object-fit: cover;
}

.profile-header-side {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.profile-info-side {
  flex: 1;
}

.profile-header-side h2 {
  margin: 0px 0 0;
  font-size: 20px;
}

.profile-header-side p {
  margin: 0;
  color: #afafaf;
  font-size: 14px;
}

.profile-stats-side {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  display: flex;
}

.profile-stats-side li {
  display: flex;
  align-items: center;
  font-size: 14px;
  margin-right: 20px;
}

.stat-count-side {
  font-weight: bold;
  margin-right: 3px;
}

.stat-label-side {
  font-weight: normal;
  color: #999;
}

.profile {
  margin-top: 20px;
  text-align: center;
  background: rgba(45, 55, 65, .3);
  padding: 25px 15px 15px;
  border-radius: 20px;
}

.profile img {
  width: 100px;
  border-radius: 50%;
}

.profile h3 {
  margin-top: 10px;
}

.edit-profile-btn-small {
  margin-left: auto;
  margin-top: 28px;
  margin-right: 20px;
  width: 36px;
  height: 36px;
  border: 1px solid #536471;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s;
  flex-shrink: 0;
}

.edit-profile-btn-small:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* プロフィールSNSリンク */
.profile-sns-links {
  margin-top: 16px;
  margin-bottom: 16px;
  padding-top: 16px;
  border-top: 1px solid #2a2a2a;
}

.profile-sns-icons {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.profile-sns-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.profile-sns-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.profile-sns-icon i {
  font-size: 20px;
}

.profile-sns-icon.twitter {
  background: #000;
  color: #fff;
}

.profile-sns-icon.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
}

.profile-sns-icon.tiktok {
  background: #000;
  color: #fff;
}

.profile-sns-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  text-decoration: none;
  color: #afafaf;
  transition: background 0.2s;
}

.profile-sns-link:hover {
  background: rgba(255, 255, 255, 0.1);
}

.profile-sns-link i {
  font-size: 18px;
  width: 24px;
  text-align: center;
}

.profile-sns-link.line i {
  color: #06C755;
}

.profile-sns-link.other i {
  color: #667eea;
}

.profile-sns-link-text {
  flex: 1;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* プロフィールスケジュール */
.profile-schedule {
  margin-top: 20px;
  padding: 16px 0;
  border-top: 1px solid #3d5466;
  overflow: hidden;
  max-width: 100%;
}

.profile-schedule-title {
  font-size: 14px;
  font-weight: 600;
  color: #8899a6;
  margin-bottom: 18px;
}

.profile-schedule-title i {
  color: #1d9bf0;
  margin-right: 6px;
}

.schedule-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 20px;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

.schedule-scroll::-webkit-scrollbar {
  height: 4px;
}

.schedule-scroll::-webkit-scrollbar-track {
  background: #253341;
  border-radius: 2px;
}

.schedule-scroll::-webkit-scrollbar-thumb {
  background: #3d5466;
  border-radius: 2px;
}

.schedule-item {
  min-width: 100px;
  max-width: 100px;
  padding: 10px 8px;
  background: #253341;
  border-radius: 10px;
  text-align: center;
  flex-shrink: 0;
  border: 2px solid transparent;
}

.schedule-item.has-schedule {
  background: linear-gradient(135deg, #253341, #253341);
  border-color: #60b2ea;
}

.schedule-item.weekend .schedule-date,
.schedule-item.weekend .schedule-day {
  color: #e40d71;
}

.schedule-date {
  font-size: 13px;
  color: #8899a6;
  margin-bottom: 2px;
}

.schedule-day {
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  margin-bottom: 6px;
}

.schedule-time {
  font-size: 13px;
  color: #adadad;
  font-weight: 600;
  line-height: 1.4;
}

.schedule-separator {
  display: block;
  font-size: 13px;
  color: #8899a6;
}

.schedule-memo {
  font-size: 11px;
  color: #fa52a0;
  margin-top: 4px;
  text-align: center !important;
  word-break: break-word;
}

.schedule-empty {
  font-size: 18px;
  color: #3d5466;
}

.schedule-next-day {
  font-size: 12px;
  color: #f91880;
  margin-right: 1px;
}

/* フォローボトムシート */
.follow-sheet-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.follow-sheet {
  background: #192734;
  width: 100%;
  max-width: 500px;
  height: 70vh;
  min-height: 500px;
  border-radius: 20px 20px 0 0;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.follow-sheet.no-animation {
  animation: none;
}

.follow-sheet-header {
  padding: 12px 16px;
  border-bottom: 1px solid #38444d;
  position: relative;
}

.sheet-handle {
  width: 40px;
  height: 4px;
  background: #657786;
  border-radius: 2px;
  margin: 0 auto 12px;
}

.sheet-tabs {
  display: flex;
  gap: 0;
}

.sheet-tabs button {
  flex: 1;
  padding: 12px;
  background: none;
  border: none;
  color: #8899a6;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}

.sheet-tabs button.sheet-tab-active {
  color: #fff;
  border-bottom-color: #e91e63;
}

.sheet-close {
  position: absolute;
  top: -3px!important;
  right: 10px;
  background: none;
  border: none;
  color: #8899a6;
  font-size: 30px!important;
  cursor: pointer;
  padding: 4px 8px;
}

.sheet-close:hover {
  color: #fff;
}

.follow-sheet-content {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
  min-height: 0;
}

.sheet-empty {
  text-align: center;
  padding: 40px;
  color: #8899a6;
}

.sheet-list {
  padding: 0 8px;
}

.sheet-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 12px;
  transition: background 0.2s;
}

.sheet-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.sheet-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

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

.sheet-avatar.story-active {
  border: 2px solid #e91e63;
  padding: 2px;
}

.sheet-avatar.story-viewed {
  border: 2px solid #657786;
  padding: 2px;
}

.sheet-item-info {
  flex: 1;
  min-width: 0;
}

.sheet-item-name {
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sheet-item-username {
  color: #8899a6;
  font-size: 13px;
  margin: 2px 0 0;
}

.follower-type-tabs {
  display: flex;
  border-bottom: 1px solid #2f3336;
}

.follower-type-tab {
  flex: 1;
  padding: 12px;
  background: none;
  border: none;
  color: #71767b;
  font-size: 14px;
  cursor: pointer;
}

.follower-type-tab.active {
  color: #e7e9ea;
  border-bottom: 2px solid #FF3772;
}

.follower-type-count {
  font-size: 12px;
}

.follower-hint {
  padding: 10px 16px;
  background: rgba(29, 155, 240, 0.1);
  border-bottom: 1px solid #2f3336;
}

.follower-hint p {
  color: #71767b;
  font-size: 12px;
  text-align: center;
  margin: 0;
}

.follower-hint .star {
  color: #ffd700;
}

.user-x-button {
  display: inline-flex; 
  align-items: center; 
  gap: 4px; 
  margin-top: 6px; 
  padding: 4px 10px; 
  background: #1DA1F2; 
  color: #fff; 
  border-radius: 12px; 
  font-size: 12px; 
  text-decoration: none;
}

.sort-text {
  display: flex; 
  justify-content: flex-end; 
  align-items: center; 
  padding: 20px 12px 20px; 
  border-bottom: 1px solid #2f3336;
}

.sort-change {
  color: #eee; 
  font-size: 12px; 
  margin-right: 8px;
}

.follower-sort {
  background: #2f3336; 
  color: #eee; 
  border: 1px solid #536471; 
  border-radius: 8px; 
  padding:10px; 
  font-size: 14px; 
  cursor: pointer;
}

.text-center {
  text-align: center;
}

.follower-user-info {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  text-align: center;
  position: relative;
}

.follower-user-info > div {
  flex: 1;
}

.favorite-btn {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 4px;
  position: absolute;
  top: -5px;
  right: -5px;
}

.star-back {
  padding: 10px 16px; 
  background: rgba(29, 155, 240, 0.1); 
  border-bottom: 1px solid #2f3336;
}

.star-text {
  color: #c0c4c9; 
  font-size: 12px; 
  text-align: center; 
  margin: 0;
}

/* ============================================
   9. 投稿詳細プロフィールカード
   ============================================ */

.post-detail-profile-card {
  background: #16181c;
  border: 1px solid #2f3336;
  border-radius: 16px;
  padding: 20px;
  margin: 30px 10px;
}

.post-detail-profile-header {
  display: flex;
  gap: 20px;
  align-items: start;
  margin-bottom: 10px;
}

.post-detail-profile-avatar {
  position: relative;
}

.post-detail-profile-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  padding: 4px;
  object-fit: cover;
}

.post-detail-profile-avatar img.has-story {
  background: linear-gradient(45deg, #FFC200 0%, #FFC200 30%, #FF1459 70%, #D300C5 100%);
}

.post-detail-profile-avatar img.has-story-viewed {
  background: linear-gradient(135deg, #71767b 0%, #8b8b8b 100%);
}

.post-detail-profile-info {
  flex: 1;
}

.post-detail-profile-name {
  color: #e7e9ea;
  font-size: 20px;
  margin-bottom: 0px;
}

.post-detail-profile-name a {
  color: #e7e9ea;
  text-decoration: none;
}

.post-detail-profile-username {
  color: #71767b;
  margin-bottom: 5px;
}

.post-detail-profile-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 5px;
  flex-wrap: wrap;
}

.post-detail-profile-meta span {
  color: #e7e9ea;
  font-size: 14px;
}

.post-detail-profile-meta i {
  margin-right: 5px;
}

.post-detail-profile-meta .icon-location {
  color: #1d9bf0;
}

.post-detail-profile-meta .icon-age {
  color: #f91880;
}

.post-detail-profile-meta .icon-job {
  color: #ffd700;
}

.post-detail-profile-size {
  color: #e7e9ea;
  font-size: 14px;
  margin-bottom: 10px;
}

.post-detail-profile-size i {
  color: #ff69b4;
  margin-right: 5px;
}

.post-detail-profile-button {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 12px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}

.post-detail-profile-button:hover {
  opacity: 0.9;
}

/* ============================================
   10. ユーザーページ
   ============================================ */

.user-header-user {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 16px;
  border-bottom: 1px solid #38444d;
}

.user-info-user {
  flex: 1;
  flex-direction: column;
}

.user-name-user {
  font-size: 20px;
  font-weight: bold;
  color: #e7e9ea;
  margin: 0 0 4px 0;
}

.user-email {
  font-size: 14px;
  color: #71767b;
  margin: 0;
}

.user-stats {
  display: flex;
  gap: 24px;
  padding: 16px;
  border-bottom: 1px solid #38444d;
  margin-bottom: 20px;
}

.user-stat {
  display: flex;
  gap: 6px;
  align-items: baseline;
}

.following-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 16px 0px;
  margin-bottom: 35px;
}

.following-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  padding: 10px 8px 10px;
  border-radius: 12px;
  transition: background 0.2s;
}

.following-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.following-avatar {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(45deg, #202124 0%, #202124 30%, #202124 70%, #202124 100%);
  padding: 3px;
}

.following-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  aspect-ratio: 1/1;
}

.following-avatar_story {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(45deg, #FFC200 0%, #FFC200 30%, #FF1459 70%, #D300C5 100%);
  padding: 3px;
  object-fit: cover;
  object-position: 50% 50%;
}

.following-avatar_story img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.following-avatar_story_check {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, #71767b 0%, #8b8b8b 100%);
  padding: 3px;
  object-fit: cover;
  object-position: 50% 50%;
}

.following-avatar_story_check img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.following-name {
  font-size: 14px;
  font-weight: 600;
  color: #e7e9ea;
  margin: 3px 0 2px 0;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

p.following-username {
  font-size: 12px!important;
  color: #abb0b6!important;
  margin: 0;
  text-align: center;
}

p.like-user {
  font-size:12px!important; 
  text-align: center;
  color: #abb0b6!important;
}

/* ============================================
   11. ストーリー
   ============================================ */

.story-container {
  display: flex;
}

.story-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 10px;
  padding: 5px;
}

.story-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  background-image: linear-gradient(90deg, rgba(16, 190, 252, 1) 4%, rgba(129, 188, 243, 1) 13%, rgba(230, 177, 225, 1) 28%, rgba(250, 127, 229, 1) 49%, rgba(255, 125, 125, 1) 67%, rgba(247, 152, 102, 1) 78%, rgba(255, 212, 189, 1) 95%);
  padding: 3px;
}

.story-name {
  margin-top: 5px;
  font-size: 11px;
  text-align: center;
}

p.story-name {
  font-size: 0.75rem !important;
  text-align: center;
  margin-top: 0.5rem;
  color: #fff;
  font-weight: 500;
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.story-name a {
  font-size: 0.6rem !important;
}

/* ストーリーコンテナ */
.stories-container {
  padding: 1.5rem 0 0.75rem;
  border-bottom: 1px solid var(--border-light);
  min-height: 180px;
}

.stories-container h2 {
  font-size: 15px;
  text-align: center;
  margin-bottom: 20px;
  color: #eee;
}

.stories-container > div {
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow-x: auto;
  padding: 0 0.5rem 0.5rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.stories-container > div::-webkit-scrollbar {
  display: none;
}

/* ストーリーリング */
.story-ring-item {
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.2s;
}

.story-ring-item:hover {
  transform: scale(1.05);
}

.story-ring {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(45deg, #FFC200 0%, #FFC200 30%, #FF1459 70%, #D300C5 100%);
}

.story-ring-inner {
  background: white;
  border-radius: 50%;
  width: 100%;
  height: 100%;
}

.story-ring-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.story-ring-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(45deg, #FFC200, #DC02B2, #FF1459);
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-ring-viewed {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #71767b 0%, #8b8b8b 100%);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-count-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #ec4899;
  color: white;
  font-size: 0.75rem;
  font-weight: bold;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

/* プロフィールストーリーリング */
.profile-stories-section {
  margin: 20px 0;
}

.profile-story-ring-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 15px;
}

.profile-story-ring {
  cursor: pointer;
  position: relative;
  transition: transform 0.2s;
  width: 90px;
  height: 90px;
}

.profile-story-ring:hover {
  transform: scale(1.05);
}

.profile-story-ring-gradient {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(45deg, #FFC200 0%, #FFC200 30%, #FF1459 70%, #D300C5 100%);
  box-sizing: border-box;
}

.profile-story-ring-inner {
  background: white;
  border-radius: 50%;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.profile-story-ring-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-story-ring-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-story-ring-placeholder i {
  font-size: 40px;
  color: #ccc;
}

.profile-story-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #e1306c;
  color: white;
  font-size: 12px;
  font-weight: bold;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid white;
  box-sizing: border-box;
}

.profile-story-text {
  text-align: center;
  color: #666;
  font-size: 14px;
  margin-top: 10px;
}

.profile-story-text i {
  margin-right: 5px;
}

/* ストーリータブ */
.story-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
  padding: 0 4px;
}

.story-tab-btn {
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid #9eacb7;
  background: transparent;
  color: #9eacb7;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.story-tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.story-tab-active {
  background: #1d9bf0 !important;
  border-color: #1d9bf0;
  color: #fff;
}

.empty-story-message {
  color: #8899a6;
  font-size: 14px;
  padding: 20px;
  text-align: center;
}

.story-loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100px;
  color: #8899a6;
  font-size: 24px;
}

/* ============================================
   12. ストーリービューアー
   ============================================ */

.story-viewer-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-viewer-modal.hidden {
  display: none !important;
}

.story-viewer-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 50;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
}

.story-viewer-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 40;
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.story-viewer-nav-btn.prev {
  left: 1rem;
}

.story-viewer-nav-btn.next {
  right: 1rem;
}

.story-viewer-container {
  position: relative;
  max-width: 500px;
  margin:0 auto;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.story-viewer-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);
  padding: 1rem;
}

.story-viewer-profile-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: white;
  cursor: pointer;
}

.story-viewer-profile-link:hover {
  opacity: 0.8;
}

.story-viewer-content {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.story-viewer-tap-area {
  position: absolute;
  top: 100px;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  z-index: 10;
}

.story-viewer-tap-area > div {
  width: 33.333%;
  height: 100%;
  cursor: pointer;
}

/* Vueコンポーネント版ストーリービューアー */
.story-viewer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000;
  z-index: 9999;
}

.story-close-btn {
  position: absolute;
  top: 35px;
  right: 20px;
  z-index: 9999;
  color: #fff;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.story-close-btn:hover {
  color: #ccc;
  background: none;
}

.story-mute-btn {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 50;
  color: #fff;
  font-size: 18px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: transform 0.2s;
}

.story-mute-btn:hover {
  background: none;
  transform: scale(1.1);
}

.story-nav-btn {
  position: absolute;
  z-index: 40;
  color: #fff;
  font-size: 32px;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.story-nav-btn:hover {
  color: #ccc;
  background: none;
}

.story-nav-prev {
  position: absolute;
  top:50%;
  left: 16px;
}

.story-nav-next {
  position: absolute;
  top:50%;
  right: 16px;
}

.story-content-wrapper {
  position: relative;
  max-width: 450px;
  width: 100%;
  height: 100%;
  max-height: 100vh;
  margin:0 auto;
  display: flex;
  flex-direction: column;
}

.story-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);
  padding: 16px;
}

.story-progress-container {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
}

.story-progress-bar {
  flex: 1;
  height: 3px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 3px;
  overflow: hidden;
}

.story-progress-fill {
  height: 100%;
  background: #fff;
}

.story-profile-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.story-profile-link {
  display: block;
  position: relative;
  z-index: 50;
}

.story-profile-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #fff;
  transition: border-color 0.2s;
}

.story-profile-avatar:hover {
  border-color: #f472b6;
}

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

.story-profile-avatar-placeholder {
  width: 100%;
  height: 100%;
  background: #d1d5db;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
}

.story-profile-name {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  margin: 0;
}

.story-profile-time {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  margin: 0;
}

.story-media-container {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-media {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.story-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 30;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  padding: 26px;
}

.story-caption-text {
  color: #fff;
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
  margin: 0;
}

.story-view-count {
  position: absolute;
  top: 34px;
  right: 10%;
  transform: translateX(-50%);
  z-index: 30;
  background: rgba(65, 211, 146, 0.9);
  color: #fff;
  padding: 8px 16px;
  min-width:35px;
  border-radius: 20px;
  font-size: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}

.story-view-count i {
  font-size: 12px;
}

.story-tap-areas {
  position: absolute;
  top: 100px;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  z-index: 20;
}

.story-tap-area {
  flex: 1;
  cursor: pointer;
}

#mute-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
}

#mute-toggle-btn:active {
  transform: scale(0.95);
}

#mute-toggle-btn i {
  font-size: 2rem;
}

/* ============================================
   13. ボタン
   ============================================ */

.post-button {
  padding: 8px 12px;
  min-width: 140px;
  border: none;
  border-radius: 30px;
  background-color: #08c655;
  color: white;
  font-size: 14px;
  margin-left: auto;
}

.post-button:hover {
  background-color: #0d8ecf;
}

.login-button {
  display: block;
  width: 80px;
  padding: 5px 0;
  background-color: #fff;
  color: #333;
  border: none;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.5s;
  text-align: center;
  margin-right: 10px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.follow-button {
  display: block;
  width: 100%;
  padding: 8px 0;
  background-color: #08c655;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.5s;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.follow-button.following {
  background-color: #575a62;
  color: #fff;
}

.follow-button.following:hover {
  background-color: #0aec65;
}

.visit-button {
  width: 100%;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
  background-color: #219BE4;
  border: none;
  border-radius: 10px;
  color: #e7e9ea;
  margin-top: 8px;
}

.visit-button:hover {
  background: rgba(83, 100, 113, 0.2);
}

.visit-button.visited {
  background: rgba(83, 100, 113, 0.3);
  cursor: default;
  opacity: 0.8;
}

.visit-button.status-visited {
  background: rgba(34, 197, 94, 0.2);
  border-color: #22c55e;
  color: #22c55e;
}

.visit-button.status-ng {
  background: rgba(244, 63, 94, 0.2);
  border-color: #f43f5e;
  color: #f43f5e;
}

.messa-button {
  display: block;
  width: 100%;
  padding: 8px 0;
  background-color: #292b2e;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.5s;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.twitter-button {
  display: block;
  width: 100%;
  padding: 10px 0;
  background: #1da1f2;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 25px;
  cursor: pointer;
  transition: 0.5s;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.fan-button {
  display: block;
  width: 100%;
  padding: 8px 0;
  margin: 0px 14px 20px;
  background-color: #ff4160;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.5s;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.fan-button_fan {
  display: block;
  width: 100%;
  padding: 8px 0;
  margin: 0px 14px 20px;
  background-color: #f9f9f9;
  color: #333;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.5s;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.fan-button_fan a {
  color: #333;
  display: block;
}

.fan-button_live {
  display: block;
  width: 100%;
  padding: 8px 0;
  margin: 0px 14px 20px;
  background-color: #08c655;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.5s;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.fan-button_mp {
  display: block;
  width: 90%;
  padding: 8px 0;
  margin: 20px auto 25px;
  background-color: #323439;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.5s;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.material-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: none;
  background:linear-gradient(135deg, #ff2d6a 0%, #ff6b9d 50%, #ffb366 100%);
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.material-button a {
  display: block;
}

.material-button a:hover {
  color: #333 !important;
}

.material-button:hover {
  background-color: #eee;
  color: #333 !important;
}

.home-b-content {
  display: flex;
  align-items: center;
  justify-content: center;
  margin:40px auto 40px;
}

.home-button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: none;
  background-color: #26afff;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.home-button a {
  display: block;
}

.button-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin: 60px 20px 30px;
}

.refresh-button-container {
  position: fixed;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  cursor: pointer;
}

.refresh-button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 12px 24px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.refresh-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.refresh-button:active {
  transform: translateY(0);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.refresh-button i {
  font-size: 14px;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background: #1d9bf0;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-submit:hover {
  background: #1a8cd8;
}

.empty-state-btn {
  display: inline-block;
  padding: 12px 24px;
  background: #1d9bf0;
  color: white;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}

.empty-state-btn:hover {
  background: #1a8cd8;
}

/* ============================================
   14. タブ
   ============================================ */

/* 絞り込みフィルター 
.filter-container {
  display: flex;
  gap: 8px;
  padding: 20px 16px;
  background: #17171a;
  border-bottom: 1px solid #2f3336;
}

.filter-select {
  flex: 1;
  padding: 10px 12px;
  background: #202327;
  border: 1px solid #2f3336;
  border-radius: 8px;
  color: #ddd!important;
  font-size: 15px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2371767b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
*/

.filter-container {
  display: flex;
  gap: 8px;
  padding: 10px 16px 25px;
}

.filter-select {
  flex: 1;
  padding: 14px 12px;
  background: #323439;
  border: none;
  border-radius: 8px;
  color: #ddd!important;
  font-size: 15px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2371767b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.filter-select:focus {
  outline: none;
  border-color: #1d9bf0;
}

.tabs-container {
  margin-bottom: 20px;
  border-bottom: 1px solid #38444d;
  min-height: 50px;
}

.tabs-flex {
  display: flex;
  gap: 0;
}

.tab-button {
  flex: 1;
  padding: 16px 0;
  background: none;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: background 0.2s, color 0.2s;
}

.tab-button:hover {
  background: rgba(255, 255, 255, 0.05);
}

.tab-active {
  background: none !important;
  color: #1d9bf0 !important;
}

.tab-inactive {
  color: #71767b !important;
}

.tab-inactive:hover {
  background: none !important;
  color: #e7e9ea !important;
}

.tab-indicator {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #1d9bf0;
  border-radius: 2px;
}

.tabs-container + .timeline_prof {
  border-top: none;
  margin-top: 10px;
}

.sub-tabs {
  display: flex;
  border-bottom: 1px solid #2f3336;
  margin-bottom: 16px;
}

.sub-tab-button {
  flex: 1;
  padding: 12px 16px;
  background: none;
  border: none;
  color: #71767b;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.sub-tab-button:hover {
  background: none;
}

.sub-tab-active {
  color: #fff;
  border-bottom: 2px solid #1d9bf0;
  background: none;
}

/* ============================================
   15. ランキング
   ============================================ */

.ranking-container {
  max-width: 600px;
  margin: 30px 10px;
}

.ranking-loading {
  text-align: center;
  padding: 40px;
  color: #71767b;
}

.ranking-item {
  background: #292b2e;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: background 0.2s;
  cursor: pointer;
}

.ranking-item:hover {
  background: #1a1d21;
  transform: translateY(-2px);
}

.ranking-rank {
  font-size: 24px;
  font-weight: bold;
  min-width: 30px;
  text-align: center;
}

.rank-gold {
  color: #FFD700;
}

.rank-silver {
  color: #C0C0C0;
}

.rank-bronze {
  color: #CD7F32;
}

.rank-default {
  color: #71767b;
}

.ranking-avatar {
  width: 65px !important;
  height: 65px !important;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #2f3336;
  transition: transform 0.2s;
}

.ranking-avatar:hover {
  transform: scale(1.05);
}

.ranking-info {
  flex: 1;
}

.ranking-name {
  color: #e7e9ea;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 4px;
  text-decoration: none;
}

.ranking-username {
  color: #71767b;
  font-size: 14px;
  margin-bottom: 0px;
}

.ranking-profile {
  color: #a0a0a0;
  font-size: 12px;
  margin-bottom: 2px;
}

.ranking-size {
  color: #71767b;
  font-size: 11px;
  margin-bottom: 4px;
}

.ranking-stats {
  display: flex;
  gap: 12px;
  font-size: 13px;
}

.ranking-stats-total {
  color: #e7e9ea;
}

.ranking-stats-detail {
  color: #71767b;
}

.ranking-profile-btn {
  padding: 8px 16px;
  background: #1d9bf0;
  color: white;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  white-space: nowrap;
  transition: background 0.2s;
}

.ranking-profile-btn:hover {
  background: #1a8cd8;
}

.ranking-empty {
  text-align: center;
  padding: 40px;
  color: #71767b;
}

.story-ring-ranking {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(45deg, #FFC200 0%, #FFC200 30%, #FF1459 70%, #D300C5 100%);
}

.story-ring-viewed-ranking {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: linear-gradient(135deg, #71767b 0%, #8b8b8b 100%);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   16. カード
   ============================================ */

.profile-card {
  width: 100%;
  max-width: 345px;
  margin: 20px auto 40px;
  background-color: #292b2e;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  border-radius: 12px;
  overflow: hidden;
}

.card_header-image {
  position: relative;
  overflow: hidden;
}

.card_header-image img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  object-position: 50% 50%;
}

.card_avatar-overlay {
  position: absolute;
  bottom: 12px;
  left: 10px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.card_profile-info {
  display: flex;
  align-items: center;
  padding: 10px 10px 20px;
}

.card_avatar-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card_user-info {
  flex: 1;
}

.card_user-name {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 5px;
}

.card_user-bio {
  font-size: 11px;
  color: #afafaf;
}

.profile-card_mp {
  display: flex;
  align-items: center;
  padding: 20px 20px 20px 10px;
}

.mp_cont {
  margin-top: 0px;
  border-bottom: solid 1px #333;
}

.mp_cont:first-child {
  margin-top: -20px;
  border-bottom: solid 1px #333;
}

.avatar-container_mp {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 20px;
  object-fit: cover;
  object-position: 50% 50%;
}

.avatar-container_mp_story {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 10px;
  background: linear-gradient(45deg, #FFC200 0%, #FFC200 30%, #FF1459 70%, #D300C5 100%);
  padding: 3px;
  object-fit: cover;
  object-position: 50% 50%;
}

.avatar-container_mp_story img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.avatar-container_mp_story_check {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  margin-right: 10px;
  background: linear-gradient(135deg, #71767b 0%, #8b8b8b 100%);
  padding: 3px;
  object-fit: cover;
  object-position: 50% 50%;
}

.avatar-container_mp_story_check img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.avatar-icon_mp {
  width:  50px;
  height: 50px;
  object-fit: cover;
}

.content_mp {
  flex: 1;
}

.user-name_mp {
  font-size: 16px;
  font-weight: bold;
  margin-top: 5px;
}

.user-bio_mp {
  font-size: 14px;
  color: #999;
}

/* ============================================
   17. 検索
   ============================================ */

.search-page {
  padding: 20px 0;
  max-width: 600px;
  margin: 0 auto;
}

/* 検索フォーム */
.search-form-container {
  margin-bottom: 24px;
}

.search-form {
  display: flex;
  gap: 10px;
}

.search-input-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 14px;
  color: #888;
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 12px 40px;
  border: 1px solid #333;
  border-radius: 25px;
  background: #1a1a1a;
  color: #fff;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s;
}

.search-input:focus {
  border-color: #667eea;
}

.search-input::placeholder {
  color: #666;
}

.search-clear {
  position: absolute;
  right: 14px;
  color: #888;
  padding: 5px;
}

.search-clear:hover {
  color: #fff;
}

.search-button {
  padding: 12px 24px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 25px;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.2s;
}

.search-button:hover {
  opacity: 0.9;
}

/* 検索結果 */
.search-count {
  color: #888;
  font-size: 14px;
  margin-bottom: 16px;
}

.cast-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cast-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: #1a1a1a;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.2s;
}

.cast-card:hover {
  background: #252525;
}

.cast-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

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

.cast-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cast-name {
  color: #fff;
  font-weight: bold;
  font-size: 15px;
}

.cast-details {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.cast-location {
  color: #888;
  font-size: 13px;
}

/* プレースホルダー・結果なし */
.search-placeholder,
.no-results {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}

.search-placeholder i,
.no-results i {
  font-size: 48px;
  margin-bottom: 16px;
}

.no-results p,
.search-placeholder p {
  font-size: 15px;
}

.search-link {
  color: #fff;
  padding: 8px;
  margin-top:3px;
  margin-left:5px;
}

/* ============================================
   18. エリアドロップダウン
   ============================================ */

.area-dropdown-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  user-select: none;
  transition: opacity 0.2s;
}

.area-dropdown-wrapper:hover {
  opacity: 0.8;
}

.area-dropdown-icon {
  font-size: 12px;
  transition: transform 0.3s;
}

.area-dropdown-wrapper:active .area-dropdown-icon {
  transform: rotate(180deg);
}

.area-dropdown-menu {
  position: fixed;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  min-width: 200px;
  max-width: 90vw;
  max-height: 400px;
  overflow-y: auto;
  animation: dropdown-slide 0.2s ease-out;
}

@keyframes dropdown-slide {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.area-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  cursor: pointer;
  transition: background 0.2s;
  border-bottom: 1px solid #f0f0f0;
  font-size: 15px;
  color: #333;
}

.area-dropdown-item:first-child {
  border-radius: 12px 12px 0 0;
}

.area-dropdown-item:last-child {
  border-bottom: none;
  border-radius: 0 0 12px 12px;
}

.area-dropdown-item:hover {
  background: #f8f9fa;
}

.area-dropdown-item.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-weight: bold;
}

.area-dropdown-item i.fa-map-marker-alt {
  color: #667eea;
  font-size: 14px;
}

.area-dropdown-item.active i.fa-map-marker-alt {
  color: white;
}

.area-dropdown-item i.fa-check {
  margin-left: auto;
  color: white;
  font-size: 14px;
}

.dropdown-fade-enter-active,
.dropdown-fade-leave-active {
  transition: opacity 0.2s, transform 0.2s;
}

.dropdown-fade-enter-from {
  opacity: 0;
  transform: translateX(-50%) translateY(-10px);
}

.dropdown-fade-leave-to {
  opacity: 0;
  transform: translateX(-50%) translateY(-10px);
}

/* ============================================
   19. 通知
   ============================================ */

.notification-bell {
  position: relative;
  cursor: pointer;
  padding: 10px 5px 8px 0px;
}

.notification-badge {
  position: absolute;
  top: 3px;
  left: 8px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  width:20px;
  height:20px;
  line-height: 20px;
  border-radius: 50%;
  text-align: center;
}

.notification-dropdown {
  display: none;
  position: absolute;
  top: 60px;
  right: 10px;
  width: 320px;
  max-height: 400px;
  background: #192734;
  border: 1px solid #38444d;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  overflow: hidden;
}

.notification-dropdown.show {
  display: block;
}

.notification-dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #38444d;
  font-weight: bold;
  color: #fff;
}

.notification-mark-read {
  background: none;
  border: none;
  color: #ec4899;
  font-size: 15px;
  cursor: pointer;
}

.notification-list {
  max-height: 340px;
  overflow-y: auto;
}

.notification-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #38444d;
  cursor: pointer;
  transition: background 0.2s;
}

.notification-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.notification-item.unread {
  background: rgba(236, 72, 153, 0.1);
}

.notification-item-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.notification-item-content {
  flex: 1;
}

.notification-item-text {
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  margin: 0 0 4px 0;
}

.notification-item-text strong {
  color: #ec4899;
}

.notification-item-time {
  color: #71767b;
  font-size: 12px;
}

.notification-loading,
.notification-empty {
  padding: 30px;
  text-align: center;
  color: #71767b;
}

.notification-user-label {
  font-size: 11px;
  color: #71767b;
  margin-left: 4px;
}

/* ============================================
   20. モーダル
   ============================================ */

.remodal-overlay {
  background: rgba(255, 255, 255, .6) !important;
}

.login_content {
  position: relative;
  background: none !important;
  border-radius: 2em;
  padding: 0px;
  margin: 0;
}

.login_content.remodal-close {
  position: absolute;
  top: 30px;
  right: 0 !important;
  display: block;
  overflow: visible;
  width: 45px;
  height: 45px;
  margin: 0;
  padding: 0;
  cursor: pointer;
  -webkit-transition: color 0.2s;
  transition: color 0.2s;
  text-decoration: none;
  border: 0;
  outline: 0;
}

.login_content .remodal-close:before {
  font-size: 40px;
  line-height: 45px;
  position: absolute;
  top: 30px;
  right: 0 !important;
  bottom: 0;
  display: block;
  margin: auto;
  color: #333 !important;
  background: #fff !important;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  content: "\00d7";
  text-align: center;
}

/* ============================================
   21. ボトムシート
   ============================================ */

.bottom-sheet-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.bottom-sheet-overlay.active {
  opacity: 1;
  visibility: visible;
}

.bottom-sheet {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(100%);
  width: 100%;
  max-width: 600px;
  max-height: 85vh;
  min-height: 75vh;
  background: #192734;
  border-radius: 20px 20px 0 0;
  z-index: 9999;
  transition: transform 0.3s ease-out;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.bottom-sheet.active {
  transform: translateX(-50%) translateY(0);
}

.bottom-sheet-handle {
  width: 40px;
  height: 4px;
  background: #71767b;
  border-radius: 2px;
  margin: 12px auto;
  cursor: grab;
}

.bottom-sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 16px 12px;
  border-bottom: 1px solid #38444d;
}

.bottom-sheet-title {
  font-size: 18px;
  font-weight: bold;
  color: #fff;
}

.bottom-sheet-close {
  background: none;
  border: none;
  color: #71767b;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
}

.bottom-sheet-close:hover {
  color: #fff;
}

.bottom-sheet-content {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  padding-bottom: 80px;
}

.bottom-sheet-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.bottom-sheet-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.bottom-sheet-info {
  flex: 1;
}

.bottom-sheet-name {
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  margin: 0 0 4px;
}

.bottom-sheet-username {
  font-size: 14px;
  color: #71767b;
  margin: 0;
}

.bottom-sheet-meta {
  font-size: 13px;
  color: #71767b;
  margin-top: 4px;
}

.bottom-sheet-meta span {
  margin-right: 12px;
}

.bottom-sheet-follow-btn {
  padding: 8px 20px;
  background: #1d9bf0;
  color: #fff;
  border: none;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
}

.bottom-sheet-follow-btn.following {
  background: transparent;
  border: 1px solid #71767b;
  color: #fff;
}

.bottom-sheet-posts-title {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  margin: 16px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #38444d;
}

.bottom-sheet-loading {
  text-align: center;
  padding: 40px;
  color: #71767b;
}

.bottom-sheet-empty {
  text-align: center;
  padding: 40px;
  color: #71767b;
}

/* ============================================
   22. フォーム
   ============================================ */

.profile-edit-container {
  max-width: 500px;
  margin: 0 auto;
  padding: 20px;
}

.profile-edit-form {
  background: #192734;
  padding: 24px;
  border-radius: 12px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  color: #e7e9ea;
  font-weight: bold;
  margin-bottom: 8px;
}

.form-group input {
  color: #e7e9ea !important;
}

.form-group select {
  color: #e7e9ea !important;
}

.form-control {
  width: 100%;
  padding: 12px;
  background: #253341;
  border: 1px solid #38444d;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: #1d9bf0;
}

.form-control:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-control-file {
  width: 100%;
  padding: 12px;
  background: #253341;
  border: 1px solid #38444d;
  border-radius: 8px;
  color: #e7e9ea;
  font-size: 14px;
  box-sizing: border-box;
}

.form-text {
  display: block;
  color: #fff;
  font-size: 12px;
  margin-top: 4px;
}

.current-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  background: #253341;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.avatar-placeholder {
  font-size: 40px;
  color: #71767b;
}

.back-link {
  text-align: center;
  margin-top: 20px;
}

.back-link a {
  color: #1d9bf0;
  text-decoration: none;
}

.back-link a:hover {
  text-decoration: underline;
}

/* ============================================
   23. アラート
   ============================================ */

.alert {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.alert-success {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border: 1px solid #22c55e;
}

.alert-error {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid #ef4444;
}

/* ============================================
   24. スケルトン・ローディング
   ============================================ */

.skeleton {
  background: linear-gradient(90deg, #1e2732 25%, #2d3741 50%, #1e2732 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 8px;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.skeleton-header {
  height: 200px;
  width: 100%;
  margin-bottom: 16px;
}

.skeleton-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: -40px auto 16px;
}

.skeleton-text {
  height: 16px;
  margin: 8px auto;
  width: 60%;
}

.skeleton-text-short {
  height: 14px;
  margin: 8px auto;
  width: 40%;
}

.skeleton-post {
  padding: 16px;
  border-bottom: 1px solid #38444d;
}

.skeleton-post-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  float: left;
  margin-right: 12px;
}

.skeleton-post-content {
  margin-left: 60px;
}

.skeleton-post-name {
  height: 14px;
  width: 120px;
  margin-bottom: 8px;
}

.skeleton-post-text {
  height: 12px;
  width: 100%;
  margin-bottom: 6px;
}

.skeleton-post-text:last-child {
  width: 70%;
}

.loading-overlay-p {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  background: #202124;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.loading-overlay-content-p {
  text-align: center;
}

.loading-overlay-spinner-p {
  font-size: 39px !important;
  color: #1d9bf0;
}

.loading-overlay-text-p {
  margin-top: 20px !important;
  color: #71767b;
}

.loading_b {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px 400px;
  color: #71767b;
}

.loading-indicator {
  text-align: center;
  padding: 20px;
  margin: 40px auto;
  color: #71767b;
}

/* ============================================
   25. 空状態・終了メッセージ
   ============================================ */

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
}

.empty-state p {
  color: #71767b;
  margin-bottom: 16px;
}

.end-message {
  text-align: center;
  padding: 20px;
  margin: 40px auto;
  color: #71767b;
  font-size: 14px;
}

/* ============================================
   26. フッター
   ============================================ */

.site-footer {
  background: #17171a;
  border-top: 1px solid #17171a;
  padding: 20px 0;
  margin-bottom: 60px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.footer-copyright {
  color: #71767b;
  font-size: 13px;
  margin-bottom: 10px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-nav a {
  color: #1d9bf0;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #1a8cd8;
  text-decoration: underline;
}

.footer-separator {
  color: #71767b;
  font-size: 13px;
}

/* ============================================
   27. 固定ボトムナビゲーション
   ============================================ */

.bottom-nav {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  max-width: 600px!important;
  margin: 0 auto;
  background: rgba(32, 33, 36, .9) !important;
  backdrop-filter: blur(10px) !important;
  z-index: 100 !important;
  display: flex !important;
  justify-content: space-around !important;
  align-items: center !important;
  padding: 8px 0 !important;
  height: 45px !important;
}

.bottom-nav-item {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  color: #f5f5f5 !important;
  transition: color 0.2s !important;
  padding: 5px !important;
}

.bottom-nav-item:hover {
  color: #1d9bf0;
}

.bottom-nav-item.active {
  color: #1d9bf0;
}

.bottom-nav-item i {
  font-size: 20px !important;
  margin-bottom: 2px !important;
}

.bottom-nav-item span {
  font-size: 10px !important;
  font-weight: 400 !important;
}

.bottom-nav-item svg {
  margin-bottom: 5px;
}

.site-toggle-wrapper {
  padding: 8px 2px;
}

.site-toggle {
  display: flex;
  background: #38444d;
  border-radius: 20px;
  overflow: hidden;
  height: 32px;
}

.site-toggle-btn {
  min-width: 65px;
  padding: 6px 8px;
  font-size: 12px;
  text-align: center;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.2s;
  border-radius: 20px;
  background: transparent;
  color: #8899a6;
}

.site-toggle-btn.active {
  background: linear-gradient(135deg, #ff2d6a 0%, #ff6b9d 50%, #ffb366 100%);
  color: white;
}

/* ============================================
   28. ユーティリティ
   ============================================ */

.area-separator {
  font-size: 12px;
}

.pink-text {
  color: #ec4899;
}

.pink-text a {
  color: #ec4899 !important;
}

.gray-text {
  color: #71767b;
}

p.follow_attend {
  font-size: 12px !important;
  background: rgba(41, 43, 46, .9);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  color: #f1f1f1;
  padding: 5px 12px;
  border-radius: 12px;
  margin: 15px 20px 20px;
}

h2.ac_pick {
  font-size: 24px;
  margin: 30px auto 30px;
  text-align: center;
}

h2.comment_h2 {
  font-size: 24px;
  margin: 10px auto 20px;
  text-align: left;
  padding: 5px 15px 10px;
  border-bottom: solid 1px #333;
}

.img_top {
  margin-top: 20px;
}

.img_bottom {
  margin-bottom: 20px;
}

.s_img_mag {
  margin: 10px 0 10px;
}

.height_box {
  margin-top: 15px;
  margin-left: 15px;
}

.grid-prof_b {
  margin-bottom: 0px;
}

.reply-link {
  line-height: 2.5;
  font-size: 13px;
  color: #eee;
}

.replies-list {
  margin-left: 20px;
  margin-right: -14px;
}

.video-stream {
  width: 100%;
  height: auto;
  background-color: #202124;
  border-radius: 10px;
}

.video-stream video {
  border-radius: 10px;
}

/* Font Awesomeアイコン */
.fa-shield-heart {
  color: #ff4160;
  margin-right: 5px;
}

.fa-chalkboard-user {
  color: #00acee;
  margin-right: 5px;
}

.fa-arrow-left {
  margin-top: 5px;
  margin-left: 5px;
  font-size: 22px !important;
}

.fa-crown {
  color: #fbb004;
  margin-right: 5px;
}

.fa-tv-retro {
  color: #fbb004;
  margin-right: 5px;
}

/* アニメーション */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
}

.pulse-animation {
  animation: pulse 1.5s ease-in-out infinite;
}

/* ============================================
   29. レスポンシブ
   ============================================ */

@media (max-width: 1280px) {
  .sidebar-left {
    flex-basis: 3%;
  }
}

@media (max-width: 1000px) {
  .sidebar-right {
    display: none;
  }
  .sidebar-left {
    flex-basis: 1%;
  }
  .content {
    flex: 1;
    width: 100%;
    max-width: 600px;
    min-width: 300px;
    padding: 0px;
  }
}

@media (max-width: 768px) {
  .button-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .profile-card_mp {
    flex-direction: row;
    align-items: flex-start;
  }
  .avatar-container_mp {
    margin-right: 10px;
  }
  .avatar-container_mp_story {
    margin-right: 10px;
  }
  .content_mp {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  .user-name_mp {
    font-size: 15px;
    margin-bottom: 0;
  }
  .footer-nav {
    flex-direction: column;
    gap: 8px;
  }
  .footer-separator {
    display: none;
  }
  .bottom-nav {
    height: 50px !important;
  }
  .bottom-nav-item i {
    font-size: 20px !important;
  }
  .post-images-scroll img {
    max-width: 90%;
    height: 350px;
  }
  .story-viewer-nav-btn,
  .story-nav-btn {
    display: none;
  }
  .area-dropdown-menu {
    max-width: calc(100vw - 40px);
  }
  .profile-sns-icons {
    gap: 12px;
  }
  .profile-sns-icon {
    width: 36px;
    height: 36px;
  }
  .profile-sns-icon i {
    font-size: 18px;
  }
}

@media (max-width: 640px) {
  .edit_me i,
  .trash_me i {
    font-size: 18px;
  }
}

@media (max-width: 560px) {
  .tweet {
    padding: 0px 6px 15px;
  }
  .body_txt {
    padding: 0 12px 5px;
  }
  .post_content {
    padding: 0 15px 30px;
  }
  .profile-card {
    width: 100%;
    max-width: 245px;
  }
  .card_header-image {
    height: 150px;
  }
  .card_avatar-overlay {
    bottom: 8px;
    right: 10px;
    width: 50px;
    height: 50px;
  }
  .card_user-name {
    font-size: 15px;
  }
  .login_content .remodal-close:before {
    font-size: 35px;
    line-height: 42px;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 5% !important;
    bottom: 0;
    display: block;
    margin: auto;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    content: "\00d7";
    text-align: center;
  }
}

@media (max-width: 480px) {
  .sidebar-left {
    display: none;
  }
  .content {
    border-left: none;
    border-right: none;
  }
  .height_box {
    margin-top: 15px;
    margin-left: 5px;
  }
}
/* ========================================
   30. BANNER ADS
======================================== */
.banner-ads-container {
  margin: 15px 0 25px;
  padding: 0 15px;
}

.banner-ads-slider {
  position: relative;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #1a1a2e;
}

.banner-ad-item {
  display: block;
  width: 100%;
}

.banner-ad-image {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 5;
  object-fit: cover;
  display: block;
}

.banner-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
}

.banner-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #444;
  cursor: pointer;
  transition: background 0.3s;
}

.banner-dot.active {
  background: #e91e63;
}

/* タイムライン内広告 */
.timeline-ad-card {
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid #32363f;
}

.timeline-ad-card::before {
  content: 'AD';
  position: absolute;
  top: 25px;
  right: 8px;
  background: rgba(0,0,0,0.6);
  color: #888;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 1;
}

.timeline-ad-link {
  display: block;
  text-decoration: none;
  color: #fff;
}

.timeline-ad-image {
  width: 100%;
  margin:20px 0;
  border-radius: 0!important;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.timeline-ad-info {
  padding: 12px;
}

.timeline-ad-shop {
  font-size: 14px;
  font-weight: bold;
}

/* ========================================
   31. LOADING
======================================== */

#page-loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #202124;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-restore-loading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #202124;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

#page-loader-user {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #192734;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-restore-loading-user {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #192734;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.restore-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #253341;
  border-top-color: #e91e63;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

#app[v-cloak] {
  visibility: hidden;
}

#app[v-cloak] .page-restore-loading {
  visibility: visible;
}
