/* 원샷 매니저(/tools/one-shot-manager/) 전용. 색·반경·글자 크기는 site.css 토큰과 기존 값을 쓴다(디자인 정본 1~3절). */
.osm-layout{max-width:1180px}
.osm-page .article-lead{max-width:760px}
.osm-body{max-width:none}
.osm-form h3{margin:0 0 12px;font:19px/1.4 var(--serif);color:#e2c18a}
.osm-lookup{margin:0 0 18px;padding:0 0 16px;border-bottom:1px solid #ffffff1c}
.osm-form input[type=text],.osm-form input[type=number]{min-height:44px;width:100%;padding:8px 12px;border:1px solid var(--line);border-radius:4px;background:#0d1212;color:var(--ink);font:inherit;font-size:16px}
.osm-level{display:flex;gap:12px;align-items:center}
.osm-level input[type=number]{width:84px;flex:none}
.osm-level input[type=range]{flex:1;min-width:0;accent-color:var(--gold)}
.osm-chips{display:flex;flex-wrap:wrap;gap:8px}
.osm-chips button{min-height:44px;padding:8px 14px;border:1px solid var(--line);border-radius:4px;background:#0d1212;color:var(--ink);font:inherit;font-size:15px;cursor:pointer}
.osm-chips button[aria-pressed="true"]{border-color:var(--gold);background:linear-gradient(#6c542e,#3e301d);color:#fff7e6}
.osm-status{margin:10px 0 0;color:var(--gold);font-size:15px;min-height:1.6em}
.osm-result{margin:0 0 44px}
.osm-result[hidden]{display:none}
.osm-section{margin:36px 0 0}
.osm-section>h2,.osm-summary>h2{margin:0 0 8px;font:clamp(24px,3.4vw,30px)/1.35 var(--serif);color:var(--gold)}
.osm-lead{max-width:760px;margin:0 0 16px;color:#d0d4cf;font-size:16px;line-height:1.7}
.osm-card{padding:16px 18px;border:1px solid var(--line);border-radius:6px;background:#111a1a}
.osm-summary dl{display:grid;gap:10px;margin:8px 0 0}
.osm-summary dl div{display:grid;grid-template-columns:minmax(120px,200px) 1fr;gap:4px 16px}
.osm-summary dt{color:var(--muted);font-size:14px}
.osm-summary dd{margin:0;font-size:16px;line-height:1.65}
.osm-zones{margin:0;padding:0;list-style:none;display:grid;gap:10px;grid-template-columns:repeat(auto-fill,minmax(min(100%,420px),1fr))}
.osm-zone{padding:12px 16px;border:1px solid #ffffff1c;border-radius:6px;background:#111a1a}
.osm-zone-head{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 8px;font-size:18px}
.osm-rank{display:inline-grid;place-items:center;width:26px;height:26px;border:1px solid var(--line);border-radius:50%;color:var(--gold);font-size:14px}
.osm-zone-meta{margin:8px 0 0;color:#d0d4cf;font-size:15px;line-height:1.6}
.osm-badge{display:inline-block;padding:2px 8px;border:1px solid var(--line);border-radius:4px;color:var(--muted);font-size:13px;line-height:1.5;white-space:nowrap;vertical-align:middle}
.osm-badge.is-new{border-color:#3f6a52;color:#9fd7b5}
.osm-badge.is-up{border-color:var(--gold);color:var(--gold)}
.osm-dungeons,.osm-slots{margin:0;padding:0;list-style:none;display:grid;gap:12px;align-items:start;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr))}
.osm-dungeon.is-soon{border-style:dashed}
.osm-dungeon-head{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 6px;font-size:18px}
.osm-picks{margin:10px 0 0;padding:10px 0 0;border-top:1px solid #ffffff1c;list-style:none;display:grid;gap:6px;font-size:15px;line-height:1.5}
.osm-link{margin:10px 0 0;font-size:15px}
.osm-link a,.osm-links a,.osm-summary a,.osm-list a{color:var(--gold)}
.osm-controls{display:flex;flex-wrap:wrap;gap:8px 20px;align-items:center;margin:0 0 16px}
.osm-controls .cr-check{margin:0}
.osm-slot h3{margin:0 0 10px;font:20px/1.4 var(--serif);color:#e2c18a}
.osm-worn{margin:0 0 10px;padding:0 0 10px;border-bottom:1px solid #ffffff1c;font-size:15px;line-height:1.6}
.osm-worn>span:first-child{color:var(--muted);margin-right:4px}
.osm-items{margin:0;padding:0;list-style:none}
.osm-item{padding:10px 0;border-top:1px solid #ffffff14}
.osm-item:first-child{padding-top:0;border-top:0}
.osm-item.is-soon{opacity:.86}
.osm-item-head{margin:0;font-size:17px;line-height:1.45;font-weight:600}
.osm-item-head a{text-decoration:underline;text-decoration-color:#ffffff40;text-underline-offset:3px}
.osm-item-meta{margin:3px 0 0;color:var(--muted);font-size:14px;line-height:1.55}
.osm-item-stats{margin:4px 0 0;font-size:15px;line-height:1.55}
.osm-item-effect{margin:3px 0 0;color:#8fd48f;font-size:14px;line-height:1.5}
.osm-src{margin:6px 0 0;padding:0;list-style:none;font-size:14px;line-height:1.55;color:#d0d4cf}
.osm-src li{padding-left:16px;position:relative}
.osm-src li::before{content:"";position:absolute;left:2px;top:.62em;width:6px;height:6px;border-radius:50%;background:var(--gold)}
.osm-src li[data-kind=q]::before{background:#e8d44d}
.osm-src li[data-kind=r]::before{background:#b9c2c8}
.osm-src-note{color:var(--muted);font-size:13px;font-weight:400}
.osm-q0{color:#9d9d9d}.osm-q1{color:#f3f0e8}.osm-q2{color:#3fe03f}.osm-q3{color:#5aa9ff}.osm-q4{color:#c88bff}.osm-q5{color:#ff9a3c}
.osm-more{margin:10px 0 0}
.osm-more summary{min-height:44px;display:flex;align-items:center;color:var(--gold);font-size:15px;cursor:pointer}
.osm-more>.osm-zones,.osm-more>.osm-items{margin-top:8px}
.osm-more>.osm-items{padding-top:10px;border-top:1px solid #ffffff14}
.osm-links{margin:12px 0 0;padding:0;list-style:none;display:grid;gap:8px;grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr))}
.osm-links a{display:flex;align-items:center;min-height:44px;padding:8px 14px;border:1px solid var(--line);border-radius:6px;background:linear-gradient(120deg,#182121,#0e1414);font-size:15px;line-height:1.45}
.osm-links a:hover{border-color:var(--gold)}
.osm-list{margin:0;padding-left:1.2em;max-width:760px;font-size:16px;line-height:1.75}
.osm-list li+li{margin-top:6px}
.osm-divider{margin-top:8px}
.osm-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}
.osm-table{min-width:520px}
.osm-fold{border:1px solid var(--line);border-radius:6px;background:#111a1a;padding:0 18px}
.osm-fold>summary{display:flex;align-items:center;gap:10px;min-height:56px;cursor:pointer;list-style:none}
.osm-fold>summary::-webkit-details-marker{display:none}
.osm-fold>summary::after{content:'';flex:none;width:12px;height:8px;margin-left:auto;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23e6bb70' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center/12px 8px;transition:transform .15s}
.osm-fold[open]>summary::after{transform:rotate(180deg)}
.osm-fold>summary h2{margin:0;font:22px/1.4 var(--serif);color:var(--gold)}
.osm-fold>summary span{padding:2px 8px;border:1px solid var(--line);border-radius:4px;color:var(--muted);font-size:13px}
.osm-fold[open]{padding-bottom:16px}
.osm-body>section+section{margin-top:14px}
.osm-table tbody th{width:auto;min-width:150px}
.osm-table th small,.osm-table td small{display:inline;margin:0 0 0 6px;color:var(--muted);font-size:13px;font-weight:400}
.osm-table td{white-space:nowrap}
.osm-table td:last-child,.osm-table td:nth-child(4){white-space:normal}
@media (max-width:600px){
 .osm-table{min-width:0}
 .osm-table td{white-space:normal}
 .osm-fold{padding:0 14px}
 .osm-summary dl div{grid-template-columns:1fr}
 .osm-card{padding:14px}
 .osm-zone{padding:12px}
 .osm-item-head{font-size:16px}
}
.osm-page>h1{font-size:clamp(30px,4.2vw,46px)}
.osm-page .article-lead{margin-bottom:24px}
.osm-trust{max-width:760px;margin:-12px 0 24px;font-size:15px;line-height:1.6;color:var(--muted)}
.osm-trust a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.osm-meta{margin-top:36px}
.osm-section{scroll-margin-top:16px}

/* 2026-11-16: 검색 → 캐릭터·선택 부위 → 던전·지역 순서. 세부 설정과 전체 목록은 접는다. */
.osm-form{margin:24px 0;border:1px solid var(--line);border-radius:8px;background:#111a1a;overflow:hidden}
.osm-form[hidden]{display:none}
.osm-lookup{margin:0;padding:24px;border:0}
.osm-lookup h2{margin:0;font:clamp(24px,3.4vw,30px)/1.35 var(--serif);color:var(--ink)}
.osm-lookup-hint{margin:8px 0 20px;color:var(--muted);font-size:16px}
.osm-search-fields{display:grid;grid-template-columns:1.5fr 1fr minmax(100px,.65fr) auto;gap:12px;align-items:end}
.osm-search-fields .cr-field{margin:0;min-width:0;gap:6px}
.osm-form .osm-search-fields input,.osm-search-fields select{width:100%;min-width:0;min-height:48px}
.osm-search-fields .button{min-height:48px;padding-top:7px;padding-bottom:7px;display:flex;gap:16px;align-items:center;justify-content:center;font-size:16px;font-weight:600;line-height:1.4}
.osm-search-fields button:disabled{opacity:.6;cursor:wait}
.osm-form input::placeholder{color:var(--muted);font-size:14px}
.osm-lookup .osm-status:empty{display:none}
.osm-lookup-note{margin-top:14px;font-size:14px;color:var(--muted)}
.osm-lookup-note summary,.osm-manual>summary,.osm-reference>summary{min-height:44px;cursor:pointer;align-content:center}
.osm-lookup-note .cr-note{margin:4px 0 0}
.osm-manual{border-top:1px solid #ffffff1c;padding:0 24px}
.osm-manual>summary{font-size:15px;color:var(--gold);padding:12px 0}
.osm-manual-body{padding:8px 0 24px}
.osm-manual-body>.cr-field{margin-bottom:16px}
.osm-secondary{min-height:44px;padding:8px 14px;background:transparent;color:var(--gold);border:1px solid var(--line);border-radius:4px;font:inherit;cursor:pointer}
.osm-form .cr-actions{margin-top:16px}
.osm-character{border:1px solid var(--line);border-radius:8px;background:linear-gradient(120deg,#182121,#0e1414);overflow:hidden}
.osm-character.osm-section{margin-top:24px}
.osm-character-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:24px 24px 0}
.osm-section-label{margin:0 0 6px;color:var(--muted);font-size:14px}
.osm-character-header h2{margin:0;color:var(--ink);font:clamp(24px,3.4vw,30px)/1.35 var(--serif);overflow-wrap:anywhere}
.osm-character-header>div{min-width:0}
.osm-character-header>div>p:last-child{margin:6px 0 0;color:var(--muted);font-size:15px}
.osm-level-seal{display:grid;place-items:center;flex:none;min-width:64px;min-height:64px;border:1px solid var(--line);border-radius:8px;color:var(--gold);font-size:28px;line-height:1.2;font-variant-numeric:tabular-nums;padding:6px}
.osm-level-seal small{font:14px/1.4 -apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}
.osm-character-note{margin:12px 24px 20px;color:var(--muted);font-size:14px}
.osm-equipment-notice{margin:0 24px 16px}
.osm-character-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);border-top:1px solid #ffffff1c}
.osm-paperdoll{padding:20px;display:grid;grid-template-columns:minmax(0,1fr) minmax(90px,.65fr) minmax(0,1fr);gap:12px;align-items:start}
.osm-equip-column{display:grid;gap:8px;min-width:0}
.osm-equip-slot{display:flex;align-items:center;gap:8px;width:100%;min-height:60px;padding:6px;border:1px solid transparent;border-radius:6px;background:#0d1212;color:var(--ink);text-align:left;font:inherit;cursor:pointer;min-width:0}
.osm-equip-slot:hover{border-color:var(--line)}
.osm-equip-slot[aria-pressed=true]{border-color:var(--gold);background:#172020}
.osm-equip-slot:focus-visible,.osm-secondary:focus-visible,.osm-chips button:focus-visible{outline:2px solid var(--gold);outline-offset:3px}
.osm-equip-icon{display:grid;place-items:center;flex:none;width:40px;height:40px;border:1px solid var(--line);border-radius:4px;background:#172020;overflow:hidden}
.osm-equip-icon img{display:block;width:100%;height:100%;object-fit:cover}
.osm-equip-icon>span{color:var(--muted);font-size:16px}
/* 빈 장비 칸 그림(게임 캐릭터 창의 빈 슬롯): 비어 있거나 정보가 없으면 흐리게, 착용 중인데 아이콘을 못 찾았으면 또렷하게 둔다. */
.osm-equip-icon img.osm-slot-art{opacity:.75}
.osm-equip-icon img[hidden]{display:none}
.osm-equip-slot[data-osm-no-icon] .osm-equip-icon img.osm-slot-art{opacity:1}
.osm-equip-copy{display:grid;gap:3px;min-width:0}
.osm-equip-label{font-size:14px;line-height:1.35;color:var(--muted)}
.osm-equip-name{font-size:14px;line-height:1.4;overflow-wrap:anywhere}
.osm-portrait{align-self:center;text-align:center;display:grid;justify-items:center;gap:8px;min-width:0;color:var(--gold)}
.osm-portrait svg{width:100%;max-height:240px;fill:#172020;stroke:var(--line);stroke-width:1.5}
.osm-portrait strong{font:20px/1.4 var(--serif)}
.osm-portrait>span{font-size:16px}
.osm-portrait small{font-size:14px;line-height:1.5;color:var(--muted)}
.osm-equip-weapons{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:4px}
.osm-selected{min-width:0;padding:24px;border-left:1px solid #ffffff1c;background:#111a1a}
.osm-selected h3{font:24px/1.4 var(--serif);color:var(--gold);margin:0 0 12px}
.osm-selected .cr-note{margin:12px 0 16px}
.osm-selected-worn{padding-bottom:12px;border-bottom:1px solid #ffffff1c;font-size:15px}
.osm-selected-worn>span{font-size:14px;color:var(--muted)}
.osm-selected-worn p{margin:4px 0 0}
.osm-selected .osm-item{padding:16px 0}
.osm-selected .osm-item:first-child{padding-top:0}
.osm-selected .osm-item-meta,.osm-selected .osm-item-stats,.osm-selected .osm-item-effect{display:none}
.osm-selected .osm-item-head{font-size:16px}
.osm-selected .osm-src{margin-top:8px;font-size:14px}
.osm-all-gear{margin-top:12px}
.osm-all-gear>.osm-section{margin-top:16px}
.osm-destinations{margin-top:36px}
.osm-destinations>h2{margin:0 0 20px;color:var(--ink);font:clamp(24px,3.4vw,30px)/1.35 var(--serif)}
.osm-destination-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}
.osm-destination-grid>.osm-section{margin:0;min-width:0}
.osm-destination-grid h2{font-size:24px}
.osm-destination-grid .osm-dungeons,.osm-destination-grid .osm-zones{grid-template-columns:1fr}
.osm-destination-grid .osm-lead{font-size:14px;min-height:4.8em;color:var(--muted)}
.osm-destination-grid .osm-picks{display:none}
.osm-quest-count{margin:0 0 12px;color:var(--gold);font-size:17px;font-weight:600}
.osm-zone-meta{font-size:14px}
.osm-secondary-info{margin-top:16px}
.osm-secondary-info .osm-summary{border:0;padding:16px 0 0}
.osm-secondary-info .osm-summary>h2{display:none}
.osm-reference{margin-top:36px;border-top:1px solid #ffffff1c;color:var(--muted)}
.osm-reference>summary{padding:16px 0;color:var(--gold);font-size:16px}
.osm-reference .osm-meta{margin-top:12px}
.osm-result .osm-badge,.osm-result .osm-src-note{font-size:14px;white-space:normal}
@media(min-width:1100px){.osm-page.article-page{padding-left:32px;padding-right:32px}}
@media(max-width:1000px){
 .osm-search-fields{grid-template-columns:1.3fr 1fr}
 .osm-character-grid{grid-template-columns:1fr}
 .osm-selected{border-left:0;border-top:1px solid #ffffff1c}
 .osm-selected>.osm-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
 .osm-selected .osm-item{border:0;padding:0}
 .osm-paperdoll{grid-template-columns:minmax(0,1fr) minmax(120px,.8fr) minmax(0,1fr)}
}
@media(max-width:720px){
 .osm-page.article-page{padding-top:24px}
 .osm-page>h1{font-size:30px;margin-top:8px}
 .osm-page>.article-back,.osm-page>.eyebrow{display:none}
 .osm-page .article-lead{font-size:16px;margin:10px 0 20px;line-height:1.65}
 .osm-trust{margin:-8px 0 20px;font-size:14px}
 .osm-lookup{padding:18px}
 .osm-search-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
 .osm-search-fields .osm-region,.osm-search-fields>.button{grid-column:1/-1}
 .osm-lookup-hint{font-size:14px;margin-bottom:16px}
 .osm-manual{padding:0 18px}
 .osm-character-header{padding:18px 18px 0}
 .osm-character-note{margin:12px 18px 16px}
 .osm-equipment-notice{margin-left:18px;margin-right:18px}
 .osm-paperdoll{padding:14px;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .osm-portrait{grid-row:1;grid-column:1/-1;grid-template-columns:44px auto;justify-content:center;column-gap:12px;text-align:left;padding:8px 0 16px}
 .osm-portrait svg{width:44px;height:64px;grid-row:1/3}
 .osm-portrait strong{align-self:end;justify-self:start}
 .osm-portrait>span{justify-self:start;align-self:start;font-size:14px}
 .osm-portrait small{grid-column:1/-1;text-align:center}
 .osm-equip-weapons{grid-template-columns:1fr}
 .osm-equip-weapons .osm-equip-slot{min-height:56px}
 .osm-selected{padding:18px}
 .osm-selected>.osm-items{display:block}
 .osm-selected .osm-item{padding:14px 0;border-top:1px solid #ffffff1c}
 .osm-selected .osm-item:first-child{padding-top:0;border:0}
 .osm-destination-grid{grid-template-columns:1fr;gap:28px}
 .osm-destination-grid .osm-lead{min-height:0}
 .osm-destinations{margin-top:28px}
 .osm-character-header h2{font-size:24px}
 .osm-level-seal{min-width:56px;min-height:56px;font-size:24px}
}

.osm-page.article-page{padding-top:24px}
.osm-page>.article-back,.osm-page>.eyebrow{display:none}
/* 휴대폰에서는 17개 슬롯을 간결한 장비판으로 모은다. 착용 이름은 선택한 부위의 비교 칸에서 읽는다. */
@media(max-width:720px){
 .osm-paperdoll{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:14px}
 .osm-equip-column,.osm-equip-weapons{display:contents}
 .osm-portrait{display:none}
 .osm-equip-slot,.osm-equip-weapons .osm-equip-slot{flex-direction:column;justify-content:flex-start;gap:6px;padding:8px 4px;min-height:82px;text-align:center}
 .osm-equip-copy{width:100%}
 .osm-equip-label{overflow-wrap:anywhere}
 .osm-equip-name{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
 /* 아이콘을 못 찾은 착용 장비는 휴대폰에서도 이름을 보인다(그림만으로는 무엇인지 알 수 없다). 긴 이름은 세 줄까지만, 전체 이름은 누르면 나오는 비교 칸에 있다. */
 .osm-equip-slot[data-osm-no-icon] .osm-equip-name{position:static;width:auto;height:auto;margin:0;clip-path:none;white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
 .osm-equip-slot[aria-pressed=true] .osm-equip-label{color:var(--gold)}
}

@media(max-width:720px){html[lang=de] .osm-paperdoll{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* 실제 전투정보실 렌더를 우선 표시하고, 없으면 공식 직업 문양을 쓴다. */
.osm-paperdoll{grid-template-columns:minmax(0,1fr) minmax(170px,.95fr) minmax(0,1fr)}
.osm-portrait{margin:0;align-self:center;width:100%;gap:14px}
.osm-portrait-stage{position:relative;width:100%;height:300px;display:grid;place-items:center;overflow:hidden;background:radial-gradient(ellipse at 50% 56%,#d0a35c15,transparent 70%)}
.osm-portrait-stage.has-render{height:380px}
.osm-class-emblem{display:block;width:100%;height:auto;max-height:260px;object-fit:contain}
.osm-character-render{position:absolute;max-width:none!important;width:auto;height:160%;left:50%;top:50%;transform:translate(-50%,-50%)}
.osm-portrait [hidden]{display:none}
.osm-portrait figcaption{display:grid;gap:6px;justify-items:center;text-align:center}
.osm-portrait figcaption strong{color:var(--gold)}
.osm-portrait figcaption>span{font-size:14px;line-height:1.5;color:var(--muted)}
.osm-art-credit{margin:0;padding:12px 20px;border-top:1px solid #ffffff1c;color:var(--muted);font-size:14px;line-height:1.6}
@media(max-width:1000px) and (min-width:721px){.osm-paperdoll{grid-template-columns:minmax(0,1fr) minmax(190px,1fr) minmax(0,1fr)}}
@media(max-width:720px){
 .osm-paperdoll{grid-template-columns:repeat(4,minmax(0,1fr))}
 .osm-portrait{display:grid;grid-template-columns:1fr;grid-column:1/-1;grid-row:1;padding:0 0 16px;justify-items:center}
 .osm-portrait-stage{width:180px;height:180px}
 .osm-portrait-stage.has-render{width:200px;height:270px}
 .osm-class-emblem{max-height:180px;width:160px}
 .osm-portrait figcaption strong{justify-self:center;align-self:auto}
 .osm-art-credit{padding:12px 14px}
}

/* 2026-11-17 키퍼 k7(백로그 b51, 09:00 k5 복원): 하단 앵커 광고 자리와 첫 화면 전환 밀림. 동작 코드(one-shot-manager.js)는 그대로 두고 CSS로만 자리를 잡는다.
   ① 앵커(모바일 약 50px 광고 + 여백, 1,000px 넘는 화면 약 90px)가 페이지 끝 조작 요소와 링크를 덮지 않게 바닥 여백을 두고,
      포커스·scrollIntoView가 요소를 앵커 뒤가 아니라 그 위에 세우도록 scroll-padding-bottom을 같은 값으로 둔다(design-guide 6절 10번).
   ② 스크립트가 켜진 브라우저에서는 데이터가 오기 전에도 길동무 조회 폼과 결과 칸이 자리를 차지해, 폼 등장·'불러오는 중' 줄이 아래 내용을 밀지 않는다.
      site.css의 [hidden]{display:none!important}를 이 두 칸만 !important로 넘는다. 스크립트가 꺼진 브라우저(noscript 안내)와
      scripting 미디어 쿼리를 모르는 브라우저는 예전처럼 숨긴다. */
html:has(.osm-layout){--osm-anchor-room:calc(84px + env(safe-area-inset-bottom));scroll-padding-bottom:var(--osm-anchor-room)}
@media(min-width:1001px){html:has(.osm-layout){--osm-anchor-room:calc(110px + env(safe-area-inset-bottom))}}
body:has(.osm-layout){padding-bottom:var(--osm-anchor-room)}
@media(scripting:enabled){
 .osm-form[hidden]{display:block!important;visibility:hidden}
 .osm-result{display:flow-root;min-height:34px}
 .osm-result[hidden]{display:flow-root!important;visibility:hidden}
 .osm-result[hidden],.osm-result:has(>.osm-status:only-child){margin-bottom:0}
 .osm-result>.osm-status:only-child{margin:10px 0 0;line-height:24px;min-height:24px}
}
/* 퀘스트 지역 레벨별 칸(2026-11-19 사용자: 레벨별 퀘스트 수를 직관적으로, 2026-11-21: 범위를 내 레벨 −5~+4로 넓히고 막대를 게임 퀘스트 색으로). 높은 레벨부터, 내 레벨은 금색 테두리. */
.osm-levels{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:6px;margin:0;padding:0;list-style:none}
.osm-lv{display:grid;grid-template-rows:auto 48px auto;justify-items:center;gap:4px;padding:8px 2px 6px;border:1px solid #ffffff14;border-radius:6px;background:#0c1313}
.osm-lv-n{color:var(--ink);font-size:20px;font-weight:700;line-height:1.1;font-variant-numeric:tabular-nums}
.osm-lv-bar{display:flex;align-items:flex-end;width:18px;height:48px;border-radius:3px;background:#ffffff0d;overflow:hidden}
.osm-lv-bar span{display:block;width:100%;border-radius:3px;background:linear-gradient(0deg,#8a6a35,var(--gold))}
.osm-lv-l{color:#d0d4cf;font-size:14px;line-height:1.3;white-space:nowrap}
.osm-lv.is-mine{border-color:var(--gold);background:#d0a35c18}
.osm-lv.is-mine .osm-lv-n,.osm-lv.is-mine .osm-lv-l{color:var(--gold);font-weight:700}
.osm-lv.is-zero:not(.is-mine) .osm-lv-n{color:#7f8885;font-weight:400}
/* feature: osm-zone-tones (2026-11-21 사용자: 퀘스트 추천 기준·지역 안전 표시). 색은 디자인 정본 1절 '길동무 퀘스트 색·지역 안전' 표. 색만으로 구분하지 않고 글자를 함께 둔다. */
.osm-levels{gap:4px}
.osm-lv.is-green .osm-lv-bar span{background:#40bf40}
.osm-lv.is-yellow .osm-lv-bar span{background:#ffd100}
.osm-lv.is-orange .osm-lv-bar span{background:#ff8040}
.osm-zone-legend{margin:0 0 10px;color:#d0d4cf;font-size:14px;line-height:1.6}
.osm-zone-mix{display:flex;flex-wrap:wrap;gap:4px 12px;margin:0 0 8px;color:#d0d4cf;font-size:14px;line-height:1.6}
.osm-tone{white-space:nowrap}
.osm-tone.is-green::before,.osm-tone.is-yellow::before,.osm-tone.is-orange::before{content:"";display:inline-block;width:10px;height:10px;margin-right:5px;border-radius:2px;vertical-align:baseline}
.osm-tone.is-green::before{background:#40bf40}
.osm-tone.is-yellow::before{background:#ffd100}
.osm-tone.is-orange::before{background:#ff8040}
.osm-safe{display:inline-block;padding:2px 8px;border:1px solid;border-radius:4px;font-size:14px;font-weight:400;line-height:1.5;white-space:nowrap;vertical-align:middle}
.osm-safe.is-ally{border-color:#4f9a6c;color:#a8e3bf;background:#4f9a6c1f}
.osm-safe.is-contested{border-color:#b8902f;color:#f2d27a;background:#b8902f1f}
.osm-safe.is-enemy{border-color:#c25450;color:#ff9f99;background:#c254501f}
.osm-safe.is-sanctuary{border-color:#5b84b8;color:#a9c8f0;background:#5b84b81f}
.osm-safe.is-unknown{border:1px dashed #9aa3a0;color:#9aa3a0}
.osm-skip-list{margin:8px 0 0;padding:0;list-style:none;display:grid;gap:6px}
.osm-skip-list li{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:15px;line-height:1.6}
.osm-skip-n{color:#d0d4cf;font-size:14px}
@media (max-width:430px){.osm-lv{padding:6px 0 4px}.osm-lv-n{font-size:17px}.osm-lv-bar{width:14px}.osm-lv-l{font-size:14px}}
.osm-lv-bands{display:grid;gap:4px;margin:4px 0 0;font-size:14px;line-height:1.4;color:#d0d4cf;text-align:center}
.osm-lv-bands span{padding-top:3px;border-top:2px solid;white-space:nowrap;overflow:visible}
.osm-lv-bands span.is-first:not(.is-last){text-align:left}
.osm-lv-bands span.is-last:not(.is-first){text-align:right;direction:rtl}
.osm-lv-bands .is-green{border-color:#40bf40}
.osm-lv-bands .is-yellow{border-color:#ffd100}
.osm-lv-bands .is-orange{border-color:#ff8040}
/* 레벨 칸 숫자는 줄바꿈하지 않는다(2026-11-21 검수 3-1: 칸이 10개로 늘어 320px, 여백이 남은 390px에서 두 자리 퀘스트 수가 본문의 overflow-wrap:anywhere 때문에 한 자리씩 갈라지고 막대·레벨 숫자가 이웃 칸보다 내려갔다).
   칸 폭은 화면 폭이 아니라 지역 카드 폭이 정하므로 카드를 컨테이너로 두고, 카드가 좁으면 숫자 글자를 줄인다(읽는 글자 14px 이상). 컨테이너 질의를 모르는 브라우저는 위·아래 미디어 질의를 쓴다. 회귀 검사: scripts/check-osm-level-cells.py */
.osm-zone{container-type:inline-size;container-name:osm-zone}
.osm-lv{min-width:0}
.osm-lv-n,.osm-lv-l{white-space:nowrap;overflow-wrap:normal;word-break:normal}
@media (max-width:350px){.osm-levels,.osm-lv-bands{gap:2px}.osm-lv-n{font-size:14px}}
@container osm-zone (max-width:400px){.osm-lv{padding:6px 0 4px}.osm-lv-n{font-size:17px}.osm-lv-bar{width:14px}}
@container osm-zone (max-width:310px){.osm-levels,.osm-lv-bands{gap:2px}.osm-lv-n{font-size:15px}}
@container osm-zone (max-width:270px){.osm-lv-n{font-size:14px}}
.osm-safe-hint{margin-top:-4px}
/* feature: osm-place-links — 결과 화면의 던전·지역 이름 링크(던전 공략·지역 퀘스트 페이지). 이름 글자색 그대로 옅은 금색 밑줄, 올리면 금색. */
.osm-place{color:inherit;text-decoration:underline;text-decoration-color:#e6bb7080;text-underline-offset:4px}
.osm-place:hover,.osm-place:focus-visible{color:var(--gold);text-decoration-color:currentColor}
