.fan-panel{max-width:1280px;min-width:0;margin:0 auto 24px;color:#eee;background:#121b20;border:1px solid #233238;border-radius:24px;overflow:hidden}.fan-hero{padding:30px 32px;background:radial-gradient(ellipse at 90% 0,rgba(85,121,109,.19),transparent 60%),linear-gradient(110deg,#19252b,#14131a);display:flex;align-items:center;justify-content:space-between;gap:28px}.fan-identity{display:flex;align-items:center;gap:18px;min-width:0}.fan-avatar{width:76px;height:76px;flex:none;border-radius:23px;display:grid;place-items:center;background:linear-gradient(135deg,#8ac8b7,#304047);border:1px solid #8ac8b754;color:#fff;font-size:25px;font-weight:800;box-shadow:0 6px 22px #0004}.fan-kicker{color:#b9dbcf!important;font-size:10px!important;letter-spacing:.22em;font-weight:700;margin:0 0 8px!important}.fan-panel h2{font-size:26px;font-weight:800;line-height:1.35;margin:0;color:#e5eeee;overflow-wrap:anywhere}.fan-panel p{font-size:13px;line-height:1.8;color:#97abb2}.fan-identity-copy{min-width:0}.fan-identity-copy>p:last-child{margin-top:8px;margin-bottom:0}.fan-stats{display:flex;gap:10px;flex:none}.fan-stat{min-width:100px;padding:13px 18px;border:1px solid #3040475e;border-radius:16px;background:#ffffff03}.fan-stat span{display:block;font-size:11px;color:#c8d8d9}.fan-stat strong{display:block;color:#e5eeee;font-size:26px;margin-top:4px}.fan-content{padding:24px 32px 10px}.fan-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.fan-panel h3{font-size:16px;font-weight:700;color:#e5eeee;margin:0}.fan-sync-state{font-size:11px!important;margin:6px 0 0;color:#97abb2!important}.fan-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.fan-button{min-height:44px;border:1px solid #55796d;background:#55796d;color:#fff;border-radius:11px;padding:10px 16px;font-weight:700;font-size:13px;cursor:pointer;transition:background-color .15s}.fan-button:hover{background:#8ac8b7}.fan-button:disabled{opacity:.5;cursor:wait}.fan-button[data-fan-action="login"],.fan-button[data-fan-action="logout"],.fan-button.fan-secondary{background:#19252b;border-color:#304047;color:#c8d8d9}.fan-button[data-fan-action="delete"]{background:transparent;border-color:#58323d;color:#e3a3b3}.fan-saved{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.fan-saved-card{min-width:0;display:flex;align-items:center;gap:12px;text-align:left;border:1px solid #233238;background:#19252b;color:#eee;border-radius:14px;padding:12px;min-height:76px;cursor:pointer;transition:border-color .15s,background-color .15s}.fan-saved-card:hover{border-color:#8ac8b7;background:#19252b}.fan-saved-avatar{position:relative;width:44px;height:44px;border-radius:13px;flex:none;overflow:hidden;background:linear-gradient(135deg,#55796d,#233238);display:grid;place-items:center;font-size:15px;font-weight:700;color:#b9dbcf}.fan-saved-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.fan-saved-copy{display:flex;flex-direction:column;gap:6px;min-width:0}.fan-saved-name{font-size:13px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fan-saved-category{font-size:10px;color:#97abb2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fan-saved-star{margin-left:auto;color:#d9b85a;font-size:12px;flex:none}.fan-empty{padding:24px;border:1px dashed #304047;border-radius:14px;background:#121b20}.fan-import{margin-top:16px;border-top:1px solid #233238;padding-top:14px;display:flex;gap:14px;align-items:center;justify-content:space-between}.fan-import p{font-size:12px;margin:0}.fan-settings{margin:20px 32px 0;border-top:1px solid #233238;padding:16px 0;color:#c8d8d9;font-size:12px}.fan-settings summary{cursor:pointer;min-height:28px}.fan-settings p{overflow-wrap:anywhere}.fan-links{display:flex;flex-wrap:wrap;gap:16px;padding:0 32px 22px;font-size:11px;color:#97abb2}.fan-notice{margin:16px 32px;color:#f1beb1!important}.fan-muted{font-size:11px!important;color:#97abb2!important}.fan-guest .fan-hero{align-items:flex-start}.fan-guest-copy{max-width:550px}.fan-guest .fan-content{padding-bottom:16px}.fan-panel button:focus-visible,.fan-panel a:focus-visible,.fan-settings summary:focus-visible{outline:2px solid #b9dbcf;outline-offset:3px}#fan-header-link{min-height:44px;min-width:44px;justify-content:center}#fan-header-label{display:inline;font-size:12px;white-space:nowrap}@media(min-width:768px){#fan-header-label{font-size:14px}}@media(max-width:1023px){.fan-hero{padding:26px;gap:18px}.fan-stat{min-width:80px;padding:12px}.fan-saved{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:767px){.fan-panel{margin:16px auto 20px;border-radius:20px}.fan-hero{padding:22px 20px;flex-direction:column;align-items:stretch;gap:20px}.fan-avatar{width:58px;height:58px;border-radius:18px;font-size:21px}.fan-identity{gap:13px}.fan-panel h2{font-size:22px}.fan-stats{display:grid;grid-template-columns:1fr 1fr}.fan-stat{display:flex;align-items:center;justify-content:space-between;padding:12px 16px}.fan-stat strong{margin:0;font-size:23px}.fan-content{padding:20px 18px 4px}.fan-saved{grid-template-columns:1fr}.fan-saved-card{min-height:70px}.fan-import{flex-direction:column;align-items:flex-start;gap:10px}.fan-settings{margin:18px 18px 0}.fan-links{padding:0 18px 20px}.fan-notice{margin:14px 18px}#fan-header-link{padding:8px 4px}}

/* Account identity is part of the existing customizable my-page header. */
.fan-panel.fan-integrated{position:relative;z-index:20;max-width:none;background:transparent;border:0;border-radius:0;margin:18px 0 0;overflow:visible}
.fan-integrated .fan-hero{background:transparent;padding:0;gap:20px;flex-wrap:wrap}
.fan-integrated .fan-avatar{width:40px;height:40px;border-radius:12px;font-size:15px;box-shadow:none}
.fan-integrated .fan-identity{gap:10px}.fan-integrated .fan-member-name{font-size:14px;font-weight:700;color:#eee;margin:0!important}
.fan-integrated .fan-kicker{font-size:9px!important;margin-bottom:4px!important}
.fan-integrated .fan-stat{min-width:84px;display:flex;align-items:center;gap:14px;padding:8px 12px;background:#121b2080}
.fan-integrated .fan-stat strong{font-size:19px;margin:0}.fan-merged-favorites{padding:0}
#fan-account-settings .fan-settings{margin:20px 0 0}#fan-account-settings .fan-links{padding:0 0 0;margin-top:8px}
.fan-integrated.fan-guest .fan-content{padding:14px 0 0}.fan-integrated.fan-guest .fan-links{padding:0;margin-top:12px}
@media(max-width:767px){.fan-integrated .fan-hero{flex-direction:row;align-items:center;justify-content:space-between;gap:14px}.fan-integrated .fan-stats{display:flex;gap:8px;width:100%}.fan-integrated .fan-stat{flex:1;justify-content:space-between}.fan-integrated.fan-guest .fan-hero{display:block}.fan-integrated.fan-guest h2{font-size:19px}}
.fan-merged-favorites h3{font-size:16px;font-weight:700;color:#e5eeee;margin:0}

/* Compact personal dashboard; account and local storage behavior stay unchanged. */
.my-analysis-title{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;min-height:44px;font-size:16px;font-weight:700}
.my-analysis-title::-webkit-details-marker{display:none}
.my-analysis-title:focus-visible{outline:2px solid #b9dbcf;outline-offset:3px;border-radius:8px}
.my-analysis-hint{font-size:11px;color:#b9dbcf;font-weight:400}
.my-analysis[open]>.my-analysis-title{padding-bottom:12px;margin-bottom:16px;border-bottom:1px solid #333}
.my-analysis[open] .my-analysis-hint{font-size:0}
.my-analysis[open] .my-analysis-hint::after{content:'閉じる';font-size:11px}
@media(min-width:768px){.my-analysis{height:100%}}
@media(max-width:767px){
  #mypage-content .my-page-layout{display:flex;flex-direction:column;gap:16px;padding-bottom:24px}
  #mypage-content .my-page-layout> *{margin-top:0!important;min-width:0}
  #mypage-content #streamer-header{order:0;min-height:0!important;padding:18px;border-radius:18px;gap:0}
  #mypage-content #my-profile-badge-container{margin-bottom:6px}
  #mypage-content #my-profile-name-input{font-size:22px!important;line-height:1.4;max-width:100%;min-width:0}
  #mypage-content #streamer-header.has-custom-header{padding-top:44px}
  #mypage-content .fan-integrated{margin-top:12px;padding-top:12px;border-top:1px solid #ffffff14}
  #mypage-content .fan-integrated .fan-hero{gap:10px}
  #mypage-content .fan-integrated .fan-avatar{width:32px;height:32px;border-radius:10px;font-size:12px}
  #mypage-content .fan-integrated .fan-kicker{display:none}
  #mypage-content .fan-integrated .fan-member-name{font-size:12px;overflow-wrap:anywhere}
  #mypage-content .fan-integrated .fan-stat{padding:7px 10px;min-width:0;border-radius:10px}
  #mypage-content .fan-integrated .fan-stat strong{font-size:18px}
  #mypage-content .my-favorites{order:1;padding:16px;border-radius:18px}
  #mypage-content .my-dashboard{order:2;display:flex;flex-direction:column;gap:16px}
  #mypage-content .my-primary-column{order:0;gap:16px}
  #mypage-content .my-analysis-column{order:1}
  #mypage-content .my-analysis{padding:8px 16px;border-radius:18px}
  #mypage-content .my-analysis[open]{padding-bottom:16px}
  #mypage-content #latest-video-container{padding:16px;border-radius:18px}
  #mypage-content #latest-video-container>div:first-child{margin-bottom:8px}
  #mypage-content #latest-video-container>div:nth-child(2){padding-top:4px;padding-bottom:4px}
  #mypage-content #latest-video-container>p{margin-top:8px}
  #mypage-content .my-memo{min-height:130px;padding:16px;border-radius:18px}
  #mypage-content .my-memo>div:first-child{padding-bottom:8px;margin-bottom:10px;gap:8px}
  #mypage-content #personal-memo{min-height:76px}
  #mypage-content .my-favorites .fan-saved{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  #mypage-content .my-favorites .fan-saved-card{padding:9px;min-height:58px;gap:8px;border-radius:12px}
  #mypage-content .my-favorites .fan-saved-avatar{width:30px;height:30px;border-radius:9px}
  #mypage-content .my-favorites .fan-saved-name{font-size:12px}
  #mypage-content .my-favorites .fan-saved-category,#mypage-content .my-favorites .fan-saved-star{display:none}
  #mypage-content .my-favorites .fan-settings{margin-top:12px;padding:10px 0}
  #mypage-content .my-favorites .fan-settings summary{min-height:44px;display:flex;align-items:center}
}
@media(max-width:359px){#mypage-content .my-favorites .fan-saved{grid-template-columns:1fr}}

