  /* ===== 時間編集フォーム（ボトムシート内） ===== */
  .block-edit-body{
    display:flex;
    align-items:flex-end;
    justify-content:center;
    gap:10px;
    padding:16px 18px 8px;
  }
  .block-edit-field{
    display:flex;
    flex-direction:column;
    gap:4px;
    font-size:11px;
    color:var(--sumi);
    font-weight:700;
  }
  .block-edit-field input{
    width:96px;
    border:1.5px solid var(--line);
    border-radius:10px;
    padding:9px 10px;
    font-family:'JetBrains Mono', monospace;
    font-size:16px;
    text-align:center;
  }
  .block-edit-sep{ padding-bottom:12px; font-weight:700; color:var(--sumi); }
  .block-edit-actions{
    display:flex;
    gap:10px;
    padding:8px 18px calc(14px + var(--safe-bottom));
  }
  .block-edit-cancel, .block-edit-save{
    flex:1;
    padding:12px;
    border-radius:12px;
    font-family:'Zen Maru Gothic', sans-serif;
    font-weight:700;
    font-size:14px;
    cursor:pointer;
    border:1.5px solid var(--line);
  }
  .block-edit-cancel{ background:#fff; color:var(--ink); }
  .block-edit-save{ background:var(--ink); color:var(--paper); border-color:var(--ink); }

  /* ===== マイタイムテーブル ===== */
  .mytt-day{ margin-bottom:24px; }
  .mytt-day-title{
    font-family:'JetBrains Mono', monospace;
    font-weight:700;
    font-size:12.5px;
    padding-bottom:6px;
    border-bottom:2px solid var(--ink);
    margin-bottom:12px;
  }
  .mytt-event-block{
    margin-bottom:16px;
  }
  .mytt-event-block:last-child{ margin-bottom:0; }
  .mytt-event-title{
    font-family:'Zen Maru Gothic', sans-serif;
    font-weight:700;
    font-size:12.5px;
    color:var(--sumi);
    margin-bottom:6px;
    padding-left:2px;
  }
  /* 同じ日に複数ライブがある時の、色とイベント名の凡例 */
  .mytt-event-legend{
    display:flex;
    flex-wrap:wrap;
    gap:6px 12px;
    margin-bottom:8px;
    padding-left:2px;
  }
  .mytt-legend-item{
    display:inline-flex;
    align-items:center;
    gap:5px;
    font-family:'Zen Maru Gothic', sans-serif;
    font-weight:700;
    font-size:12px;
    color:var(--sumi);
  }
  .mytt-legend-dot{
    flex:0 0 auto;
    width:11px; height:11px;
    border-radius:3px;
  }
  .mytt-item{
    display:flex;
    gap:10px;
    margin-bottom:8px;
    align-items:stretch;
  }
  .mytt-time{
    flex:0 0 46px;
    font-family:'JetBrains Mono', monospace;
    font-size:11px;
    font-weight:700;
    color:var(--sumi);
    padding-top:2px;
  }
  .mytt-card{
    flex:1;
    background:#fff;
    border:1.5px solid var(--line);
    border-left:4px solid var(--gold);
    border-radius:8px;
    padding:8px 10px;
    min-width:0;
  }
  .mytt-card-name{
    font-family:'Zen Maru Gothic', sans-serif;
    font-weight:700;
    font-size:13px;
  }
  .mytt-card-meta{
    font-family:'JetBrains Mono', monospace;
    font-size:10.5px;
    color:var(--sumi);
    margin-top:2px;
  }

  /* ============================================================
     マイタイテ Day View（Googleカレンダー1日表示ふう）
     renderMyTimetable() から生成される要素のスタイル。
     既存の .mytt-* とは別系統（接頭辞 dv- ）で衝突を避ける。
     ============================================================ */
  /* 日付セレクタ（横スクロールのチップ帯） */
  .dv-datestrip{
    display:flex;
    gap:8px;
    overflow-x:auto;
    padding:2px 16px 12px;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  .dv-datestrip::-webkit-scrollbar{ display:none; }
  .mytt-datepick{
    margin-left:auto;
    border:1.5px solid var(--line);
    border-radius:12px;
    padding:6px 10px;
    font-family:'JetBrains Mono', monospace;
    font-size:16px;
    background:#fff;
    color:var(--ink);
  }
  .dv-monthsep{
    flex:0 0 auto;
    align-self:center;
    font-family:'Zen Maru Gothic', sans-serif;
    font-weight:700;
    font-size:11px;
    color:var(--sumi);
    padding:0 2px;
    white-space:nowrap;
  }
  .dv-datechip{
    flex:0 0 auto;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:1px;
    min-width:46px;
    padding:7px 10px 6px;
    border-radius:14px;
    background:#fff;
    border:1.5px solid var(--line);
    cursor:pointer;
    position:relative;
    transition:transform .12s ease;
  }
  .dv-datechip:active{ transform:scale(.96); }
  .dv-datechip .dow{
    font-family:'Zen Maru Gothic', sans-serif;
    font-size:10px;
    font-weight:700;
    color:var(--sumi);
    line-height:1;
  }
  .dv-datechip .day{
    font-family:'JetBrains Mono', monospace;
    font-size:16px;
    font-weight:700;
    color:var(--ink);
    line-height:1.15;
  }
  .dv-datechip.sun .dow, .dv-datechip.sun .day{ color:var(--red); }
  .dv-datechip.sat .dow, .dv-datechip.sat .day{ color:#2f6fb0; }
  .dv-datechip.active{
    background:var(--ink);
    border-color:var(--ink);
  }
  .dv-datechip.active .dow, .dv-datechip.active .day{ color:var(--paper); }
  .dv-datechip .dot{
    position:absolute;
    bottom:3px;
    width:5px; height:5px;
    border-radius:50%;
    background:var(--gold);
  }
  .dv-datechip.active .dot{ background:var(--paper); }
  .dv-datechip.today::after{
    content:'今日';
    position:absolute;
    top:-7px; right:-4px;
    font-family:'Zen Maru Gothic', sans-serif;
    font-size:7.5px;
    font-weight:700;
    color:#fff;
    background:var(--red);
    padding:1px 4px;
    border-radius:6px;
    line-height:1.2;
  }

  /* 凡例（色の意味） */
  .dv-legend{
    display:flex;
    gap:14px;
    flex-wrap:wrap;
    padding:0 16px 10px;
  }
  .dv-legend-item{
    display:inline-flex;
    align-items:center;
    gap:6px;
    font-family:'Zen Maru Gothic', sans-serif;
    font-size:11px;
    font-weight:700;
    color:var(--sumi);
  }
  .dv-legend-dot{ width:12px; height:12px; border-radius:4px; flex:0 0 auto; }

  /* Day View 本体：時刻レール＋タイムライン。内部スクロールで仮想化する */
  .dv-scroll{
    position:relative;
    margin:0 14px;
    border:1px solid rgba(26,33,56,.10);
    border-radius:20px;
    overflow-y:auto;
    overflow-x:hidden;
    background:#fff;
    -webkit-overflow-scrolling:touch;
    max-height:calc(100dvh - 270px);
    box-shadow:0 10px 30px rgba(26,33,56,0.07);
  }
  .dv-inner{ position:relative; }
  .dv-hourline{
    position:absolute;
    left:0; right:0;
    border-top:1px solid var(--line);
  }
  .dv-hourline.half{ border-top:1px dashed rgba(26,33,56,0.07); }
  .dv-hourlabel{
    position:absolute;
    left:0;
    width:var(--dv-rail, 46px);
    transform:translateY(-50%);
    text-align:center;
    font-family:'JetBrains Mono', monospace;
    font-size:10px;
    font-weight:700;
    color:var(--sumi);
    background:#fff;
    padding:1px 0;
    z-index:3;
  }
  .dv-blocks{
    position:absolute;
    left:var(--dv-rail, 46px);
    right:6px;
    top:0; bottom:0;
    z-index:2;
  }
  .dv-nowline{
    position:absolute;
    left:var(--dv-rail, 46px); right:0;
    height:0;
    border-top:2px solid var(--red);
    z-index:6;
    pointer-events:none;
  }
  .dv-nowline::before{
    content:'';
    position:absolute;
    left:-4px; top:-4px;
    width:7px; height:7px;
    border-radius:50%;
    background:var(--red);
  }
  .dv-nowlabel{
    position:absolute;
    left:2px;
    width:calc(var(--dv-rail, 46px) - 4px);
    transform:translateY(-50%);
    text-align:center;
    font-family:'JetBrains Mono', monospace;
    font-size:8.5px;
    font-weight:700;
    color:#fff;
    background:var(--red);
    border-radius:5px;
    z-index:7;
    padding:1px 0;
  }
  .dv-block{
    box-sizing:border-box;
    position:absolute;
    border-radius:13px;
    padding:7px 11px;
    overflow:hidden;
    /* パステルの塗りに合わせて文字は濃色。 */
    color:#2B2E38;
    cursor:pointer;
    box-shadow:0 2px 6px rgba(26,33,56,0.14);
    border:1px solid rgba(40,44,60,0.10);
    border-left:5px solid var(--event-accent, var(--red));
    transition:transform .1s ease, box-shadow .1s ease;
    /* 横並び：左に時刻＋タイトル、右に会場名。短い予定でも会場名が隠れない */
    display:flex;
    align-items:center;
    gap:8px;
  }
  .dv-block-main{ flex:1 1 auto; min-width:0; }
  .dv-block:active{ transform:scale(.985); }
  .dv-block.oshi{
    border-color:var(--gold);
    box-shadow:0 0 0 2px var(--gold), 0 2px 8px rgba(26,33,56,0.2);
  }
  .dv-block.is-current{
    border-color:var(--red); border-left-width:6px;
    box-shadow:0 0 0 2px rgba(255,79,114,.22),0 8px 20px rgba(26,33,56,.18);
    z-index:5;
  }
  .dv-block-time{
    font-family:'JetBrains Mono', monospace;
    font-size:9px;
    font-weight:700;
    opacity:.95;
    line-height:1.1;
  }
  .dv-block-title{
    font-family:'Zen Maru Gothic', sans-serif;
    font-size:12.5px;
    font-weight:700;
    line-height:1.2;
    margin-top:1px;
    display:flex;
    align-items:center;
    gap:3px;
    min-width:0;
  }
  .dv-live-badge,.dv-next-badge{ display:inline-block; margin-top:3px; border-radius:999px; padding:2px 7px; font:700 8.5px 'Zen Maru Gothic',sans-serif; }
  .dv-live-badge{ color:#fff; background:var(--red); }.dv-next-badge{ color:var(--ink); background:rgba(255,255,255,.72); }
  .dv-block-title .star{ font-size:10px; flex:0 0 auto; }
  .dv-block-title > span{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
  /* 会場名：カード右側に固定表示（右寄せ・1行省略）。縦に積まないので短い予定でも隠れない */
  .dv-block-loc{
    flex:0 1 auto;
    max-width:46%;
    text-align:right;
    font-family:'Zen Maru Gothic', sans-serif;
    font-size:10px;
    font-weight:700;
    opacity:.95;
    line-height:1.25;
    white-space:normal;
    overflow:hidden;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    text-shadow:0 1px 2px rgba(0,0,0,0.18);
  }
  .dv-block.compact{ padding:3px 8px; }
  .dv-block.compact .dv-block-time{ font-size:8.5px; }
  .dv-block.compact .dv-block-title{ font-size:11px; }
  .dv-block.compact .dv-block-loc{ display:none; }

  /* FAB（予定追加ボタン）: 中央寄せ 520px カラムの右下に配置 */
  .dv-fab{
    position:fixed;
    z-index:35;
    bottom:calc(84px + var(--safe-bottom));
    right:max(16px, calc(50vw - 244px));
    width:64px; height:64px;
    border-radius:21px;
    border:none;
    background:var(--red);
    color:#fff;
    font-size:30px;
    font-weight:300;
    line-height:64px;
    text-align:center;
    cursor:pointer;
    box-shadow:0 8px 20px rgba(232,67,61,0.42);
    transition:transform .12s ease, box-shadow .12s ease;
  }
  .dv-fab:active{ transform:scale(.92); box-shadow:0 4px 12px rgba(232,67,61,0.4); }

  /* 予定追加/編集シート（ボトムシート内フォーム） */
  .dv-form-body{ padding:6px 18px 4px; max-height:60vh; overflow-y:auto; }
  .dv-form-field{ margin-bottom:12px; }
  .dv-form-field > label{
    display:block;
    font-family:'Zen Maru Gothic', sans-serif;
    font-weight:700;
    font-size:11.5px;
    color:var(--sumi);
    margin-bottom:5px;
  }
  .dv-form-field input[type=text],
  .dv-form-field input[type=date],
  .dv-form-field input[type=time],
  .dv-form-field textarea{
    width:100%;
    box-sizing:border-box;
    border:1.5px solid var(--line);
    border-radius:11px;
    padding:11px 12px;
    font-size:16px;
    font-family:'Noto Sans JP', sans-serif;
    background:#fff;
    color:var(--ink);
  }
  .dv-form-field textarea{ min-height:60px; resize:vertical; font-size:16px; }
  .dv-form-times{ display:flex; gap:10px; }
  .dv-form-times .dv-form-field{ flex:1; }
  .dv-form-colors{ display:flex; gap:10px; flex-wrap:wrap; padding-top:2px; }
  .dv-color-swatch{
    width:34px; height:34px;
    border-radius:50%;
    border:2px solid #fff;
    box-shadow:0 0 0 1.5px var(--line);
    cursor:pointer;
  }
  .dv-color-swatch.sel{ box-shadow:0 0 0 2.5px var(--ink); transform:scale(1.06); }
  .dv-form-actions{
    display:flex;
    gap:10px;
    padding:10px 18px calc(16px + var(--safe-bottom));
  }
  .dv-form-actions button{
    flex:1;
    padding:13px;
    border-radius:13px;
    font-family:'Zen Maru Gothic', sans-serif;
    font-weight:700;
    font-size:14.5px;
    cursor:pointer;
    border:1.5px solid var(--line);
  }
  .dv-btn-save{ background:var(--red); color:#fff; border-color:var(--red); flex:1; }
  .dv-btn-delete{ background:#fff; color:var(--red); border-color:rgba(232,67,61,.5); flex:0 0 auto; padding-left:16px; padding-right:16px; }

  /* 統計チップ（ライブ何本 / 特典会何回 / 自分の予定何件） */
  .mytt-stats{ display:flex; gap:8px; padding:0 16px 12px; flex-wrap:wrap; }
  .mytt-stat{
    flex:1 1 0; min-width:92px;
    display:flex; align-items:center; justify-content:center; gap:5px;
    padding:9px 6px; border-radius:14px;
    font-family:'Zen Maru Gothic', sans-serif; font-weight:700; font-size:12.5px; color:var(--sumi);
    background:#fff; box-shadow:0 2px 6px rgba(26,33,56,0.06);
  }
  .mytt-stat .ic{ font-size:15px; }
  .mytt-stat b{ font-family:'JetBrains Mono', monospace; font-size:16px; color:var(--ink); margin-left:2px; }
  /* タイムラインのブロック色（MYTT_COLORS）と同系のごく淡い色でそろえる。
     ライブ=薄い水色／特典会=薄い黄緑／自分の予定=薄い紫 */
  .mytt-stat.live{ background:#EEF6FD; }
  .mytt-stat.tokuten{ background:#EEF7EA; }
  .mytt-stat.other{ background:#FDF2E4; }
  .mytt-stat.custom{ background:#F3EFFB; }

  .mytt-focus{ margin:10px 14px 12px; padding:15px 16px; border-radius:19px; color:#fff; background:linear-gradient(135deg,#252C47,#394262); box-shadow:0 10px 24px rgba(26,33,56,.18); }
  .mytt-focus.is-current{ background:linear-gradient(135deg,#F04468,#FF6B83); }
  .mytt-focus-label{ font:700 9px 'JetBrains Mono',monospace; letter-spacing:.10em; opacity:.82; margin-bottom:9px; }
  .mytt-focus-row{ display:flex; gap:10px; align-items:center; }.mytt-focus-row>span{ font-size:22px; }.mytt-focus-row>div{ flex:1; min-width:0; }.mytt-focus-row b,.mytt-focus-row small{ display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }.mytt-focus-row b{ font:900 15px 'Zen Maru Gothic',sans-serif; }.mytt-focus-row small{ opacity:.78; font-size:10px; margin-top:3px; }.mytt-focus-row em{ font-style:normal; background:rgba(255,255,255,.18); padding:6px 9px; border-radius:999px; font-size:10px; font-weight:700; white-space:nowrap; }
  .dv-now-btn{ position:sticky; z-index:12; bottom:12px; display:flex; align-items:center; gap:6px; margin:-48px auto 10px; border:0; border-radius:999px; padding:10px 16px; color:#fff; background:var(--ink); box-shadow:0 7px 18px rgba(26,33,56,.26); font-size:11px; font-weight:700; }.dv-now-btn span{ color:var(--red); }

  @media (prefers-reduced-motion: no-preference){
    .next-event-card,.home-mini-card,.settings-card{ animation:renewCardIn .38s cubic-bezier(.2,.8,.2,1) both; }
    .home-mini-card:nth-child(2){ animation-delay:.05s; }.home-mini-card:nth-child(3){ animation-delay:.1s; }
    @keyframes renewCardIn{ from{ opacity:0; transform:translateY(8px); } to{ opacity:1; transform:none; } }
  }

  /* ===== マイタイテ リニューアル：リスト／タイムライン ===== */
  #screen-mytt{ background:#FCFBF8; min-height:calc(100dvh - 74px); }
  .mytt-renew-head{ padding:calc(13px + env(safe-area-inset-top,0px)) 16px 8px; border:0; background:rgba(252,251,248,.95); }
  .mytt-renew-head .topbar-row{ justify-content:center; flex-wrap:wrap; }
  .mytt-renew-head .brand{ width:100%; text-align:center; font-size:23px; }
  .mytt-head-share{ position:absolute; right:12px; top:calc(12px + env(safe-area-inset-top,0px)); min-width:66px; height:36px; display:flex; align-items:center; justify-content:center; gap:5px; padding:0 10px; border:1px solid #D6DAE2; border-radius:999px; background:#fff; color:#123F82; box-shadow:0 2px 8px rgba(25,38,67,.08); font-size:10px; font-weight:800; line-height:1; }
  .mytt-head-share svg{ width:17px; height:17px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
  .mytt-head-share span{ font-size:10px; }
  .mytt-date-nav{ display:grid; grid-template-columns:40px 1fr 40px; align-items:center; margin-top:9px; border:1px solid #DFE1E6; border-radius:12px; background:#fff; }
  .mytt-date-nav>button{ height:38px; border:0; background:transparent; color:#123F82; font-size:24px; }.mytt-renew-head .mytt-datepick{ width:100%; margin:0; padding:7px 8px; border:0; background:transparent; text-align:center; font-size:14px; font-weight:700; }
  .mytt-date-nav .mytt-calendar-trigger{ display:flex; align-items:center; justify-content:center; gap:7px; color:#1B2943; font-size:13px; font-weight:800; }
  .mytt-calendar-trigger svg{ width:17px; height:17px; fill:none; stroke:#123F82; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
  .mytt-list-summary{ display:flex; align-items:center; justify-content:center; gap:12px; margin:0 16px 12px; padding:11px 12px; border:1px solid #DEE1E7; border-radius:12px; background:#fff; color:#343A49; font-size:10px; box-shadow:0 2px 7px rgba(30,38,59,.04); }
  .mytt-list-summary span{ display:inline-flex; align-items:center; gap:4px; white-space:nowrap; }.mytt-list-summary span:first-child{ color:#174C91; }.mytt-list-summary i{ width:1px; height:18px; background:#D9DCE2; }.mytt-list-summary u{ width:7px; height:7px; border-radius:50%; background:#1762C3; text-decoration:none; }.mytt-list-summary .tokuten u{ background:#27883B; }
  .mytt-event-sections{ display:grid; gap:17px; }
  .mytt-event-section{ min-width:0; }
  .mytt-event-head{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin:0 16px 9px 32px; padding:9px 10px 9px 12px; border:1px solid #DEE3EB; border-radius:12px; background:#F5F8FC; box-shadow:0 2px 7px rgba(30,38,59,.035); }
  .mytt-event-head>span{ flex:1; min-width:0; }
  .mytt-event-head small{ display:block; color:#1762C3; font:800 8px 'JetBrains Mono',monospace; letter-spacing:.10em; }
  .mytt-event-head b{ display:block; margin-top:2px; overflow:hidden; color:#25324A; text-overflow:ellipsis; white-space:nowrap; font:800 12px 'Zen Maru Gothic',sans-serif; }
  .mytt-event-section.custom-section .mytt-event-head{ background:#F7F3FC; }
  .mytt-event-section.custom-section .mytt-event-head small{ color:#8A60B5; }
  .mytt-list-wrap{ position:relative; padding:0 16px 0 32px; }.mytt-list-wrap::before{ content:''; position:absolute; left:18px; top:6px; bottom:8px; width:2px; background:#D6DCE6; }
  .mytt-list-card{ --type-color:#667085; position:relative; display:flex; align-items:center; gap:12px; width:100%; min-height:104px; margin-bottom:8px; padding:12px 10px; text-align:left; border:1px solid #CDD5E0; border-color:color-mix(in srgb,var(--type-color) 38%,#DDE2E8); border-radius:13px; background:#fff; color:var(--ink); box-shadow:0 3px 10px rgba(30,38,59,.06); }.mytt-list-card::before{ content:''; position:absolute; left:-21px; top:24px; width:10px; height:10px; border:2px solid #fff; border-radius:50%; background:var(--type-color); box-shadow:0 0 0 1px color-mix(in srgb,var(--type-color) 55%,#CDD5E0); }
  .mytt-list-card.type-live{ --type-color:#1762C3; }.mytt-list-card.type-tokuten,.mytt-list-card.type-after{ --type-color:#27883B; }.mytt-list-card.type-self{ --type-color:#8A60B5; }.mytt-list-card.type-other{ --type-color:#6B707A; }
  .mytt-list-card:active{ transform:scale(.99); background:#FCFCFE; }
  .mytt-list-time{ flex:0 0 58px; align-self:stretch; display:flex; flex-direction:column; align-items:center; justify-content:center; color:var(--type-color); font:700 13px 'JetBrains Mono',monospace; }
  .mytt-list-time i{ width:1px; height:13px; margin:2px 0; background:var(--type-color); opacity:.7; }
  .mytt-list-body{ flex:1; min-width:0; padding-left:12px; border-left:1px solid #E1E3E8; }
  .mytt-list-body em{ display:inline-block; padding:3px 9px; border-radius:6px; color:#fff; background:var(--type-color); font:700 9px 'Zen Maru Gothic',sans-serif; font-style:normal; }
  .mytt-list-body strong,.mytt-list-body small{ display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }.mytt-list-body strong{ margin-top:5px; font:900 16px 'Zen Maru Gothic',sans-serif; }.mytt-list-body small{ margin-top:3px; color:#555B69; font-size:10px; }
  .mytt-record{ flex:0 0 auto; padding:5px 7px; border:1px solid #79BF83; border-radius:7px; color:#27883B; background:#F3FBF3; font-size:8px; font-weight:700; }.mytt-more{ flex:0 0 13px; color:#59606D; font-size:22px; line-height:1; }
  .mytt-add-wide{ display:block; width:calc(100% - 32px); margin:14px 16px; padding:13px; border:1.5px solid #FF4A47; border-radius:12px; background:#fff; color:#F43F3C; font-size:13px; font-weight:800; }
  .mytt-add-wide:active{ color:#fff; background:#FF4A47; }
  .mytt-empty-clean{ margin:18px 16px 8px; padding:38px 20px; border:1px dashed #D5D9E1; border-radius:15px; background:#fff; }.mytt-empty-clean .msg{ color:#697080; }
  .mytt-renew-memo{ margin-top:22px; border-top:1px solid #ECEDEF; padding-top:16px; }
  #screen-mytt .mytt-share-btn{ border-radius:12px; background:#123F82; box-shadow:0 5px 14px rgba(18,63,130,.18); }
  #screen-mytt .mytt-stats{ padding-top:2px; }
  .mytt-detail-handle{ width:48px; height:5px; margin:2px auto 10px; border-radius:99px; background:#AEB4BE; }
  .mytt-detail-head{ display:flex; align-items:flex-start; gap:10px; padding:6px 18px 14px; border-bottom:1px solid #E5E6EA; }.mytt-detail-head>div{ flex:1; min-width:0; }.mytt-detail-head b{ font:900 19px 'Zen Maru Gothic',sans-serif; }.mytt-detail-head em{ display:inline-block; margin-left:7px; padding:3px 8px; border-radius:7px; color:#fff; background:#4E8D57; font-size:9px; font-style:normal; }.mytt-detail-head button{ width:32px; height:32px; border:0; background:transparent; color:#353B47; font-size:27px; }
  .mytt-detail-rows{ padding:12px 20px 4px; }.mytt-detail-rows p{ display:grid; grid-template-columns:22px 54px 1fr; align-items:start; margin:0 0 10px; font-size:11px; }.mytt-detail-rows p>span{ color:#253B61; font-size:16px; }.mytt-detail-rows p>small{ color:#414754; font-size:10px; }.mytt-detail-rows p>b{ font-size:11px; line-height:1.55; font-weight:600; }
  .mytt-detail-actions{ display:grid; gap:8px; padding:10px 18px calc(15px + var(--safe-bottom)); }.mytt-detail-actions button{ padding:12px; border-radius:10px; font-size:13px; font-weight:800; }.mytt-detail-actions .record{ border:0; color:#fff; background:#123F82; }.mytt-detail-actions .edit{ border:1px solid #D4DAE4; color:#263A5B; background:#fff; }.mytt-detail-actions .remove{ border:1px solid #E4E5E8; color:#D4242B; background:#fff; }
  .mytt-cal-head{ display:grid; grid-template-columns:42px 1fr 42px; align-items:center; padding:2px 14px 12px; }
  .mytt-cal-head b{ text-align:center; font-size:16px; }
  .mytt-cal-head button{ height:36px; border:0; border-radius:10px; background:#F2F5FA; color:#123F82; font-size:24px; }
  .mytt-cal-week,.mytt-cal-grid{ display:grid; grid-template-columns:repeat(7,1fr); gap:3px; padding:0 14px; }
  .mytt-cal-week{ margin-bottom:5px; color:#7A8190; font-size:9px; text-align:center; }
  .mytt-cal-week span:first-child{ color:#D7454C; }
  .mytt-cal-week span:last-child{ color:#2861AA; }
  .mytt-cal-grid button,.mytt-cal-grid .blank{ position:relative; aspect-ratio:1; border:0; border-radius:50%; background:transparent; color:#252B37; }
  .mytt-cal-grid button b{ font-size:12px; }
  .mytt-cal-grid button:nth-child(7n+1){ color:#D7454C; }
  .mytt-cal-grid button:nth-child(7n){ color:#2861AA; }
  .mytt-cal-grid button.today{ box-shadow:inset 0 0 0 1px #8EA7CB; }
  .mytt-cal-grid button.selected{ color:#fff; background:#123F82; }
  .mytt-cal-grid button i{ position:absolute; left:50%; bottom:3px; width:4px; height:4px; transform:translateX(-50%); border-radius:50%; background:#F04C59; }
  .mytt-cal-grid button.selected i{ background:#fff; }
  .mytt-cal-grid button.holiday{ color:#D7454C; }
  .mytt-cal-grid button.holiday.selected{ color:#fff; }
  .mytt-cal-note{ display:flex; align-items:center; justify-content:center; gap:5px; padding:12px 0 calc(12px + var(--safe-bottom)); color:#777E8C; font-size:9px; }
  .mytt-cal-note i{ width:5px; height:5px; border-radius:50%; background:#F04C59; }

  @media (max-width:390px){
    .mytt-list-card{ min-height:94px; gap:8px; }.mytt-list-body strong{ font-size:14px; }.mytt-list-time{ flex-basis:50px; font-size:11px; }.mytt-list-summary{ gap:8px; font-size:9px; }
  }

  /* 自分の予定：種別ボタン */
  .ce-kinds{ display:flex; gap:6px; flex-wrap:wrap; }
  .ce-kind{
    display:inline-flex; align-items:center; gap:4px;
    padding:8px 11px; border-radius:12px;
    border:1.5px solid var(--line); background:#fff; cursor:pointer;
    font-family:'Zen Maru Gothic', sans-serif; font-weight:700; font-size:12.5px; color:var(--sumi);
  }
  .ce-kind .ic{ font-size:15px; }
  .ce-kind.on{ background:var(--ink); color:var(--paper); border-color:var(--ink); }
  .ce-color-row{ display:inline-flex; align-items:center; gap:10px; }
  .ce-color-row input[type=color]{ width:52px; height:38px; border:1.5px solid var(--line); border-radius:8px; background:#fff; cursor:pointer; padding:2px; }
  .ce-color-reset{
    border:1.5px solid var(--line); background:#fff; border-radius:8px; padding:8px 12px;
    font-size:12px; font-weight:700; color:var(--sumi); cursor:pointer;
  }

  /* 管理画面：配色設定 */
  .color-cfg-row{
    display:flex;
    align-items:center;
    gap:14px;
    padding:12px 0;
    border-bottom:1px solid var(--line);
  }
  .color-cfg-row:last-child{ border-bottom:none; }
  .color-cfg-swatch{
    width:42px; height:42px;
    border-radius:10px;
    border:1.5px solid var(--line);
    flex:0 0 auto;
  }
  .color-cfg-label{ flex:1; font-weight:700; font-family:'Zen Maru Gothic',sans-serif; font-size:14px; }
  .color-cfg-row input[type=color]{ width:52px; height:38px; border:1.5px solid var(--line); border-radius:8px; background:#fff; cursor:pointer; padding:2px; }
  .color-cfg-row input[type=text]{ width:110px; border:1.5px solid var(--line); border-radius:8px; padding:8px 10px; font-family:'JetBrains Mono',monospace; font-size:13px; }
