<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">:root { --primary: #6366f1; --primary-dark: #4f46e5; --secondary: #8b5cf6; --accent: #ec4899; --success: #10b981; --warning: #f59e0b; --error: #ef4444; --background: #f8fafc; --surface: #ffffff; --surface-2: #f1f5f9; --text-primary: #0f172a; --text-secondary: #64748b; --text-muted: #94a3b8; --border: #e2e8f0; --border-light: #f1f5f9; --radius: 8px; --radius-lg: 12px; --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05); --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px 0 rgb(0 0 0 / 0.06); --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -1px rgb(0 0 0 / 0.06); --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -2px rgb(0 0 0 / 0.05); }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', system-ui, sans-serif; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: var(--text-primary); line-height: 1.5; font-size: 14px; min-height: 100vh; }
.app-container { min-height: 100vh; display: flex; flex-direction: column; }
.header { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(20px); border-bottom: 1px solid rgba(255, 255, 255, 0.2); padding: 1rem 0; }
.header-content { max-width: 1600px; margin: 0 auto; padding: 0 1rem; text-align: center; }
.header-title { font-size: 1.75rem; font-weight: 800; color: white; margin-bottom: 0.25rem; display: flex; align-items: center; justify-content: center; gap: 0.75rem; }
.header-subtitle { color: rgba(255, 255, 255, 0.8); font-size: 0.875rem; font-weight: 500; }
.search-section { padding: 1.5rem 1rem; }
.search-container { max-width: 1600px; margin: 0 auto; }
.search-header { background: var(--surface); border-radius: var(--radius) var(--radius) 0 0; padding: 1rem 1.5rem; border-bottom: 1px solid var(--border-light); }
.search-header h2 { font-size: 1rem; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; }
.search-form { background: var(--surface); border-radius: 0 0 var(--radius) var(--radius); padding: 1.5rem; box-shadow: var(--shadow-lg); }
.form-row { display: grid; gap: 1rem; margin-bottom: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
@media (min-width: 1200px) { .form-row.pc-5-cols { grid-template-columns: repeat(5, 1fr); } .form-row.pc-4-cols { grid-template-columns: repeat(4, 1fr); } }
.form-group { display: flex; flex-direction: column; gap: 0.375rem; }
.form-group label { font-size: 0.75rem; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; display: flex; align-items: center; gap: 0.375rem; }
.form-group input, .form-group select { width: 100%; padding: 0.75rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.875rem; transition: all 0.2s; background: var(--surface); }
.form-group input:focus, .form-group select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1); }
.form-group-container { position: relative; }
.autocomplete-results { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--surface); border: 1px solid var(--border); border-top: none; border-radius: 0 0 var(--radius) var(--radius); max-height: 240px; overflow-y: auto; z-index: 1000; box-shadow: var(--shadow-md); }
.autocomplete-item { padding: 0.75rem; cursor: pointer; font-size: 0.875rem; }
.autocomplete-item:hover { background-color: var(--surface-2); }
.autocomplete-item strong { color: var(--primary); }
#deviationSlider { height: 6px; margin: 1.25rem 12px 1rem; }
.noUi-target { background: var(--surface-2); border-radius: 3px; border: none; box-shadow: inset 0 1px 2px rgba(0,0,0,0.1); }
.noUi-connect { background: linear-gradient(to right, var(--secondary), var(--primary)); }
.noUi-handle { border-radius: 50%; border: 2px solid white; box-shadow: var(--shadow-md); background: var(--primary); width: 18px; height: 18px; right: -9px; top: -6px; cursor: grab; }
.noUi-handle:focus { outline: none; box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2); }
.noUi-handle::before, .noUi-handle::after { display: none; }
.noUi-tooltip { position: absolute; bottom: 150%; transform: translateX(-50%); left: 50%; background: var(--text-primary); color: white; padding: 0.25rem 0.5rem; border-radius: var(--radius); font-size: 0.75rem; font-weight: 600; border: none; box-shadow: var(--shadow); opacity: 0; transition: opacity 0.15s; }
.noUi-active .noUi-tooltip { opacity: 1; }
.region-selector { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border-light); }
.region-selector label { font-size: 0.75rem; font-weight: 600; color: var(--text-secondary); text-transform: uppercase; display: flex; align-items: center; gap: 0.375rem; margin-bottom: 0.75rem; }
.region-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.region-chip { padding: 0.5rem 1rem; border: 1px solid var(--border); border-radius: 50px; background: var(--surface); color: var(--text-secondary); font-size: 0.75rem; font-weight: 500; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; gap: 0.375rem; }
.region-chip:hover { border-color: var(--primary); background: rgba(99, 102, 241, 0.05); color: var(--primary); }
.region-chip.active { background: var(--primary); color: white; border-color: var(--primary); box-shadow: var(--shadow); }
.filters-summary { background: rgba(99, 102, 241, 0.05); border: 1px solid rgba(99, 102, 241, 0.1); border-radius: var(--radius); padding: 0.75rem; margin-bottom: 1rem; display: none; }
.filters-summary.active { display: block; }
.filter-tags { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.filter-tag { background: var(--primary); color: white; padding: 0.25rem 0.75rem; border-radius: 50px; font-size: 0.75rem; font-weight: 500; display: flex; align-items: center; gap: 0.375rem; }
.filter-tag .remove { cursor: pointer; opacity: 0.8; font-weight: 600; }
.filter-tag .remove:hover { opacity: 1; }
.btn { padding: 0.75rem 1.5rem; border-radius: var(--radius); font-size: 0.875rem; font-weight: 600; cursor: pointer; transition: all 0.2s; border: none; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; text-decoration: none; }
.btn.btn-sm { padding: 0.5rem 1rem; font-size: 0.75rem; }
.btn-primary { background: var(--primary); color: white; box-shadow: var(--shadow); }
.btn-primary:hover:not(:disabled) { background: var(--primary-dark); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn:disabled { background-color: #a5b4fc !important; border-color: #a5b4fc !important; color: white !important; cursor: not-allowed; transform: none; box-shadow: none;}
.btn-secondary { background: var(--surface-2); color: var(--text-primary); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--border-light); }
.btn-icon { padding: 0.75rem; min-width: auto; }
.search-actions { display: flex; gap: 1rem; justify-content: center; margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border-light); }
.main-content { flex: 1; max-width: 1600px; margin: 0 auto; padding: 0 1rem 2rem; width: 100%; }
.results-header { background: var(--surface); border-radius: var(--radius) var(--radius) 0 0; padding: 1rem 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; border-bottom: 1px solid var(--border-light); }
.results-info h3 { font-size: 1rem; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; }
.results-controls { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.sort-select { padding: 0.5rem; border: 1px solid var(--border); border-radius: var(--radius); font-size: 0.75rem; background: var(--surface); }
.content-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.content-grid.with-map { grid-template-columns: minmax(0, 1fr) 400px; }
.results-panel { background: var(--surface); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; min-height: 500px; }
.results-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 1.25rem; padding: 1.5rem; align-items: stretch; }
.university-card { background: var(--surface); border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--border); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 1.25rem; }
.university-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem; gap: 1rem; }
.card-header-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.university-name { font-size: 1.125rem; font-weight: 700; color: var(--text-primary); line-height: 1.3; flex: 1; cursor: pointer; }
.university-name:hover { color: var(--primary); text-decoration: underline; }
.university-type { padding: 0.25rem 0.75rem; border-radius: 50px; font-size: 0.625rem; font-weight: 700; text-transform: uppercase; white-space: nowrap; color: white; }
.university-type.public { background: linear-gradient(135deg, #10b981, #059669); }
.university-type.private { background: linear-gradient(135deg, #f59e0b, #d97706); }
.card-content { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; flex: 1; }
.card-info-item { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; }
.card-info-item.full-width { grid-column: 1 / -1; } /* â˜…â˜…â˜… For exam subjects */
.info-label { font-size: 0.625rem; font-weight: 700; color: var(--text-muted); text-transform: uppercase; display: flex; align-items: center; gap: 0.375rem; }
.info-value { font-size: 0.875rem; font-weight: 500; line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.info-value.wrap-text { white-space: normal; word-break: break-word; } /* â˜…â˜…â˜… For exam subjects */
.info-value.deviation-value { font-weight: 700; color: var(--primary); }
.card-footer { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border-light); display: flex; flex-direction: column; gap: 0.5rem; }
.station-info, .address-info { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; color: var(--text-secondary); flex-wrap: nowrap; min-width: 0; }
.address-info.clickable { cursor: pointer; }
.address-info.clickable:hover { color: var(--primary); text-decoration: underline; }
.url-info { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; min-width: 0; flex-wrap: wrap; margin-top: 0.5rem; }
.url-info a { color: var(--primary); text-decoration: none; font-weight: 500; transition: color 0.2s; display: inline-flex; align-items: center; gap: 0.375rem; }
.url-info a:hover { color: var(--primary-dark); text-decoration: underline; }
.access-time-badge { display: inline-flex; align-items: center; gap: 0.375rem; padding: 0.375rem 0.75rem; background: rgba(99, 102, 241, 0.1); color: var(--primary); border-radius: 50px; font-size: 0.75rem; font-weight: 600; flex-shrink: 0; }
.card-bottom-actions { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border-light); display: flex; justify-content: flex-end; align-items: center; gap: 0.5rem;}
.btn-compare.active, .btn-secondary.active { background-color: var(--primary); color: white; border-color: var(--primary); }
.btn-compare.active i, .btn-secondary.active i { color: white; }
.map-panel { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; height: calc(100vh - 3rem); position: sticky; top: 1.5rem; }
.map-header { padding: 1rem; border-bottom: 1px solid var(--border-light); display: flex; justify-content: space-between; align-items: center; }
.map-header h4 { font-size: 0.875rem; font-weight: 600; display: flex; align-items: center; gap: 0.5rem; }
.map-content, #leafletMap, #favoritesMap { height: 100%; width: 100%; border-radius: 0 0 var(--radius) var(--radius); background: var(--surface-2); }
.pagination { padding: 1.5rem; display: flex; justify-content: center; align-items: center; gap: 0.5rem; background: var(--surface-2); border-top: 1px solid var(--border-light); }
.pagination button { padding: 0.5rem 0.75rem; border: 1px solid var(--border); background: var(--surface); color: var(--text-primary); border-radius: var(--radius); font-size: 0.75rem; cursor: pointer; transition: all 0.2s; min-width: 32px; }
.pagination button:hover:not(:disabled), .pagination button.active { background: var(--primary); color: white; border-color: var(--primary); }
.pagination button:disabled { opacity: 0.5; cursor: not-allowed; }
.loading-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; z-index: 3000; }
.loading-spinner { width: 40px; height: 40px; border: 3px solid var(--border); border-top: 3px solid var(--primary); border-radius: 50%; animation: spin 1s linear infinite; margin: 0 auto 1rem; }
@keyframes spin { 100% { transform: rotate(360deg); } }
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); backdrop-filter: blur(5px); display: flex; align-items: center; justify-content: center; z-index: 2000; padding: 1rem; }
.modal-content { background: white; border-radius: 16px; width: 100%; max-width: 800px; max-height: 90vh; overflow-y: auto; padding: 2rem; position: relative; box-shadow: 0 10px 30px rgba(0,0,0,0.2); }
.modal-content.wide { max-width: 1200px; }
.modal-close-btn { position: absolute; top: 1rem; right: 1rem; background: none; border: none; font-size: 1.5rem; color: #999; cursor: pointer; transition: color 0.2s; line-height: 1; padding: 0.5rem;}
.modal-close-btn:hover { color: var(--text-primary); }
.detail-header h2 { font-size: 1.8rem; margin-bottom: 0.5rem; color: var(--primary); }
.detail-section { margin-top: 2rem; border-top: 1px solid var(--border-light); padding-top: 1.5rem; }
.detail-section h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.campus-info-block { margin-bottom: 1rem; background: var(--surface-2); padding: 1rem; border-radius: var(--radius); }
.campus-info-block p.clickable:hover { color: var(--primary); cursor: pointer; text-decoration: underline;}
#detailMap { height: 300px; border-radius: 8px; margin-top: 1rem; background-color: var(--surface-2); }
.comparison-box-container { position: fixed; bottom: 0; left: 0; right: 0; background: var(--surface); box-shadow: 0 -5px 20px rgba(0,0,0,0.1); border-top: 1px solid var(--border); z-index: 1500; transform: translateY(100%); transition: transform 0.3s ease-out; }
.comparison-box-container.show { transform: translateY(0); }
.comparison-box-header { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 1rem; border-bottom: 1px solid var(--border-light); }
.comparison-box-header h4 { margin: 0; font-size: 0.875rem; }
.btn-close-comparison { background: none; border: none; font-size: 1.5rem; color: #999; cursor: pointer; line-height: 1;}
.comparison-box-content { display: flex; gap: 0.75rem; padding: 1rem; overflow-x: auto; }
.comparison-item { flex-shrink: 0; width: 180px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 0.75rem; font-size: 0.75rem; position: relative; }
.comparison-item-name { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 0.25rem; }
.comparison-item-faculty { color: var(--text-secondary); font-size: 0.7rem; }
.comparison-item-remove { position: absolute; top: -5px; right: -5px; width: 20px; height: 20px; background: var(--error); color: white; border: 2px solid white; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 12px; line-height: 1; }
.comparison-table-container { overflow-x: auto; }
.comparison-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.comparison-table th, .comparison-table td { padding: 0.75rem; text-align: left; border: 1px solid var(--border); font-size: 0.8rem; }
.comparison-table th { background: var(--surface-2); font-weight: 600; }
.comparison-table thead th:first-child { background: transparent; border: none; }
.comparison-table tbody tr th { background: var(--surface-2); text-align: right; }
.share-notification { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(200%); background-color: var(--text-primary); color: white; padding: 1rem 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 0.75rem; font-weight: 600; z-index: 2000; transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.share-notification.show { transform: translateX(-50%) translateY(0); }
.share-notification i { color: var(--success); }
/* â˜…â˜…â˜… Favorites View Styles â˜…â˜…â˜… */
.favorites-view .results-header { border-radius: 0; }
.favorites-view .content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 1.5rem; }
.favorites-view .map-panel { height: calc(100vh - 120px); /* Adjust height as needed */ }
@media (max-width: 1200px) { .content-grid.with-map, .favorites-view .content-grid { grid-template-columns: 1fr; } .map-panel { position: static; top: auto; max-height: 450px; } .map-content { height: 450px; } }
@media (max-width: 768px) { body { padding-bottom: 120px; } .main-content { margin-bottom: 0; } }</pre></body></html>