    #ikdao-clock-app {
      position: relative;
      height: 100%;
      width: 100%;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    #ikdao-clock-views-container {
      flex: 1;
      position: relative;
      padding: 20px 20px 80px 20px; 
      overflow-y: auto;
      box-sizing: border-box;
    }

    .clock-view {
      display: none;
      flex-direction: column;
      align-items: center;
      justify-content: flex-start;
      height: 100%;
      opacity: 0;
      transition: opacity 0.3s ease-in-out;
    }
    .clock-view.clock-active { 
      display: flex;
      opacity: 1;
    }

    #ikdao-clock-bottom-nav {
      position: fixed;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 60px;
      display: flex;
      border-top: 1px solid #333;
      z-index: 100;
    }
    .clock-nav-btn {
      flex: 1; display: flex; flex-direction: column; align-items: center;
      justify-content: center; background: none; border: none;
      color: #555555; cursor: pointer; transition: color 0.2s;
      font-size: 10px; padding: 5px 0;
      text-decoration: none;
    }
    .clock-nav-btn svg { width: 24px; height: 24px; margin-bottom: 4px; }
    .clock-nav-btn:hover { color: #ccc; }
    .clock-nav-btn.clock-active { color: #999999; }

    .clock-big-display {
        font-size: clamp(3.5rem, 15vw, 6rem);
        font-weight: 200;
        margin: 20px 0;
        font-variant-numeric: tabular-nums;
    }
    .clock-controls { display: flex; gap: 15px; margin-top: 20px; }
    .clock-btn {

       padding: 10px 20px;
       border: 1px solid #444; cursor: pointer;
       font-size: 1rem; 
    }

    .clock-home-entry { display: flex; justify-content: space-between; align-items: center; width: 100%; max-width: 500px; padding: 15px 0; border-bottom: 1px solid #333; }
    .clock-home-entry:last-child { border-bottom: none; }
    .clock-home-city-details { text-align: left; }
    .clock-home-city { font-size: 1.5rem; }
    .clock-home-offset { font-size: 0.9rem; color: #888; }
    .clock-home-time { font-size: 2rem; font-weight: 300; font-variant-numeric: tabular-nums; }
    .clock-home-remove-btn { background: none; border: none; color: #666; font-size: 1.5rem; cursor: pointer; padding: 0 10px; transition: color 0.2s; }
    .clock-home-remove-btn:hover { color: #f07178; }
    
    #ikdao-clock-analog { width: clamp(250px, 60vmin, 400px); height: clamp(250px, 60vmin, 400px); }
    #ikdao-clock-analog circle { stroke: #e0e0e0; stroke-width: 1; fill: none; }
    #ikdao-clock-analog line { stroke-linecap: round; }
    #ikdao-clock-hourMarks line { stroke: #e0e0e0; stroke-width: 2; }
    #ikdao-clock-hourHand { stroke: #e0e0e0; stroke-width: 4; }
    #ikdao-clock-minuteHand { stroke: #e0e0e0; stroke-width: 3; }
    #ikdao-clock-secondHand { stroke: #f07178; stroke-width: 1; }
    #ikdao-clock-date-display {
        font-size: clamp(1.2rem, 3vw, 1.8rem);
        color: #aaa;
        margin-top: 15px;
        font-weight: 300;
    }

    #ikdao-clock-laps { width: 100%; max-width: 400px; margin-top: 20px; font-size: 1rem; text-align: center; }
    .clock-lap-item { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #2a2a2a; }

    #ikdao-clock-timer-inputs { display: flex; gap: 10px; align-items: center; }
    .clock-timer-input { width: 80px; font-size: 2rem; border: 1px solid #444; color: #e0e0e0; text-align: center; border-radius: 8px; }
    .clock-timer-input::placeholder { color: #777; }
    @keyframes flash { 0%, 100% { background-color: #121212; } 50% { background-color: #503739; } }
    #ikdao-clock-app.clock-timer-finished { animation: flash 1s infinite; }

    /* --- Alarm View --- */
    #ikdao-clock-alarm-list { width: 100%; max-width: 500px; }
    .clock-alarm-item { display: flex; align-items: center; justify-content: space-between; padding: 15px 5px; border-bottom: 1px solid #333; }
    .clock-alarm-time { font-size: 1.8rem; font-weight: 300; }
    .clock-alarm-toggle { width: 50px; height: 26px; position: relative; }
    .clock-alarm-toggle input { opacity: 0; width: 0; height: 0; }
    .clock-alarm-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #333; transition: .4s; border-radius: 34px; }
    .clock-alarm-slider:before { position: absolute; content: ""; height: 20px; width: 20px; left: 3px; bottom: 3px; background-color: white; transition: .4s; border-radius: 50%; }
    input:checked + .clock-alarm-slider { background-color: #4CAF50; }
    input:checked + .clock-alarm-slider:before { transform: translateX(24px); }

    /* --- Settings View --- */
    .clock-settings-section { width: 100%; max-width: 500px; margin-bottom: 20px; }
    .clock-settings-section h2 { text-align: left; font-size: 1.2rem; font-weight: 500; margin: 0 0 15px 0; border-bottom: 1px solid #333; padding-bottom: 10px; }
    .clock-settings-section select, .clock-settings-section label { width: 100%; }
    .clock-settings-section label { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
    .clock-settings-section input[type="checkbox"] { width: 20px; height: 20px; }
    
    /* --- Alarm Notification --- */
    #ikdao-clock-alarm-notification {
        position: fixed;
        bottom: -100px; /* Start hidden */
        left: 50%;
        transform: translateX(-50%);
        width: 90%;
        max-width: 500px;
        background-color: #333;
        color: white;
        padding: 15px;
        border-radius: 12px;
        box-shadow: 0 -4px 15px rgba(0,0,0,0.2);
        display: flex;
        justify-content: space-between;
        align-items: center;
        z-index: 101;
        transition: bottom 0.5s ease-in-out;
    }
    #ikdao-clock-alarm-notification.show {
        bottom: 75px; /* Slide in view */
    }
    #ikdao-clock-alarm-notification-text {
        font-size: 1.1rem;
    }
    #ikdao-clock-alarm-notification .clock-controls {
        margin-top: 0;
    }
