
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: -apple-system, BlinkMacSystemFont, 'Hiragino Sans', sans-serif; background: #f5f5f5; color: #333; }
    .container { max-width: 480px; margin: 0 auto; padding: 20px; }
    h1 { font-size: 20px; text-align: center; margin: 20px 0; color: #4CAF50; }
    .form-group { margin-bottom: 16px; }
    label { display: block; font-size: 14px; font-weight: bold; margin-bottom: 6px; }
    input, select { width: 100%; padding: 12px; font-size: 16px; border: 1px solid #ddd; border-radius: 8px; background: #fff; }
    input[type="hidden"] { display: none !important; padding: 0; margin: 0; border: 0; height: 0; width: 0; }
    .area-btn.error-border { border-color: #f44336; }
    input:focus, select:focus { outline: none; border-color: #4CAF50; }
    .hint { font-size: 12px; color: #888; margin-top: 4px; }
    .row { display: flex; gap: 8px; }
    .row .form-group { flex: 1; }
    button { width: 100%; padding: 14px; font-size: 16px; font-weight: bold; color: #fff; background: #4CAF50; border: none; border-radius: 8px; cursor: pointer; margin-top: 20px; }
    .area-btn { margin-top: 0; }
    button:disabled { background: #ccc; }
    .loading { text-align: center; padding: 40px; font-size: 16px; color: #888; }
    .error { color: #f44336; font-size: 13px; margin-top: 4px; display: none; }
    .success { text-align: center; padding: 40px; }
    .success h2 { color: #4CAF50; margin-bottom: 12px; }
    .area-btn { width: 100%; padding: 12px; font-size: 16px; border: 1px solid #ddd; border-radius: 8px; background: #fff; text-align: left; cursor: pointer; color: #333; }
    .area-btn:focus { outline: none; border-color: #4CAF50; }
    .area-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1000; display: none; }
    .area-overlay.active { display: flex; justify-content: center; align-items: flex-end; }
    .area-panel { background: #fff; width: 100%; max-width: 480px; max-height: 80vh; border-radius: 16px 16px 0 0; display: flex; flex-direction: column; }
    .area-panel-header { padding: 12px 16px; border-bottom: 1px solid #eee; }
    .area-panel-header-top { display: flex; justify-content: space-between; align-items: center; }
    .area-panel-header h3 { font-size: 16px; }
    .area-panel-header .count { font-size: 13px; color: #888; }
    .area-selected-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
    .area-selected-tags:empty { display: none; }
    .area-selected-tag { display: inline-flex; align-items: center; background: #E8F5E9; color: #2E7D32; padding: 3px 8px; border-radius: 12px; font-size: 12px; }
    .area-selected-tag .remove { margin-left: 4px; cursor: pointer; font-weight: bold; color: #999; font-size: 14px; }
    .area-selected-tag .remove:hover { color: #f44336; }
    .area-panel-body { flex: 1; overflow-y: auto; padding: 0; }
    .pref-header { padding: 12px 16px; font-size: 15px; font-weight: 600; background: #fafafa; border-bottom: 1px solid #eee; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
    .pref-header:active { background: #f0f0f0; }
    .pref-header .arrow { transition: transform 0.2s; font-size: 12px; color: #999; }
    .pref-header.open .arrow { transform: rotate(90deg); }
    .pref-cities { display: none; }
    .pref-cities.open { display: block; }
    .city-item { padding: 10px 16px 10px 32px; border-bottom: 1px solid #f5f5f5; font-size: 14px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
    .city-item:active { background: #f5f5f5; }
    .city-item.checked { background: #E8F5E9; }
    .city-item .check { color: #4CAF50; font-weight: bold; display: none; }
    .city-item.checked .check { display: inline; }
    .city-item.nearby { color: #FF9800; }
    .city-item.unavailable { color: #999; }
    .area-msg { padding: 8px 16px; font-size: 12px; background: #FFF3E0; color: #E65100; border-bottom: 1px solid #eee; display: none; }
    .area-msg.show { display: block; }
    .area-panel-footer { padding: 12px 16px; border-top: 1px solid #eee; }
    .area-panel-footer button { width: 100%; padding: 12px; font-size: 16px; font-weight: bold; color: #fff; background: #4CAF50; border: none; border-radius: 8px; cursor: pointer; }
    .area-panel-footer button:disabled { background: #ccc; }
    .custom-select { position: relative; }
    .custom-select-trigger { width: 100%; padding: 12px; font-size: 16px; border: 1px solid #ddd; border-radius: 8px; background: #fff; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
    .custom-select-trigger:focus { outline: none; border-color: #4CAF50; }
    .custom-select-trigger .arrow { color: #999; font-size: 12px; }
    .custom-select-dropdown { display: none; position: absolute; top: calc(100% + 4px); left: 0; right: 0; background: #fff; border: 1px solid #ddd; border-radius: 8px; z-index: 100; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
    .custom-select-dropdown.open { display: block; }
    .custom-select-option { padding: 14px 12px; font-size: 16px; cursor: pointer; border-bottom: 1px solid #f0f0f0; }
    .custom-select-option:last-child { border-bottom: none; }
    .custom-select-option:active { background: #f5f5f5; }
    .custom-select-option.selected { background: #E8F5E9; }
    .custom-select-option.highlight { background: #E8F5E9; font-weight: bold; color: #2E7D32; display: flex; justify-content: space-between; align-items: center; }
    .custom-select-option.highlight .badge { background: #4CAF50; color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 20px; font-weight: bold; white-space: nowrap; }
  