/* PE-Class v1.14.28 — 모바일 학교스포츠클럽 관리 전용
   PC 화면에는 적용하지 않고 768px 이하에서만 활성화됩니다. */
#mobileClubRoot,
.mobileClubPickerSheet,
.mobileClubImportSheet,
.mobileClubDetailSheet{display:none}

@media (max-width:768px){
  body.mobileClubView{
    overflow-x:hidden!important;
    background:#f3f7fb;
  }
  body.mobileClubView #app{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow-x:hidden!important;
  }
  body.mobileClubView #app>*:not(#mobileClubRoot){display:none!important}
  body.mobileClubSheetOpen{overflow:hidden!important;touch-action:none}

  .mobileClubRoot{
    display:block!important;
    width:100%;
    max-width:100%;
    min-width:0;
    box-sizing:border-box;
    color:#203247;
  }
  .mobileClubRoot button,
  .mobileClubPickerSheet button,
  .mobileClubImportSheet button,
  .mobileClubDetailSheet button{
    -webkit-tap-highlight-color:transparent!important;
    touch-action:manipulation;
  }
  .mobileClubRoot button:focus-visible,
  .mobileClubPickerSheet button:focus-visible,
  .mobileClubImportSheet button:focus-visible,
  .mobileClubDetailSheet button:focus-visible{
    outline:3px solid rgba(52,152,219,.2);
    outline-offset:2px;
  }

  .mobileClubSelector{
    width:100%;
    box-sizing:border-box;
    margin:0 0 12px;
    padding:14px;
    border:1px solid #d7e2ee;
    border-radius:14px;
    background:linear-gradient(180deg,#fff,#f7fbff);
    box-shadow:0 4px 14px rgba(31,56,88,.08);
  }
  .mobileClubSelectorHead{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:10px;
    margin-bottom:13px;
  }
  .mobileClubSelectorHead>div{
    display:flex;
    align-items:flex-start;
    gap:10px;
    min-width:0;
  }
  .mobileClubSelectorHead>div>span{font-size:25px;line-height:1.15}
  .mobileClubSelectorHead p{
    display:flex;
    flex-direction:column;
    gap:3px;
    min-width:0;
    margin:0;
  }
  .mobileClubSelectorHead b{font-size:18px;line-height:1.25;color:#203247}
  .mobileClubSelectorHead small{
    color:#718096;
    font-size:12px;
    font-weight:750;
    line-height:1.4;
    word-break:keep-all;
  }
  .mobileClubRefresh{
    appearance:none;
    -webkit-appearance:none;
    flex:0 0 42px;
    width:42px;
    height:42px;
    min-height:42px!important;
    margin:0;
    padding:0;
    border:1px solid #cbd7e4;
    border-radius:11px;
    background:#fff;
    color:#314a63;
    font-size:22px;
    font-weight:900;
    line-height:1;
  }
  .mobileClubRefresh:disabled{opacity:.5}
  .mobileClubSelectorGrid{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:10px;
    width:100%;
    min-width:0;
  }
  .mobileClubSelectorGrid.import{margin-bottom:11px}
  .mobileClubSelectorGrid .wide{grid-column:1/-1}
  .mobileClubCurrent{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    margin-top:11px;
    padding-top:10px;
    border-top:1px solid #e2e8f0;
  }
  .mobileClubCurrent>div{
    display:flex;
    flex-direction:column;
    gap:2px;
    min-width:0;
  }
  .mobileClubCurrent>div b{
    overflow:hidden;
    color:#263b52;
    font-size:13px;
    font-weight:900;
    line-height:1.35;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .mobileClubCurrent>div span{
    overflow:hidden;
    color:#718096;
    font-size:11px;
    font-weight:750;
    line-height:1.35;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .mobileClubCurrent>strong{
    flex:0 0 auto;
    max-width:42%;
    padding:6px 9px;
    border:1px solid #cad8e6;
    border-radius:999px;
    background:#fff;
    color:#314a63;
    font-size:11px;
    font-weight:900;
    line-height:1.25;
    text-align:center;
    white-space:normal;
  }

  .mobileClubContent{
    display:block;
    width:100%;
    max-width:100%;
    min-width:0;
  }
  .mobileClubStack{
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
    width:100%;
    min-width:0;
  }
  .mobileClubPanel{
    width:100%;
    min-width:0;
    box-sizing:border-box;
    padding:14px;
    border:1px solid #d9e3ee;
    border-radius:14px;
    background:#fff;
    box-shadow:0 4px 14px rgba(31,56,88,.07);
  }
  .mobileClubPanel.dangerLine{border-color:#f0c8c8;background:#fffdfd}
  .mobileClubPanelHead{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:10px;
    margin-bottom:13px;
  }
  .mobileClubPanelHead.inline{align-items:center}
  .mobileClubPanelHead>div{min-width:0}
  .mobileClubPanelHead h2{
    margin:0;
    color:#203247;
    font-size:17px;
    line-height:1.3;
  }
  .mobileClubPanelHead p{
    margin:4px 0 0;
    color:#718096;
    font-size:12px;
    font-weight:750;
    line-height:1.45;
    word-break:keep-all;
  }
  .mobileClubCountBadge,
  .mobileClubStateBadge{
    flex:0 0 auto;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:28px;
    padding:0 9px;
    border:1px solid #b9d8f0;
    border-radius:999px;
    background:#eef7ff;
    color:#2a6da5;
    font-size:11px;
    font-weight:900;
    white-space:nowrap;
  }
  .mobileClubStateBadge{border-color:#b7e3c5;background:#ecfdf3;color:#16803a}
  .mobileClubStateBadge.dirty{border-color:#f4d39a;background:#fff7e8;color:#b66900}

  .mobileClubFormGrid{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
    width:100%;
    min-width:0;
    margin-bottom:11px;
  }
  .mobileClubFormGrid.two{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .mobileClubFormGrid .wide{grid-column:1/-1}
  .mobileClubFormGrid label,
  .mobileClubAttendanceControls label,
  .mobileClubAttendanceFields label,
  .mobileClubMonthRow label{
    display:flex!important;
    flex-direction:column;
    gap:6px;
    min-width:0;
    margin:0!important;
  }
  .mobileClubFormGrid label>span,
  .mobileClubAttendanceControls label>span,
  .mobileClubAttendanceFields label>span,
  .mobileClubMonthRow label>span,
  .mobileClubPickerField>span{
    color:#536477;
    font-size:12px;
    font-weight:900;
    line-height:1.3;
  }
  .mobileClubFormGrid input,
  .mobileClubAttendanceControls input,
  .mobileClubAttendanceFields input,
  .mobileClubMonthRow input,
  #mobileClubQrUrl{
    appearance:none;
    -webkit-appearance:none;
    width:100%;
    min-width:0;
    min-height:46px;
    box-sizing:border-box;
    margin:0;
    padding:10px 11px;
    border:1px solid #cbd6e2;
    border-radius:10px;
    background:#fff;
    color:#172b3f;
    font-size:16px!important;
    font-weight:700;
  }
  .mobileClubFormGrid input:focus,
  .mobileClubAttendanceControls input:focus,
  .mobileClubAttendanceFields input:focus,
  .mobileClubMonthRow input:focus,
  #mobileClubQrUrl:focus{
    outline:3px solid rgba(52,152,219,.15);
    border-color:#5fa7df;
  }
  #mobileClubQrUrl{
    display:block;
    min-height:78px;
    margin-top:11px;
    resize:none;
    font-size:12px!important;
    font-weight:650;
    line-height:1.5;
    overflow-wrap:anywhere;
  }

  .mobileClubPickerField{
    display:flex;
    flex-direction:column;
    gap:6px;
    min-width:0;
  }
  .mobileClubPickerButton{
    appearance:none;
    -webkit-appearance:none;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:8px;
    width:100%;
    min-width:0;
    min-height:46px!important;
    box-sizing:border-box;
    margin:0;
    padding:0 11px;
    border:1px solid #cbd6e2;
    border-radius:10px;
    background:#fff;
    color:#263b52;
    text-align:left;
  }
  .mobileClubPickerButton b{
    min-width:0;
    overflow:hidden;
    font-size:15px;
    font-weight:850;
    line-height:1.25;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .mobileClubPickerButton>span{color:#8290a0;font-size:15px;font-weight:900}
  .mobileClubPickerButton:disabled{border-color:#dfe5ec;background:#eef2f6;color:#8794a3;opacity:1}
  .mobileClubPickerButton.status-present{border-color:#83c79e;background:#f0fbf4;color:#16753a}
  .mobileClubPickerButton.status-absent{border-color:#e8a6a6;background:#fff4f4;color:#b63333}
  .mobileClubPickerButton.status-late{border-color:#eacb83;background:#fff9eb;color:#9a6700}
  .mobileClubPickerButton.status-official{border-color:#9ac4e8;background:#f1f8ff;color:#296b9f}
  .mobileClubPickerButton.status-early{border-color:#bea9e0;background:#f8f4ff;color:#65469a}

  .mobileClubPrimaryFull,
  .mobileClubSecondaryFull,
  .mobileClubDangerSmall,
  .mobileClubActionRow button,
  .mobileClubMonthRow button,
  .mobileClubImportActions button{
    appearance:none;
    -webkit-appearance:none;
    min-height:48px!important;
    box-sizing:border-box;
    margin:0;
    border-radius:10px;
    font-size:14px;
    font-weight:900;
    line-height:1.25;
  }
  .mobileClubPrimaryFull,
  .mobileClubSecondaryFull{
    width:100%;
    padding:9px 12px;
  }
  .mobileClubPrimaryFull,
  .mobileClubActionRow .primary,
  .mobileClubImportActions .primary{
    border:1px solid #1f7a45;
    background:#1f8b4c;
    color:#fff;
  }
  .mobileClubSecondaryFull,
  .mobileClubActionRow .secondary,
  .mobileClubMonthRow button,
  .mobileClubImportActions .secondary{
    border:1px solid #c9d5e2;
    background:#fff;
    color:#31516f;
  }
  .mobileClubDangerSmall{
    flex:0 0 auto;
    min-height:40px!important;
    padding:7px 10px;
    border:1px solid #efb9b9;
    background:#fff3f3;
    color:#bd3636;
    font-size:12px;
  }
  .mobileClubPrimaryFull:disabled,
  .mobileClubSecondaryFull:disabled,
  .mobileClubActionRow button:disabled,
  .mobileClubMonthRow button:disabled,
  .mobileClubImportActions button:disabled,
  .mobileClubDangerSmall:disabled{opacity:.48}
  .mobileClubActionRow{
    display:grid;
    gap:7px;
    width:100%;
  }
  .mobileClubActionRow.two{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
  .mobileClubActionRow button{width:100%;min-width:0;padding:8px 6px}

  .mobileClubMemberList,
  .mobileClubAttendanceList,
  .mobileClubStatsList,
  .mobileClubCalendarList{
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
    width:100%;
    min-width:0;
  }
  .mobileClubMemberCard{
    display:grid;
    grid-template-columns:42px minmax(0,1fr) auto;
    align-items:center;
    gap:10px;
    min-width:0;
    padding:11px;
    border:1px solid #e0e7ef;
    border-radius:12px;
    background:#fbfdff;
  }
  .mobileClubMemberNo{
    display:flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    border-radius:12px;
    background:#eaf4fd;
    color:#2a6799;
    font-size:15px;
    font-weight:900;
  }
  .mobileClubMemberCard>div{
    display:flex;
    flex-direction:column;
    gap:3px;
    min-width:0;
  }
  .mobileClubMemberCard>div b{
    overflow:hidden;
    color:#203247;
    font-size:15px;
    font-weight:900;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .mobileClubMemberCard>div small{
    overflow:hidden;
    color:#718096;
    font-size:11px;
    font-weight:750;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .mobileClubMemberDelete{
    appearance:none;
    -webkit-appearance:none;
    min-height:38px!important;
    padding:6px 10px;
    border:1px solid #efb9b9;
    border-radius:9px;
    background:#fff;
    color:#bd3636;
    font-size:12px;
    font-weight:900;
  }

  .mobileClubAttendanceControls{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:10px;
    width:100%;
    min-width:0;
    margin-bottom:11px;
  }
  .mobileClubAttendanceCard{
    width:100%;
    min-width:0;
    box-sizing:border-box;
    padding:13px;
    border:1px solid #d9e3ee;
    border-radius:14px;
    background:#fff;
    box-shadow:0 4px 13px rgba(31,56,88,.06);
  }
  .mobileClubAttendanceCard>header,
  .mobileClubStatsCard>header{
    display:grid;
    grid-template-columns:42px minmax(0,1fr) auto;
    align-items:center;
    gap:10px;
    padding-bottom:11px;
    margin-bottom:11px;
    border-bottom:1px solid #e6ebf1;
  }
  .mobileClubAttendanceCard>header>span,
  .mobileClubStatsCard>header>span{
    display:flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:42px;
    border-radius:12px;
    background:#edf5fc;
    color:#2d6d9f;
    font-size:15px;
    font-weight:900;
  }
  .mobileClubAttendanceCard>header>div,
  .mobileClubStatsCard>header>div{
    display:flex;
    flex-direction:column;
    gap:3px;
    min-width:0;
  }
  .mobileClubAttendanceCard>header b,
  .mobileClubStatsCard>header b{color:#203247;font-size:15px;font-weight:900}
  .mobileClubAttendanceCard>header small,
  .mobileClubStatsCard>header small{color:#718096;font-size:11px;font-weight:750}
  .mobileClubAttendanceFields{
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:10px;
    min-width:0;
  }

  .mobileClubMonthRow{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:end;
    gap:8px;
    width:100%;
    min-width:0;
  }
  .mobileClubMonthRow button{min-width:94px;padding:8px 11px}
  .mobileClubOverallStats{
    display:grid;
    grid-template-columns:1fr;
    gap:6px;
    margin-top:12px;
    padding:13px;
    border:1px solid #c9e2f5;
    border-radius:12px;
    background:#f2f9ff;
  }
  .mobileClubOverallStats>div{display:flex;align-items:center;justify-content:space-between;gap:10px}
  .mobileClubOverallStats span{color:#42637f;font-size:12px;font-weight:900}
  .mobileClubOverallStats b{color:#1f70aa;font-size:25px;line-height:1}
  .mobileClubOverallStats p{margin:0;color:#60778b;font-size:11px;font-weight:750}

  .mobileClubStatsCard{
    width:100%;
    min-width:0;
    box-sizing:border-box;
    padding:13px;
    border:1px solid #d9e3ee;
    border-radius:14px;
    background:#fff;
    box-shadow:0 4px 13px rgba(31,56,88,.06);
  }
  .mobileClubStatsCard>header>strong{
    color:#1e71ad;
    font-size:20px;
    font-weight:950;
  }
  .mobileClubRateTrack{
    width:100%;
    height:8px;
    overflow:hidden;
    margin-bottom:11px;
    border-radius:999px;
    background:#e9eef4;
  }
  .mobileClubRateTrack>span{display:block;height:100%;border-radius:999px;background:#3498db}
  .mobileClubStatusGrid{
    display:grid;
    grid-template-columns:repeat(5,minmax(0,1fr));
    gap:5px;
  }
  .mobileClubStatusGrid>span{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:3px;
    min-width:0;
    padding:7px 2px;
    border:1px solid #e1e7ee;
    border-radius:9px;
    background:#f8fafc;
    color:#647487;
    font-size:9px;
    font-weight:850;
    line-height:1.2;
    text-align:center;
    white-space:nowrap;
  }
  .mobileClubStatusGrid>span b{color:#263b52;font-size:14px;font-weight:950}

  .mobileClubQrPreview{display:flex;justify-content:center;width:100%}
  .mobileClubQrCard{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:7px;
    width:min(100%,320px);
    padding:13px;
    border:1px solid #dce4ed;
    border-radius:14px;
    background:#fff;
    text-align:center;
  }
  .mobileClubQrCard img{
    display:block;
    width:min(260px,100%);
    height:auto;
    aspect-ratio:1/1;
    border-radius:8px;
  }
  .mobileClubQrCard b{color:#203247;font-size:15px;font-weight:900}
  .mobileClubQrCard span{color:#42566c;font-size:13px;font-weight:850}
  .mobileClubQrCard small{color:#718096;font-size:11px;font-weight:750;line-height:1.4}

  .mobileClubCalendarDay{
    width:100%;
    min-width:0;
    overflow:hidden;
    border:1px solid #d9e3ee;
    border-radius:14px;
    background:#fff;
    box-shadow:0 4px 13px rgba(31,56,88,.06);
  }
  .mobileClubCalendarDay.today{border-color:#72b4e7;box-shadow:0 0 0 3px rgba(52,152,219,.12)}
  .mobileClubCalendarDay>header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:11px 12px;
    border-bottom:1px solid #e2e8ef;
    background:#f7fafe;
  }
  .mobileClubCalendarDay>header>div{display:flex;align-items:baseline;gap:7px;min-width:0}
  .mobileClubCalendarDay>header b{color:#203247;font-size:14px;font-weight:900}
  .mobileClubCalendarDay>header span{color:#718096;font-size:11px;font-weight:800}
  .mobileClubCalendarDay>header>strong{color:#47718f;font-size:10px;font-weight:900;white-space:nowrap}
  .mobileClubCalendarDay>div{display:grid;grid-template-columns:1fr;gap:8px;padding:10px}
  .mobileClubCalendarEvent{
    appearance:none;
    -webkit-appearance:none;
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:6px;
    width:100%;
    min-width:0;
    min-height:0!important;
    box-sizing:border-box;
    padding:11px;
    border:1px solid #cbdff0;
    border-radius:11px;
    background:#f2f8fd;
    color:#24445f;
    text-align:left;
  }
  .mobileClubCalendarEvent>span{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0}
  .mobileClubCalendarEvent>span b{overflow:hidden;font-size:14px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}
  .mobileClubCalendarEvent>span small{flex:0 0 auto;color:#5b7690;font-size:11px;font-weight:800}
  .mobileClubCalendarEvent>strong{color:#4d6d87;font-size:11px;font-weight:900;letter-spacing:.01em}

  .mobileClubLoading{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:10px;
    min-height:150px;
    padding:24px;
    color:#68798b;
    font-size:13px;
    font-weight:850;
    text-align:center;
  }
  .mobileClubLoading>span{
    width:26px;
    height:26px;
    border:3px solid #d5e2ee;
    border-top-color:#3498db;
    border-radius:50%;
    animation:mobileClubSpin .8s linear infinite;
  }
  @keyframes mobileClubSpin{to{transform:rotate(360deg)}}
  .mobileClubEmpty{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:7px;
    min-height:170px;
    padding:22px 14px;
    color:#718096;
    text-align:center;
  }
  .mobileClubEmpty.compact{min-height:96px;padding:15px 10px}
  .mobileClubEmpty.error{color:#b44242}
  .mobileClubEmpty>span{font-size:30px;line-height:1}
  .mobileClubEmpty>b{color:#41566d;font-size:15px;font-weight:900}
  .mobileClubEmpty>p{max-width:290px;margin:0;font-size:12px;font-weight:750;line-height:1.5;word-break:keep-all}

  /* 공통 선택 바텀시트 */
  .mobileClubPickerSheet,
  .mobileClubImportSheet,
  .mobileClubDetailSheet{
    position:fixed;
    inset:0;
    z-index:1700;
    display:block;
    visibility:hidden;
    opacity:0;
    pointer-events:none;
    transition:opacity .16s ease,visibility 0s linear .16s;
  }
  .mobileClubPickerSheet.open,
  .mobileClubImportSheet.open,
  .mobileClubDetailSheet.open{
    visibility:visible;
    opacity:1;
    pointer-events:auto;
    transition:opacity .16s ease;
  }
  .mobileClubPickerBackdrop,
  .mobileClubImportBackdrop,
  .mobileClubDetailBackdrop{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    min-height:0!important;
    margin:0;
    padding:0;
    border:0;
    border-radius:0;
    background:rgba(15,23,42,.42);
  }
  .mobileClubPickerPanel,
  .mobileClubImportPanel,
  .mobileClubDetailPanel{
    position:absolute;
    right:0;
    bottom:0;
    left:0;
    display:flex;
    flex-direction:column;
    width:100%;
    max-height:min(82dvh,720px);
    box-sizing:border-box;
    padding:8px 12px calc(12px + env(safe-area-inset-bottom));
    border-radius:18px 18px 0 0;
    background:#fff;
    box-shadow:0 -18px 50px rgba(15,23,42,.25);
    transform:translateY(102%);
    transition:transform .2s ease;
    overscroll-behavior:contain;
  }
  .mobileClubImportPanel{max-height:min(88dvh,780px)}
  .mobileClubDetailPanel{max-height:min(86dvh,760px)}
  .mobileClubPickerSheet.open .mobileClubPickerPanel,
  .mobileClubImportSheet.open .mobileClubImportPanel,
  .mobileClubDetailSheet.open .mobileClubDetailPanel{transform:translateY(0)}
  .mobileClubPickerHandle,
  .mobileClubImportHandle,
  .mobileClubDetailHandle{
    flex:0 0 auto;
    width:42px;
    height:5px;
    margin:0 auto 7px;
    border-radius:999px;
    background:#cbd5e1;
  }
  .mobileClubPickerHead,
  .mobileClubImportHead,
  .mobileClubDetailHead{
    flex:0 0 auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    min-height:48px;
    padding:0 2px 9px;
    border-bottom:1px solid #e4eaf0;
  }
  .mobileClubPickerHead>strong,
  .mobileClubImportHead strong,
  .mobileClubDetailHead>strong{
    color:#203247;
    font-size:17px;
    font-weight:950;
  }
  .mobileClubImportHead>div{display:flex;flex-direction:column;gap:2px;min-width:0}
  .mobileClubImportHead small{color:#718096;font-size:11px;font-weight:800}
  .mobileClubPickerClose,
  .mobileClubImportClose,
  .mobileClubDetailClose{
    appearance:none;
    -webkit-appearance:none;
    flex:0 0 40px;
    width:40px;
    height:40px;
    min-height:40px!important;
    margin:0;
    padding:0;
    border:1px solid #cbd6e2;
    border-radius:10px;
    background:#fff;
    color:#526274;
    font-size:17px;
    font-weight:900;
  }
  .mobileClubPickerList{
    flex:1 1 auto;
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
    min-height:0;
    overflow-y:auto;
    padding:10px 0 2px;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior:contain;
  }
  .mobileClubPickerOption{
    appearance:none;
    -webkit-appearance:none;
    display:grid;
    grid-template-columns:minmax(0,1fr) 24px;
    align-items:center;
    gap:10px;
    width:100%;
    min-width:0;
    min-height:56px!important;
    box-sizing:border-box;
    margin:0;
    padding:10px 12px;
    border:1px solid #d5dee8;
    border-radius:12px;
    background:#fff;
    color:#263b52;
    text-align:left;
  }
  .mobileClubPickerOption>span{display:flex;flex-direction:column;gap:3px;min-width:0}
  .mobileClubPickerOption>span b{
    overflow:hidden;
    font-size:15px;
    font-weight:900;
    line-height:1.3;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .mobileClubPickerOption>span small{
    overflow:hidden;
    color:#718096;
    font-size:11px;
    font-weight:750;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .mobileClubPickerOption>strong{color:transparent;font-size:18px;font-weight:950;text-align:center}
  .mobileClubPickerOption.active{
    border-color:#2f4358;
    background:#2f4358;
    color:#fff;
    box-shadow:0 5px 13px rgba(47,67,88,.18);
  }
  .mobileClubPickerOption.active>span small{color:#d7e1eb}
  .mobileClubPickerOption.active>strong{color:#fff}
  .mobileClubPickerOption:disabled{opacity:.45}
  .mobileClubPickerEmpty{
    padding:36px 14px;
    color:#718096;
    font-size:13px;
    font-weight:800;
    text-align:center;
  }

  /* 학생 선택 가져오기 바텀시트 */
  .mobileClubImportBody,
  .mobileClubDetailBody{
    flex:1 1 auto;
    min-height:0;
    overflow-y:auto;
    padding:10px 0;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior:contain;
  }
  .mobileClubImportList{
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
  }
  .mobileClubImportStudent{
    display:grid!important;
    grid-template-columns:22px 42px minmax(0,1fr) auto;
    align-items:center;
    gap:9px;
    min-width:0;
    min-height:58px;
    box-sizing:border-box;
    margin:0!important;
    padding:9px 10px;
    border:1px solid #d7e0e9;
    border-radius:12px;
    background:#fff;
    -webkit-tap-highlight-color:transparent;
  }
  .mobileClubImportStudent.disabled{background:#f4f6f8;opacity:.62}
  .mobileClubImportStudent input{
    appearance:auto;
    -webkit-appearance:checkbox;
    width:21px;
    height:21px;
    min-height:0!important;
    margin:0;
    padding:0;
    accent-color:#2f4358;
  }
  .mobileClubImportNo{
    display:flex;
    align-items:center;
    justify-content:center;
    width:42px;
    height:40px;
    border-radius:10px;
    background:#eaf4fd;
    color:#2a6799;
    font-size:14px;
    font-weight:900;
  }
  .mobileClubImportStudent>span:nth-of-type(2){display:flex;flex-direction:column;gap:3px;min-width:0}
  .mobileClubImportStudent b{overflow:hidden;color:#203247;font-size:14px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}
  .mobileClubImportStudent small{overflow:hidden;color:#718096;font-size:11px;font-weight:750;text-overflow:ellipsis;white-space:nowrap}
  .mobileClubImportStudent>strong{color:#718096;font-size:10px;font-weight:900;white-space:nowrap}
  .mobileClubImportActions{
    flex:0 0 auto;
    display:grid;
    grid-template-columns:minmax(0,.8fr) minmax(0,.8fr) minmax(0,1.4fr);
    gap:6px;
    padding-top:10px;
    border-top:1px solid #e4eaf0;
    background:#fff;
  }
  .mobileClubImportActions button{width:100%;min-width:0;padding:7px 3px;font-size:11px;word-break:keep-all}

  /* 달력 상세 바텀시트 */
  .mobileClubDetailList{display:grid;grid-template-columns:1fr;gap:8px}
  .mobileClubDetailStudent{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:8px;
    min-width:0;
    padding:11px;
    border:1px solid #dce4ed;
    border-radius:12px;
    background:#fff;
  }
  .mobileClubDetailStudent>div{display:grid;grid-template-columns:40px minmax(0,1fr);align-items:center;gap:9px;min-width:0}
  .mobileClubDetailStudent>div>span{
    display:flex;
    align-items:center;
    justify-content:center;
    width:40px;
    height:40px;
    border-radius:10px;
    background:#edf5fc;
    color:#2d6d9f;
    font-size:14px;
    font-weight:900;
  }
  .mobileClubDetailStudent p{margin:0}
  .mobileClubDetailStudent>div p{display:flex;flex-direction:column;gap:3px;min-width:0}
  .mobileClubDetailStudent>div b{overflow:hidden;color:#203247;font-size:14px;font-weight:900;text-overflow:ellipsis;white-space:nowrap}
  .mobileClubDetailStudent>div small{color:#718096;font-size:11px;font-weight:750}
  .mobileClubDetailStudent>strong{
    align-self:center;
    padding:6px 8px;
    border:1px solid #d6dee7;
    border-radius:999px;
    background:#f8fafc;
    color:#657487;
    font-size:10px;
    font-weight:900;
    white-space:nowrap;
  }
  .mobileClubDetailStudent>strong.status-present{border-color:#83c79e;background:#f0fbf4;color:#16753a}
  .mobileClubDetailStudent>strong.status-absent{border-color:#e8a6a6;background:#fff4f4;color:#b63333}
  .mobileClubDetailStudent>strong.status-late{border-color:#eacb83;background:#fff9eb;color:#9a6700}
  .mobileClubDetailStudent>strong.status-official{border-color:#9ac4e8;background:#f1f8ff;color:#296b9f}
  .mobileClubDetailStudent>strong.status-early{border-color:#bea9e0;background:#f8f4ff;color:#65469a}
  .mobileClubDetailStudent>p{
    grid-column:1/-1;
    padding:8px 9px;
    border-radius:9px;
    background:#f8fafc;
    color:#526274;
    font-size:12px;
    font-weight:700;
    line-height:1.45;
  }

  body.mobileClubIOS .mobileClubPickerPanel,
  body.mobileClubIOS .mobileClubImportPanel,
  body.mobileClubIOS .mobileClubDetailPanel{
    padding-bottom:calc(14px + env(safe-area-inset-bottom));
  }
}

@media (max-width:420px){
  body.mobileClubView .mobileClubSelector,
  body.mobileClubView .mobileClubPanel{padding:12px}
  body.mobileClubView .mobileClubSelectorGrid{gap:8px}
  body.mobileClubView .mobileClubPickerButton{padding:0 9px}
  body.mobileClubView .mobileClubPickerButton b{font-size:14px}
  body.mobileClubView .mobileClubCurrent>strong{max-width:45%;font-size:10px}
  body.mobileClubView .mobileClubStatusGrid{gap:3px}
  body.mobileClubView .mobileClubStatusGrid>span{font-size:8px;padding:6px 1px}
  body.mobileClubView .mobileClubImportActions{grid-template-columns:minmax(0,.75fr) minmax(0,.75fr) minmax(0,1.5fr);gap:4px}
  body.mobileClubView .mobileClubImportActions button{font-size:10px;padding:6px 2px}
}
