.dh-guide{margin-top:10px;background:#17352f;color:#ece2c4;border:1px solid #b49a6355;border-radius:14px;padding:18px;font:13px/1.5 Arial,sans-serif;text-shadow:none}
.dh-guide *{box-sizing:border-box}.dh-guide [hidden]{display:none!important}.dh-heading{display:flex;gap:12px;align-items:center;margin-bottom:18px}.dh-heading>img{width:40px;height:40px;object-fit:contain}.dh-heading small{font:9px Arial;letter-spacing:1.5px;color:#baa36f}.dh-guide h3{font:24px/1.2 Georgia!important;color:#efe2b9!important;margin:4px 0!important}
.dh-layout{display:grid;grid-template-columns:minmax(190px,.8fr) minmax(0,1.6fr);gap:20px}.dh-layout>*{min-width:0}.dh-filters{display:grid;grid-template-columns:1fr;gap:8px}.dh-guide :is(input,select){font:14px Arial!important;background:#102b26!important;color:#eddfbd!important;border:1px solid #9ca77d88!important;min-width:0;width:100%;padding:10px;border-radius:7px;min-height:44px;box-shadow:none!important}.dh-guide input::placeholder{color:#a6b9aa}.dh-guide button{cursor:pointer;box-shadow:none!important;text-shadow:none!important}.dh-guide :is(a,button,input,select):focus-visible{outline:2px solid #e6ca86;outline-offset:2px}
.dh-filters>button,.dh-back,.dh-empty>button{min-height:44px;padding:10px 14px;border:1px solid #b7a57766;border-radius:7px;background:#b8a27222!important;color:#efdfb9!important;font:13px Arial!important}.dh-filters>button:disabled{opacity:.45;cursor:default}#dh-count{font:11px Arial;color:#b8c8b8;margin:14px 0 10px}
#diary-loc-list{display:flex;flex-direction:column;gap:8px;max-height:49dvh;overflow:auto;scrollbar-color:#9c9d75 #17352f;padding:3px}
.dh-guide .dh-location{width:100%;display:flex;align-items:center;gap:10px;padding:8px;background:#24483d!important;border:1px solid #7c977555!important;border-radius:9px;color:#e7dcc0!important;text-align:left}.dh-location[aria-pressed=true]{border-color:#d6b673!important;background:#42543d!important}.dh-location>img{width:52px;height:64px;border-radius:5px;object-fit:cover;flex:none}.dh-location>span{flex:1;min-width:0}.dh-location :is(b,small,em){display:block}.dh-location small{font:9px Arial;color:#b5c4a8;margin-bottom:5px}.dh-location b{font:14px/1.35 Georgia;overflow-wrap:anywhere}.dh-location em{font:10px Arial;color:#c4b68d;margin-top:6px}.dh-location i{font:24px Georgia;color:#cfbd90}
#diary-loc-info{min-width:0;outline:none}.dh-back{display:none;margin-bottom:12px}.dh-location-head{position:relative;min-height:150px;display:flex;align-items:flex-end;border:1px solid #a5aa7b55;border-radius:10px;overflow:hidden;background:#142e28}.dh-location-head>img{position:absolute;inset:0;object-fit:cover;width:100%;height:100%;opacity:.7}.dh-location-head>div{position:relative;width:100%;padding:40px 18px 16px;background:linear-gradient(transparent,#0c271deb);color:#e9d6a9}.dh-location-head small{font:9px Arial;letter-spacing:1.5px;text-transform:uppercase}.dh-location-head span{font:11px Arial}.dh-guide .dh-note,.dh-night{font:12px/1.65 Arial;color:#b4c7b4;margin:13px 0}.dh-night{color:#b9cce0}
.dh-groups{display:flex;flex-wrap:wrap;gap:6px;margin:12px 0 16px}.dh-groups button{font:11px Arial!important;color:#c5d0bc!important;background:#66856822!important;border:1px solid #87956c66;border-radius:6px;min-height:44px;padding:8px 10px}.dh-groups button[aria-pressed=true]{background:#d7c492!important;color:#3f3c27!important;border-color:#ddcc9b}.dh-groups span{opacity:.65;margin-left:3px}
.dh-pokemon-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(105px,1fr));gap:9px}.dh-pokemon{display:flex;align-items:center;flex-direction:column;min-width:0;padding:9px 7px 12px;background:linear-gradient(145deg,#f1e4c3,#d8c599);border:1px solid #bea371;border-radius:9px;text-decoration:none;box-shadow:0 3px 8px #00180c22;color:#4a3b23!important}.dh-pokemon:hover{background:#f6eacb}.dh-pokemon>small{display:flex;justify-content:space-between;width:100%;color:#8a7753;font:9px Arial}.dh-pokemon>img{display:block;width:100%;height:95px;object-fit:contain;filter:drop-shadow(0 3px 3px #75603b25)}.dh-pokemon>b{font:700 13px/1.35 Georgia;color:#473820;overflow-wrap:anywhere;text-align:center}.dh-types{display:flex;justify-content:center;gap:3px;flex-wrap:wrap;margin-top:7px}.dh-types .type-badge{font:8px Arial!important;padding:3px 5px!important;text-shadow:none!important}.dh-empty{padding:25px 14px;text-align:center;grid-column:1/-1;color:#b9c5ab}.dh-empty>img{width:46px;height:46px;object-fit:contain}.dh-empty p{font:13px/1.7 Arial}
@media(max-width:700px),(max-height:500px) and (pointer:coarse){
 #diary-modal>.modal-content{padding:16px!important;overflow-x:hidden!important;width:100%!important}
 #diary-modal .diary-bookmark{font-size:12px!important;padding:8px 5px!important;min-width:0;flex:1}
 #diary-modal .diary-bookmark img{width:22px!important;height:22px!important}
 .dh-guide{padding:12px;margin-top:8px;border-radius:12px}.dh-heading{margin-bottom:12px}.dh-guide h3{font-size:22px!important}.dh-heading small{font-size:8px}.dh-layout{display:block}
 .dh-guide[data-view=list] #diary-loc-info,.dh-guide[data-view=detail] .dh-index{display:none}
 .dh-guide[data-view=detail] .dh-heading{display:none}.dh-back{display:block}
 #diary-loc-list{max-height:none;overflow:visible;padding:2px}.dh-filters{grid-template-columns:1fr auto}.dh-filters input{grid-column:1/-1;font-size:16px!important}.dh-filters select{font-size:16px!important}
 .dh-pokemon-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.dh-pokemon>img{height:105px}.dh-pokemon>b{font-size:14px}.dh-types .type-badge{font-size:9px!important}.dh-location-head{min-height:130px}
}
@media(min-width:641px) and (max-height:500px) and (pointer:coarse){.dh-pokemon-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
