:root {
      --ink: #172026;
      --muted: #65727a;
      --line: #d9e2e6;
      --paper: #ffffff;
      --soft: #f3f7f8;
      --mint: #14765f;
      --mint-soft: #e7f4f0;
      --blue: #2f6fa8;
      --amber: #b56c1f;
      --rose: #b74a48;
      --shadow: 0 18px 46px rgba(23, 32, 38, .14);
    }

    * { box-sizing: border-box; }

    body {
      margin: 0;
      min-height: 100vh;
      display: grid;
      place-items: start center;
      padding: 22px;
      color: var(--ink);
      font-family: Arial, "Noto Sans KR", "Malgun Gothic", sans-serif;
      background:
        radial-gradient(circle at 18% 12%, rgba(20, 118, 95, .18), transparent 28%),
        radial-gradient(circle at 82% 18%, rgba(47, 111, 168, .14), transparent 30%),
        linear-gradient(180deg, #f7faf9 0%, #edf3f4 100%);
    }

    button, input, select, textarea { font: inherit; }
    button { border: 0; cursor: pointer; }
    h1, h2, h3, p { margin: 0; }

    .phone {
      position: relative;
      width: min(100%, 430px);
      height: auto;
      min-height: 760px;
      display: grid;
      grid-template-rows: auto auto auto 1fr auto;
      overflow-x: hidden;
      overflow-y: visible;
      border: 1px solid var(--line);
      border-radius: 28px;
      background: var(--paper);
      box-shadow: var(--shadow);
    }

    header {
      padding: 24px 22px 12px;
      color: white;
      background: var(--mint);
    }

    .status {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 12px;
      margin-bottom: 18px;
      font-size: 13px;
      opacity: .92;
    }

    .status-location {
      min-width: 0;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .top-location-trigger {
      min-width: 0;
      padding: 5px 7px;
      overflow: hidden;
      border-radius: 6px;
      color: white;
      background: transparent;
      text-overflow: ellipsis;
      white-space: nowrap;
      font-weight: 800;
    }

    .top-location-trigger:hover,
    .top-location-trigger:focus-visible { background: rgba(255, 255, 255, .16); }

    .visually-hidden {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
      border: 0;
    }

    .weather-trigger {
      padding: 4px 6px;
      border-radius: 6px;
      color: white;
      background: transparent;
      font-weight: 800;
    }

    .weather-trigger:hover,
    .weather-trigger:focus-visible { background: rgba(255, 255, 255, .16); }

    .weather-summary {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 8px;
      margin: 16px 0;
    }

    .weather-stat {
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: var(--soft);
    }

    .weather-stat strong { display: block; margin-top: 4px; font-size: 17px; }

    .weather-brief {
      display: grid;
      gap: 8px;
      margin-bottom: 14px;
      padding: 14px;
      border: 1px solid #cde8df;
      border-radius: 8px;
      background: #f0fbf7;
    }

    .weather-tips {
      display: grid;
      gap: 8px;
      margin-top: 14px;
    }

    .weather-tip {
      padding: 10px 12px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: white;
      font-size: 13px;
      line-height: 1.45;
    }

    .hourly-weather {
      display: grid;
      grid-template-columns: repeat(4, minmax(68px, 1fr));
      gap: 8px;
      overflow-x: auto;
    }

    .hourly-weather div {
      padding: 10px 6px;
      border: 1px solid var(--line);
      border-radius: 8px;
      text-align: center;
      background: white;
      font-size: 13px;
    }

    h1 {
      font-size: 24px;
      line-height: 1.2;
      letter-spacing: 0;
    }

    .header-brand {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 104px;
      align-items: center;
      gap: 12px;
    }

    .header-assistant-image {
      width: 100px;
      height: 120px;
      object-fit: cover;
      border-radius: 8px;
      background: var(--mint);
    }

    .assistant-character {
      position: relative;
      border: 0;
      padding: 0;
      background: transparent;
      cursor: pointer;
      border-radius: 10px;
    }

    .assistant-character:focus-visible {
      outline: 3px solid rgba(255,255,255,.85);
      outline-offset: 3px;
    }

    .assistant-bubble {
      position: absolute;
      right: 115px;
      top: -8px;
      width: min(175px, 52vw);
      padding: 12px 14px;
      border: 1px solid rgba(255,255,255,.72);
      border-radius: 13px;
      background: #fff;
      color: var(--ink);
      box-shadow: 0 12px 25px rgba(15, 23, 42, .18);
      text-align: left;
      z-index: 8;
    }

    .assistant-bubble::after {
      content: "";
      position: absolute;
      right: -8px;
      top: 30px;
      width: 14px;
      height: 14px;
      background: #fff;
      border-right: 1px solid rgba(255,255,255,.72);
      border-top: 1px solid rgba(255,255,255,.72);
      transform: rotate(45deg);
    }

    .assistant-bubble strong,
    .assistant-bubble span {
      display: block;
    }

    .assistant-bubble strong {
      margin-bottom: 5px;
      font-size: 13px;
      color: var(--blue);
    }

    .assistant-bubble span {
      font-size: 14px;
      line-height: 1.45;
      word-break: keep-all;
    }

    .area {
      margin-top: 6px;
      font-size: 14px;
      opacity: .92;
    }

    .notice-ticker {
      width: 83%;
      margin-top: 7px;
      overflow: hidden;
      border: 0;
      padding: 0;
      color: white;
      background: transparent;
      text-align: left;
      cursor: pointer;
    }

    .notice-ticker-track {
      display: inline-block;
      min-width: 100%;
      padding-left: 100%;
      white-space: nowrap;
      font-size: 13px;
      font-weight: 700;
      animation: notice-scroll 16s linear infinite;
    }

    .notice-ticker:hover .notice-ticker-track,
    .notice-ticker:focus-visible .notice-ticker-track { animation-play-state: paused; }

    @keyframes notice-scroll {
      from { transform: translateX(0); }
      to { transform: translateX(-100%); }
    }

    /* 상단 공지는 핵심 안내이므로 기기 모션 설정과 관계없이 천천히 흐릅니다. */

    .ask {
      padding: 4px 20px 20px;
      border-bottom: 0;
      color: white;
      background: var(--mint);
    }

    .ask-title {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      margin-bottom: 12px;
      font-size: 18px;
      font-weight: 800;
    }

    .ask-title-text {
      min-width: 0;
    }

    .search {
      display: flex;
      align-items: end;
      gap: 8px;
      padding: 8px;
      border: 1px solid rgba(255, 255, 255, .35);
      border-radius: 35px;
      background: white;
      box-shadow: 0 12px 28px rgba(23, 32, 38, .16);
    }

    .composer-tools {
      display: flex;
      gap: 10px;
    }

    .search textarea {
      width: 100%;
      min-height: 46px;
      max-height: 120px;
      padding: 12px 10px;
      border: 0;
      resize: none;
      outline: 0;
      background: white;
      color: var(--ink);
      line-height: 1.45;
      overflow-y: auto;
    }

    .send {
      width: 44px;
      min-width: 44px;
      min-height: 44px;
      border-radius: 50%;
      color: white;
      background: var(--ink);
      font-size: 22px;
      font-weight: 900;
    }

    .voice-button {
      width: 40px;
      min-width: 44px;
      min-height: 44px;
      display: grid;
      place-items: center;
      border-radius: 50%;
      color: var(--ink);
      background: var(--mint-soft);
      border: 1px solid #b9d9cf;
      font-size: 19px;
      font-weight: 900;
    }

    .voice-button svg {
      width: 29px;
      height: 29px;
      display: block;
    }

    .voice-button svg path {
      fill: currentColor;
    }

    .voice-button.listening {
      color: white;
      background: var(--rose);
      border-color: var(--rose);
    }

    .ai-mode-row {
      display: inline-flex;
      align-items: center;
      font-size: 12px;
      color: rgba(255, 255, 255, .86);
      white-space: nowrap;
    }

    .ai-mode-row span {
      padding: 4px 9px;
      border: 1px solid rgba(255, 255, 255, .28);
      border-radius: 999px;
      background: rgba(255, 255, 255, .12);
    }

    .quick {
      padding: 16px 20px 18px;
      border-bottom: 0;
      background: #fbfcfc;
    }

    .quick-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 9px;
      align-items: stretch;
      justify-items: stretch;
    }

    .local-banners {
      display: grid;
      gap: 8px;
      margin-top: 12px;
    }

    .local-banner {
      min-height: 66px;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      gap: 12px;
      padding: 13px 14px;
      border-radius: 8px;
      color: white;
      text-decoration: none;
    }

    .local-banner strong,
    .local-banner small { display: block; }

    .local-banner small {
      margin-top: 4px;
      color: rgba(255, 255, 255, .88);
      line-height: 1.35;
    }

    .local-banner span:last-child {
      font-size: 22px;
      font-weight: 800;
    }

    .quick-btn {
      min-height: 68px;
      display: grid;
      gap: 5px;
      place-items: center;
      padding: 9px 4px;
      border-radius: 8px;
      color: var(--ink);
      background: white;
      border: 1px solid var(--line);
      box-shadow: 0 6px 16px rgba(23, 32, 38, .05);
      font-weight: 800;
      font-size: 14px;
      text-decoration: none;
      text-align: center;
      line-height: 1.2;
    }

    .quick-btn .icon {
      font-size: 23px;
      line-height: 1;
    }

    .content {
      min-height: 0;
      overflow: visible;
      padding-bottom: 24px;
      background: #fbfcfc;
    }

    .screen {
      display: none;
      padding: 0 20px 20px;
    }

    .screen.active { display: block; }

    .screen.my-modal-open {
      position: absolute;
      top: 50%;
      left: 50%;
      z-index: 120;
      width: min(calc(100% - 28px), 680px);
      max-height: min(640px, calc(100vh - 72px));
      display: block;
      overflow-y: auto;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: var(--soft);
      box-shadow: 0 22px 60px rgba(23, 32, 38, .3);
      transform: translate(-50%, -50%);
    }

    .my-modal-close {
      width: 36px;
      height: 36px;
      border-radius: 8px;
      color: var(--ink);
      background: white;
      font-size: 20px;
    }

    .section-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
      margin-bottom: 12px;
    }

    h2 { font-size: 19px; }
    h3 { font-size: 16px; }

    .date, .small {
      color: var(--muted);
      font-size: 13px;
      line-height: 1.45;
    }

    .cards {
      display: grid;
      gap: 10px;
    }

    .card {
      display: grid;
      gap: 8px;
      min-width: 0;
      padding: 13px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: white;
    }

    .result-card {
      grid-template-columns: 46px 1fr;
      align-items: start;
    }

    .result-card > div,
    .card h3,
    .card p,
    .small {
      min-width: 0;
      overflow-wrap: anywhere;
      word-break: keep-all;
    }

    .badge {
      width: 46px;
      height: 46px;
      display: grid;
      place-items: center;
      border-radius: 8px;
      color: white;
      font-size: 22px;
    }

    .green { background: var(--mint); }
    .blue { background: var(--blue); }
    .amber { background: var(--amber); }
    .rose { background: var(--rose); }

    .meta {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
      margin-top: 4px;
    }

    .chip {
      display: inline-flex;
      align-items: center;
      max-width: 100%;
      min-height: 26px;
      padding: 0 9px;
      border-radius: 999px;
      color: #315047;
      background: var(--mint-soft);
      font-size: 12px;
      font-weight: 800;
      overflow-wrap: anywhere;
    }

    .actions {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      margin-top: 4px;
    }

    .action {
      min-height: 36px;
      border-radius: 8px;
      color: var(--ink);
      background: #edf2f3;
      font-weight: 800;
    }

    a.action {
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
    }

    .action.primary {
      color: white;
      background: var(--mint);
    }

    #facilitiesModal .actions a.action {
      min-height: 42px;
      color: white;
      background: var(--mint);
    }

    #trashInfoModal .actions a[href^="tel:"],
    #safetyModal .actions a[href^="tel:"] {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      min-height: 42px;
      color: white;
      background: var(--mint);
      text-align: center;
    }

    .route-action {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
      text-align: center;
    }

    .answer {
      margin-bottom: 14px;
      padding: 14px;
      border-radius: 8px;
      border: 1px solid #cfe1dc;
      background: #e9f5f1;
      color: #143f34;
      line-height: 1.45;
      display: none;
    }

    .answer.show { display: block; }

    .empty {
      padding: 22px 14px;
      border: 1px dashed #bac8cd;
      border-radius: 8px;
      color: var(--muted);
      text-align: center;
      background: white;
      line-height: 1.5;
    }

    .map {
      position: relative;
      height: 260px;
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #dfe9e8;
      margin-bottom: 12px;
    }

    .map svg {
      width: 100%;
      height: 100%;
      display: block;
    }

    .data-source {
      margin: -4px 0 12px;
      color: var(--muted);
      font-size: 12px;
    }

    .pin {
      position: absolute;
      display: grid;
      place-items: center;
      width: 40px;
      height: 40px;
      border-radius: 999px;
      color: white;
      background: var(--mint);
      box-shadow: 0 8px 18px rgba(0, 0, 0, .18);
      font-size: 18px;
    }

    .pin.one { left: 48%; top: 38%; }
    .pin.two { left: 22%; top: 58%; background: var(--blue); }
    .pin.three { left: 68%; top: 26%; background: var(--amber); }

    .form {
      display: grid;
      gap: 10px;
    }

    .form input:not([type="checkbox"]), .form select, .form textarea {
      width: 100%;
      min-height: 42px;
      padding: 0 12px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: white;
      color: var(--ink);
      outline: 0;
    }

    .form textarea {
      min-height: 86px;
      padding: 12px;
      resize: vertical;
    }

    .form input[type="checkbox"] {
      width: 18px;
      height: 18px;
      margin: 0;
      accent-color: var(--mint);
      flex: 0 0 auto;
    }

    .welfare-options {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }

    .welfare-options label {
      display: flex;
      align-items: center;
      gap: 8px;
      min-height: 42px;
      padding: 8px 10px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: white;
      font-size: 13px;
      font-weight: 700;
    }

    .welfare-options input { width: 18px; height: 18px; }

    .photo-upload {
      display: grid;
      place-items: center;
      min-height: 48px;
      padding: 10px;
      border: 1px dashed var(--mint);
      border-radius: 8px;
      color: var(--mint);
      background: var(--mint-soft);
      font-weight: 800;
      cursor: pointer;
    }

    .photo-upload input { display: none; }

    .issue-photo-preview {
      width: 100%;
      max-height: 220px;
      object-fit: cover;
      border: 1px solid var(--line);
      border-radius: 8px;
    }

    .issue-review {
      padding: 14px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: var(--soft);
    }

    .issue-review dl { margin: 12px 0 0; }
    .issue-review dt { color: var(--muted); font-size: 12px; }
    .issue-review dd { margin: 3px 0 12px; line-height: 1.5; white-space: pre-wrap; }

    .location-box {
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 10px;
      align-items: center;
      margin-bottom: 12px;
      padding: 12px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: var(--mint-soft);
    }

    .location-box p { margin-top: 4px; }

    .location-button {
      min-height: 42px;
      padding: 0 14px;
      border-radius: 8px;
      color: white;
      background: var(--mint);
      font-weight: 800;
      white-space: nowrap;
    }

    .location-button:disabled {
      cursor: wait;
      opacity: .65;
    }

    .is-hidden { display: none !important; }

    .admin-toolbar {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      margin: 4px 0 10px;
    }

    .admin-panel {
      gap: 14px;
      padding: 16px;
      background: #f8fbfa;
    }

    .admin-section {
      display: grid;
      gap: 12px;
      padding: 16px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: white;
    }

    .admin-section h3 {
      margin: 0;
      font-size: 15px;
    }

    .admin-switch {
      display: flex;
      align-items: center;
      gap: 8px;
      min-height: 50px;
      padding: 0 14px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: var(--soft);
      color: var(--ink);
      font-weight: 800;
    }

    .admin-list {
      display: grid;
      gap: 8px;
      margin-top: 14px;
    }

    .admin-row {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      gap: 10px;
      align-items: center;
      padding: 10px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: white;
    }

    .admin-row-actions { display: flex; gap: 6px; }

    .today-open-actions {
      display: grid;
      grid-template-columns: repeat(2, minmax(92px, 1fr));
      gap: 6px;
      width: min(100%, 300px);
      justify-self: center;
    }

    .today-open-actions .action {
      width: 100%;
      min-height: 40px;
      padding: 0 10px;
    }

    .admin-message {
      min-height: 18px;
      margin: 0;
      color: var(--muted);
      font-size: 12px;
    }

    .alarm-options {
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--ink);
      font-size: 13px;
      font-weight: 700;
    }

    .alarm-options input { width: 18px; height: 18px; }

    .alarm-list {
      display: grid;
      gap: 8px;
      margin-top: 12px;
    }

    .alarm-row {
      display: grid;
      grid-template-columns: auto 1fr auto;
      align-items: center;
      gap: 10px;
      padding: 11px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: var(--soft);
    }

    .alarm-time { color: var(--mint); font-size: 18px; font-weight: 900; }

    .alarm-toast {
      position: fixed;
      left: 50%;
      bottom: 100px;
      z-index: 140;
      width: min(360px, calc(100% - 32px));
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 14px;
      border: 1px solid #b8ddd2;
      border-radius: 8px;
      color: var(--ink);
      background: white;
      box-shadow: 0 14px 36px rgba(23, 32, 38, .22);
      transform: translateX(-50%);
    }

    .place-modal {
      position: fixed;
      inset: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      padding: 16px;
      background: rgba(23, 32, 38, .56);
    }

    #routeModal {
      z-index: 180;
      background: rgba(23, 32, 38, .7);
    }

    .place-modal-panel {
      width: min(420px, 100%);
      max-height: calc(100dvh - 32px);
      overflow-y: auto;
      margin: 0;
      padding: 20px;
      border-radius: 8px;
      background: white;
      box-shadow: 0 20px 50px rgba(0, 0, 0, .22);
    }

    #quickInfoModal,
    #searchAnswerModal,
    #todayOpenModal,
    #childcareModal,
    #trashInfoModal,
    #safetyModal,
    #facilitiesModal {
      align-items: stretch;
      justify-content: center;
      padding: 0;
      background: rgba(247, 250, 249, .98);
    }

    #routeModal {
      padding: 16px;
    }

    #adminModal .place-modal-panel {
      width: min(640px, calc(100vw - 20px)) !important;
      height: min(780px, calc(100vh - 20px)) !important;
      max-height: calc(100vh - 20px) !important;
      padding: 0 24px 26px !important;
      overflow-y: auto !important;
    }

    #adminModal .place-modal-head {
      position: sticky;
      top: 0;
      z-index: 20;
      margin: 0 -24px 20px;
      padding: 20px 78px 16px 24px;
      border-bottom: 1px solid var(--line);
      background: white;
    }

    #adminModal .icon-close {
      position: fixed;
      top: max(14px, env(safe-area-inset-top));
      right: max(14px, env(safe-area-inset-right));
      z-index: 260;
      width: 50px;
      height: 50px;
      display: grid;
      place-items: center;
      color: white;
      background: var(--ink);
      border: 2px solid white;
      border-radius: 999px;
      box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
      font-size: 28px;
      font-weight: 900;
      line-height: 1;
    }

    #adminModal .card {
      gap: 16px !important;
      padding: 20px !important;
    }

    #adminLoginCard,
    #adminSessionCard {
      min-height: 260px;
      align-content: center;
    }

    #adminLoginCard h3,
    #adminSessionCard h3,
    #adminPanel h3 {
      font-size: 18px;
    }

    #adminModal .form {
      gap: 14px;
    }

    #adminModal .form input:not([type="checkbox"]),
    #adminModal .form select {
      min-height: 60px !important;
      padding: 0 16px !important;
      font-size: 16px !important;
    }

    #adminModal .form textarea {
      min-height: 150px !important;
      padding: 16px !important;
      font-size: 16px !important;
      line-height: 1.55 !important;
    }

    #adminModal .action {
      min-height: 54px;
      padding: 0 16px;
      font-size: 15px;
    }

    #adminSessionCard .actions {
      grid-template-columns: 1fr;
      gap: 12px;
      margin-top: 10px;
    }

    #adminPanel .section-head {
      margin-bottom: 4px;
    }

    #adminPanel .admin-section {
      gap: 14px;
      padding: 18px;
    }

    .quick-info-panel { width: min(560px, calc(100vw - 24px)); }

    .route-modal-panel { width: min(760px, 100%); }

    .quick-selected {
      display: grid;
      grid-template-columns: 1fr;
      align-items: center;
      gap: 10px;
      margin-bottom: 10px;
      padding: 10px;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: var(--mint-soft);
    }

    .quick-selected strong {
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      font-size: 16px;
    }

    .quick-selected-actions {
      display: grid;
      grid-template-columns: repeat(2, minmax(90px, 1fr));
      gap: 6px;
      width: min(100%, 300px);
      justify-self: center;
    }

    .today-open-row { grid-template-columns: 1fr; }

    .quick-selected-actions .action {
      min-height: 40px;
      padding: 0 10px;
    }

    .quick-selected-actions .action.is-disabled {
      pointer-events: none;
      opacity: .5;
    }

    .civic-detail {
      display: grid;
      grid-template-columns: 96px minmax(0, 1fr);
      gap: 0;
      margin: 0 0 12px;
      border: 1px solid var(--line);
      border-radius: 8px;
      overflow: hidden;
      background: white;
    }

    .civic-detail dt,
    .civic-detail dd {
      margin: 0;
      padding: 9px 10px;
      border-bottom: 1px solid var(--line);
      font-size: 13px;
      line-height: 1.45;
    }

    .civic-detail dt { color: var(--muted); background: var(--soft); font-weight: 700; }
    .civic-detail dt:last-of-type,
    .civic-detail dd:last-of-type { border-bottom: 0; }

    .quick-info-map {
      height: min(60vh, 520px);
      overflow: hidden;
      border: 1px solid var(--line);
      border-radius: 8px;
      background: #dfe9e8;
    }

    #quickInfoMap {
      width: 100%;
      height: 100%;
    }

    .route-map-fallback {
      display: grid;
      place-items: center;
      padding: 20px;
      color: var(--muted);
      text-align: center;
    }

    .quick-map-caption {
      min-height: 44px;
      padding: 10px 2px;
      color: var(--muted);
      font-size: 12px;
      line-height: 1.5;
    }

    .quick-directions-row {
      display: grid;
      grid-template-columns: 1fr;
      margin: 0 0 12px;
    }

    .quick-info-list {
      display: grid;
      gap: 8px;
      max-height: 250px;
      overflow-y: auto;
    }

    #quickInfoModal .place-modal-panel,
    #todayOpenModal .place-modal-panel,
    #childcareModal .place-modal-panel,
    #trashInfoModal .place-modal-panel,
    #safetyModal .place-modal-panel,
    #facilitiesModal .place-modal-panel {
      width: min(640px, 100vw);
      height: 100dvh;
      max-height: none;
      display: flex;
      flex-direction: column;
      border-radius: 0;
      box-shadow: none;
      padding: 18px 20px 24px;
    }

    #quickInfoModal .place-modal-head,
    #todayOpenModal .place-modal-head,
    #childcareModal .place-modal-head,
    #trashInfoModal .place-modal-head,
    #safetyModal .place-modal-head,
    #facilitiesModal .place-modal-head {
      position: sticky;
      top: 0;
      z-index: 5;
      align-items: center;
      margin: -18px -20px 14px;
      padding: 16px 64px 14px 20px;
      border-bottom: 1px solid var(--line);
      background: white;
    }

    #quickInfoModal .icon-close,
    #todayOpenModal .icon-close,
    #childcareModal .icon-close,
    #trashInfoModal .icon-close,
    #safetyModal .icon-close,
    #facilitiesModal .icon-close {
      position: absolute;
      top: 12px;
      right: 14px;
      z-index: 8;
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      color: white;
      background: var(--ink);
      border-radius: 999px;
      font-size: 24px;
      font-weight: 900;
      line-height: 1;
      box-shadow: 0 10px 24px rgba(23, 32, 38, .22);
    }

    #quickInfoModal .quick-info-list,
    #todayOpenModal .quick-info-list,
    #childcareModal .quick-info-list {
      flex: 1;
      min-height: 0;
      max-height: none;
    }

    #trashInfoModal .cards,
    #safetyModal .cards,
    #facilitiesModal .cards {
      flex: 1;
      min-height: 0;
      overflow-y: auto;
      padding-right: 2px;
    }

    #weatherModal .place-modal-panel {
      height: min(560px, calc(100dvh - 32px));
      display: flex;
      flex-direction: column;
    }

    #weatherContent {
      flex: 1;
      min-height: 0;
      overflow-y: auto;
      padding-right: 2px;
    }

    .quick-place-button {
      width: 100%;
      min-height: 64px;
      display: grid;
      grid-template-columns: 38px minmax(0, 1fr) 18px;
      align-items: center;
      gap: 10px;
      padding: 10px;
      border: 1px solid var(--line);
      border-radius: 8px;
      color: var(--ink);
      background: white;
      text-align: left;
    }

    .quick-place-button:hover,
    .quick-place-button.active {
      border-color: var(--mint);
      background: var(--mint-soft);
    }

    .quick-place-icon {
      display: grid;
      place-items: center;
      width: 38px;
      height: 38px;
      border-radius: 8px;
      background: var(--soft);
      font-size: 20px;
    }

    .quick-place-button strong,
    .quick-place-button small { display: block; }

    .quick-place-button > span:nth-child(2) {
      min-width: 0;
      overflow: hidden;
    }

    .quick-place-button strong {
      overflow-wrap: anywhere;
      word-break: keep-all;
    }

    .quick-place-button small {
      margin-top: 3px;
      color: var(--muted);
      line-height: 1.35;
      overflow-wrap: anywhere;
      word-break: keep-all;
    }

    .place-modal-head {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 12px;
      margin-bottom: 14px;
    }

    .place-primary-actions {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      margin: 14px 0;
      padding: 12px 0;
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }

    .place-primary-actions .action {
      min-height: 48px;
      display: center;
      align-items: center;
      justify-content: center;
      gap: 7px;
    }

    .action-icon {
      font-size: 18px;
      line-height: 1;
    }

    .icon-close {
      width: 36px;
      height: 36px;
      border-radius: 8px;
      background: var(--soft);
      color: var(--ink);
      font-size: 20px;
    }

    .action.is-disabled {
      pointer-events: none;
      opacity: .5;
    }

    footer {
      position: absolute;
      left: 22px;
      right: 22px;
      top: 62px;
      bottom: auto;
      z-index: 80;
      height: 64px;
      display: grid;
      grid-template-columns: repeat(5, 1fr);
      padding: 6px;
      border: 1px solid rgba(207, 219, 216, .9);
      border-radius: 8px;
      background: rgba(255, 255, 255, .96);
      box-shadow: 0 12px 30px rgba(23, 32, 38, .18);
      backdrop-filter: blur(12px);
      transition: transform .2s ease, opacity .2s ease, visibility .2s ease;
    }

    footer.is-collapsed {
      visibility: hidden;
      pointer-events: none;
      opacity: 0;
      transform: translateY(-8px);
    }

    .footer-toggle {
      flex: 0 0 34px;
      width: 34px;
      height: 34px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 1px solid rgba(255, 255, 255, .5);
      border-radius: 8px;
      color: white;
      background: rgba(255, 255, 255, .14);
      font-weight: 900;
    }

    .footer-toggle:hover,
    .footer-toggle:focus-visible { background: rgba(255, 255, 255, .24); }

    .footer-toggle-label { display: none; }

    #topHomeButton {
      width: auto;
      flex-basis: auto;
      gap: 5px;
      padding: 0 9px;
    }

    #topHomeButton .footer-toggle-label { display: inline; }

    .footer-toggle-icon {
      font-size: 16px;
      line-height: 1;
    }

    .tab {
      min-width: 0;
      min-height: 52px;
      display: grid;
      gap: 2px;
      place-items: center;
      border-radius: 12px;
      color: var(--muted);
      background: transparent;
      font-size: 11px;
      font-weight: 800;
      transition: color .18s ease, background .18s ease, transform .18s ease;
    }

    .tab:hover { background: var(--soft); }

    .tab:active { transform: translateY(1px); }

    .tab.active {
      color: var(--mint);
      background: #e8f6f1;
    }

    .tab span:first-child {
      font-size: 17px;
      line-height: 1;
    }

    .tab span:first-child {
      font-size: 19px;
      line-height: 1;
    }

    .tab.active { color: var(--mint); }

    @media (max-width: 520px) {
      body {
        display: block;
        padding: 0;
        background: white;
      }

      .phone {
        width: 100%;
        height: auto;
        min-height: 100dvh;
        overflow: visible;
        border: 0;
        border-radius: 0;
        box-shadow: none;
      }

      .quick-selected {
        grid-template-columns: 1fr;
      }
    }

    @media (min-width: 521px) and (max-width: 899px) {
      body {
        padding: 12px;
      }

      .phone {
        width: min(820px, calc(100vw - 24px));
        height: auto;
        min-height: 760px;
        overflow: visible;
        border-radius: 16px;
      }

      .header-brand {
        grid-template-columns: minmax(0, 1fr) 116px;
      }

      .quick-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
      }

      .local-banners {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .screen {
        padding: 0 22px 22px;
      }

      .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
      }

      .answer,
      .section-head {
        grid-column: 1 / -1;
      }
    }

    @media (min-width: 900px) {
      body {
        padding: 24px;
        background: #eef2f1;
      }

      .phone {
        width: min(560px, calc(100vw - 48px));
        height: auto;
        min-height: 760px;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto 1fr auto;
        overflow-x: hidden;
        overflow-y: visible;
        border-radius: 8px;
        box-shadow: 0 16px 40px rgba(23, 32, 38, .12);
      }

      .phone > header,
      .phone > .ask,
      .phone > .quick,
      .phone > .content {
        grid-area: auto;
      }

      header {
        padding: 22px 30px 12px;
      }

      header h1 {
        font-size: 28px;
      }

      .ask {
        padding: 4px 30px 20px;
      }

      .search {
        border-radius: 20px;
      }

      .quick {
        padding: 14px 30px 16px;
        border-bottom: 0;
        overflow: visible;
      }

      .quick-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
      }

      .quick-btn {
        min-height: 72px;
      }

      .local-banners {
        grid-template-columns: 1fr;
      }

      .content {
        min-height: 0;
        overflow: visible;
        background: #fbfcfc;
      }

      .screen {
        padding: 0 30px 30px;
      }

      .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
      }

      .answer,
      .section-head {
        grid-column: 1 / -1;
      }

      footer {
        left: 30px;
        right: 30px;
      }

      .tab {
        min-height: 52px;
      }
    }

    /* 2026 UI polish: 더 부드러운 소비자용 앱 화면 */
    .phone {
      border: 0;
      background:
        linear-gradient(180deg, #ffffff 0%, #f8fbfa 42%, #f3f7f7 100%);
      box-shadow:
        0 28px 80px rgba(15, 23, 42, .18),
        0 1px 0 rgba(255, 255, 255, .9) inset;
    }

    header {
      position: relative;
      overflow: hidden;
      padding-bottom: 18px;
      background:
        radial-gradient(circle at 85% 10%, rgba(252, 221, 3, .30), transparent 24%),
        radial-gradient(circle at 10% 0%, rgba(255, 255, 255, .18), transparent 28%),
        linear-gradient(145deg, #0f6b56 0%, #14916f 58%, #0a4d42 100%);
      border-bottom-left-radius: 28px;
      border-bottom-right-radius: 28px;
      box-shadow: 0 18px 40px rgba(20, 118, 95, .22);
    }

    header::after {
      display: none;
    }

    .status {
      position: relative;
      z-index: 1;
      padding: 8px 10px;
      border: 1px solid rgba(255, 255, 255, .18);
      border-radius: 999px;
      background: rgba(255, 255, 255, .10);
      backdrop-filter: blur(10px);
    }

    .top-location-trigger,
    .weather-trigger {
      border-radius: 999px;
      transition: transform .16s ease, background .16s ease;
    }

    .top-location-trigger:active,
    .weather-trigger:active,
    .quick-btn:active,
    .action:active,
    .send:active,
    .voice-button:active { transform: scale(.97); }

    .header-brand,
    .ask-title,
    .search,
    .ai-mode-row {
      position: relative;
      z-index: 1;
    }

    .header-assistant-image {
      border-radius: 24px;
      box-shadow: 0 18px 38px rgba(0, 0, 0, .20);
      border: 3px solid rgba(255, 255, 255, .26);
    }

    .search {
      border: 0;
      border-radius: 26px;
      background: rgba(255, 255, 255, .98);
      box-shadow:
        0 18px 38px rgba(6, 45, 37, .24),
        0 0 0 1px rgba(255, 255, 255, .8) inset;
    }

    .search textarea::placeholder { color: #8a9aa1; }

    .send {
      background: linear-gradient(145deg, #101b22, #26333a);
      box-shadow: 0 10px 22px rgba(15, 23, 42, .24);
    }

    .voice-button {
      background: linear-gradient(180deg, #effbf7, #dff5ee);
      box-shadow: 0 8px 18px rgba(20, 118, 95, .12);
    }

    .quick {
      padding-top: 20px;
      background:
        linear-gradient(180deg, #fbfcfc 0%, #f6faf9 100%);
    }

    .quick-grid {
      gap: 10px;
    }

    .quick-btn {
      min-height: 76px;
      border: 1px solid rgba(217, 226, 230, .86);
      border-radius: 18px;
      background:
        linear-gradient(180deg, #ffffff 0%, #f8fbfb 100%);
      box-shadow:
        0 10px 24px rgba(23, 32, 38, .07),
        0 1px 0 rgba(255,255,255,.9) inset;
      transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
    }

    .quick-btn:hover,
    .quick-btn:focus-visible {
      border-color: rgba(20, 118, 95, .35);
      box-shadow: 0 16px 30px rgba(20, 118, 95, .13);
      transform: translateY(-2px);
    }

    .quick-btn .icon {
      width: 34px;
      height: 34px;
      display: grid;
      place-items: center;
      border-radius: 12px;
      background: var(--mint-soft);
    }

    .local-banner {
      border-radius: 18px;
      box-shadow: 0 14px 28px rgba(23, 32, 38, .12);
      overflow: hidden;
    }

    .card,
    .answer,
    .ai-box,
    .weather-tip,
    .weather-stat,
    .quick-selected,
    .admin-row {
      border-radius: 18px !important;
      box-shadow: 0 10px 26px rgba(23, 32, 38, .06);
    }

    .card {
      border-color: rgba(217, 226, 230, .82);
      background: rgba(255, 255, 255, .96);
    }

    .action {
      border-radius: 14px;
      box-shadow: 0 8px 18px rgba(20, 118, 95, .12);
    }

    .place-modal {
      backdrop-filter: blur(8px);
      background: rgba(15, 23, 42, .34);
    }

    .place-modal-panel,
    .screen.my-modal-open {
      border: 0;
      border-radius: 26px;
      box-shadow: 0 28px 80px rgba(15, 23, 42, .28);
    }

    .icon-close,
    .my-modal-close {
      border-radius: 999px;
      box-shadow: 0 8px 18px rgba(15, 23, 42, .12);
    }

    .footer-toggle {
      box-shadow: 0 12px 26px rgba(15, 23, 42, .18);
    }

    /* 요청 반영: 캐릭터/상단 홈/질문 영역 경계 제거 */
    :root {
      --hero-bg: #14765f;
    }

    header {
      border-bottom-left-radius: 0;
      border-bottom-right-radius: 0;
      box-shadow: none;
      background: var(--hero-bg);
      padding-bottom: 4px;
    }

    .ask {
      margin-top: -1px;
      padding-top: 0;
      padding-bottom: 22px;
      padding-left: 22px;
      padding-right: 22px;
      border: 0;
      background: var(--hero-bg);
      box-shadow: none;
    }

    .phone > header {
      padding-bottom: 0;
    }

    .phone > header + .ask {
      position: relative;
      margin-top: 0;
    }

    .phone > header + .ask::before {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      top: -2px;
      height: 4px;
      background: var(--hero-bg);
      pointer-events: none;
    }

    .ask-title {
      width: 100%;
      max-width: 100%;
      margin: 0 0 10px;
      padding: 0;
      border-radius: 0;
      color: rgba(255,255,255,.96);
      background: transparent;
      backdrop-filter: none;
    }

    .ask-title-text {
      display: block;
      letter-spacing: -.2px;
      font-size: 19px;
      font-weight: 900;
    }

    #topHomeButton,
    .footer-toggle {
      border: 0 !important;
      outline: 0;
      background: rgba(255,255,255,.12);
      box-shadow: none !important;
    }

    #topHomeButton {
      width: 42px;
      height: 42px;
      min-width: 42px;
      padding: 0;
      display: inline-grid;
      place-items: center;
      border-radius: 50% !important;
    }

    #topHomeButton .footer-toggle-label {
      display: none !important;
    }

    #topHomeButton .footer-toggle-icon {
      font-size: 30px;
      line-height: 1;
      transform: translateY(-1px);
    }

    #topHomeButton:hover,
    #topHomeButton:focus-visible {
      background: rgba(255,255,255,.22);
      box-shadow: none !important;
    }

    .header-assistant-image {
      border: 0;
      border-radius: 28px;
      background: transparent;
      box-shadow: none;
      filter: drop-shadow(0 14px 18px rgba(0,0,0,.16));
    }

    .assistant-character {
      background:
        radial-gradient(circle at 50% 58%, rgba(255,255,255,.18), transparent 62%);
    }

    .status {
      border: 0;
      box-shadow: none;
    }

    @media (max-width: 520px) {
      body { padding: 0; background: #fbfcfc; }
      .phone {
        width: 100%;
        min-height: 100vh;
        border-radius: 0;
        box-shadow: none;
      }
      header { border-radius: 0; }
      .ask { border-bottom-left-radius: 24px; border-bottom-right-radius: 24px; }
      .quick-grid { gap: 8px; }
      .quick-btn {
        min-height: 72px;
        border-radius: 16px;
        font-size: 13px;
      }
    }
  

    .popular-search-card{margin:12px 14px 4px;padding:12px 15px;border:1px solid #d8e7e2;border-radius:16px;background:#fff;box-shadow:0 7px 20px rgba(21,83,67,.06);text-align:center}
    .popular-search-list{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:7px;max-width:680px;margin:0 auto}
    .popular-search-chip{display:inline-flex;align-items:center;justify-content:center;border:1px solid #cfe2db;background:#f3faf7;color:#174f40;border-radius:999px;padding:8px 12px;font:inherit;font-size:13px;font-weight:800;cursor:pointer;line-height:1.15;white-space:nowrap}
    .popular-search-chip:active{transform:scale(.97)}
    .popular-search-rank{display:none}
    @media(max-width:480px){.popular-search-card{margin-left:10px;margin-right:10px;padding:12px 10px}.popular-search-list{gap:7px 6px}.popular-search-chip{padding:8px 10px;font-size:12px}}
    .weather-result-card{padding:18px;border:1px solid #d9e7e2;border-radius:18px;background:linear-gradient(180deg,#f7fbff 0%,#ffffff 100%)}
    .weather-current-row{display:flex;align-items:center;justify-content:space-between;gap:14px}
    .weather-current-main{display:flex;align-items:center;gap:12px}.weather-icon{font-size:42px;line-height:1}.weather-temp{font-size:38px;font-weight:900;letter-spacing:-1px;color:#173f35}.weather-condition{font-size:14px;font-weight:800;color:#46665d}
    .weather-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:14px}.weather-metric{padding:10px 7px;border-radius:12px;background:#eef7f4;text-align:center}.weather-metric b{display:block;font-size:14px;color:#174f40}.weather-metric span{display:block;margin-top:3px;font-size:11px;color:#687d76}
    .weather-advice{margin-top:12px;padding:11px 12px;border-radius:12px;background:#fff7dc;font-size:13px;font-weight:800;color:#6b5412}.weather-hourly{display:flex;gap:8px;overflow-x:auto;margin-top:14px;padding-bottom:3px}.weather-hour{min-width:72px;padding:9px 7px;border:1px solid #e0eae6;border-radius:12px;background:#fff;text-align:center;font-size:12px}.weather-hour b,.weather-hour span{display:block}.weather-hour b{margin-bottom:4px;color:#35534a}.weather-hour .weather-hour-icon{font-size:20px;margin:3px 0}
    @media(max-width:480px){.weather-metrics{grid-template-columns:repeat(2,1fr)}.weather-temp{font-size:34px}.weather-icon{font-size:38px}}

    .waste-today-card{margin:12px 14px 4px;padding:15px;border:1px solid #b9d9cf;border-radius:16px;background:linear-gradient(135deg,#f0fbf6,#ffffff);box-shadow:0 8px 22px rgba(20,118,95,.08)}
    .waste-today-card button{width:100%;display:grid;grid-template-columns:48px 1fr auto;gap:11px;align-items:center;border:0;background:transparent;text-align:left;color:#172026;cursor:pointer;font:inherit}
    .waste-today-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:14px;background:#14765f;color:white;font-size:25px}.waste-today-copy strong,.waste-today-copy small{display:block}.waste-today-copy strong{font-size:17px}.waste-today-copy small{margin-top:4px;color:#52645c;line-height:1.35}.waste-today-items{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}.waste-today-chip{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;background:#e4f4ed;color:#174f40;font-size:12px;font-weight:800}.waste-today-chip img{width:25px;height:25px;object-fit:contain}.waste-today-location{color:#14765f!important;font-weight:800}.waste-today-arrow{font-size:22px;color:#14765f}

  /* 메인 분리배출: 순환 마크만 제거하고 기존 정보는 가운데 정렬 */
  .waste-today-card{ text-align:center; }
  .waste-today-card button{
    position:relative;
    display:block;
    width:100%;
    padding:0 34px;
    text-align:center;
  }
  .waste-today-copy{
    display:block;
    width:100%;
    text-align:center;
  }
  .waste-today-copy strong,
  .waste-today-copy small,
  .waste-today-location{
    width:100%;
    text-align:center;
  }
  .waste-today-items{
    width:100%;
    justify-content:center;
    text-align:center;
  }
  .waste-today-arrow{
    position:absolute;
    right:4px;
    top:50%;
    transform:translateY(-50%);
  }


  /* V7.5 메인 오늘 배출 품목: 제목 옆 위치, 품목은 이미지만 표시 */
  .waste-today-heading{
    display:flex !important;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:5px 9px;
  }
  .waste-today-heading .waste-today-location{
    display:inline !important;
    width:auto !important;
    margin:0;
    font-size:13px;
    line-height:1.25;
  }
  /* V7.7 오늘 배출 대표 4종: 큰 이미지 전용 */
  .waste-today-items{
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:8px;
    width:100%;
    margin-top:12px;
  }
  .waste-today-chip{
    position:relative;
    display:grid;
    place-items:center;
    width:100%;
    min-width:0;
    aspect-ratio:1 / 1.08;
    min-height:104px;
    padding:3px;
    overflow:hidden;
    border:1px solid rgba(20,118,95,.13);
    border-radius:15px;
    background:#f7fbf9;
    color:inherit;
    box-sizing:border-box;
  }
  .waste-today-chip img{
    width:94%;
    height:94%;
    max-width:none;
    object-fit:contain;
    display:block;
  }
  .waste-today-chip.is-unavailable img{filter:none;opacity:1}
  .waste-today-chip.is-bulky:after{
    content:'신고 후 배출';
    position:absolute;
    left:4px;right:4px;bottom:5px;
    padding:3px 2px;
    border-radius:8px;
    background:rgba(20,118,95,.9);
    color:#fff;
    font-size:10px;
    font-weight:900;
    line-height:1.15;
    text-align:center;
  }
  .waste-today-items.is-no-disposal{grid-template-columns:1fr}
  .waste-today-items.is-no-disposal .waste-today-chip{min-height:118px}
  .waste-today-items.is-no-disposal .waste-today-chip img{max-width:104px;height:92px}
  /* V7.11 대표 이미지 묶음 폭 97% 확대 */
  .waste-today-card button{padding-left:0 !important;padding-right:0 !important}
  .waste-today-items{
    width:97% !important;
    max-width:97% !important;
    margin:12px auto 0 !important;
    gap:4px !important;
  }
  .waste-today-chip{padding:1px !important}
  .waste-today-chip img{width:97% !important;height:97% !important;max-width:none !important}
  .waste-today-items.is-no-disposal{grid-template-columns:repeat(4,minmax(0,1fr)) !important}
  @media(max-width:420px){
    .waste-today-card{padding-left:4px !important;padding-right:4px !important}
    .waste-today-card button{padding-left:0 !important;padding-right:0 !important}
    .waste-today-items{
      grid-template-columns:repeat(4,minmax(0,1fr)) !important;
      width:97% !important;
      max-width:97% !important;
      gap:3px !important;
      margin-left:auto !important;
      margin-right:auto !important;
    }
    .waste-today-chip{min-height:88px;padding:1px !important;border-radius:10px}
    .waste-today-chip img{width:97% !important;height:97% !important;max-width:none !important}
    .waste-today-chip.is-bulky:after{left:2px;right:2px;bottom:3px;font-size:9px;padding:2px 1px}
  }
  /* V7.12 휴대폰 가로모드 화면 이탈 방지 */
  @media (orientation:landscape) and (max-height:560px){
    html,body{max-width:100%;overflow-x:hidden}
    .waste-today-card{max-width:100%;overflow:hidden;padding-left:4px !important;padding-right:4px !important}
    .waste-today-card button{width:100%;max-width:100%;min-width:0;padding-left:0 !important;padding-right:0 !important;overflow:hidden}
    .waste-today-items{
      box-sizing:border-box !important;
      grid-template-columns:repeat(4,minmax(0,1fr)) !important;
      width:97% !important;
      max-width:calc(100% - 2px) !important;
      min-width:0 !important;
      margin:10px auto 0 !important;
      gap:3px !important;
      overflow:hidden !important;
    }
    .waste-today-chip{min-width:0 !important;max-width:100% !important;padding:1px !important;overflow:hidden}
    .waste-today-chip img{display:block;width:97% !important;height:auto !important;max-width:97% !important;aspect-ratio:1/1;object-fit:contain;margin:auto}
  }


    .inline-result-reason{margin:0 0 12px;padding:10px 12px;border-radius:12px;background:#f4f8f7;color:#49615a;font-size:13px;line-height:1.55;border:1px solid #e1ece8}
  
    .revenue-banner-wrap{margin:12px 16px 4px;display:grid;gap:10px}
    .revenue-banner-wrap[hidden]{display:none}
    .revenue-banner{position:relative;display:block;overflow:hidden;min-height:92px;border-radius:16px;color:#fff;background:#14765f;box-shadow:0 8px 24px rgba(23,32,38,.12)}
    .revenue-banner img{display:block;width:100%;height:auto;max-height:150px;object-fit:cover}
    .revenue-banner-copy{display:grid;gap:4px;padding:18px 16px;min-height:92px;align-content:center}
    .revenue-banner-copy strong{font-size:16px}.revenue-banner-copy small{line-height:1.45;opacity:.93}
    .revenue-ad-label{position:absolute;top:8px;right:8px;padding:3px 7px;border-radius:999px;background:rgba(0,0,0,.55);font-size:10px;font-weight:900;color:#fff;z-index:2}
    .revenue-banner-context{margin:2px 16px 8px;color:#65727a;font-size:11px;text-align:right}

/* ---- extracted style block ---- */

.content{padding-top:18px !important}
    .home-result-intro,
    .screen[data-screen="ai"]{
      border:1px solid rgba(20,118,95,.14);
      border-radius:24px;
      background:linear-gradient(180deg,#ffffff 0%,#f7fbf9 100%);
      box-shadow:0 16px 38px rgba(23,32,38,.08);
      padding:20px;
    }
    .result-welcome{text-align:center;padding:30px 16px 26px}
    .result-welcome-icon{
      width:58px;height:58px;display:grid;place-items:center;
      margin:0 auto 13px;border-radius:19px;
      background:linear-gradient(145deg,#14765f,#1b8d70);
      color:#fff;font-size:19px;font-weight:900;
      box-shadow:0 12px 26px rgba(20,118,95,.22)
    }
    .result-kicker{margin:0 0 5px;color:#14765f;font-size:12px;font-weight:900}
    .result-welcome h2{margin:0 0 9px;color:#172026;font-size:22px;letter-spacing:-.02em}
    .result-welcome>p:not(.result-kicker){
      max-width:590px;margin:0 auto;color:#6b7871;font-size:14px;line-height:1.65
    }
    .result-query-chips{
      display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:18px
    }
    .result-query-chips button{
      min-height:38px;padding:0 13px;border:1px solid #cfe3da;
      border-radius:999px;background:#eaf6f1;color:#0f5d4b;
      font:inherit;font-size:13px;font-weight:900;cursor:pointer;transition:.18s ease
    }
    .result-query-chips button:hover{transform:translateY(-1px);background:#dff1e9}
    .screen[data-screen="ai"] .section-head{margin-bottom:12px}
    .screen[data-screen="ai"] .answer{
      border-radius:16px;background:#eef7f3;border:1px solid #d5e8df;color:#33443c
    }
    @media(max-width:520px){
      .content{padding:14px 12px 92px !important}
      .home-result-intro,.screen[data-screen="ai"]{padding:14px;border-radius:19px}
      .result-welcome{padding:23px 8px 20px}
      .result-welcome h2{font-size:19px}
    }

/* ---- extracted style block ---- */

.ask-sentinel{height:1px;pointer-events:none}
    .ask{
      position:sticky;
      top:0;
      z-index:90;
      transition:padding .18s ease,box-shadow .18s ease,background .18s ease;
    }
    .ask.is-compact{
      position:fixed !important;
      top:0;
      left:50%;
      transform:translateX(-50%);
      width:min(100%,430px) !important;
      max-width:430px;
      padding:10px 14px !important;
      background:rgba(255,255,255,.97) !important;
      box-shadow:0 10px 28px rgba(23,32,38,.14);
      backdrop-filter:blur(14px);
      -webkit-backdrop-filter:blur(14px);
      z-index:1100;
    }
    .ask.is-compact .ask-title{display:none}
    .ask.is-compact .search{margin:0}
    .ask.is-compact textarea{min-height:46px;max-height:68px}

    @media(min-width:431px){
      .ask.is-compact{width:430px !important}
    }
    @media(max-width:430px){
      .ask.is-compact{width:100% !important;max-width:none}
    }
    .inline-home-results{scroll-margin-top:92px}
    .inline-home-head{
      display:flex;align-items:center;justify-content:space-between;
      gap:12px;margin-bottom:12px
    }
    .inline-home-head h2{margin:0;font-size:21px}
    #inlineHomeClear{
      min-height:36px;padding:0 12px;border:1px solid #d9e5df;
      border-radius:999px;background:#fff;color:#52625a;font-weight:800
    }
    .inline-result-card{
      padding:15px;border:1px solid var(--line);
      border-radius:16px;background:#fff
    }
    .inline-result-card+.inline-result-card{margin-top:10px}
    .inline-result-card h3{margin:0 0 6px;font-size:17px}
    .inline-result-sub{margin:0 0 8px;color:#14765f;font-size:13px;font-weight:900}
    .inline-result-desc{color:#56645d;font-size:14px;line-height:1.65;white-space:pre-wrap}
    .inline-result-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
    .inline-result-actions a{
      min-height:38px;display:inline-flex;align-items:center;justify-content:center;
      padding:0 13px;border-radius:11px;background:#14765f;color:#fff;
      text-decoration:none;font-size:13px;font-weight:900
    }
    .inline-result-loading{padding:30px 12px;text-align:center;color:#66756e}
    @media(max-width:520px){
      .ask.is-compact{padding-left:12px!important;padding-right:12px!important}
    }

/* ---- extracted style block ---- */

.main-search-examples{
      display:flex;
      justify-content:center;
      flex-wrap:wrap;
      gap:7px;
      margin-top:13px;
    }
    .main-search-examples span{
      padding:6px 10px;
      border-radius:999px;
      background:#f0f5f3;
      color:#5c6a63;
      font-size:12px;
      font-weight:800;
    }
    #inlineHomeResults[hidden]{display:none !important}
    #inlineHomeResults:not([hidden]){display:block !important}
    #resultWelcome[hidden]{display:none !important}

/* ---- extracted style block ---- */

.dongne-direct-result{
    display:none;
    margin-top:16px;
    padding:18px;
    border:1px solid rgba(20,118,95,.18);
    border-radius:20px;
    background:linear-gradient(180deg,#fff,#f7fbf9);
    box-shadow:0 14px 32px rgba(23,32,38,.08);
    scroll-margin-top:92px;
  }
  .dongne-direct-result.is-visible{display:block}
  .dongne-direct-head{
    display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px
  }
  .dongne-direct-head h2{margin:0;font-size:21px}
  .dongne-direct-clear{
    min-height:35px;padding:0 12px;border:1px solid #d8e4de;border-radius:999px;
    background:#fff;color:#59675f;font-weight:800;cursor:pointer
  }
  .dongne-direct-summary{
    padding:14px;border-radius:14px;background:#eaf6f1;color:#33443c;
    line-height:1.65;white-space:pre-wrap
  }
  .dongne-direct-cards{display:grid;gap:10px;margin-top:12px}
  .dongne-direct-card{
    padding:15px;border:1px solid #d9e5df;border-radius:16px;background:#fff
  }
  .dongne-direct-card h3{margin:0 0 6px;font-size:17px}
  .dongne-direct-sub{margin:0 0 8px;color:#14765f;font-size:13px;font-weight:900}
  .dongne-direct-desc{color:#56645d;font-size:14px;line-height:1.65;white-space:pre-wrap}
  .dongne-direct-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
  .dongne-direct-actions a{
    min-height:38px;display:inline-flex;align-items:center;justify-content:center;
    padding:0 13px;border-radius:11px;background:#14765f;color:#fff;
    text-decoration:none;font-size:13px;font-weight:900
  }
  .dongne-direct-loading{text-align:center;padding:25px;color:#64736b}

/* ---- extracted style block ---- */

.dongne-direct-actions a[href*="scheme/route"]{
    background:#1f5f9b;
  }
  .dongne-direct-actions a[href*="map_action=map"]{
    background:#5b6470;
  }

/* ---- extracted style block ---- */

.walk-map-modal{position:fixed;inset:0;z-index:10000;display:none;align-items:center;justify-content:center;padding:16px;background:rgba(16,25,29,.62)}
  .walk-map-modal.is-open{display:flex}
  .walk-map-sheet{width:min(720px,100%);max-height:92vh;overflow:auto;border-radius:22px;background:#fff;box-shadow:0 24px 70px rgba(0,0,0,.28)}
  .walk-map-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid #e1e9e5}
  .walk-map-head h2{margin:0;font-size:19px}
  .walk-map-close{width:40px;height:40px;border:0;border-radius:999px;background:#1f2c31;color:#fff;font-size:22px;cursor:pointer}
  .walk-map-body{padding:14px}
  #walkMapCanvas{height:min(58vh,480px);min-height:320px;border-radius:16px;overflow:hidden;background:#edf2f0}
  .walk-map-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:12px}
  .walk-map-stat{padding:12px;border:1px solid #dce7e2;border-radius:14px;background:#f8fbfa;text-align:center}
  .walk-map-stat strong{display:block;color:#14765f;font-size:18px;margin-bottom:3px}
  .walk-map-note{margin:12px 2px 0;color:#68766f;font-size:12px;line-height:1.55}
  .walk-map-marker{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;border:3px solid #fff;box-shadow:0 4px 12px rgba(0,0,0,.25);font-weight:900;color:#fff}
  .walk-map-marker.start{background:#2878d0}.walk-map-marker.end{background:#df4b3f}
  .dongne-direct-actions button{min-height:38px;display:inline-flex;align-items:center;justify-content:center;padding:0 13px;border:0;border-radius:11px;background:#1f5f9b;color:#fff;font-size:13px;font-weight:900;cursor:pointer}
  @media(max-width:520px){.walk-map-modal{padding:8px}.walk-map-sheet{border-radius:18px}.walk-map-body{padding:10px}#walkMapCanvas{min-height:300px}.walk-map-summary{grid-template-columns:1fr}}

/* ---- extracted style block ---- */

/*
   * sticky 상태 전환 시 레이아웃 높이가 급격히 바뀌지 않도록
   * 검색폼의 바깥 너비와 최소 높이를 안정적으로 유지합니다.
   */
  .ask{
    width:100%;
    box-sizing:border-box;
    will-change:box-shadow, background-color;
  }

  .ask.is-compact{
    min-height:66px;
    /* viewport 중앙 계산(transform) 대신 좌우 안전 여백으로 고정 */
    left:max(10px, env(safe-area-inset-left)) !important;
    right:max(10px, env(safe-area-inset-right)) !important;
    width:auto !important;
    max-width:430px !important;
    margin-left:auto !important;
    margin-right:auto !important;
    transform:none !important;
    box-sizing:border-box !important;
  }

  .ask.is-compact .search{
    width:100%;
  }

  @media(max-width:430px){
    .ask.is-compact{
      left:max(8px, env(safe-area-inset-left)) !important;
      right:max(8px, env(safe-area-inset-right)) !important;
      width:auto !important;
      max-width:none !important;
    }
  }

  .site-copyright{
    margin:26px 18px 92px;
    padding:17px 14px;
    border-top:1px solid rgba(207,219,216,.9);
    color:#6b7871;
    text-align:center;
    font-size:12px;
    line-height:1.65;
  }

  .site-copyright strong{
    display:block;
    margin-bottom:2px;
    color:#33443c;
    font-size:13px;
  }

  @media(max-width:520px){
    .site-copyright{
      margin:22px 12px 88px;
    }
  }

/* ---- extracted style block ---- */

.top-location-trigger{
    position:relative;
    display:inline-flex;
    align-items:center;
    gap:7px;
    max-width:min(64vw,360px);
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    cursor:pointer;
  }

  .top-location-trigger::before{
    content:"";
    width:9px;
    height:9px;
    flex:0 0 9px;
    border-radius:50%;
    background:#86efac;
    box-shadow:0 0 0 3px rgba(134,239,172,.18);
  }

  .top-location-trigger:disabled::before{
    background:#fde68a;
    box-shadow:0 0 0 3px rgba(253,230,138,.18);
    animation:locationPulse 1s ease-in-out infinite;
  }

  .top-location-trigger.location-unavailable::before{
    background:#fca5a5;
    box-shadow:0 0 0 3px rgba(252,165,165,.18);
    animation:none;
  }

  @keyframes locationPulse{
    0%,100%{opacity:.55;transform:scale(.9)}
    50%{opacity:1;transform:scale(1.12)}
  }

  @media(max-width:520px){
    .top-location-trigger{
      max-width:58vw;
      font-size:12px;
    }
  }

/* ---- extracted style block ---- */

.dongne-direct-actions button.restaurant-admin-edit,.dongne-direct-actions a.restaurant-admin-edit{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 13px;border-radius:10px;background:#6b4f1d;color:#fff;font-weight:900;text-decoration:none}

/* ---- extracted style block ---- */

.restaurant-photo{width:100%;max-height:210px;margin:0 0 11px;object-fit:cover;border-radius:13px;background:#eef3f1}
  .restaurant-menu-box{display:grid;gap:5px;margin-top:10px;padding:11px 12px;border:1px solid #dbe7e1;border-radius:13px;background:#f8fbfa;color:#43524b;font-size:13px;line-height:1.5}
  .restaurant-menu-box strong{color:#14765f}
  .restaurant-feature-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}
  .restaurant-feature-chip{padding:5px 8px;border-radius:999px;background:#eaf6f1;color:#0f5d4b;font-size:11px;font-weight:900}
  .dongne-direct-actions button.restaurant-favorite{background:#a43d5c}
  .dongne-direct-actions button.restaurant-favorite.is-saved{background:#76243e}

/* ---- extracted style block ---- */

.hamburger-trigger{width:42px;height:42px;padding:10px;border:0;border-radius:13px;background:rgba(255,255,255,.14);display:grid;align-content:center;gap:4px;flex:0 0 42px;cursor:pointer}
  .hamburger-trigger span{display:block;width:21px;height:2px;border-radius:99px;background:#fff;margin:auto}
  .hamburger-backdrop{position:fixed;inset:0;z-index:490;background:rgba(10,24,19,.48);backdrop-filter:blur(2px)}
  .hamburger-drawer{position:fixed;top:0;bottom:0;left:0;z-index:500;width:min(84vw,340px);padding:max(20px,env(safe-area-inset-top)) 18px max(18px,env(safe-area-inset-bottom));overflow-y:auto;background:#fff;box-shadow:18px 0 50px rgba(0,0,0,.18);transform:translateX(-105%);transition:transform .24s ease;visibility:hidden}
  .hamburger-drawer.is-open{transform:translateX(0);visibility:visible}
  .hamburger-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:4px 2px 18px;border-bottom:1px solid #e3ebe7}
  .hamburger-head>div{display:grid;gap:3px}.hamburger-kicker{font-size:11px;font-weight:900;color:#16745d}.hamburger-head strong{font-size:20px;color:#1c2d26}.hamburger-head small{color:#77847e;line-height:1.4}
  .hamburger-close{width:40px;height:40px;border:0;border-radius:999px;background:#edf3f0;font-size:27px;line-height:1;cursor:pointer}
  .hamburger-nav{display:grid;gap:8px;padding:16px 0}.hamburger-nav button{display:grid;grid-template-columns:38px 1fr;grid-template-rows:auto auto;column-gap:10px;width:100%;padding:13px;border:1px solid #e0eae5;border-radius:14px;background:#fff;text-align:left;cursor:pointer}.hamburger-nav button>span{grid-row:1/3;display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:#e8f6f0;color:#12634f;font-size:20px}.hamburger-nav b{align-self:end;font-size:14px;color:#263830}.hamburger-nav small{color:#7b8781;margin-top:2px}
  .hamburger-section{display:grid;gap:9px;padding:15px 0;border-top:1px solid #e3ebe7}.hamburger-section p{margin:0 0 2px;font-size:11px;font-weight:900;color:#7c8983}.hamburger-admin-button,.hamburger-logout{width:100%;padding:12px 14px;border:0;border-radius:12px;font-weight:900;cursor:pointer}.hamburger-admin-button{background:#193d33;color:#fff}.hamburger-logout{background:#f8e7e7;color:#9b3030}.hamburger-foot{padding-top:14px;border-top:1px solid #e3ebe7;text-align:center;color:#87938e;font-size:11px}
  body.hamburger-open{overflow:hidden}.is-hidden{display:none!important}
  @media(min-width:760px){.hamburger-drawer{width:350px}}

/* ---- extracted style block ---- */

/*
   * 검색 영역의 바깥 마진을 제거합니다.
   * 원래 .ask 내부 패딩만 사용해 상단 영역과 동일한 가로폭을 확보합니다.
   */
  .phone > .ask,
  section.ask{
    width:100% !important;
    max-width:none !important;
    margin-left:0 !important;
    margin-right:0 !important;
    box-sizing:border-box !important;
    left:auto !important;
    right:auto !important;
    transform:none !important;
  }

  .phone > .ask .search,
  section.ask .search{
    width:100% !important;
    max-width:none !important;
    margin-left:0 !important;
    margin-right:0 !important;
    box-sizing:border-box !important;
  }

  .phone > .ask .search textarea,
  section.ask .search textarea{
    min-width:0 !important;
    flex:1 1 auto !important;
    box-sizing:border-box !important;
  }

  @media(max-width:520px){
    .phone > .ask,
    section.ask{
      padding-left:12px !important;
      padding-right:12px !important;
    }
  }

  @media(min-width:521px) and (max-width:899px){
    .phone > .ask,
    section.ask{
      padding-left:22px !important;
      padding-right:22px !important;
    }
  }

  @media(min-width:900px){
    .phone > .ask,
    section.ask{
      padding-left:30px !important;
      padding-right:30px !important;
    }
  }

/* ---- extracted style block ---- */

/* 상단 좌측 햄버거 버튼: 완전한 원형 */
  #hamburgerButton,
  #menuToggle,
  .hamburger-button,
  .hamburger-btn,
  .menu-toggle{
    width:42px !important;
    height:42px !important;
    min-width:42px !important;
    min-height:42px !important;
    padding:0 !important;
    border-radius:50% !important;
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    flex:0 0 42px !important;
    box-sizing:border-box !important;
    line-height:1 !important;
    overflow:hidden !important;
  }

  #hamburgerButton span,
  #menuToggle span,
  .hamburger-button span,
  .hamburger-btn span,
  .menu-toggle span{
    pointer-events:none;
  }

  .hamburger-lines{
    width:18px;
    height:14px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
  }

  .hamburger-lines i{
    display:block;
    width:100%;
    height:2px;
    border-radius:999px;
    background:currentColor;
  }

  .dongne-side-menu button,
  .dongne-side-menu a,
  .hamburger-menu button,
  .hamburger-menu a{
    width:100%;
    box-sizing:border-box;
    cursor:pointer;
    touch-action:manipulation;
  }

  /* V6 메인 오늘알림 팝업 */
  .today-alert-modal{position:fixed;inset:0;z-index:12000;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(10,25,20,.56);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);box-sizing:border-box}
  .today-alert-modal.is-hidden{display:none!important}
  .today-alert-card{width:min(100%,460px);max-height:calc(100dvh - 36px);overflow-x:hidden;overflow-y:auto;border-radius:24px;background:#fff;box-shadow:0 26px 80px rgba(0,0,0,.26);animation:todayAlertIn .24s ease-out;box-sizing:border-box;overscroll-behavior:contain}
  @keyframes todayAlertIn{from{opacity:0;transform:translateY(18px) scale(.97)}to{opacity:1;transform:none}}
  .today-alert-head{position:relative;padding:24px 54px 18px;text-align:center;background:linear-gradient(135deg,#14765f,#1c9274);color:#fff}
  .today-alert-head small{display:block;margin-bottom:4px;opacity:.84;font-weight:800}.today-alert-head h2{margin:0;font-size:24px}.today-alert-head p{margin:8px 0 0;font-size:13px;opacity:.9}
  .today-alert-close{position:absolute;right:14px;top:14px;width:38px;height:38px;border:0;border-radius:999px;background:rgba(255,255,255,.18);color:#fff;font-size:25px;cursor:pointer}
  .today-alert-body{display:grid;gap:12px;padding:16px}
  .today-alert-section{padding:16px;border:1px solid #dfeae5;border-radius:17px;background:#fbfdfc}
  .today-alert-section h3{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 10px;font-size:16px;color:#1e342b}
  .today-alert-badge{padding:4px 8px;border-radius:999px;background:#e5f5ee;color:#12664f;font-size:11px;font-weight:900}
  .today-alert-location{margin:0 0 9px;color:#14765f;font-size:13px;font-weight:900;text-align:center}
  .today-alert-weather{position:relative;overflow:hidden;padding:20px;border:0;border-radius:23px;background:linear-gradient(135deg,#e8f6ff 0%,#f8fcff 48%,#fff3d7 100%);box-shadow:0 14px 32px rgba(46,105,139,.14)}
  .today-alert-weather:before{content:"";position:absolute;right:-28px;top:-34px;width:118px;height:118px;border-radius:50%;background:rgba(255,255,255,.38)}
  .today-alert-weather:after{content:"";position:absolute;left:-30px;bottom:-52px;width:112px;height:112px;border-radius:50%;background:rgba(255,255,255,.24)}
  .today-alert-weather.is-hot{background:linear-gradient(135deg,#fff0d2,#fff8eb 52%,#ffe4d6)}
  .today-alert-weather.is-rain{background:linear-gradient(135deg,#dcefff,#f1f8ff 52%,#e2ebff)}
  .today-alert-weather.is-cold{background:linear-gradient(135deg,#e5f4ff,#f7fbff 55%,#e7ecff)}
  .today-alert-weather.is-alert{box-shadow:0 0 0 3px rgba(222,93,56,.14),0 16px 34px rgba(151,84,52,.16)}
  .today-alert-weather-main,.today-alert-weather-meta,.today-alert-weather-tip,.today-alert-weather-more{position:relative;z-index:1}
  .today-alert-weather-main{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:15px}
  .today-alert-weather-icon{display:flex;width:68px;height:68px;align-items:center;justify-content:center;border-radius:21px;background:rgba(255,255,255,.80);font-size:40px;line-height:1;box-shadow:0 8px 18px rgba(43,91,118,.10),inset 0 0 0 1px rgba(255,255,255,.92)}
  .today-alert-weather-copy{min-width:0}.today-alert-weather-copy strong{display:block;color:#153b32;font-size:21px;font-weight:950;line-height:1.3;letter-spacing:-.45px}.today-alert-weather-copy small{display:block;margin-top:6px;color:#536c62;font-size:14px;font-weight:750;line-height:1.45}
  .today-alert-weather-temp{text-align:right;color:#123e50;font-size:34px;font-weight:950;line-height:1;letter-spacing:-1.4px;text-shadow:0 1px 0 rgba(255,255,255,.65)}.today-alert-weather-temp small{display:block;margin-top:7px;color:#5c7168;font-size:13px;font-weight:850;letter-spacing:0}
  .today-alert-weather-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:15px}.today-alert-weather-meta span{padding:10px 7px;border-radius:14px;background:rgba(255,255,255,.76);color:#334f45;font-size:13px;font-weight:900;text-align:center;box-shadow:inset 0 0 0 1px rgba(255,255,255,.85)}
  .today-alert-weather-tip{display:flex;align-items:flex-start;gap:9px;margin:13px 0 0;padding:12px 13px;border-radius:15px;background:rgba(255,255,255,.78);color:#234a3d;font-size:14px;font-weight:850;line-height:1.55;box-shadow:0 5px 14px rgba(35,84,68,.06)}
  .today-alert-weather-tip>span:first-child{font-size:18px;line-height:1.3}
  .today-alert-weather-more{width:100%;margin-top:12px;padding:11px 12px;border:0;border-radius:14px;background:rgba(20,118,95,.13);color:#0f624b;font-size:14px;font-weight:950;cursor:pointer;transition:transform .15s ease,background .15s ease}.today-alert-weather-more:active{transform:scale(.99)}
  .today-alert-items{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;width:100%}
  .today-alert-item{position:relative;display:flex;min-width:0;min-height:88px;align-items:center;justify-content:center;padding:8px;border:1px solid #dcebe4;border-radius:15px;background:#f3faf7}.today-alert-item img{width:64px;height:64px;object-fit:contain;display:block}.today-alert-item span{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
  .today-alert-empty{margin:0;color:#748079;font-size:13px;line-height:1.55;text-align:center}
  .today-alert-event{padding:10px 0;border-top:1px dashed #dce7e2}.today-alert-event:first-of-type{padding-top:0;border-top:0}.today-alert-event strong{display:block;color:#23372f}.today-alert-event small{display:block;margin-top:4px;color:#68766f;line-height:1.5}
  .today-alert-foot{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:0 16px 18px}.today-alert-foot button{min-width:0;padding:12px 14px;border:0;border-radius:13px;background:#183f34;color:#fff;font-weight:900;cursor:pointer}.today-alert-foot button:first-child{background:#e5f3ed;color:#145b48}
  .hamburger-notification-state{font-weight:900;color:#14765f}
  @media(max-width:520px){
    .today-alert-modal{padding:12px;align-items:center}
    .today-alert-card{width:100%;max-height:calc(100dvh - 24px);border-radius:22px}
    .today-alert-head{padding:20px 48px 15px}
    .today-alert-head h2{font-size:21px;line-height:1.3}
    .today-alert-head p{font-size:12px}
    .today-alert-body{gap:10px;padding:12px}
    .today-alert-section{padding:14px}
    .today-alert-section h3{font-size:15px}
    .today-alert-weather{padding:16px;border-radius:20px}
    .today-alert-weather-main{grid-template-columns:auto 1fr auto;gap:10px}
    .today-alert-weather-icon{width:56px;height:56px;border-radius:17px;font-size:33px}
    .today-alert-weather-copy strong{font-size:18px}.today-alert-weather-copy small{font-size:12px;margin-top:4px}.today-alert-weather-temp{font-size:28px}.today-alert-weather-temp small{font-size:11px;margin-top:5px}
    .today-alert-weather-meta{gap:6px;margin-top:12px}.today-alert-weather-meta span{padding:8px 3px;font-size:11px}
    .today-alert-weather-tip{padding:10px 11px;font-size:13px}.today-alert-weather-more{padding:10px;font-size:13px}
    .today-alert-items{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
    .today-alert-item{min-height:72px;padding:5px}
    .today-alert-item img{width:54px;height:54px}
    .today-alert-foot{position:sticky;bottom:0;padding:10px 12px 14px;background:linear-gradient(to top,#fff 75%,rgba(255,255,255,0))}
    .today-alert-foot button{width:100%;min-width:0}
  }

/* ---- extracted style block ---- */

/* V7.10 모바일 포함 오늘 배출 4열 강제 고정 */
#wasteTodayCard .waste-today-items,
#wasteTodayCard .waste-today-items.is-no-disposal{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  grid-auto-flow:column !important;
  grid-auto-columns:minmax(0,1fr) !important;
  gap:6px !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  overflow:visible !important;
}
#wasteTodayCard .waste-today-chip,
#wasteTodayCard .waste-today-items.is-no-disposal .waste-today-chip{
  width:100% !important;
  min-width:0 !important;
  min-height:0 !important;
  aspect-ratio:1 / 1.08 !important;
  box-sizing:border-box !important;
}
#wasteTodayCard .waste-today-chip img,
#wasteTodayCard .waste-today-items.is-no-disposal .waste-today-chip img{
  width:96% !important;
  height:96% !important;
  max-width:none !important;
  object-fit:contain !important;
}
@media(max-width:520px){
  #wasteTodayCard{padding:12px 8px !important;}
  #wasteTodayCard > button{padding:0 20px 0 0 !important;}
  #wasteTodayCard .waste-today-items,
  #wasteTodayCard .waste-today-items.is-no-disposal{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:4px !important;
  }
  #wasteTodayCard .waste-today-chip,
  #wasteTodayCard .waste-today-items.is-no-disposal .waste-today-chip{
    min-height:0 !important;
    padding:1px !important;
    border-radius:10px !important;
  }
}

/* ---- extracted style block ---- */

/* V7.13 메인 + 오늘의 우리동네 알림: 분리배출 이미지 옆 라인 제거 */
#wasteTodayCard .waste-today-chip,
#wasteTodayCard .waste-today-chip img,
#todayAlertModal .today-alert-item,
#todayAlertModal .today-alert-item img{
  border:none !important;
  outline:none !important;
  box-shadow:none !important;
}
#wasteTodayCard .waste-today-chip,
#todayAlertModal .today-alert-item{
  background:transparent !important;
}
#wasteTodayCard .waste-today-chip img,
#todayAlertModal .today-alert-item img{
  background:transparent !important;
}

/* ---- extracted style block ---- */

/* V7.15 오늘 배출 품목 이미지 확대: 메인 + 오늘의 우리동네 알림 */
#wasteTodayCard{
  padding-left:5px !important;
  padding-right:5px !important;
}
#wasteTodayCard > button{
  padding-left:0 !important;
  padding-right:16px !important;
}
#wasteTodayCard .waste-today-items,
#wasteTodayCard .waste-today-items.is-no-disposal{
  gap:2px !important;
}
#wasteTodayCard .waste-today-chip,
#wasteTodayCard .waste-today-items.is-no-disposal .waste-today-chip{
  aspect-ratio:1 / 1.02 !important;
  padding:0 !important;
}
#wasteTodayCard .waste-today-chip img,
#wasteTodayCard .waste-today-items.is-no-disposal .waste-today-chip img{
  width:100% !important;
  height:100% !important;
  max-width:100% !important;
  transform:scale(1.08);
  transform-origin:center;
}
#todayAlertModal .today-alert-items{
  gap:5px !important;
}
#todayAlertModal .today-alert-item{
  min-height:104px !important;
  padding:2px !important;
}
#todayAlertModal .today-alert-item img{
  width:86px !important;
  height:86px !important;
  max-width:100% !important;
  transform:scale(1.05);
  transform-origin:center;
}
@media(max-width:520px){
  #wasteTodayCard{padding-left:2px !important;padding-right:2px !important;}
  #wasteTodayCard > button{padding-right:14px !important;}
  #wasteTodayCard .waste-today-items,
  #wasteTodayCard .waste-today-items.is-no-disposal{gap:1px !important;}
  #wasteTodayCard .waste-today-chip img,
  #wasteTodayCard .waste-today-items.is-no-disposal .waste-today-chip img{transform:scale(1.10);}
  #todayAlertModal .today-alert-items{gap:3px !important;}
  #todayAlertModal .today-alert-item{min-height:88px !important;padding:1px !important;}
  #todayAlertModal .today-alert-item img{width:72px !important;height:72px !important;transform:scale(1.04);}
}

/* AI 생활 브리핑 + 상단 확장 날씨 V1 */
.weather-trigger{min-width:112px!important;height:auto!important;padding:7px 10px!important;display:grid!important;grid-template-columns:auto 1fr!important;gap:7px!important;align-items:center!important;border-radius:15px!important;text-align:left!important}
.weather-trigger .top-weather-icon{font-size:25px;line-height:1}
.weather-trigger .top-weather-copy{display:flex;flex-direction:column;min-width:0;line-height:1.12}
.weather-trigger .top-weather-main{font-size:15px;font-weight:950;color:#fff;white-space:nowrap}
.weather-trigger .top-weather-sub{margin-top:3px;font-size:10px;font-weight:800;color:rgba(255,255,255,.86);white-space:nowrap}
.today-ai-brief{margin-top:14px;padding:17px;border-radius:20px;background:linear-gradient(145deg,#fff7dd,#fffdfa 48%,#eefaf5);box-shadow:0 10px 25px rgba(74,87,55,.10)}
.today-ai-brief-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.today-ai-brief-head strong{font-size:18px;color:#243f35;font-weight:950}.today-ai-brief-head span{font-size:12px;font-weight:900;color:#168064;background:#e3f6ef;padding:5px 8px;border-radius:999px}
.today-ai-say{margin:11px 0 0;padding:12px 13px;border-radius:15px;background:#fff;color:#27453a;font-size:14px;font-weight:850;line-height:1.55;box-shadow:inset 0 0 0 1px rgba(23,126,96,.08)}
.today-ai-tips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:10px}.today-ai-tip{padding:10px 7px;border-radius:14px;background:rgba(255,255,255,.88);text-align:center;color:#365047}.today-ai-tip b{display:block;font-size:21px;line-height:1.1}.today-ai-tip strong{display:block;margin-top:5px;font-size:12px;font-weight:950}.today-ai-tip small{display:block;margin-top:4px;font-size:10px;font-weight:750;line-height:1.35;color:#65756f}
@media(max-width:520px){.weather-trigger{min-width:102px!important;padding:6px 8px!important}.weather-trigger .top-weather-icon{font-size:22px}.weather-trigger .top-weather-main{font-size:14px}.weather-trigger .top-weather-sub{font-size:9px}.today-ai-brief{padding:14px}.today-ai-brief-head strong{font-size:16px}.today-ai-say{font-size:13px}.today-ai-tips{gap:5px}.today-ai-tip{padding:9px 4px}.today-ai-tip strong{font-size:11px}.today-ai-tip small{font-size:9px}}
/* 상단 위치·날씨 안정화 V2 */
.status{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important}
.status-location{min-width:0!important;overflow:hidden!important}
.top-location-trigger{display:flex!important;width:100%!important;max-width:none!important;min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:13px!important}
.weather-trigger{width:132px!important;min-width:132px!important;max-width:132px!important;flex:0 0 132px!important;overflow:hidden!important}
.weather-trigger .top-weather-copy{overflow:hidden!important}
.weather-trigger .top-weather-main,.weather-trigger .top-weather-sub{display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
@media(max-width:520px){
 .status{grid-template-columns:minmax(0,1fr) 116px!important;gap:5px!important;padding:7px 7px!important}
 .status-location{gap:4px!important}
 .top-location-trigger{font-size:11px!important;padding:5px 3px!important}
 .top-location-trigger::before{width:7px!important;height:7px!important;flex-basis:7px!important}
 .weather-trigger{width:116px!important;min-width:116px!important;max-width:116px!important;padding:6px 7px!important;gap:5px!important}
 .weather-trigger .top-weather-icon{font-size:21px!important}
 .weather-trigger .top-weather-main{font-size:12px!important}
 .weather-trigger .top-weather-sub{font-size:8px!important}
}

/* ---- extracted style block ---- */

/* V7.16 상단 주소 한 줄 + 오늘 배출 이미지 크기 안정화 */
#areaName.top-location-trigger{
  display:block !important;
  min-width:0 !important;
  width:100% !important;
  overflow:hidden !important;
  white-space:nowrap !important;
  text-overflow:ellipsis !important;
}
#wasteTodayCard .waste-today-items,
#wasteTodayCard .waste-today-items.is-no-disposal{
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:7px !important;
  width:100% !important;
  max-width:100% !important;
  margin:10px auto 0 !important;
}
#wasteTodayCard .waste-today-chip,
#wasteTodayCard .waste-today-items.is-no-disposal .waste-today-chip{
  aspect-ratio:auto !important;
  min-height:76px !important;
  height:76px !important;
  padding:6px !important;
  border-radius:13px !important;
  overflow:hidden !important;
}
#wasteTodayCard .waste-today-chip img,
#wasteTodayCard .waste-today-items.is-no-disposal .waste-today-chip img{
  display:block !important;
  width:58px !important;
  height:58px !important;
  max-width:100% !important;
  max-height:58px !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  transform:none !important;
  margin:auto !important;
}
@media(max-width:420px){
  #wasteTodayCard .waste-today-items,
  #wasteTodayCard .waste-today-items.is-no-disposal{gap:5px !important}
  #wasteTodayCard .waste-today-chip,
  #wasteTodayCard .waste-today-items.is-no-disposal .waste-today-chip{
    min-height:68px !important;
    height:68px !important;
    padding:5px !important;
  }
  #wasteTodayCard .waste-today-chip img,
  #wasteTodayCard .waste-today-items.is-no-disposal .waste-today-chip img{
    width:50px !important;
    height:50px !important;
    max-height:50px !important;
  }
}

/* ---- extracted style block ---- */

/* V7.17 최종 기준: 주소 녹색 위치표시 + 배출 이미지 원래 크기 복구 */
#areaName.top-location-trigger{
  display:flex !important;
  align-items:center !important;
  gap:7px !important;
  min-width:0 !important;
  width:100% !important;
  overflow:hidden !important;
  white-space:nowrap !important;
  text-overflow:ellipsis !important;
}
#areaName.top-location-trigger::before{
  content:"" !important;
  display:block !important;
  width:9px !important;
  height:9px !important;
  flex:0 0 9px !important;
  border-radius:50% !important;
  background:#22c55e !important;
  box-shadow:0 0 0 3px rgba(34,197,94,.20) !important;
}
#wasteTodayCard .waste-today-items,
#wasteTodayCard .waste-today-items.is-no-disposal{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:4px !important;
  width:100% !important;
  margin:7px auto 0 !important;
}
#wasteTodayCard .waste-today-chip,
#wasteTodayCard .waste-today-items.is-no-disposal .waste-today-chip{
  width:100% !important;
  height:auto !important;
  min-height:0 !important;
  aspect-ratio:1 / 1.08 !important;
  padding:1px !important;
  border:none !important;
  outline:none !important;
  box-shadow:none !important;
  background:transparent !important;
  overflow:visible !important;
}
#wasteTodayCard .waste-today-chip img,
#wasteTodayCard .waste-today-items.is-no-disposal .waste-today-chip img{
  display:block !important;
  width:96% !important;
  height:96% !important;
  max-width:none !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  transform:none !important;
  margin:auto !important;
  border:none !important;
  outline:none !important;
  box-shadow:none !important;
  background:transparent !important;
}
@media(max-width:520px){
  #areaName.top-location-trigger::before{width:8px !important;height:8px !important;flex-basis:8px !important}
  #wasteTodayCard .waste-today-items,
  #wasteTodayCard .waste-today-items.is-no-disposal{gap:4px !important}
  #wasteTodayCard .waste-today-chip,
  #wasteTodayCard .waste-today-items.is-no-disposal .waste-today-chip{padding:1px !important;aspect-ratio:1 / 1.08 !important}
}

/* ---- extracted style block ---- */

/* V7.18 오늘 배출 품목: 세로·가로 화면 틀/이미지 비율 동기화 */
#wasteTodayCard .waste-today-items,
#wasteTodayCard .waste-today-items.is-no-disposal{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  grid-auto-flow:row !important;
  grid-auto-columns:auto !important;
  align-items:stretch !important;
  gap:clamp(4px,1.2vw,10px) !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  overflow:hidden !important;
}
#wasteTodayCard .waste-today-chip,
#wasteTodayCard .waste-today-items.is-no-disposal .waste-today-chip{
  position:relative !important;
  display:grid !important;
  place-items:center !important;
  width:100% !important;
  min-width:0 !important;
  height:auto !important;
  min-height:0 !important;
  aspect-ratio:1 / 1 !important;
  padding:clamp(2px,.7vw,6px) !important;
  box-sizing:border-box !important;
  overflow:hidden !important;
  border:none !important;
  outline:none !important;
  box-shadow:none !important;
  background:transparent !important;
}
#wasteTodayCard .waste-today-chip img,
#wasteTodayCard .waste-today-items.is-no-disposal .waste-today-chip img{
  display:block !important;
  width:92% !important;
  height:92% !important;
  max-width:92% !important;
  max-height:92% !important;
  object-fit:contain !important;
  object-position:center !important;
  transform:none !important;
  margin:0 !important;
  border:none !important;
  outline:none !important;
  box-shadow:none !important;
  background:transparent !important;
}
@media (orientation:landscape) and (max-height:620px){
  #wasteTodayCard .waste-today-items,
  #wasteTodayCard .waste-today-items.is-no-disposal{
    gap:clamp(6px,1.4vw,12px) !important;
  }
  #wasteTodayCard .waste-today-chip,
  #wasteTodayCard .waste-today-items.is-no-disposal .waste-today-chip{
    aspect-ratio:1 / 1 !important;
    padding:clamp(3px,.8vw,7px) !important;
  }
  #wasteTodayCard .waste-today-chip img,
  #wasteTodayCard .waste-today-items.is-no-disposal .waste-today-chip img{
    width:90% !important;
    height:90% !important;
    max-width:90% !important;
    max-height:90% !important;
  }
}

/* ---- extracted style block ---- */

/* V7.19 오늘 배출 카드 높이 안정화: 비동기 로딩 전후 흔들림 방지 */
#wasteTodayCard #wasteTodaySummary{
  display:block;
  min-height:1.35em;
  line-height:1.35;
}
#wasteTodayCard .waste-today-items,
#wasteTodayCard .waste-today-items.is-no-disposal{
  min-height:clamp(72px,22vw,146px) !important;
}
@media(min-width:700px){
  #wasteTodayCard .waste-today-items,
  #wasteTodayCard .waste-today-items.is-no-disposal{min-height:132px !important;}
}

/* ---- extracted style block ---- */

/* V7.20 현재위치 표시를 메인 제목 바로 위로 이동 */
.status{grid-template-columns:auto minmax(0,1fr) !important;}
.status-location{overflow:visible !important;}
.header-brand-copy{min-width:0;flex:1 1 auto;}
#areaName.brand-current-location{
  display:flex !important;
  align-items:center !important;
  gap:7px !important;
  width:100% !important;
  max-width:100% !important;
  margin:0 0 7px !important;
  padding:4px 2px !important;
  border-radius:7px !important;
  color:#fff !important;
  background:transparent !important;
  font-size:13px !important;
  font-weight:850 !important;
  text-align:left !important;
  line-height:1.3 !important;
  overflow:hidden !important;
}
#areaName.brand-current-location{
  position:relative !important;
  padding-left:92px !important;
  text-overflow:ellipsis !important;
  white-space:nowrap !important;
}
#areaName.brand-current-location::before{
  content:"현재위치 :" !important;
  position:absolute !important;
  left:17px !important;
  top:50% !important;
  width:auto !important;
  height:auto !important;
  transform:translateY(-50%) !important;
  color:#dfffea !important;
  background:transparent !important;
  box-shadow:none !important;
  font-weight:950 !important;
  white-space:nowrap !important;
}
#areaName.brand-current-location::after{
  content:"" !important;
  position:absolute !important;
  left:3px !important;
  top:50% !important;
  width:8px !important;
  height:8px !important;
  transform:translateY(-50%) !important;
  border-radius:50% !important;
  background:#22c55e !important;
  box-shadow:0 0 0 3px rgba(34,197,94,.20) !important;
}
#areaName.brand-current-location:hover,
#areaName.brand-current-location:focus-visible{background:rgba(255,255,255,.10) !important;}
@media(max-width:520px){
  .status{grid-template-columns:auto minmax(0,1fr) !important;}
  #areaName.brand-current-location{font-size:11.5px !important;margin-bottom:5px !important;padding-left:82px !important;}
  #areaName.brand-current-location::before{left:15px !important;}
  #areaName.brand-current-location::after{left:2px !important;width:7px !important;height:7px !important;}
}

/* ---- extracted style block ---- */

/* V7.21 현재위치 간격 및 햄버거 위치 미세조정 */
#areaName.brand-current-location{
  padding-left:86px !important;
}
#areaName.brand-current-location::before{
  left:17px !important;
}
#hamburgerOpen.hamburger-trigger{
  transform:translateX(-5px) !important;
}
#hamburgerOpen.hamburger-trigger:active{
  transform:translateX(-5px) scale(.97) !important;
}
@media(max-width:520px){
  #areaName.brand-current-location{padding-left:76px !important;}
  #hamburgerOpen.hamburger-trigger{transform:translateX(-4px) !important;}
  #hamburgerOpen.hamburger-trigger:active{transform:translateX(-4px) scale(.97) !important;}
}

/* ---- extracted style block ---- */

/* V7.22 최상단 위·아래 여백 컴팩트 조정 — 기능/크기 변경 없음 */
.phone > header{
  padding-top:12px !important;
  padding-bottom:0 !important;
}
.phone > header .status{
  margin-bottom:6px !important;
  padding-top:3px !important;
  padding-bottom:3px !important;
}
.phone > header .header-brand{
  margin-top:0 !important;
}
#areaName.brand-current-location{
  margin-top:0 !important;
  margin-bottom:3px !important;
  padding-top:2px !important;
  padding-bottom:2px !important;
}
@media(max-width:520px){
  .phone > header{
    padding-top:max(8px, env(safe-area-inset-top)) !important;
    padding-left:16px !important;
    padding-right:16px !important;
  }
  .phone > header .status{
    margin-bottom:4px !important;
    padding-top:2px !important;
    padding-bottom:2px !important;
  }
  #areaName.brand-current-location{
    margin-bottom:2px !important;
    padding-top:1px !important;
    padding-bottom:1px !important;
  }
}

/* ---- extracted style block ---- */

/* 검색폼이 고정될 때 원래 높이를 감지점이 대신 차지하여 추천 검색어와 겹치지 않게 합니다. */
.ask-sentinel{height:1px;display:block;clear:both;transition:none!important}
.ask-sentinel.is-active{height:var(--ask-original-height,72px);min-height:66px}
#popularSearchCard{position:relative;z-index:1;clear:both}
.phone>header{overflow:visible}
section.ask:not(.is-compact){position:relative!important;top:auto!important;left:auto!important;right:auto!important;transform:none!important}
@media(max-width:520px){
  #popularSearchCard{margin-top:14px!important}
  section.ask.is-compact{max-width:calc(100vw - 16px)!important}
}

/* ---- extracted style block ---- */

/* V7.21 현재위치 간격 및 우측 날씨 배치 정돈 */
.status{
  width:100% !important;
  box-sizing:border-box !important;
  padding:7px 0 7px 10px !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  backdrop-filter:none !important;
}
#weatherButton.weather-trigger{
  justify-self:end !important;
  margin-left:auto !important;
  margin-right:0 !important;
  padding-right:4px !important;
  border:0 !important;
  outline:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}
#weatherButton.weather-trigger:hover,
#weatherButton.weather-trigger:focus-visible{
  background:rgba(255,255,255,.08) !important;
  border-radius:10px !important;
}
#areaName.brand-current-location{
  padding-left:84px !important;
  gap:0 !important;
}
#areaName.brand-current-location::before{
  content:"현재위치:" !important;
  left:17px !important;
}
@media(max-width:520px){
  .status{padding-right:0 !important;}
  #weatherButton.weather-trigger{padding-right:2px !important;}
  #areaName.brand-current-location{padding-left:76px !important;}
  #areaName.brand-current-location::before{left:15px !important;}
}

/* ---- extracted style block ---- */

/* V7.24 현재위치 콜론 뒤 간격 축소 */
#areaName.brand-current-location{
  padding-left:79px !important;
}
@media(max-width:520px){
  #areaName.brand-current-location{padding-left:72px !important;}
}

/* ---- extracted style block ---- */

/* 검색폼 바깥 라인만 제거: 기존 구조와 기능은 유지 */
.phone > header section.ask .search,
.phone > header .ask .search,
header section.ask .search {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

/* ---- extracted style block ---- */

/* 검색폼 가로폭 확대: 기존 디자인과 기능은 유지하고 좌우 여백만 축소 */
  @media(max-width:520px){
    section.ask{
      padding-left:6px !important;
      padding-right:6px !important;
    }
  }

  @media(min-width:521px) and (max-width:899px){
    section.ask{
      padding-left:12px !important;
      padding-right:12px !important;
    }
  }

  @media(min-width:900px){
    section.ask{
      padding-left:18px !important;
      padding-right:18px !important;
    }
  }

/* ---- extracted style block ---- */

/* 모바일 날씨 검색 결과: 화면 밖으로 넘치지 않도록 폭과 비율 안정화 */
.weather-result-card,
.weather-result-card *{
  box-sizing:border-box;
}
.weather-result-card{
  width:100%;
  max-width:100%;
  min-width:0;
  overflow:hidden;
}
.weather-current-row,
.weather-current-main,
.weather-metrics,
.weather-hourly{
  min-width:0;
  max-width:100%;
}
.weather-hourly{
  width:100%;
  overscroll-behavior-x:contain;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:thin;
}
.weather-hour{
  flex:0 0 auto;
}

@media(max-width:520px){
  .weather-result-card{
    padding:13px 11px;
    border-radius:15px;
  }
  .weather-current-row{
    align-items:flex-start;
    gap:8px;
  }
  .weather-current-main{
    gap:8px;
    flex:1 1 auto;
  }
  .weather-current-row > .weather-condition{
    flex:0 0 auto;
    max-width:82px;
    font-size:11px;
    line-height:1.45;
    text-align:right;
    white-space:normal;
  }
  .weather-icon{
    flex:0 0 auto;
    font-size:31px;
  }
  .weather-temp{
    font-size:29px;
    line-height:1;
    letter-spacing:-.8px;
    white-space:nowrap;
  }
  .weather-condition{
    font-size:12px;
    line-height:1.35;
  }
  .weather-metrics{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:5px;
    margin-top:11px;
  }
  .weather-metric{
    min-width:0;
    padding:8px 3px;
    border-radius:10px;
  }
  .weather-metric b{
    font-size:12px;
    line-height:1.25;
    overflow-wrap:anywhere;
  }
  .weather-metric span{
    margin-top:2px;
    font-size:10px;
  }
  .weather-advice{
    margin-top:10px;
    padding:9px 10px;
    font-size:12px;
    line-height:1.5;
    overflow-wrap:anywhere;
  }
  .weather-hourly{
    gap:6px;
    margin-top:11px;
    padding:0 0 4px;
  }
  .weather-hour{
    min-width:60px;
    width:60px;
    padding:7px 4px;
    border-radius:10px;
    font-size:10px;
  }
  .weather-hour b{
    margin-bottom:2px;
    font-size:10px;
  }
  .weather-hour .weather-hour-icon{
    margin:2px 0;
    font-size:17px;
  }
}

@media(max-width:360px){
  .weather-result-card{padding:11px 9px}
  .weather-icon{font-size:27px}
  .weather-temp{font-size:26px}
  .weather-current-row > .weather-condition{max-width:70px;font-size:10px}
  .weather-metric b{font-size:11px}
  .weather-metric span{font-size:9px}
  .weather-hour{min-width:56px;width:56px}
}


/* 2026-07-25 비정기일 안내: 4칸 품목 레이아웃을 사용하지 않고 전체 폭 이미지로 표시 */
#wasteTodayCard .waste-today-items.is-no-disposal{
  display:block !important;
  width:100% !important;
  max-width:none !important;
  min-height:0 !important;
  margin-top:10px !important;
  padding:0 !important;
  overflow:visible !important;
}
#wasteTodayCard .waste-no-schedule-admin-card{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  min-height:0 !important;
  padding:0 !important;
  margin:0 !important;
  overflow:visible !important;
}
#wasteTodayCard .waste-no-schedule-admin-card img{
  display:block !important;
  width:100% !important;
  height:auto !important;
  max-width:680px !important;
  max-height:none !important;
  aspect-ratio:auto !important;
  object-fit:contain !important;
  transform:none !important;
  margin:0 auto !important;
  padding:0 !important;
  border:0 !important;
  border-radius:14px !important;
  box-shadow:none !important;
  background:transparent !important;
}
@media(max-width:640px){
  #wasteTodayCard .waste-no-schedule-admin-card img{
    width:100% !important;
    max-width:100% !important;
    border-radius:12px !important;
  }
}


/* 2026-07-25 비정기일 안내 이미지 상단 공백 제거 */
#wasteTodayCard.is-no-schedule-mode > button{
  align-items:flex-start !important;
}
#wasteTodayCard.is-no-schedule-mode .waste-today-copy{
  display:flex !important;
  flex-direction:column !important;
  width:100% !important;
  min-width:0 !important;
}
#wasteTodayCard.is-no-schedule-mode #wasteTodaySummary{
  display:none !important;
  min-height:0 !important;
  height:0 !important;
  margin:0 !important;
  padding:0 !important;
  line-height:0 !important;
}
#wasteTodayCard.is-no-schedule-mode .waste-today-items.is-no-disposal{
  order:2 !important;
  margin-top:3px !important;
  min-height:0 !important;
}
#wasteTodayCard.is-no-schedule-mode .waste-no-schedule-admin-card{
  padding-top:0 !important;
}
#wasteTodayCard.is-no-schedule-mode .waste-no-schedule-caption{
  display:block;
  max-width:680px;
  margin:10px auto 0;
  padding:0 8px 2px;
  text-align:center;
}
#wasteTodayCard.is-no-schedule-mode .waste-no-schedule-caption strong,
#wasteTodayCard.is-no-schedule-mode .waste-no-schedule-caption span{
  display:block;
}
#wasteTodayCard.is-no-schedule-mode .waste-no-schedule-caption strong{
  font-size:17px;
  line-height:1.35;
  color:#23372f;
}
#wasteTodayCard.is-no-schedule-mode .waste-no-schedule-caption span{
  margin-top:4px;
  font-size:13px;
  line-height:1.45;
  color:#52645c;
}
@media(max-width:640px){
  #wasteTodayCard.is-no-schedule-mode .waste-today-items.is-no-disposal{
    margin-top:2px !important;
  }
  #wasteTodayCard.is-no-schedule-mode .waste-no-schedule-caption{
    margin-top:8px;
    padding-left:4px;
    padding-right:4px;
  }
}


/* 자치구별 대형폐기물 연락 안내 */
#wasteTodayCard .waste-bulky-contact{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 14px 13px;padding:12px 13px;border-radius:14px;background:#f5faf8;border:1px solid rgba(31,120,86,.14)}
#wasteTodayCard .waste-bulky-contact[hidden]{display:none!important}
#wasteTodayCard .waste-bulky-copy{display:flex;flex-direction:column;min-width:0;gap:2px}
#wasteTodayCard .waste-bulky-copy strong{font-size:14px;color:#173f32}
#wasteTodayCard .waste-bulky-copy small{font-size:12px;color:#47675d}
#wasteTodayCard .waste-bulky-copy span{font-size:11px;color:#71857e;white-space:normal}
#wasteTodayCard .waste-bulky-call{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-width:76px;height:38px;padding:0 14px;border-radius:999px;background:#187b55;color:#fff;text-decoration:none;font-size:13px;font-weight:800}
@media(max-width:520px){#wasteTodayCard .waste-bulky-contact{margin:0 10px 10px;padding:10px}.waste-bulky-copy span{display:none}#wasteTodayCard .waste-bulky-call{min-width:70px;height:36px;padding:0 12px}}


/* PWA 앱 설치 안내 */
.app-install-modal{position:fixed;inset:0;z-index:1400;display:grid;place-items:center;padding:20px;background:rgba(10,24,19,.55);backdrop-filter:blur(3px)}
.app-install-modal.is-hidden{display:none!important}
.app-install-card{position:relative;width:min(100%,390px);padding:28px 22px 20px;border-radius:24px;background:#fff;box-shadow:0 24px 70px rgba(0,0,0,.24);text-align:center}
.app-install-card>img{display:block;margin:0 auto 13px;border-radius:22px;box-shadow:0 7px 20px rgba(18,99,79,.20)}
.app-install-card h2{margin:0 0 8px;color:#193d33;font-size:22px}
.app-install-card>p{margin:0 auto 16px;color:#66746e;line-height:1.55;font-size:14px}
.app-install-close{position:absolute;top:12px;right:12px;width:38px;height:38px;border:0;border-radius:999px;background:#edf3f0;color:#344b42;font-size:25px;cursor:pointer}
.app-install-steps{display:grid;gap:8px;margin:0 0 17px;text-align:left}
.app-install-step{padding:11px 13px;border-radius:13px;background:#f0f8f5;color:#315047;font-size:13px;line-height:1.45}
.app-install-primary,.app-install-secondary{width:100%;padding:13px 16px;border:0;border-radius:13px;font-size:14px;font-weight:900;cursor:pointer}
.app-install-primary{background:#16745d;color:#fff}
.app-install-secondary{margin-top:8px;background:#edf3f0;color:#52645d}
#appInstallMenuButton.is-installed{opacity:.75}
#appInstallMenuButton.is-installed span{background:#e8f6f0}


/* PWA 기기별 설치 메뉴 - 큰 아이콘/고대비 */
.hamburger-install-group{margin:8px 0;padding:12px;border:2px solid #bfe8dc;border-radius:18px;background:#f4fffb}
.hamburger-install-title{margin:0 0 10px;padding:0 2px;color:#174f40;font-size:15px;font-weight:900}
.hamburger-nav .device-install-button{position:relative;display:grid;grid-template-columns:58px 1fr auto;align-items:center;gap:12px;width:100%;min-height:76px;margin:8px 0;padding:9px 10px;border:2px solid transparent;border-radius:16px;text-align:left;box-shadow:0 4px 12px rgba(15,77,61,.10)}
.hamburger-nav .ios-install-button{border-color:#b8c1c8;background:#fff}
.hamburger-nav .android-install-button{border-color:#82d8a0;background:#effff4}
.hamburger-nav .device-install-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:15px;font-size:35px;line-height:1;background:#fff;box-shadow:0 3px 10px rgba(0,0,0,.13)}
.hamburger-nav .ios-install-button .device-install-icon{background:#17191b}
.hamburger-nav .android-install-button .device-install-icon{background:#dff8e7}
.device-install-copy{display:flex;min-width:0;flex-direction:column;gap:4px}
.hamburger-nav .device-install-copy b{color:#172c25;font-size:17px;font-weight:950}
.hamburger-nav .device-install-copy small{color:#536b62;font-size:12px;font-weight:700;line-height:1.35}
.device-recommend-badge{align-self:start;margin-top:3px;padding:4px 7px;border-radius:999px;background:#e53e3e;color:#fff;font-size:11px;font-style:normal;font-weight:900}
.device-install-complete{margin-top:8px;padding:11px;border-radius:13px;background:#e7f8ef;color:#176548;font-size:13px;font-weight:900;text-align:center}
.hamburger-nav .device-install-button.is-installed{opacity:.62}
body.app-install-open{overflow:hidden}
.app-install-card{width:min(100%,430px);padding:30px 20px 21px;border:3px solid #fff}
.app-install-card>img{width:96px;height:96px;border-radius:24px;box-shadow:0 8px 24px rgba(0,0,0,.25)}
.app-install-card h2{font-size:25px;font-weight:950}
.app-install-card>p{font-size:16px;color:#40594f;font-weight:700}
.app-install-step{display:grid;grid-template-columns:38px 1fr;align-items:center;gap:9px;min-height:58px;padding:11px 13px;border:2px solid #cde9df;background:#f4fffb;color:#243f36;font-size:16px;font-weight:750}
.app-install-step strong{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#16745d;color:#fff;font-size:18px}
.app-install-step span{line-height:1.5}
.app-install-primary,.app-install-secondary{min-height:52px;font-size:17px}
.app-install-primary{box-shadow:0 5px 14px rgba(22,116,93,.28)}
@media (max-width:380px){.hamburger-nav .device-install-button{grid-template-columns:52px 1fr}.device-recommend-badge{position:absolute;top:5px;right:6px}.hamburger-nav .device-install-icon{width:50px;height:50px;font-size:31px}.hamburger-nav .device-install-copy b{font-size:16px}}

/* 20260725 설치 메뉴 정렬 최종 보정 */
.hamburger-install-group{
  margin:10px 0;
  padding:10px 12px;
  border:1px solid #d5e9e2;
  border-radius:16px;
  background:#fff;
}
.hamburger-install-title{
  margin:0;
  padding:4px 2px 10px;
  color:#174f40;
  font-size:15px;
  font-weight:900;
  line-height:1.35;
}
.hamburger-nav .device-install-button{
  position:relative;
  display:grid;
  grid-template-columns:36px minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  width:100%;
  min-height:68px;
  margin:0;
  padding:12px 4px;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  text-align:left;
  cursor:pointer;
}
.hamburger-nav .android-install-button{
  border-top:1px solid #e3ece8;
}
.hamburger-nav .device-install-button:active{
  background:#f3faf7;
}
.hamburger-nav .device-install-icon{
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  border-radius:10px;
  font-size:0;
  line-height:1;
  box-shadow:none;
}
.hamburger-nav .ios-install-button .device-install-icon{
  background:#15191c;
}
.hamburger-nav .ios-install-button .device-install-icon::before{
  content:"";
  width:16px;
  height:20px;
  border-radius:46% 46% 50% 50%;
  background:#fff;
  transform:translateY(1px);
}
.hamburger-nav .android-install-button .device-install-icon{
  position:relative;
  background:#e4f8e9;
}
.hamburger-nav .android-install-button .device-install-icon::before{
  content:"";
  width:20px;
  height:15px;
  border-radius:8px 8px 4px 4px;
  background:#42a846;
}
.hamburger-nav .android-install-button .device-install-icon::after{
  content:"";
  position:absolute;
  top:7px;
  width:16px;
  height:7px;
  border-top:2px solid #42a846;
  border-left:2px solid transparent;
  border-right:2px solid transparent;
}
.device-install-copy{
  display:flex;
  min-width:0;
  flex-direction:column;
  justify-content:center;
  gap:3px;
}
.hamburger-nav .device-install-copy b{
  display:block;
  margin:0;
  color:#172c25;
  font-size:18px;
  font-weight:900;
  line-height:1.25;
  letter-spacing:-.02em;
}
.hamburger-nav .device-install-copy small{
  display:block;
  margin:0;
  color:#65756f;
  font-size:14px;
  font-weight:600;
  line-height:1.35;
  white-space:normal;
}
.device-recommend-badge{
  align-self:center;
  margin:0 2px 0 6px;
  padding:4px 7px;
  border-radius:999px;
  background:#e54848;
  color:#fff;
  font-size:11px;
  line-height:1;
  font-style:normal;
  font-weight:900;
}
@media (max-width:380px){
  .hamburger-nav .device-install-button{grid-template-columns:34px minmax(0,1fr) auto;gap:10px;padding:11px 2px}
  .hamburger-nav .device-install-icon{width:34px;height:34px}
  .hamburger-nav .device-install-copy b{font-size:17px}
  .hamburger-nav .device-install-copy small{font-size:13px}
  .device-recommend-badge{position:static;margin-left:2px}
}

/* 20260725 설치 메뉴 글씨 깨짐/폭 부족 최종 수정 */
@media (max-width:759px){
  .hamburger-drawer{
    width:min(94vw,390px);
    padding-left:14px;
    padding-right:14px;
  }
}
.hamburger-install-group{
  box-sizing:border-box;
  width:100%;
  min-width:0;
  padding:10px;
  overflow:hidden;
}
.hamburger-nav .device-install-button{
  box-sizing:border-box;
  grid-template-columns:36px minmax(0,1fr);
  width:100%;
  min-width:0;
  gap:11px;
  padding:12px 8px;
  overflow:visible;
}
.hamburger-nav .device-install-copy{
  width:100%;
  min-width:0;
  padding-right:42px;
  overflow:visible;
}
.hamburger-nav .device-install-copy b{
  width:100%;
  min-width:max-content;
  white-space:nowrap;
  word-break:keep-all;
  overflow-wrap:normal;
  font-size:18px;
  line-height:1.3;
}
.hamburger-nav .device-install-copy small{
  width:100%;
  white-space:normal;
  word-break:keep-all;
  overflow-wrap:break-word;
  font-size:14px;
  line-height:1.4;
}
.hamburger-nav .device-recommend-badge{
  position:absolute;
  top:10px;
  right:8px;
  z-index:1;
  margin:0;
}
@media (max-width:360px){
  .hamburger-drawer{width:96vw;padding-left:10px;padding-right:10px}
  .hamburger-install-group{padding:8px}
  .hamburger-nav .device-install-button{grid-template-columns:34px minmax(0,1fr);gap:9px;padding:11px 6px}
  .hamburger-nav .device-install-copy{padding-right:38px}
  .hamburger-nav .device-install-copy b{font-size:17px}
  .hamburger-nav .device-install-copy small{font-size:13px}
}


/* 20260725 설치 메뉴 일반 메뉴형 정리 */
.hamburger-nav .install-menu-row{
  display:grid;
  grid-template-columns:38px minmax(0,1fr);
  grid-template-rows:auto auto;
  column-gap:10px;
  align-items:center;
  width:100%;
  min-height:66px;
  margin:0;
  padding:13px;
  border:1px solid transparent;
  border-radius:14px;
  text-align:left;
  box-shadow:none;
  overflow:hidden;
}
.hamburger-nav .install-menu-row + .install-menu-row{margin-top:0}
.hamburger-nav .install-menu-row .install-menu-icon{
  grid-row:1/3;
  display:grid;
  place-items:center;
  width:38px;
  height:38px;
  border-radius:12px;
  font-size:0;
  line-height:1;
  box-shadow:none;
}
.hamburger-nav .install-menu-row b{
  align-self:end;
  min-width:0;
  color:#263830;
  font-size:14px;
  font-weight:800;
  line-height:1.3;
  white-space:nowrap;
  word-break:keep-all;
}
.hamburger-nav .install-menu-row small{
  min-width:0;
  margin-top:2px;
  color:#68776f;
  font-size:12px;
  font-weight:500;
  line-height:1.35;
  white-space:nowrap;
  word-break:keep-all;
}
.hamburger-nav .ios-install-button{
  border-color:#d8e7e2;
  background:#eef8f5;
}
.hamburger-nav .ios-install-button .install-menu-icon{
  position:relative;
  background:#dcefe9;
}
.hamburger-nav .ios-install-button .install-menu-icon::before{
  content:"";
  width:17px;
  height:20px;
  border-radius:48% 48% 52% 52%;
  background:#17634f;
  transform:translateY(2px);
}
.hamburger-nav .ios-install-button .install-menu-icon::after{
  content:"";
  position:absolute;
  top:7px;
  left:20px;
  width:7px;
  height:5px;
  border-radius:100% 0 100% 0;
  background:#17634f;
  transform:rotate(-32deg);
}
.hamburger-nav .android-install-button{
  border-color:#d9ead6;
  background:#f1faee;
}
.hamburger-nav .android-install-button .install-menu-icon{
  position:relative;
  background:#dff1da;
}
.hamburger-nav .android-install-button .install-menu-icon::before{
  content:"";
  width:20px;
  height:15px;
  border-radius:10px 10px 5px 5px;
  background:#3f8b39;
  box-shadow:0 8px 0 -5px #3f8b39;
}
.hamburger-nav .android-install-button .install-menu-icon::after{
  content:"";
  position:absolute;
  top:8px;
  width:14px;
  height:5px;
  border-top:2px solid #3f8b39;
  transform:rotate(0deg);
}
.hamburger-nav .install-menu-row:active{transform:scale(.99)}
.hamburger-nav .install-menu-row.is-installed{opacity:.65}
.device-install-complete{
  margin:0;
  border-color:#d9eadf;
  background:#edf8f2;
  cursor:default;
}
.hamburger-nav .device-install-complete .install-complete-icon{
  background:#dff3e8;
  color:#176548;
  font-size:22px;
  font-weight:900;
}
.hamburger-nav .device-install-complete b{color:#176548;}
.hamburger-nav .device-install-complete small{color:#557568;}
@media (max-width:360px){
  .hamburger-nav .install-menu-row{grid-template-columns:36px minmax(0,1fr);column-gap:9px;padding:12px 10px}
  .hamburger-nav .install-menu-row .install-menu-icon{width:36px;height:36px}
  .hamburger-nav .install-menu-row b{font-size:14px}
  .hamburger-nav .install-menu-row small{font-size:12px}
}


/* 2026-07-26: 오늘 분리배출 첫 렌더 안정화 */
#wasteTodayCard.is-initial-loading .waste-today-items{display:none!important}
#wasteTodayCard.is-initial-loading #wasteTodaySummary{visibility:visible!important;display:block!important;min-height:20px}
#wasteTodayCard.is-initial-loading{min-height:108px;overflow:hidden}

/* 캐릭터 5초 롱프레스 - 비밀 개인비서 1단계 */
.assistant-character.is-secret-holding .header-assistant-image{animation:secretAssistantHold .7s ease-in-out infinite alternate}
.assistant-character.is-secret-ready .header-assistant-image{animation:secretAssistantWink .55s ease}
@keyframes secretAssistantHold{from{transform:translateY(0) scale(1)}to{transform:translateY(-3px) scale(1.025)}}
@keyframes secretAssistantWink{0%,100%{transform:rotate(0) scale(1)}45%{transform:rotate(-4deg) scale(1.08)}70%{transform:rotate(3deg) scale(1.04)}}
.secret-assistant-invite{position:absolute;z-index:15;right:4px;top:calc(100% - 10px);width:225px;padding:14px;border:0;border-radius:20px;background:#fff;color:#18483a;box-shadow:0 14px 38px rgba(18,70,56,.24);text-align:left;font-family:inherit;cursor:pointer}
.secret-assistant-invite strong,.secret-assistant-invite span{display:block}.secret-assistant-invite strong{font-size:16px;margin-bottom:5px}.secret-assistant-invite span{font-size:13px;line-height:1.45;color:#527066}.secret-assistant-invite em{display:inline-flex;margin-top:10px;padding:8px 12px;border-radius:999px;background:#19785a;color:#fff;font-size:12px;font-style:normal;font-weight:800}
.secret-assistant-modal{position:fixed;inset:0;z-index:9999;display:flex;align-items:flex-end;justify-content:center;padding:18px;background:rgba(9,31,25,.48);backdrop-filter:blur(4px)}
.secret-assistant-modal.is-hidden{display:none}
.secret-assistant-sheet{width:min(100%,520px);max-height:88vh;overflow:auto;padding:20px;border-radius:28px 28px 20px 20px;background:linear-gradient(180deg,#f3fffb 0,#fff 38%);box-shadow:0 24px 70px rgba(0,0,0,.28)}
.secret-assistant-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.secret-assistant-head small{color:#1b7b5d;font-weight:800}.secret-assistant-head h2{margin:3px 0 0;font-size:25px;color:#173e33}.secret-assistant-head button{width:40px;height:40px;border:0;border-radius:50%;background:#e7f5f0;color:#24594a;font-size:26px;cursor:pointer}
.secret-assistant-greeting{margin:16px 0;padding:13px 15px;border-radius:16px;background:#fff7d9;color:#705b18;font-weight:800}
.secret-assistant-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.secret-assistant-menu button{min-height:122px;padding:16px 12px;border:1px solid rgba(25,120,90,.12);border-radius:21px;background:#fff;box-shadow:0 8px 24px rgba(29,96,74,.08);text-align:center;font-family:inherit;cursor:pointer}.secret-assistant-menu button span{display:block;font-size:31px;margin-bottom:8px}.secret-assistant-menu button strong,.secret-assistant-menu button small{display:block}.secret-assistant-menu button strong{font-size:15px;color:#173f34}.secret-assistant-menu button small{margin-top:4px;color:#72877f;font-size:12px}.secret-assistant-menu button.is-active{outline:3px solid rgba(25,120,90,.18);background:#effbf7}
.secret-assistant-panel{margin-top:14px;padding:15px 16px;border-radius:17px;background:#edf8f4;color:#315d50}.secret-assistant-panel strong,.secret-assistant-panel span{display:block}.secret-assistant-panel span{margin-top:5px;font-size:13px;line-height:1.5;color:#648078}
@media(min-width:700px){.secret-assistant-modal{align-items:center}.secret-assistant-sheet{border-radius:28px}}

/* 2026-07-26 나의 개인비서: 제목 '비서' 롱프레스 전용 */
.main-brand-title{position:relative;display:inline-block;margin:0}
.secret-assistant-trigger{position:relative;display:inline-block;cursor:pointer;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;touch-action:manipulation;border-radius:8px;outline:none}
.secret-assistant-trigger.is-holding{animation:secretTitleGlow .72s ease-in-out infinite alternate}
.secret-assistant-trigger.is-ready{animation:secretTitleReady .55s ease}
@keyframes secretTitleGlow{from{text-shadow:0 0 0 rgba(255,255,255,0)}to{text-shadow:0 0 9px rgba(255,255,255,.95),0 0 16px rgba(252,221,3,.55)}}
@keyframes secretTitleReady{0%,100%{transform:translateY(0)}45%{transform:translateY(-2px)}}
.secret-assistant-invite-host{position:absolute;z-index:80;left:50%;bottom:calc(100% + 10px);width:0;height:0}
.secret-assistant-invite{position:absolute;left:50%;bottom:0;transform:translateX(-50%);width:238px;padding:15px;border:1px solid rgba(25,120,90,.12);border-radius:20px;background:#fff;color:#18483a;box-shadow:0 14px 38px rgba(18,70,56,.24);text-align:center;font-family:inherit}
.secret-assistant-invite:after{content:"";position:absolute;left:50%;top:100%;margin-left:-9px;border:9px solid transparent;border-top-color:#fff}
.secret-assistant-invite strong,.secret-assistant-invite span{display:block}.secret-assistant-invite strong{font-size:16px;margin-bottom:5px}.secret-assistant-invite span{font-size:13px;line-height:1.45;color:#527066}
.secret-assistant-invite button{display:inline-flex;margin-top:11px;padding:9px 14px;border:0;border-radius:999px;background:#19785a;color:#fff;font-size:13px;font-family:inherit;font-weight:800;cursor:pointer}
@media(max-width:420px){.secret-assistant-invite{width:218px}}
